Skip to main content

Posts

Showing posts with the label Delivery

[SAP SD] Custom storage location determination in delivery

At times, business requires to determine storage location through various parameters apart from the standard configuration setup. In this situation, as we cannot accomplish this requirement through standard SAP functionality so we need to leverage customer exit 'EXIT_SAPLV02V_002' to accomplish this. In parallel, from technical level we can achieve the same through BADI 'LE_SHP_DELIVERY_PROC~FILL_DELIVERY_ITEM' to accomplish this requirement.

[SAP SD] Sales order and delivery creation interface exit

When business requirements necessitate additional validation for delivery creation—beyond standard schedule line confirmations and stock availability—you should implement custom logic within user exit EXIT_SAPLV50P_001 . This exit allows you to intercept the delivery creation process for specific sales order items and enforce unique parameters or business constraints before the document is generated. Technical Summary & Context In standard SAP, the delivery creation process primarily looks at the Material Availability Date and the Confirmed Quantity at the schedule line level. However, many organizations require "smarter" logic. Key Scenarios for EXIT_SAPLV50P_001: Credit/Block Checks: Preventing delivery if the customer has specific financial standing issues not caught by standard credit management. Item Grouping: Ensuring that Item B is never delivered unless Item A is also fully available  Custom Attribute Validation: Checking custom fields (Z-fields) in the Sales...

[SAP EWM] Departure from Yard ( OUTYARD ) determination

Below is the determination of Departure from Yard ( OUTYARD ) in the outbound delivery order : If there are several EGOODSISSUE dates (both on header and item level) on the delivery items, it takes the latest date from all the EGOODSISSUE dates. If there is no EGOODSISSUE date on the delivery items, it takes the value of the TDELIVERY date field. This date will be given highest priority during the wave creation for automatic process. If this value is blank, then system leverages planned goods issue date for wave creation

[SD] Useful functional modules in delivery

FM: WS_LM_QUANTITY_ADD is used for checking the weight and volume of an outbound delivery to calculate the delivery weight, we have to keep the FM in the loop. FM: BAPI_OUTB_DELIVERY_CREATE_STO is used to create outbound delivery for a purchase document in the stock transfer process ensure to use COMMIT FM post calling the BAPI to create an entry in the database Table VBSS - to get group number based on the sales document    FM: WS_PICK_WAV_UPDATE_PREPARE' is used for the wave picking  FM:  RV_SHIPMENT_VIEW is used for viewing shipment FM: 'SD_DELIVERY_ASSIGN_TO_SHIPMENT' is used for the assignment of delivery to shipment FM:  SD_SHIPMENTS_SAVE is used for creating the shipment FM: BAPI_SHIPMENT_CHANGE is used for changing the shipment FM:  CS_BOM_EXPL_KND_V1 is used to fetch sales order BOM items

[SD] Delivery output triggering after packing status is complete

Standard SAP provides routine to maintain at output procedure level to trigger output type when post goods issue is completed.  But however, SAP hasn't given any routine to trigger output when packing status is incomplete. To enable this functionality, we have to create a new custom routine in the 9* series with the below logic and assign it to the respective output type in the output determination procedure. IF  KOMKBV2-PKSTK = 'C' AND ( KOMKBV2-KOSTK EQ 'C' ).     SY-SUBRC = 0.   ELSE.     SY-SUBRC = 4.   ENDIF.

Storage location determination through EXIT at delivery level

Ideally Storage Location is determined through standard SAP functionality maintained at delivery type level based on the below criteria : Shipping point + Plant + Storage Condition (MALA) Plant + Situation + Storage Condition (RETA) but however, if business requires to deviate from standard SAP criteria then we have to leverage the below exit to accomplish the requirement : V02V0002  EXIT_SAPLV02V_002

SAP S/4 HANA BRF+ - Output Management for Deliveries

Based on SAP Note -  2590037 - Output Management for Deliveries Output control for delivery documents is still based on the former SD output control framework (NACE) The new output management framework is not yet supported for delivery documents in SAP S/4HANA. Path to configure Output Control for Deliveries You configure output control in the Implementation Guide (IMG) under Logistics Execution →  Shipping → Basic Shipping Functions → Output Control.