cancel
Showing results for 
Search instead for 
Did you mean: 

Should we use AOT extractors or Event Messages to update an Event Handler?

0 Kudos

Dear experts

in case of TM-EM integration, we know that initial creation of event handler happens with data extracted using application system extractors like expected event extractors, control / info parameter extractor & tracking id extractors.

In case, subsequent changes to the TM BO needs to update the event handler with new tracking IDs, parameters, changed expected event dates etc, should we handle it through AOT extractors or event messages?

It would be good to hear your opinions specifically in the below context:

1. With TM as the application system

2. Some events have already occurred and reported either from TM or from external systems.

3. When TM BO change should result in:

- adding new expected events

- changing the expected dates on existing expected events

- replacing an existing tracking id

- adding a new tracking id

- replacing an existing parameter

- adding a new parameter

Thanks in advance for your help.

Accepted Solutions (1)

Accepted Solutions (1)

kevin_wilson2
Contributor
0 Kudos

Always use the Event Message to update the EH after it has been created. You don't want the performance burden on the Application side (TM) for all the relevance and extraction code and you don't need the same on the EM side for recreating the EH and reposting all existing events... It may be easier to do it the AOT way but it's better for the system to do it the hard way

0 Kudos

Kevin, thanks for the quick response. I understand where you are coming from. However, can't we pursue the easier AOT way and yet suppress the recreation of EH & reposting of events in the BADI /SAPTRX/BADI_EH_S?

former_member190756
Active Contributor
0 Kudos

Hi,

you refer to method CHECK_FOR_CHANGES in the BADI?

If you disable this check no Expected Events Updates from AO Type would be recorded.

Normally this is not really freasible in TM-EM scenario. The proposal from Kevin is the better way i would say.

Best regards,

Steffen

Answers (2)

Answers (2)

0 Kudos

Thanks Kevin & Steffen. We will shift the code from AOT to Evt Type extractors then.

Former Member
0 Kudos

Event message