Customized code is implemented at BADI "LE_SHP_SAVE_DOCUMENT_PREPARE" when creating delivery documents, an error message is expected to be output. But the current program just abort without error message.
- SAP S/4HANA Cloud
Reproducing the Issue
- Implement the BADI with customized code.
- Create outbound delivery with APP "Create Outbound Delivery".
It is by design.
If you would like to issue the message at a BADI, you can use another BADI LE_SHP_DELIVERY_FINAL_CHECK which is released since CE2008, VL203, Batch, SLED, Expired, M7667
Error, message, log, BADI, LE_SHP_SAVE_DOCUMENT_PREPARE, LE_SHP_DELIVERY_FINAL_CHECK, LE_SHP_OD_CREATE_SRV/C_OutboundDeliveryCreate, Create Outbound Delivery. , KBA , LE-SHP-API , Interfaces for Delivery Documents (API) , LE-SHP-DL , Delivery Processing , Problem