on ‎2016 Aug 04 11:15 AM
Dear All,
How is it possible to store a value in a message parameter using the standard BAPI "EH_ADDEVENTMSG_02"?
I know how to use them through the EM Web UI, but I was not able to find the right field in the standard BAPI (the message parameters are not allowed in the "TRACKPARAMETERS" table).
Thanks in advance!
Pietro
Request clarification before answering.
Hi Pietro,
you must use TRACKPARAMETERS structure by using Parameter Type set to blank.
"After you have defined the event message parameters in SAP EM, you define how the parameter values from the event message are mapped to the parameter values in SAP EM. When you send an event message, you must use the structure TRACKPARAMETERS to define the value that SAP EM is to map. The parameter type in the application system must be blank."
Additionally you need customizing with your own Extension Table:
SPRO:
SAP Customizing Implementation Guide
Event Management
Event Messages, Status Queries, Web Interface and EM OData Service
Event Message Parameters
Here you should find also example config.
Best regards,
Steffen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steffen,
thanks to your suggestions now I'm able to store the message parameters in a custom table, but I can see their values only inside it using SE16: how is it possible to add my custom fields to the others that it's possible to see with a double click on an event code in the /SAPTRX/EH_LIST?
Thanks!
Pietro
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 8 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.