cancel
Showing results for 
Search instead for 
Did you mean: 

call stack for posting an event message from UI

Former Member
0 Kudos

Dear All,

              Please let me know the call stack  for debugging the event posted from EM web UI .

Thanks,

Shubh.

Accepted Solutions (1)

Accepted Solutions (1)

former_member190756
Active Contributor
0 Kudos

Hello Shubh,

this is a screenshot from the call stack when sending Message from WD UI:

Best regards,

Steffen

Former Member
0 Kudos

Dear Steffen,

                    Thanks for your reply.  I am  trying to report an event from UI , but it is not stopping in my rule set condition FM and activity FM.  All the debugging requirement and config requirement are in place. Any idea what may be the issue ?

Thanks,

Shubh.

former_member190756
Active Contributor
0 Kudos

Hello Shubh,

did you check the Task Log in SLG1? Is your activity called?

You also could start debugging in the Bapi here:

around line 255 depending on your EM release:

  PERFORM process_bapi_messages_sync

            CHANGING return[].

Best rtegards,

Steffen

Former Member
0 Kudos

Hello Steffen,

                     Even though the code is stopping at bapi_eh_addeventmsg_02 , the log is not generated in SLG1.  How could we generate log for the same.

              After going in the method PERFORM process_bapi_messages_sync , still not getting the clue as to why ruleset is not called.


Thanks,

Shubh.

former_member190756
Active Contributor
0 Kudos

Task log is switched on in the activities:

Did you check that EH is not locked and has the ruleset assigned (table /SAPTRX/EH_HDR)

Best regards,

Steffen

Former Member
0 Kudos

Dear Steffen,

                    I think i got an issue , the EH created is old and after that I have changed the rule set and in the code I can see the old rule set is picked. I will go ahead and create a new EH and see.

              One question I have is why does old EH not pick new customizing ?

Thanks,

Shubh.

former_member190756
Active Contributor
0 Kudos

This was a design decision. The ruleset name is stored when creating the EH in the header table.

Only when recreating the EH it will be updated from customizing.

Best regards,

Steffen

Answers (0)