Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

How to debug an RFC function module.

$
0
0

Debugging a RFC:


1. Set External breakpoint in the target server. Keep a breakpoint in the current system before the the RFC statement.


2. Go to tcode SRDEBUG and activate debugging. Give User ID and Select ‘all Appl.Servers’ and ‘External breakpoints already set’ radiobuttons.


3. This gives a new pop-up which says ‘End Debugging: Yes/No:’. Click ‘Yes’ only after the task is completed.


4. Run the program from the current system.  When we get to the call replace the name of the Destination to Temp one which has a temp dialog user. Then on F5 will start a new debugging screen when it comes to RFC call of the function module.


The catch here is the existing RFC destination will not have a dialog user and we need to have a dialog user for debugging to happen.


For this ask Basis to create a temporary RFC destination and give a dialog user till we test the RFC development. We can’t change the RFC destination which we regulary use as lot of Interfaces might depend on it.


Viewing all articles
Browse latest Browse all 948

Trending Articles