Symptom
The LE_SHP_MODIFY_ITEM logic is implemented to change item quantity at delivery, but the quantity is not updated in the delivery screen .
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a delivery.
- Implement the LE_SHP_MODIFY_ITEM BAdI to change the delivery quantity.
- Observe that the quantity remains unchanged on the display delivery screen.
Cause
It is not possible to change the delivery quantity in custom logic. 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
Do not attempt to modify the fields related to delivery quantity, such as ACTUALDELIVERYQUANTITY, within custom logic, as this may result in data inconsistencies.
Keywords
le_shp_modify_item, delivery quantity, vl03n screen, sap s/4hana cloud public edition, G_LFIMG, custom logic, BAdI, backend tables, cds views, actualdeliveryquantity, delivery processing , KBA , LE-SHP-EXT-2CL , Delivery Documents Extensibility (Public Cloud) , Problem
SAP Knowledge Base Article - Public