Skip to Content
avatar image
Former Member

Add a new tracking ID

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 13, 2015 at 06:04 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 11:09 PM

    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

    Short Text

    Create Additional Tr. ID(s) from Evt Msg. Further Ref. Data

    Functionality

    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.

    • Parameter-1: Enter the tracking ID code set of the further reference record(s) contained in the event message from which the new tracking ID(s) is to be retrieved, before being added to the event handler. Multiple tracking IDs are created, if more than one further reference record exists for the tracking ID code set specified.

    Return code:

    • 0 - If the new tracking ID(s) was added
    • 2 - If the tracking ID code set in the further reference record was blank
    • 4 - If no further reference record was found for the tracking ID code set specified in parameter-1.

    Regards,

    Jonathan Hansen

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2015 at 03:07 AM

    Hi Deb,

    There was a similar discussion like yours

    Jonathan is pointed out correctly to you.

    Check this one and let's know.

    Regards


    GGOPII

    Add comment
    10|10000 characters needed characters exceeded