Symptom
The LE_SHP_MODIFY_ITEM logic is implemented to change item quantity at delivery, but the quantity is not updated in the delivery display screen .
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a delivery via VL01N "create outbound delivery" APP.
- Implement the LE_SHP_MODIFY_ITEM BAdI to change the delivery quantity.
- Observe that the quantity remains unchanged on the display delivery screen.
Cause
There is restriction on changing the delivery quantity within custom logic applies when using VL01N app to create deliveries.
The delivery quantity is stored across multiple fields beyond those available in the provided BAdIs. Modifying fields such as ACTUALDELIVERYQUANTITY can lead to inconsistencies.
Resolution
The following options allow for the use case in custom logic that attempts to change the delivery quantity for newly created deliveries:
App My Purchase Order Schedule Lines - Due for Delivery (VL10F)
App My Sales Order Schedule Lines - Due for Delivery (VL10E)
API Outbound Delivery (A2X), which supports both outbound deliveries from sales orders and stock transfer purchase orders.
See Also
Keywords
le_shp_modify_item, delivery quantity, vl03n screen, sap s/4hana cloud public edition, delivery processing, custom logic, cds views, actualdeliveredqtyinbaseunit, actualdeliveryquantity, outbound delivery, vl01n, vl06f, vl10e, influence portal, delivery management, badi, LIPSD-G_LFIMG , KBA , LE-SHP-DL-2CL , Delivery Processing (Public Cloud) , Problem
SAP Knowledge Base Article - Public