cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug activity function module?

0 Kudos

Hi,

I have created a function module that is updating dates and status of various events from EM to TM. How this function module will be triggered and how to debug this function module?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

Firstly,If you want to update TM system from EM system periodally, set a background job in EM which will eventually update TM system in regular interval.

Secondly, If you want to update at runtime, then you can do it through ruleset. Just keep your function module as an activity in the ruleset.

Also, I think, It can be done through enhancement in EM (Post Processing of Event Messages ).

N.B: Event Handlers and Event Messages are posted in EM system through BAPI_EH_POST and ADD_EVENT_MSG02 function module respectively.

Former Member
0 Kudos

Hi Gaurav,

Where did you assign these functional modules?  Set the break point in Functional Module and try to reprocess event messages from event handler.

If it is not happening then can you brief the steps to direct you in right path.

Regards

GGOPII