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

External debugging

Former Member
0 Likes
588

Hi All,

I am working in r/3 4.6b which does not support external debugging. I need to a debug an RFC called from a web application. Is there a way for it.I am not able to catch in SM51 as the call is quite quick.

Regards,

Guest

5 REPLIES 5
Read only

Former Member
0 Likes
560

TRy using /h or \h..

Reward if useful

Read only

Former Member
0 Likes
560

Hi

You can also display the contents of fields from external programs if you know the names of these. To do so, enter the program name in parentheses before the field name: fieldname(programname).

Read only

Former Member
0 Likes
560

Hi Chamu,

U can do the debugging externally by putting u r external debugger active. this can be done as follows.

go to menu path utilities--->settings--> debugging tab-> here u will find one check box there u have to check the box so that the external debugger will get activated and u r things will be done.

Regards.

Read only

Former Member
0 Likes
560

Hello,

I think u need to change the user profile RFC allowed. I think u will not be able to debug it. U can activate the trace by ST05 and than try to find out logically where it is going wrong.

Regs,

Saurabh

Read only

matt
Active Contributor
0 Likes
560

If you are able to modify the function you are calling, the simplest way to "catch" it from SM51, will be to code something like this at the start.

data: l_debug_loop(1).

do.
  if l_debug_loop is not initial.
    exit.
  endif.
enddo.

Then, from SM51 (or SM50), you can get into debug. You then need to change the value l_debug_loop in the debugger to something like 'X', in order to quit the loop.

matt