Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to debug a webservice (HTTP session)?

Former Member
0 Kudos

Can I debug an HTTP session? That is, as soon as I call a webservice (which wraps a function module), I want ABAP to stop in the debugger when I have SAP Gui open (similar to what is possible with the JCo abap_debug parameter for RFC calls).

I have been able to trace the HTTP session using se30. Also, in principle it shouldn't be too hard for the backend to detect whether there is a SAP GUI running on the client that originated the HTTP request. But has this been implemented?

-- Sebastian

1 ACCEPTED SOLUTION

PedroGuarita
Active Contributor
0 Kudos

Yes it is. You will have to go into SE38 and under Utilities --> Settings, and in the Debugging TAB set the user that is calling the RFC and check the option "Session Breakpoint active Imed.". Then create an external breakpoint for that user in the RFC and it should stop there.

2 REPLIES 2

PedroGuarita
Active Contributor
0 Kudos

Yes it is. You will have to go into SE38 and under Utilities --> Settings, and in the Debugging TAB set the user that is calling the RFC and check the option "Session Breakpoint active Imed.". Then create an external breakpoint for that user in the RFC and it should stop there.

Former Member
0 Kudos

Thanks. -- Sebastian