/SAPTRX/BAPI_EH_GET_DATA_GEN - Flexible search for EH data

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Functionality

Method of retrieving data from the event handlers: this BAPI allows for queries against event handlerheader table fields, EH extension table fields, EH info and control parameters, tracking IDs, queryIDs, expected event information, and event message information. E.g., queries as 'all containers with Material YXZ and status IN TRANSIT ' will be possible.

Regarding the meaning of Event Handlers, please see SCEM documentation:

Internal Help Portal:,,,,http://helpportal.wdf.sap-ag.de:1080/

External Help Portal:,,,,http://help.sap.com

(follow the path mySAP.com cross-industry solutions->my SAP Supply Chain Management->SAP Event Manager)

By means of the input parameters, the calling application can specify whether the function module shoulduse a customized selection function, and give the name of this function module, or the standard one(/SAPTRX/BAPI_EH_GET_DATA). The customized selection function must have the same interface as /SAPTRX/BAPI_EH_GET_DATA.The user can also set the maximum number of event handlers to be retrieved, for performance reasons.

With regard to the #table# parameter, SELECTIONFIELDS (see related documentation) is the only one thatmust be filled by the calling application; all the others are the table retuned by functin module /SAPTRX/BAPI_EH_GET_DATA (see function module and related documentation).

This function module has been developed according to the BAPI programming guidelines, therefore there are also the standard #required- BAPI parameters EXTENSIONIN, EXTENSIONOUT, RETURN.


Parameters

ADDINDATA
BAPIRETURN
CHGDOCS
CONSOLIDATEDEVENTS
CONTROLPARAMETERS
CUSTOMIZEDSELECTION
EHSETSTATUS
ERRORMESSAGES
EVENTHANDLERHEADERS
EVENTHANDLERSETS
EVENTHANDLERSTATUS
EVENTMSGS
EVMDOCREF
EVMHEADEREXTENSION
EXPECTEDEVENTS
EXTENSIONIN
EXTENSIONOUT
HEADEREXTENSION
INFOPARAMETERS
IV_DF_CHECK
IV_FAST_SEARCH
MAXHITS
MAXHITSREACHED
MEASUREMENTS
QUERYIDS
RETURN
SELECTEHSETS
SELECTIONFIELDS
SELECTIONFLAGS
SELECTIONFUNCTION
TRACKINGIDS

Exceptions

Function Group

TRX/SAPLEH_BAPIS

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.


Length: 5641 Date: 20120525 Time: 054945     triton ( 115 ms )