cancel
Showing results for 
Search instead for 
Did you mean: 

No Tracking ID in EH Header table

Affan_alavi
Explorer
0 Kudos

Hi,

I am running into a peculiar situation, where some of the handlers have the /SAPTRX/EH_HDR-TRACKINGIDTYPE & /SAPTRX/EH_HDR-TRACKINGID fields with blank value. I can however see the tracking IDs in the /SAPTRX/EH_TRKID tables.

Has anyone encountered this from their experience?

By the way we are using TM-EM integration using custom Handlers.

Also this does not happen for all the handlers, only a few.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member190756
Active Contributor
0 Kudos

Hi Affan,

did you set the flag MSRID when creating the Tracking IDs in the extractor?

This flag indicates the Master Tracking ID to be stored in the header.

It is created in EM here:

/SAPTRX/CL_EH_POST_CNTRL->PROCESS_APPSYS_DATA

line 169

But it should be no issue if the master tracking ID is missing. All queries etc. go over the EH_TRKID table. The master tracking ID is only there for historic reasons.

Best regards,

Steffen

Former Member
0 Kudos

Hi Affan,

When you say it is happening only for few event handlers, then we need to isolate the issue.

1. Why it is happening to only those event handlers? Are there specific parameters causing this issue like specific partner, specific location, specific sender code etc?

2. Does client has any custom activity EH Update Activity function implemented?

3. Check in ST22 any dump during processing date and time.

4. Put the breakpoint in FM /SAPTRX/BAPI_EH_DEL_TID and /SAPTRX/BAPI_EH_ADD_TID and class /SAPTRX/CL_EH_DET_INTF_CNTRL in following methods and process manually event handler through SE37.

SET_EH_TRACKING_IDS

SET_TRACKING_IDS

DEL_EH_TRACKING_IDS

DEL_TRACKING_IDS

Regards


GGOPII

Former Member
0 Kudos

Hi Affan,

Can you re-create this issue? If yes, put a breakpoint on line

CALL METHOD /saptrx/cl_eh_post_cntrl=>post_event_handlers in BAPI = /SAPTRX/BAPI_EH_POST and make sure your  APPLOBJECTS entires and  TRACKIDDATA entries have same values for the following fields:


APPSYS

APPOBJTYPE

APPOBJID

In summary goto SE37 =  /SAPTRX/BAPI_EH_POST ( put a  breakpoint ) and compare APPLOBJECTS and TRACKIDDATA tables. They should match APP* fields.



Thanks,

Vishnu

Former Member
0 Kudos

Hi Affan,

Can you please send a screen shot of the AOT configuration ?

Are the event handlers even created ? Check in /saptrx/eh_list

Thanks,

Deb