Ansicht
Dokumentation

/SAPTRX/ITEMIDENT_GET_GUID - Get an item identfier GUID by table name and field name

/SAPTRX/ITEMIDENT_GET_GUID - Get an item identfier GUID by table name and field name

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The Item Identifier field references expected events in SAP Event Manager back to their source in the application system. This is necessary, if activities within the rule set need to update the dates of the application object in the application system using a remote function call (see, for example, activity /SAPTRX/SET_ACT_SHIPMENT_DDL1). You can define the item identifier structure freely, but the structure for the Transportation pattern is shown below as an example.

This function module creates a unique identifier (GUID) that can be stored in the ITEMIDENT field on the basis of the following information:

  1. DOCNO Document number
  2. POSNR Item number
  3. ETENR Schedule line number
  4. TBNAM Table name which holds date/time field
  5. DFNAM Date field name(must be the name of the updating field)
  6. TFNAM Time field name(must be the name of the updating field)

This function module must be called when the milestone data is filled in the extractor function module. The data which is passed to the function module is stored in a database table in the application system.

Another function module (/SAPTRX/ITEMIDENT_GET_FIELD) is available to convert the unique identifier (GUID) back to the fields listed above. This allows you to update the referenced fields, if necessary.

Example

Using the item identifiers for the Transportation pattern (from expected event extractor)

  • Check In 1: Shipment No. 2: Space, 3: Space, 4:VTTK, 5: DAREG, 6: UAREG
  • Loading Start - 1: Shipment No. 2: Space, 3: Space, 4:VTTK, 5: DALBG, 6: UALBG
  • Loading End- 1: Shipment No. 2: Space, 3: Space, 4:VTTS, 5: DALEN, 6: UALEN
  • Plant Departure- 1: Shipment No. 2: Space, 3: Stage of Trans. Sequence, 4:VTTS, 5: DATBG, 6: UATBG
  • Arrival at Destination - 1: Shipment No, 2: Space, 3: Stage of Trans. Sequence, 4: VTTS 5: DATEN, 6: UATEN

Notes

Further information





Parameters

EV_ITEMIDENTIFIER
IS_ITEMIDENTFIELDS

Exceptions

Function Group

TRX/SAPLSERVICES_AS

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2578 Date: 20240417 Time: 015158     sap01-206 ( 45 ms )