Ansicht
Dokumentation

/AFS/BAPI_INB_DELY_SAVEREPLICA - BAPI Function Module for Replication of Inbound Deliveries

/AFS/BAPI_INB_DELY_SAVEREPLICA - BAPI Function Module for Replication of Inbound Deliveries

BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

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
  • AFS_ITEM_DATA,,,,,,AFS extension of item data
  • 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 AFS_ITEM_DATA

  • INB_DELVRY_NO,,,,Delivery number
  • ITM_NUMBER,,,,,,Item number on the delivery
  • GRID_VALUE,,,,,,Grid value of the delivery item
  • STOCK_CATEGORY,,,,Stock category of the delivery item
  • SCHEDULE_LINE,,,,Schedule line of the item
  • GRID_NUM,,,,,,Grid used by the AFS ttem
  • GRID_DATE ,,,,,,Date from which the grid is valid
  • REC_ISS_GRID_VAL,,Recieving/issuing grid value (stock transfer)
  • REC_ISS_STOCKCAT,,Receiving/issuing stock category (stock transfer)

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 interface for an external system, describe the packing hierarchy by using external identification numbers for shipping materials (HDL_UNIT_EXID_INTO/HDL_UNIT_EXID).





Parameters

AFS_ITEM_DATA
DELIVERY
EXTENSION1
EXTENSION2
HANDLING_UNIT_HEADER
HANDLING_UNIT_ITEM
HANDLING_UNIT_SERNO
HEADER_DATA
HEADER_DEADLINES
HEADER_ORG
HEADER_PARTNER
HEADER_PARTNER_ADDR
ITEM_CODING_BLOCK
ITEM_DATA
ITEM_ORG
ITEM_REF_PURCHASE_ORDER
ITEM_SERIAL_NO
ITEM_STOCK_TRANS
RETURN
SENDER_SYSTEM
TECHN_CONTROL
TEXT_HEADER
TEXT_LINES
TOKENREFERENCE

Exceptions

Function Group

/SAPLDWMS_BAPIS

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 5436 Date: 20240328 Time: 192346     sap01-206 ( 41 ms )