cancel
Showing results for 
Search instead for 
Did you mean: 

EM Code Investigation While Posting an Event

Former Member
0 Kudos

The system landscape is SAP AII-PI- EM.


I was trying to post an event in SAP EM/OER from SAP AII via PI and it went successfully.


Can anyone suggest , how can i debug the EM code while pushing the data from AII because putting breakpoint on the executed code on EM side does not stop the cursor as i am trying to push it from AII box through PI.


The data is transfering via PI service Interfaces Event capture Notification Out and Event Capture Notification In. All I can see is these events are created from user sysadmin in application log.


Is there in any way the breakpoint will work, If put from sysadmin user?? Or in any way(SM66) , it can be worked??

Accepted Solutions (1)

Accepted Solutions (1)

former_member186607
Active Contributor
0 Kudos

Hi,

normally this should work, if you set an external breakpoint for the user, which is used for the RFC connection between PI and EM (probably SYSADMIN in your case). You can set the breakpoint, for example, in method PROCESS_EVENTS of class /SAPTRX/CL_PTA_ECN_MAPPING.

Best regards, Daniel

Former Member
0 Kudos

HI,

Thanks for the reply.

Answers (0)