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

RFC Debugging

sagar_mendapara
Explorer
0 Likes
3,443

Hi Experts,

I have done GOOGLE for How to debug Remote FM. Have found many links and methods of doing so. But unfortunately none of them help me to debug Remote FM.

Links Like :

How to Debug SAP RFC , background job , update FM etc.. « SAP Ignite

SAPTechnical.COM - Tips - Remote ABAP debugging

http://www.sap-help.net/Page/abap-development-getting-started/abap-debugger-setup/abap-debugger-rfc-...

SAP Note 1004248.


Regards,

Sagar

7 REPLIES 7
Read only

Former Member
0 Likes
2,952

HI sagar,

To trigger RFC breakpoint use external breakpoint (Ctrl+shift+F9).

Regards,

Charan M.

Read only

0 Likes
2,952

Hi Charan,

I have used External Breakpoint but it was not going into debug mode when Remote FM was called.

Read only

former_member188346
Active Participant
0 Likes
2,952

Hi Sagar,

  1. Go to sm59 transaction from source system.
  2. In abap connections, it will show all target systems.
  3. Double click desired target system.
  4. Target system will then logged in.
  5. Go to se37, Put FM name.
  6. Set external break point at first executable statement.
  7. Now when you run the desired process/flow from source system the RFC FM will get call, i mean break point will stop in target FM.

Regards,

Bhushan

Read only

0 Likes
2,952

Hi Bhushan,

Thanks for the prompt reply.

I have done steps 1 to 3.

Now for Step 4 do i need to click on Remote Logon button as shown in below screen shot?

If yes, than i did but i have not got any popup or any other screen.

After that i have follow Steps 5 to 7, but at break point it doesn't stop.

Regards,

Sagar

Read only

0 Likes
2,952

Hi Sagar,

If after clicking on Remote Logon button you are not able to getting in the target system then basis has done some setting to stop this process, no authorization for ur user. Ask to basis for authorization

Further steps are of no use.

Cheeers,

Bhushan

Read only

Former Member
0 Likes
2,952

Hi,

to call your FM you have to connect to SAP within your external Programm (I suppose this is ok).

To do the external breakpoint working you have to connect from your external Programm with the same user as the one you used to connect via saplogon. Otherwise the breakpoint will not stop.

Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
2,952

Hi Sagar,

Kindly check the user type which is calling target system. The user type should be dialog user to do external debugging.

Thanks