SAP Knowledge Base Article - Public

2967374 - no error message is logged by BADI LE_SHP_SAVE_DOCUMENT_PREPARE

Symptom

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.

Environment

  • SAP S/4HANA Cloud

Reproducing the Issue

  1. Implement the BADI with customized code.
  2. Create outbound delivery with APP "Create Outbound Delivery".

Cause

It is by design.

Resolution

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.

Keywords

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

Product

SAP S/4HANA Cloud all versions