Skip to main content

asp.net - ABAP RFC Debugging -


I am an ASP.NET and Abeap developer for years, I sap from AFNET. Used RFC to use the net connector.

During an integrated test, sometimes we need to debug RX which has been called from ASP.NET, just because the bug we are encountering does not happen on SE 37.

So, every time I need to debug RFC, I just put it:

  IF  

By doing this, the program gets stuck. Then I go to the SM 550 and debug it.

I was thinking that there is no other way to do this, because I do not like the idea of ​​changing the code to debug, or implement some debug controls.

So, when you want to debug RFC, what do you do?

Thank you in advance!

I think you are using a fairly recent version of SAP (4.7+) following Do:

  • Get the user name that creates RFC call
  • SAP in ASP
  • Burning in Se 37, code section of your RFC
  • Look at the menu above, click on 'Utilities'
  • Go to the Debugging tab
  • Fill in the username Which calls from ASP
  • Click on IP matching (otherwise the debug session appears for each time any user calls)
  • Session breakpoint is actively good for immediate clicking.
  • Put your external breakpoint where you need it (click with icon
  • check your ASP connector
  • Breakpoint should come in effect, debug window will pop up
  • You may want to Authority for not doing so true, if it does not work, then find out that you are what you remember using SU53

This should work.


Comments