Fonction SAP /SAPTRX/XCP_SD_DELIV_OBP10 - CP: Delivery Header for Outbound Delivery Visibility Process

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ALL_APPL_TABLES TRXAS_TABCONTAINER 0 Container with references to all tables passed by the application
I_APPSYS /SAPTRX/APPLSYSTEM C 10 Logical system ID of an application system
I_APP_OBJECTS TRXAS_APPOBJ_CTABS 0 Tables all appl. object types
I_APP_OBJ_TYPES /SAPTRX/AOTYPES u 694 Application object type
I_APP_TYPE_CNTL_TABS TRXAS_APPTYPE_TABS 0 Control tables and nametabs for all appl. object types

Paramètre Reférence Long. Facultatif Description
E_CONTROL_DATA /SAPTRX/CONTROL_DATA 331 Control data for application objects
E_LOGTABLE BAPIRET2 548 X Return Parameter

Exception Description
CDATA_DETERMINATION_ERROR Error in control data determination
PARAMETER_ERROR Error in Parameters
STOP_PROCESSING Stop processing
TABLE_DETERMINATION_ERROR A required datatable could not be found

Functionality
This function module is used in the outbound delivery visibility processfor the control parameter extractor.
This function module is only available when you use the delivery header(DELIVERY_HEADER_NEW) as a main object table in the relevant applicationobject type.
It selects data from the delivery. Most of the data that could berelevant to supply chain event management is selected to allow universaluse of the function.

Example
The following parameters are created in this function module:

  • Delivery Number - Delivery Header

  • Sales Organization - Delivery Header

  • Shipping Point - Delivery Header

  • Shipping Type - Delivery Header

  • Ship-to Party - Delivery Header

  • Sold-to Party - Delivery Header

  • Delivery Item Number - Delivery Item

  • Distribution Channel - Delivery Item

  • Plant - Delivery Item

  • Sales Order - Delivery Item

  • Storage Location - Delivery Item

  • Purchase Order - Sales Order Header
  • Notes
    At least all the following fields should be filled in export parameterE_CONTROL_DATA:

    • APPSYS (logical system ID of an application system)

    • APPOBJTYPE (application object type)

    • LANGUAGE (language)

    • PARAMNAME (defined in the transaction for defining SAP EM
    • interface functions: /SAPTRX/ASC0TF)
      • VALUE (parameter value of length 200)