Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>InboundDelivery



Index

InboundDelivery

InboundDelivery


The business object Shipping notification is an assurance of a
delivery date with regard to a quantity of materials or a service that is given by the vendor.

Structure

An inbound delivery consists of several items, each indicating the notified quantity of the material or service.


Comment
The inbound delivery provides Purchasing with more up-to-date
information than the delivery dates shown in the purchase order.


11-Dec-2005


Methods

Available Methods


  • ConfirmDecentral : BAPI verification of duplicated inbound deliveries from a decentralized system [ BAPI_INB_DELIVERY_CONFIRM_DEC ]
  • SaveReplica : Duplication of inbound deliveries [ BAPI_INB_DELIVERY_SAVEREPLICA ]

11-Dec-2005


ConfirmDecentral

ConfirmDecentral


You can use this method to report back inbound deliveries from a WM system to an Enterprise Resource Planning (ERP) system.

Example

Which required data do you need for reporting back?
Two examples of how to use the BAPI are explained below: reporting back
the delivery without (quantity) changes of the item data and reporting back the delivery with item data changes.

1. The item data of the delivery is reported back unchanged.

HEADER_DATA Header data of the outbound delivery


  • Field DELIV_NUMB Delivery number
  • HEADER_CONTROL Header control data

  • Field DELIV_NUMB Delivery number
  • Field GROSS_WT_FLG Gross weight reporting flag

  • DELIVERY Document number of outbound delivery

  • Field DELIV_NUMB Delivery number
  • 1. The item data of the delivery is reported back changed.

    HEADER_DATA Header data of the outbound delivery


  • Field DELIV_NUMB Delivery number
  • DELIVERY Document number of outbound delivery

  • Field DELIV_NUMB Delivery number
  • ITEM_DATA Item data


  • Field DELIV_NUMB Delivery number
  • Field DELIV_ITEM Delivery item
  • Field DLV_QTY Delivery quantity in sales unit of measure
    or alternatively

  • Field DLV_QTY_IMUNIT Actual delivery quantity in stockkeeping unit
  • ITEM_CONTROL Item control data

  • Field DELIV_NUMB Delivery number
  • Field DELIV_ITEM Delivery item

  • Field CHG_DELQTY Change delivery quantity
  • Material number, plant, quantities in floating values, volumes, weightsand their units are copied from the delivery document, if not specified.

    Error messages are recorded in the BAPI return parameter RETURN
    with the following message types.


    E (ERROR)
    W (WARNING)
    I (INFORMATION)

    Further Information


    If the BAPI is used as an external interface for an external system,the packing hierarchy should be described as usual by using external identification numbers for shipping materials(HDL_UNIT_EXID_INTO/HDL_UNIT_EXID). The fields can be found in theHANDLING_UNIT_ITEM segment. The shipping unit must be copied into the
    HDL_UNIT_EXID_INTO field when the system reports back to packing.

    If batch splits that were created in the ERP are reported back, the
    hierarchy fields HIERARITEM and USEHIERITM must not contain information. If split items were created in the Warehouse Management
    System and reported back, these two hierarchy fields must contain information.

    If a non-SAP system was used as a decentralized Warehouse ManagementSystem, the IDoc structure must be defined carefully when the returnmessage is constructed. It is very important that the segment sequence must not be altered.


    11-Dec-2005


    SaveReplica

    SaveReplica


    You can use this method to distribute inbound deliveries from an ERP system to a WM system.

    The following parameters are required:

  • HEADER_DATA Inbound delivery header data
  • SENDER_SYSTEM System of the sender

  • HEADER_PARTNER Header data of the partners
  • HEADER_DEADLINES Header data of the dates
  • ITEM_DATA Item data of the inbound delivery

  • ITEM_ORG Organisation data of the inbound delivery
  • Notes

    The required parameters have the following required fields:

    Import parameter HEADER_DATA

  • INB_DELVRY_NO

  • DLV_TYPE
  • Import parameter SENDER_SYSTEM

  • SENDERSYSTEM
  • Table parameter HEADER_PARTNER

  • PARTN_ROLE = 'LF' Vendor is required partner
  • PARTNER_NO

  • Table parameter HEADER_DEADLINES

  • TIMETYPE = 'WSHDRLFDAT' Delivery date
  • Table parameter ITEM_DATA

  • INB_DELVRY_NO
  • ITM_NUMBER
  • MATERIAL

  • DLV_QTY
  • SALES_UNIT_ISO oder SALES_UNIT
  • Table parameter ITEM_DATA_ORG

  • PLANT
  • Further Information

    HEADER_PARTNER

    Since the partners in the delivery are not managed on an item basis,the ITM_NUMBER field in the BAPIDLVPARTNER segment is left blank and not analyzed.


    HANDLING_UNIT_ITEM

    If the BAPI is used as an external interface for an external system,the packing hierarchy should be described as usual by using external identification numbers for shipping materials(HDL_UNIT_EXID_INTO/HDL_UNIT_EXID).


    11-Dec-2005