cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug sap-script

Former Member
0 Kudos
1,156

hi

1) i heard that we have to put layout in debug mode and then go to print program and execute it also in debug mode.

am i right?

2)where do we check like compilation errors in layoutset.

regards

ratna

View Entire Topic
Former Member
0 Kudos

1. One way to start the script debugger is:

Se71->utilities->activate debugger.

This may be a time-consuming process. Instead, open a session and execute the program RSTXDBUG. Even if you follow the above menu path to activate the script, it will internally execute the program RSTXDBUG. So you are saving some time in going through all of the above processes.

2. 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.

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers