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

How to debug an RFC function

Former Member
0 Likes
902

Hi,

I have a RFC function which will be given a huge table for processing. At the end of the process a table which contains errors of the processing should be returned to the external caller.

Now I need to debug the part which generates the error table. Since I can't execute the RFC locally (the input table is very huge), how can I call from a external environment and debug in R/3 where in RFC errors are generated.

Cheers

Kami

Edited by: Matt on Nov 17, 2008 3:32 PM - corrected the subject title

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
850

which SAP version are you using. In ECC you can use external debugging for RFC calls

9 REPLIES 9
Read only

Former Member
0 Likes
851

which SAP version are you using. In ECC you can use external debugging for RFC calls

Read only

0 Likes
850

unfortunately 4.6C

Read only

0 Likes
850

is it a custom RFC, then you can set an endless loop in there with an exit point for a condition. Then from SM50 you can debug the RFC

Read only

0 Likes
850

Yes it is custom maid. Can you please confirm the step bellow to debug the coding.

1. implement an endless loop with an exit in the RFC

2. call the RFC from the external environment

3. call the transaction SE50

4. Go to the menu Program/Mode -> Program-> Debugging

Read only

matt
Active Contributor
0 Likes
850

Looks right to me - but it's as MxG said SM50, not SE50.

Read only

0 Likes
850

Yes you're right SM50

Read only

0 Likes
850

it always respond "The number of debugging mode users reached " What am I suppose to do ?

Read only

0 Likes
850

tell yoru basis guy to increase that parameter.

Read only

0 Likes
850

Thanks, he is not here any more but I'll ask him tomorrow