| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Tips Categories:
Contribute?What's New?
What's Hot? |
Remote ABAP debuggingBy Vijayanand Poreddy, Yash Technologies Scenario: 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. PRE-REQUISITE:
SOLUTION: Log in to the sap system where RFC function module or Proxy
class implemented. 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
RFC call. 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.
Another
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 Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
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 |
||