chapter 07 debugging sap scripts

10
Debugging SAPScript Dec-2008 Debugging SAPScript |

Upload: kranthi-kumar

Post on 07-Nov-2014

402 views

Category:

Documents


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Chapter 07 debugging sap scripts

Debugging SAPScript

Dec-2008 Debugging SAPScript |

Page 2: Chapter 07 debugging sap scripts

Objectives

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

Dec-2008 Debugging SAPScript | 2

Page 3: Chapter 07 debugging sap scripts

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

Page 4: Chapter 07 debugging sap scripts

Debugging Sapscript Layout set using Print Program

4 Dec-2008Debugging SAPScript |

Click on the OK button

Run the Print program

Debugger is displayed

Page 5: Chapter 07 debugging sap scripts

Features of SAPScript Layoutset debugger

Dec-2008 Debugging SAPScript | 5

Page 6: Chapter 07 debugging sap scripts

Features of SAPscript Layoutset debugger (Contd.)

Dec-2008 Debugging SAPScript | 6

Page 7: Chapter 07 debugging sap scripts

Demonstration

• Debugging a SAPScript Form.

Dec-2008 Debugging SAPScript | 7

Page 8: Chapter 07 debugging sap scripts

Practice

• Debugging a SAPScript Form.

Dec-2008 Debugging SAPScript | 8

Page 9: Chapter 07 debugging sap scripts

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

Page 10: Chapter 07 debugging sap scripts

Questions

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

SAPScript debugger ?

Dec-2008 Debugging SAPScript | 10