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 Function Module

Former Member
0 Likes
977

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
946

Have you tried setting a breakpoint in the R/3 function module?

10 REPLIES 10
Read only

Former Member
0 Likes
947

Have you tried setting a breakpoint in the R/3 function module?

Read only

0 Likes
946

Yes John, I did.

Read only

0 Likes
946

Ajay,

Do you have debugging authorization in BW?

Thanks

Read only

0 Likes
946

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.

Read only

0 Likes
946

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

Read only

0 Likes
946

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

Read only

0 Likes
946

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.

Read only

0 Likes
946

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.

Read only

0 Likes
946

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.

Read only

0 Likes
946

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.