banner ads

Debug SAP Script

We can debug SAP script by using a different debugger. Let us assume the previous script which is needed to debug. The steps are as follows:

Step 1: Go to SE71 and mention the script name. Then Utilities > Active Debugger.


Step 2: Then SAP script debugger will be activated as follows.


Step 3: Now go to print program and execute this.


Step 4: The debugger break point screen will come and click OK.


Step 5: Select the output device.


Step 6: Now the debugging has been started line by line. We can see the work areas, variables are changing with its values.


Step 7: We have single step, continue, execute options.


Step 8: Finally we can see the form.


Another way to debug SAP script is to execute the standard program RSTXDBUG. And we shall have the similar screen for activate debugger.


No comments