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

RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Functionality

The Item Identifier field references expected events in SAP EventManager back to their source in the application system. This is necessary, if activities within therule set need to update the dates of the application object in the application system using a remotefunction 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

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.


Length: 2408 Date: 20120525 Time: 064904     triton ( 104 ms )