cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script debugging

Former Member
0 Kudos

Hi,

Please let me know how to debugg a Subroutine that is called in SAP Script.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Put an external breakpoint on the subroutine (VIA SE38)

Then go to SE71, UTILITIES -> ACTIVATE DEBUGGER

then execute your transaction/print program.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 11, 2008 4:30 PM

Former Member
0 Kudos

Hi I have tried both options but, still not able to get into subroutine while debugging.

Former Member
0 Kudos

to debug the subroutine you need to put break point in the subroutine code...

go to the include where subroutine is defined.. and there put a break point

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

The solution given by richa is the exact way to debug a Script and subroutine associated with it. Just check your configuration settings i.e whether ur script is confirgured for the particular transaction. This could be onc reason why its not working.

Thanks

Nayan

Former Member
0 Kudos

Hi,

This can done in two ways:

In the form Utilities->debugger / RSTXDBUG FM for debugging script

The Procedure for debugging SAP script is:

Generally SAP script contains the Layout and corresponding print program.

First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.

Now go to SE 38 and enter ur Print Program name and execute the program.

Now you can debug the script Page wise and window wise.

Regards,

Bhaskar