|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Remote ABAP debugging
By Vijayanand Poreddy, Yash Technologies
When I initially started working on Integration tools like
Business Connector/.Net connectors/XI, I always wondered how to debug the
process in the backend SAP R/3 system when I make a RFC call. Because when we
call any SAP RFC function module from any integration tool, it will be processed
on any available application server in the backend, where a user breakpoint can
not be triggered to debug the ABAP code in the backend system. The situation
becomes worst to the developers/testers when they want to test the scenarios
like HTTP-XI-RFC, HTTP-XI-PROXY, and FTP-XI-RFC so on. But we have a simple
solution to debug the ABAP code when we are working on Remote function calls.
Log in to the sap system where RFC function module or Proxy
Open the Function module/ Proxy class and set a break-point.
It is not mandatory that break-point has to set only at the initial line of
the code; user can set any where in the entire code, which will be executed on
Execute the transaction code “SRDEBUG” (Note: this tcode
is available only in latest ECC 6.0 system)
Click on the button Activate Debugging. A pop-up screen will
be opened. Fill the User-ID with which break-point has been set. (The same
user-id should be used as authentication data in the XI while creating RFC
communication channel). Select the
radio buttons “all Appl. Servers” and “External breakpoints already
set”. Click on OK.
pop-up will be opened with a message “End debugging?” Leave the pop-up as
it is. (Don’t close the transaction).
Now start sending a message from HTTP client. When the
message arrives to SAP R/3 system, a debug session will be started from the
point where user kept the break-point in the step-2. From this point user can
start debugging the code as usual.
Thus, concluding setup of Remote ABAP debugging.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards