Chapter 07 debugging sap scripts

Preview:

DESCRIPTION

 

Citation preview

Debugging SAPScript

Dec-2008 Debugging SAPScript |

Objectives

• The Participant will be able to:– Debug a SAPScript form

Dec-2008 Debugging SAPScript | 2

Activate Sapscript Debugger

3 Dec-2008Debugging SAPScript |

In the Form Printer choose the form to be debugged

Choose this submenu

Status message confirms that debugger is activated

Debugging Sapscript Layout set using Print Program

4 Dec-2008Debugging SAPScript |

Click on the OK button

Run the Print program

Debugger is displayed

Features of SAPScript Layoutset debugger

Dec-2008 Debugging SAPScript | 5

Features of SAPscript Layoutset debugger (Contd.)

Dec-2008 Debugging SAPScript | 6

Demonstration

• Debugging a SAPScript Form.

Dec-2008 Debugging SAPScript | 7

Practice

• Debugging a SAPScript Form.

Dec-2008 Debugging SAPScript | 8

Summary• SAPScripts can be debugged after activating the

SAPScript debugger and running the print program online.

• Similar to the ABAP/4 debugger, the following options are available in the debugger to control the processing: – CONTINUE - continue to the next breakpoint – EXECUTE - execute the current function module, stop at

the start of the next function module – SINGLE STEP - execute processing within the current

function module in single steps – EXIT DEBUGGER - deactivate the debugger and continue

with the normal layout set processing

Dec-2008 Debugging SAPScript | 9

Questions

• How is the SAPScript debugger activated ?• What are the default break-points of the

SAPScript debugger ?

Dec-2008 Debugging SAPScript | 10

Recommended