Ansicht
Dokumentation

/AFS/BAPI_OTB_DELY_SAVEREPLICA - BAPI Function Module for Replication of Outbound Deliveries

/AFS/BAPI_OTB_DELY_SAVEREPLICA - BAPI Function Module for Replication of Outbound Deliveries

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to distribute outbound deliveries from an ERP system to a warehouse management system.

The following parameters must be passed:

  • HEADER_DATA
  • SENDER_SYSTEM
  • HEADER_PARTNER
  • HEADER_DEADLINES
  • ITEM_DATA
  • AFS_ITEM_DATA

Example

Notes

Required fields:

Import parameter HEADER_DATA

  • DELIV_NUMB
  • DLV_TYPE

Import parameter HEADER_DATA_ORG

  • SHIP_POINT
  • SALESORG


Import parameter SENDER_SYSTEM

  • SENDERSYSTEM

Table parameter HEADER_PARTNER

  • PARTN_ROLE = 'WE' Ship-to party is required partner
  • PARTNER_NO

Table parameter HEADER_DEADLINES

  • TIMETYPE = 'WSHDRLFDAT' Delivery date
  • TIMETYPE = 'WSHDRWADAT' Goods issue date

Table parameter ITEM_DATA

  • OUTB_DELVRY_NO
  • ITM_NUMBER
  • MATERIAL
  • DLV_QTY
  • SALES_UNIT_ISO or SALES_UNIT

Table parameter AFS_ITEM_DATA

  • OUTB_DELVRY_NO,,Delivery number
  • ITM_NUMBER,,,,Delievery Item number
  • GRID_VALUE,,,,Grid Value of the delievry item
  • STOCK_CATEGORY,,Stock Category of the delievry item
  • GRID_NUM,,,,Grid used by the Delivery Item
  • GRID_DATE,,,,Validation date of the Grid
  • REC_ISS_GRID_VAL Receiving / Issuing Grid Value
  • REC_ISS_STOCKCAT Receiving / Issuing Stock Category

Table parameter ITEM_DATA_ORG

DIVISION

  • DISTR_CHAN
  • 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).
  • HANDLING_UNIT_SERNO
Enter the serial numbers for a handling unit item.





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_REFERENCE_ORDER
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

ROGBILLS - Synchronize billing plans   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 5818 Date: 20240424 Time: 122143     sap01-206 ( 49 ms )