SAP Knowledge Base Article - Public

2967374 - no error message is logged by BADI LE_SHP_SAVE_DOCUMENT_PREPARE


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

  1. Implement the BADI with customized code.
  2. 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


SAP S/4HANA Cloud all versions