‎2006 Mar 03 5:55 PM
RFC Function Module
Posted: Mar 3, 2006 11:50 AM Reply E-mail this post
Hi,
I have created an RFC function module in R/3 to retrieve deliveries. This is called in an ABAP program in BW. The function call is working fine. But I am unable to debug the function module while debugging the ABAP program in BW, the control just goes to the next statement after the function call.
How should I be able to debug the RFC function module ? Is it possible that while debugging the program in BW the debugger jumps to the R/3 function module and continue debugging ?
Any suggestions or thoughts are greatly appreciated. Thanks.
‎2006 Mar 03 5:59 PM
Have you tried setting a breakpoint in the R/3 function module?
‎2006 Mar 03 5:59 PM
Have you tried setting a breakpoint in the R/3 function module?
‎2006 Mar 03 6:04 PM
‎2006 Mar 03 6:10 PM
‎2006 Mar 03 6:20 PM
Yes. The call to the function module is in the middle of the BW program. I am able to debug till the point of the function call, but when I use F5 to step in to the function module it just doesnt step in. It goes to the next statement after the call as if I pressed F6. I am sure that the function module is being executed, but the debugger wouldnt just go in to it. Any thoughts ???
Thanks.
‎2006 Mar 03 6:23 PM
This Fm is reside on the same system ( BW) where you devloped (BW) correct ? Its really strange if this the case...Let me see some OSS notes about it .
One more concern , Are you able to get require data .Only thing you`re not able to debug it correct ?
What`s the version of your BW system ?
Message was edited by: Saquib Khan
‎2006 Mar 03 6:30 PM
Khan,
No, the function module is in R/3. This is an RFC Function Module. And, I wont be completely sure of it's working until I debug it.
Thanks.
Message was edited by: Ajay
‎2006 Mar 03 6:42 PM
Pls try and see whether it works....
Activate the "External Debugger" in the R/3(it depends on which version of R.3 you are on whether you have this or not)....
goto SE38..choose the menu option "Utilities --> Settings" and in the popup choose the tab "Debugging" in the main tab "ABAP Editor" and select the check box "Actv" in the group "External Debugging"..give the same username as what has been given in the RFC destination of BW(this user must be a dialog user)....
Goto SE37, put a breakpoint in the FM being called from BW ...and then see if you are able to switch debugging from BW to R/3....
Thanks,
Renjith.
‎2006 Mar 03 6:52 PM
Renjith,
I am working on R/3 4.6C and dont have the "Debugging" tab in the "ABAP Editor" tab in the Settings. I dont see any option for the external debugging in any tab of the settings. Does 4.6C has that option ?
Thanks.
‎2006 Mar 03 7:00 PM
Unfortunatley..the answer is no for a 4.6 system...someone, pls correct me if i am wrong...i have access to a 4.7 system and it has this feature....
just to see the option of external debugging...check in you BW system(it might be having it)...
Thanks,
Renjith.
‎2006 Mar 03 7:06 PM
Renjith,
Though the answer didn't help me solve my problem, it sure was conclusive and made clear that it is not possible with the R/3 version I have.
And yeah, I found the option in BW. I am awarding you full points.
I'll see if there is a work around. Thanks.