/SAPTRX/PTA_AUTHENT_EH_CREATE - Function Module Template for EH Creation

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Functionality

In SAP EM, starting from release 4.0, plug-in function modules can be used to create Event Handlers.The user can specify in customizing which function module is to be used, depending on the event code,sender, location, and tracking id code set. During the entry of customizing data, if the entered functionmodule does not exist, the user is prompted for the creation of a new one, based on the template given by the present function module.

The data needed to create an event handler, which must be included in the event message, is filled up in this function module in order to feed function module used to create the Event Handlers: /SAPTRX/BAPI_EH_POST.

If table IS_EVM_GUIDS contains a list of message GUIDs, only these messages (from the set of messagesin IS_EVM_TABLES) generate Event Handlers; If table IS_EVM_GUIDS is empty, all messages in IS_EVM_TABLES generate Event Handlers.

This function module must fill up the following parameters:

*" APPLOBJECTS STRUCTURE /SAPTRX/BAPI_APPLOBJ_IDENT

*" CONTROLDATA STRUCTURE /SAPTRX/BAPI_TRK_CONTROL_DATA

*" INFODATA STRUCTURE /SAPTRX/BAPI_TRK_INFO_DATA OPTIONAL

*" MILESTONEDATA STRUCTURE /SAPTRX/BAPI_TRK_EXP_EVENTS OPTIONAL

*" MEASUREMENTDATA STRUCTURE /SAPTRX/BAPI_TRK_MEASR_DATA OPTIONAL

*" TRACKIDDATA STRUCTURE /SAPTRX/BAPI_TRK_TRACK_ID

*" INFOOBJDATA STRUCTURE /SAPTRX/BAPI_TRK_INFO_ID OPTIONAL

which will be used to call function module '/SAPTRX/BAPI_EH_POST'

If any errors are found during processing indicator EV_FATAL_ERROR should be set to "X"

Note that the plug-in function module must provide appropriate info regarding the application system,application object type, application object Ids; this will also prevent the function module from creating event handlers that already exist.

Example

Notes

Further information


Parameters

APPLOBJECTS
CONTROLDATA
EV_FATAL_ERROR
INFODATA
INFOOBJDATA
IS_EVM_GUIDS
IS_EVM_TABLES
MEASUREMENTDATA
MILESTONEDATA
TRACKIDDATA

Exceptions

Function Group

TRX/SAPLEM_PTA_AUTHENT

BAL Application Log Documentation   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.


Length: 3447 Date: 20120525 Time: 065352     triton ( 100 ms )