‎2007 Mar 26 11:02 AM
Hi friends,
How to debug the following function module (RFC).
call function 'RFC_PLAYBACK_DUMMY'
destination 'RECORDER'.
‎2007 Mar 26 11:05 AM
Hi,
Any function Module, whether it is RFC or others, keep a Break point and run the application and see that the cursor stops at the break point and check for the requirted data, whether it is coming or not.
regrads,
Anji
‎2007 Mar 26 11:09 AM
Hi thanks for reply but my problem is inside of that function module one internal table is populating but i am not able to go to inside of that function module.Once if i press F5 the control is not going to inside of that function module it is coming directly to endfunction.
Thanks & Regards,
Bharat.
‎2007 Mar 26 11:17 AM
Hi Bharat
A sneaky trick you can use is to put an infinite loop with an exit condition in your function module like:
MOVE 'X' TO exit_cond .
WHILE exit_cond EQ 'X' .
ENDWHILE .Then, when it is busy looping in the background, go to transaction SM50, select the processor and then go to <b>Program/Mode > Program > Debugging</b>. Change EXIT_COND and debug the rest of the code...
Hope that helps.
Cheers
Lyal
‎2007 Mar 26 11:32 AM
Hi Lyal,
First of all thank you for your reply.But that function module is present inside of the standard program and once if i double click on that function module ( not in the debugging mode) it is showing the message like 'function module does not exist do you want to creae it' in the pop up.Then how to add that infinite loop code inside of that function module.This function module exist in another function module.
Thanks & Regards,
Bharat.
‎2007 Mar 26 11:38 AM
hi bharat ...
jst try it out...
I am assuming tht u r nt testing ur program in Production
This FM is on some other server which u wont find in ur system ... go into SM59 and remove the USERNAME/PASSWORD from there which it is using to log on to the other server and then try executing it or otherwise put a breakpoint inside the FM on the other server and then try executing it...
hope this will help...
tac care
Ashwani
‎2007 Mar 26 12:23 PM
Hi,
With out SM59 is it possible to debug that function module why because i am not having the authorisation of sm59 transaction.I am in quality system.
Thanks & Regards,
Bharat.
‎2007 Mar 26 7:51 PM
there is a database table ... RFCDES .. actually all the entires of SM59 comes from this Database table... u can go into this table and can make the changes ...
hope this will help
Thanks 'n Regards,
Ashwani
‎2007 Mar 27 10:33 AM
Hi Experts,
i want to debug the rfc enabled function module then how to proceed from the table RFCDES.
Thanks & Regards,
Bharat.
‎2007 Mar 26 8:00 PM
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.
if you want to debug then try to login to target system and check thry se37
aRs