‎2007 Mar 15 9:42 PM
Hi Experts,
I am calling an RFC fucn module from my report program in se38.
while debugging(F5) it not going inside the RFC FM which is specified with proper destination.
How should i debug the RFC Fm from my se38 report ? Is there any special tech like placing a break pointin RFC ..etc?
Please help.
thanks
Dany
‎2007 Mar 16 3:38 AM
Hi,
While using RFc function module , it is not mandatory that the function module
is there in source system.
First check the function module is there in system.
If the function module is available only in target destination (RFC destination ) system then debugging is not possible, if you are calling from source system.
aRs
‎2007 Mar 15 10:12 PM
Put the break point on the call function line in the report and then check, if the flow is right it should go inside the FM.Otherwise you have to check the flow.
Regards,
Amit
‎2007 Mar 15 10:22 PM
Put a break point at the call function statement. Once the debugger reaches here, turn on "System Debugging" from the menu. Now F5 to step. It should go inside the function module call, or at least at a system level call, if at a system level call, then do one more thing. In the debug screen, choose Breakpoints->Breakpoints at->function module. Enter the name of the function module that you are trying to debug and hit enter, now F8. The debugger should stop at the first source code line in the RFC function module.
Regards,
RIch Heilman
‎2007 Mar 16 1:05 PM
Hi Rich,
Its not going inside the RFC Func module eben though i switched on system dubugging on.
Can u sggest more ways of doing this?
thanks
Dany
‎2007 Mar 16 3:31 AM
HI Dan,
If the user who is specified for the RFC Destination in the transaction: SM59, does not have the debug authorization then we cannot debug the FM. Actually the debug screen of the FM will be a new session al together, please verify that you do not open maximum sessions and trying to debug RFC FM.
Please, let me know if further details are required.
Thanks & Regards,
Goutham.
‎2007 Mar 16 3:38 AM
Hi,
While using RFc function module , it is not mandatory that the function module
is there in source system.
First check the function module is there in system.
If the function module is available only in target destination (RFC destination ) system then debugging is not possible, if you are calling from source system.
aRs
‎2007 Mar 16 1:02 PM
Hi ARS,
Yes the RFC function module is available only in target destination (RFC destination ) system and not in source system.
Please tell me if there is away to ensure that the dats from my source system is passing to RFC fm in destination system.
thanks
Dany
‎2007 Mar 19 12:20 AM
Hi Dan,
You cannot debug the RFC Fm as usual. You need to make sure that you are able to login in to the system containing the RFC using SM59 with your own login. Now place a break point just before the RFC Fm in your se38 and press F5. now it goes into the RFC .Now you need to place a break point at your RFC FM by specifying your RFC name.
and hit F8 . It goes inside the RFC Func module code.
Try it and let me know.
Harikumar Ganti
‎2007 Mar 16 1:08 PM
If the RFC is available only in the target system and login into target system give destination NONE and try.
But if you are calling from source system then you could not able to debug
You can only debug where the function module is available
aRs