ERPClimb logoERPClimb
SAP enhancementObjectLE_SHP_DELIVERY_PROCModuleSD_O2C

New to SAP SD / O2C? Start with the module overview

LE_SHP_DELIVERY_PROC — LE_SHP_DELIVERY_PROC BAdI for Delivery Processing

Quick answer

LE_SHP_DELIVERY_PROC provides enhancement methods across delivery processing. Typical uses include delivery checks, field changes and save-related logic. Method timing is important: final validation belongs in DELIVERY_FINAL_CHECK rather than late save preparation when the goal is to stop an invalid delivery.

SAP consultant reference for LE_SHP_DELIVERY_PROC: purpose, trigger/context, troubleshooting checks, safe implementation guidance and common production pitfalls.

Published 17 Nov 2026· 686 words

What it extends

LE_SHP_DELIVERY_PROC provides enhancement methods across delivery processing, covering delivery checks, field changes and save-related logic for outbound and inbound deliveries. It is the standard spot for custom logic that must react to delivery creation, change or save without modifying the SAP delivery object itself.

When consultants use it

Typical uses include enforcing a custom validation before delivery save, adding or deriving custom fields on the delivery header or item, and reacting to a specific delivery-processing step such as picking or goods issue. Method timing is important: final validation belongs in DELIVERY_FINAL_CHECK rather than a late save-preparation method, when the goal is to stop an invalid delivery before it posts. Start from the exact business process and transaction or API path, since enhancement behavior can differ by posting origin, release and execution phase.

How to implement and debug it

Check the enhancement definition, active implementations, calling transaction, document status, filter values and a known-good comparison before writing or moving logic.

For the recurring incident where outbound delivery creation succeeds but a mandatory custom validation does not stop an invalid delivery, examine the exact creation/change path, implementation filters, and whether the logic runs at final-check or at a save-preparation phase, since an error raised in the wrong phase can create confusing partial-processing symptoms.

Reproduce with the smallest possible document, set breakpoints in the relevant method, and capture the business data available at each call. Verify which values are finalized at delivery final check and which update-related methods must remain noninteractive, avoid uncontrolled commits or direct LIKP/LIPS changes, and test the VA01-to-delivery, delivery-modification and goods-issue flows separately.

Clean core

LE_SHP_DELIVERY_PROC is a classic BAdI extension point, not a released in-app (key-user) extensibility option, so it has no direct equivalent in the restricted ABAP Cloud model that governs S/4HANA Cloud public edition.

On-premise and private-cloud customers can still implement it, but clean-core guidance treats a classic BAdI like this as a migration candidate once SAP ships a released event or extensibility option covering the same step; before adding new logic here, check the API Business Hub and the Extensibility Explorer for a released alternative, and keep whatever is implemented thin, delegating real business logic to a released API or a side-by-side BTP extension so a later move away from the classic BAdI does not require rewriting embedded rules.

ECC vs S/4HANA

On S/4HANA the same delivery-processing extension point still exists, but it increasingly competes with released CDS-based extensibility and event-driven integration options for new delivery logic. New implementations should default to a released alternative where the business requirement allows it, reserving this BAdI for the gaps those released options do not yet cover.

Common pitfalls

Prefer the narrowest supported extension rather than a broad global check, avoid raising update-task error messages, direct database changes, and duplicate business logic spread across multiple implementations.

Regression-test delivery creation, an item-quantity change, partial picking and a change after goods-issue status using the same sales-area and warehouse configuration, since delivery enhancement behavior can depend on whether the process is a standard outbound delivery, a return, a stock transport, a batch split or a warehouse-integrated scenario.

Where a check is meant to stop posting, confirm the correct early validation hook rather than adding a destructive update or late exception just to make the error visible.

Whose problem this is

The ABAP developer implementing the BAdI owns method timing and defensive coding; the logistics/SD functional owner defines what validation or field behavior is actually required at each delivery-processing step, and signs off on which flows the implementation must cover.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

Lessons and topics

Source: ERPClimb — https://erpclimb.com/sap-enhancements/le-shp-delivery-procERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.