WM BAPI RFC Used the same way in S/4HANA

BAPI_INB_DELIVERY_CHANGE Change Inbound Delivery

Changes an inbound delivery: header data, deadlines, partners, item quantities, handling units and serial numbers. It is used in ASN and supplier-portal interfaces and in programs that adjust quantities before goods receipt. Fill the control structures (HEADER_CONTROL, ITEM_CONTROL) for every change, pass the delivery number in DELIVERY and HEADER_DATA, and commit after checking RETURN.

Function group
V50I
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
HEADER_DATABAPIIBDLVHDRCHGDelivery header dataYes
HEADER_CONTROLBAPIIBDLVHDRCTRLCHGHeader control flagsYes
DELIVERYBAPIIBDLVHDRCHG-DELIV_NUMBDelivery numberYes
TECHN_CONTROLBAPIDLVCONTROLTechnical control data—

Tables parameters

ParameterTypeDescriptionRequired
HEADER_PARTNERBAPIDLVPARTNERCHGHeader partners—
HEADER_DEADLINESBAPIDLVDEADLNHeader deadlines—
ITEM_DATABAPIIBDLVITEMCHGItem data—
ITEM_CONTROLBAPIIBDLVITEMCTRLCHGItem control flags—
ITEM_SERIAL_NOBAPIDLVITMSERNOItem serial numbers—
HANDLING_UNIT_HEADERBAPIDLVHDUNHDRHandling unit header—
HANDLING_UNIT_ITEMBAPIDLVHDUNITMHandling unit items—
PARTIAL_GR_OBJECTSBAPIPGROBJECTSPartial goods receipt objects—
EXTENSION1BAPIEXTCCustomer extension data—
RETURNBAPIRET2Return messagesYes

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'BAPI_INB_DELIVERY_CHANGE'
  EXPORTING
    header_data = lv_header_data
    header_control = lv_header_control
    delivery = lv_delivery
  TABLES
    header_partner = lt_header_partner
    header_deadlines = lt_header_deadlines
    item_data = lt_item_data
    item_control = lt_item_control
    item_serial_no = lt_item_serial_no
    handling_unit_header = lt_handling_unit_header
    handling_unit_item = lt_handling_unit_item
    partial_gr_objects = lt_partial_gr_objects
    extension1 = lt_extension1
    return = lt_return.

Related tables

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report