Fonction SAP /SAPTRX/XTI_SD_HU_IN_DLV_OBP10 - TID: Handling Units in Delivery 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 for 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_LOGTABLE BAPIRET2 548 X Return Parameter
E_TRACKIDDATA /SAPTRX/TRACK_ID_DATA 258 Tracking IDs for application objects

Exception Description
PARAMETER_ERROR Error in Parameters
STOP_PROCESSING Stop Processing
TABLE_DETERMINATION_ERROR A required datatable could not be found
TID_DETERMINATION_ERROR Tracking IDs could not be determined

Functionality
This function module is used in the outbound delivery visibility processor the tracking ID extractor.
This function module is only available when you use the handling unitheader (HU_HEADER_NEW) as a main object table in the relevantapplication object type.
It selects data from the handling unit. Most of the data that could berelevant to supply chain event management is selected to allow universaluse of the function.

Example
The following tracking IDs are created in this function module and areused to report events for the handling unit in delivery event handler:

  • Delivery Number

  • Handling Unit Number - External

  • Handling Unit Number - Internal
  • Notes
    At least all the following fields should be filled in export parameterE_TRACKIDDATA:

    • APPSYS (logical system ID of an application system)

    • APPOBJTYPE (application object type)

    • TRXCOD (tracking ID code set)

    • TRXID (tracking ID)

    • MSRID (master ID flag)