cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with RFC Call..

Former Member
0 Kudos

Hello Gurus,

I am facing one problem with below RFC Call ..

We are trying to debug a Custom Function Module call to ECC (BE system), but, control is not going to back end while debugging.

What I tried.

1 - I enabled external break point to our RFC user id to ECC. This user id is dialog. And kept break point in FM still now able to debug the RFC Call.

2 - I started System debugging and kept break point at Function module call for our custom function module. Error is - Function module does not exist (which is true, in SRM it will not be there).

3 - I repeated point 1 for my user ID as well.Not working.

4. Checked connection in SE59, it is fine.

RFC Call is fine..

- Because we are getting results from BE, but still not able to degbug. If I comment full code in ECC we are not getting any results, that means ctrl is going to BE, but unable to debugg BE.

- I did my debugging or execution in ECC for the same FM, input values as at run time values in SRM, it is working perfectly, but when we are executing the same in SRM we are getting different results.

Pls advice.

Thanks in advance..

Regards,

Mohan Vamsi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Experst..

When I am executing same Function moduel in ECC I am getting 133 Records which are valid..

When executing from SRM I am getting 140 Records few are invalid..Thats the reason I want to debug and see where the actual problem is..!!

Thanks in advance.

Regards,

Mohan Vamsi

former_member206968
Active Contributor
0 Kudos

Hi,

Which function module are do you want to debug in ecc?

Regards,

Sanjeev

Former Member
0 Kudos

Hello Sanjeev,

I said in my First post, we are trying to debug a custom developed Z RFC enabled function module.

Experts,

This being a bottle neck, and waiting for your suggestions!!

Regards,

Mohan Vamsi

Former Member
0 Kudos

Make sure to use same user while debugging as the user in RFC destination.

Thanks,

Surya

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for help.

former_member206968
Active Contributor
0 Kudos

Hi Vamsi,

The issue here is you cannot debug RFC function module using external breakpoint from portal. You will have to use session breakpoint in sapgui and then debug from there. Let me know what do you want to debug?

Former Member
0 Kudos

Hello Sanjeev,

- I Kept External break point in SRM where we are calling RFC Call for ECC, I am able to debug untill the RFC call,

- But, on RFC Call ( CALL FUNCTION ZABC destination <Destination>), when I press F5 it is not going inside the function module.

- I am getting Export parameter values, means ctrl is going to ECC, but not able to debugg our BE system -ECC.

Pls suggest. Thanks for your quick reply.

Regards,

Mohan Vamsi