‎2014 Jan 28 8:35 AM
Hi Experts,
i have a question, we have a function module which is defined remotely in another system which can be either sap or non sap system and we are calling in sap system.That is the scenario.
Now the question is how to debug this RFC FM from the source system where it is called.
i need a perfect answer for this. Please let me know is it possible to do this if possible please explain how to proceed.
Thanks!
Karthik.S
‎2014 Jan 28 8:45 AM
Hi Karthik,
Please follow below procedure,
1. Set userid of calling system user logged in called system under utilities --> settings
2. Then set External breakpoint in your RFC
3. Now execute your program from calling system. It will stop at breakpoint as soon as your RFC is called.
‎2014 Jan 28 8:41 AM
Refer the following threads and you will know the answer
Set External Breakpoints for ABAP Debugging - Duet Enterprise - SCN Wiki
‎2014 Jan 28 8:45 AM
Hi Karthik,
Please follow below procedure,
1. Set userid of calling system user logged in called system under utilities --> settings
2. Then set External breakpoint in your RFC
3. Now execute your program from calling system. It will stop at breakpoint as soon as your RFC is called.
‎2014 Jan 28 8:49 AM
Hi Team,
Thnk You for the fast reply.
Where should i keep the break system?Calling system or in the system where this RFC is defined?
But i don't have the access to the system where its defined.So how can i proceed?
Thanks!
Karthik.S
‎2014 Jan 28 8:52 AM
You need to keep brakpoint on the system where RFC is defined. If you don't have access to that system, then you cannot debug it.
‎2014 Jan 28 8:57 AM
Hi,
Is the other system a SAP system . If yes, take the user name of any valid user in that system . In the other system, set external debugging on the code with the authorized username.
Or in the remote system, use transaction SRDEBUG to activate debugging for the authorized username.
Regards,
DPM
‎2014 Jan 28 9:00 AM
Hi Karthik,
You should put the break point in the system where your RFC FM is there.
Open your FM go to utilities->settings put your username in external breakpoints( RFC etc.) and proceed further to execute the calling program from the source system. Once it reaches the breakpoint, debugger will be enabled.
If you don't have access to the destination system's setting changes ( i.e., RFC FM enabled system ) contact your BASIS team .
Hope this helps.
Best Regards,
Subbu
‎2014 Jan 28 9:09 AM