Skip to Content

No Tracking ID in EH Header table

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 05, 2015 at 07:24 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 05, 2015 at 07:56 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 06, 2015 at 06:59 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 06, 2015 at 07:14 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.