‎2015 Aug 24 1:32 PM
Hello,
I am trying to debug a function module but the program just won't enter the debugging mode for the function module (i.e. it will continue processing but I cannot debug the FM itself, remotely). When I use different RFC destination, it works. But for some it doesn't, like this instance. Upon pressing F8, the tool will continue processing but we are not able to debug the FM.
What could be causing this? Is it the configuration of the RFC Destination or the RFC User itself? And what can we do to fix this problem?
Thank you.
‎2015 Aug 24 1:51 PM
Hello Laarni,
For Debugging an RFC FM, you need to have your user enabled in the target system with debugging rights.
Please find the below link for reference,
https://scn.sap.com/thread/1572841
Regards,
Deepan.
‎2015 Aug 24 1:46 PM
Hi,
Check which user is executing the function module. Now in utilities-->setting, tab Abap Editor, tab Debugging change the user to the one that is executing the function module through RFC.
Now place an external break-point and as long as you are logged in the same system and client it should go to debugging.
If you can't change the user, then in all probability it is a system user. What you can then do is temporarily change the user to dialog for debugging purposes (take special care when you do this on production because the sizing for dialog user can be massively different from background users).
Kind regards, Rob Dielemans
‎2015 Aug 24 1:49 PM
Hi,
You need to create a RFC Connection with the Logging user of System. Example, if you login to ECC System with USER01 as username then you have to create a RFC connection with the same user USER01 or need to call the RFC Function Module with the user with which you have placed the debug point. And the it must be an external debug point which needs to be enabled.
have a look at this following article:
Hope this will help you.
Thanks,
Marcelo Macedo
‎2015 Aug 24 1:51 PM
Hello Laarni,
For Debugging an RFC FM, you need to have your user enabled in the target system with debugging rights.
Please find the below link for reference,
https://scn.sap.com/thread/1572841
Regards,
Deepan.
‎2016 Feb 14 8:02 PM
Hi Laarni,
Make sure RFC user is defined as Dialog user. You have to keep External Debugging in ECC rather than session Break-Point. Hard coded break point also will help.
Check the username , it should be identical.
Hope this information is useful.
Regards,
Deepa