cancel
Showing results for 
Search instead for 
Did you mean: 

EM design question

Former Member
0 Kudos

Hi All,

Need your ideas & suggestions regarding EM design; specially from roll-out perspective

say we have different divisions: X & Y

Objective: We want to have single document type -> Single AOT -> Single EHT -> Single event chain

                Also, for future roll outs we want the lease development efforts and zero change to existing developments.

Problem: Not all expected events from Division X is relevant for Division Y.

              In other words, expected events for Division Y are subset of expected events of X

Also, because of different events per division (with different date rule), we are not being able to use single EE profile.

But because we want to use single event handler type, we can use 1 EE profile per 1 EHT.

Is it possible to dynamically select EE profile and not maintain at the EHT

Your inputs are appreciated.

Thanks,
Deb

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190756
Active Contributor
0 Kudos

Hello Deb,

you can control this in the EE extractor in the application system. Another option could be to filter out the not needed EE for one divison with filter controls.

BADI /SAPTRX/BADI_EH_S

Method BEFORE_EH_POST or BEFORE_EH_SAVE are alos possible places to filter the Events out.

It depends from where the events are coming what the best place is. If they are all coming from Application system the extractor would be the best place.

If you use the generate function explained by Gopi you should have in mind that this replaces the whole standard logic of EE creation and you would have to create the complete logic by your own.

Best regards,

Steffen

former_member190756
Active Contributor
0 Kudos

Method BEFORE_EH_SAVE is not usable as it has only Importing parameters.

Former Member
0 Kudos

Hi Debabrata,

Few companies, they made dynamic expected event profile to make everything sync on particular business process, if it is a global corporation.

a) Make it blank in Event Handler expected event profile.

b) Go to IMG -> Event Management -> General Settings in SAP Event Management-> Functions, Conditions, and Activities in SAP Event Management -> Define Functions for SAP Event Management -> Expected Event Generation Functions -> Create your own custom function with own custom table to define own fields (Template /SAPTRX/EE_POPULATE_TEMPLATE).

c) Create a rule new activity and assign Rule Activity Functions in IMG -> Event Management -> General Settings in SAP Event Management-> Functions, Conditions, and Activities in SAP Event Management -> Define Functions for SAP Event Management -> Rule Activity Functions.

d) Set Multitask Rule Activities in IMG -> Event Management -> General Settings in SAP Event Management-> Functions, Conditions, and Activities in SAP Event Management -> Define Functions for SAP Event Management -> Multitask Rule Activities

e) Create Task and call custom rule activity which you have defined in C.

Please check and let me know.

Regards


GGOPII