Symptom
After CE2208, there is a new feature that return delivery is supported.
The return deliveries are distributed to EWM automatically once it is created. But user want to return the stock from another storage location, delivery cannot be changed with storage location after distribution.
Environment
SAP S/4HANA Cloud System after CE2208
Reproducing the Issue
- Create return Sales Order according to the billing document with APP Manage Customer Retruns
- Create Outbound Delivery, the storage location is copied from billing document regardless the customizing
- The delivery is distributed automatically to EWM once it is saved
Resolution
SAP has already known this behavior and this feature is under alignment for further plan. You can implement below as workaround.
- Please go to EWM APP Change Inbound Deliveries(App ID F1706) and filter the inbound delivery, Click the "Delete" button.
- You can change the storage location with shipping BADI like LE_SHP_MODIFY_ITEM (Modify Delivery Item) before it is distributed. The sample code is like below:
If delivery_doc_changed_item_in-deliverydocumentitemcategory = 'RENV'.
delivery_doc_changed_item_out-storagelocation = '101A'.
ENDIF.
Note: the change mode(documentprocessingmode) should be limited. The storage location should be changed only when the delivery is created.
Keywords
KBA , LE-IEW-RET , Returns Process , SCM-EWM-DLP , Delivery Processing , Known Error