cancel
Showing results for 
Search instead for 
Did you mean: 

sequencing of event from ECC to EM

Former Member
0 Kudos

Dear All,

                   I have two events in ECC raised simultaneously for same EH. One is for create of certain data and another is for delete. Can I sequence the event in EM such that delete is applied first and then the create ??

Thanks,

Shubh.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Shubh,

In my opinion, we can't achieve in standard way but we can do through custom way.  We have done custom activity function during creation of event handlers to delete, update certain parameters, status change etc.

1. Go to IMG -> Event Management -> Event Handlers and Event Handler Data -> Event Handlers -> Define Activities for Updating Event Handlers

2. Create a new custom activity function in  EH Update Activity Functions depends on your requirement.

3. Create Multitask EH Update activities and sequence first delete function and create on second step.

4. Assign Multitask EH Update activity in Event Type EH Upd.Acty 1 / EH Upd.Acty 2 on your Event Handler Type.

This can be achieved for same event handler.

Example: Refer this activity method PARAM_CHANGE_CUST - Add/Change/Delete Control and/or Info Param(s) Using Cust.

Regards

GGOPII

former_member190756
Active Contributor
0 Kudos

Hi Shubh,

only indirectly:

In

/SAPTRX/CL_EVENT_MSG_PROCESSOR->PROCESS_EVENT_MSGS

they are sort:

* Sort event messages by tracking ID

  SORT <evm_data>-header STABLE BY trxcod trxid.

By choosing different Tracking Code Sets you could influence it.

Best regards,

Steffen

Former Member
0 Kudos

Hello Steffen ,

                       Thanks , if I have the same tracking id and code set as well , is there any other way to influence ?

Thanks,Shubh.

former_member190756
Active Contributor
0 Kudos

Hello Shubh,

unfortunately no. This grouping at this place is done due to performance reasons.

There is also no BADI available where you could change it.

Best regards,

Steffen