Fonction SAP /SAPTRX/QUEUE_NAME_TEMPLATE - Function template for setup of AOIDs

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_APPTYPE_TAB TRXAS_APPTYPE_TABS 0 Control tables and nametabs for all appl. object types

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
E_QUEUE_NAME TRFCQNAM C 24 Queue name

Exception Description
QUEUE_DETERMINATION_ERROR Queue name could not be defined

Functionality
Function template for determining the queue name for asynchronousconnections to SAP Event Management (SAP EM).
The default queue name is the name of the business process type. If youwant to have more granular qRFC queues, you must implement thisextractor, for example, to use the key of the business object such as apurchase order or a shipment. You must maintain extractors intransaction /SAPTRX/ASC0TF under Queue Name Extractor in thedialog structure and then assign them to the business process type intransaction /SAPTRX/ASC0TO in the Queue Name Extractor field.

Example
See the commented coding on the Source Code tab page.

Notes
The queue name can also be specified by calling the SAP EM applicationinterface directly (function module /SAPTRX/EVENT_MGR_COMMUNICATE), forexample, in customer BAdI implementations or when you connect customerobjects to SAP EM. In this case, the queue name specified in the callto /SAPTRX/EVENT_MGR_COMMUNICATE is considered and the extractor isignored.