Skip to Content

How to debug activity function module?

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2014 at 09:48 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2014 at 07:28 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.