on 01-08-2015 10:31 PM
Hi All,
We want to add a new tracking id to an existing event handler. I know we could use /SAPTRX/BAPI_EH_POST but we can not as we do not have the
application object id available in the calling the system.
We also can not use the /SAPTRX/BAPI_EH_ADD_TID as this is obsolete now.
Thanks,
Deb
Hi Jonathan/Gopi,
Thank you for your response. I am sorry that I had not mentioned this earlier in the main post.
We do not want to send an additional message to add this tracking id.
We have used the /saptrx/cl_eh_det_intf_cntrl=>add_tracking_ids instead and is working fine as desired.
Thanks,
Deb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deb,
when using this method you should explicitly lock the EH before updating Tracking IDs otherwise you can get inconsistencies. The method does not call any Enqueue module.
For Enqueue function module:
ENQUEUE_/SAPTRX/E_EHHDR
After update dor Dequeue:
DEQUEUE_/SAPTRX/E_EHHDR
Examples you can find with Where used list.
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 Deb,
Have you tried using /SAPTRX/BAPI_EH_ADDEVENTMSG_02 with Activity Method 'TRACKING_ID_SET'? Use the TRACKREFERENCES in the BAPI to add additional tracking ID's.
TRACKING_ID_SET - Create Additional Tracking ID(s) from Event Message Further Reference Data
Create Additional Tr. ID(s) from Evt Msg. Further Ref. Data
This method creates additional tracking IDs for an event handler from data contained in the further reference table of an event message.
This method can only be used in rule activities.
Return code:
Regards,
Jonathan Hansen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deb,
By the way, here is the location of some really good documentation from SAP regarding /SAPTRX/BAPI_EH_ADDEVENTMSG_02.
https://websmp101.sap-ag.de/~sapidb/011000358700002439552003E/EvtMgeInput-SAPEM-40_v11.pdf
Regards,
Jonathan Hansen
User | Count |
---|---|
9 | |
4 | |
3 | |
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.