Application Development and Automation 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: 
Read only

Reg : RFC FM Debugging

karthik_snair
Participant
0 Likes
1,309

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

1 ACCEPTED SOLUTION
Read only

0 Likes
1,262

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.

7 REPLIES 7
Read only

Former Member
Read only

0 Likes
1,263

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.

Read only

0 Likes
1,262

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

Read only

0 Likes
1,262

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.

Read only

0 Likes
1,262

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

Read only

0 Likes
1,262

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

Read only

0 Likes
1,262

OK..Thanks for this info...

My doubt is cleared.