0% found this document useful (0 votes)
82 views19 pages

ABAP Debugging Concept

This document provides an overview of ABAP debugging concepts. It discusses common ABAP program structures and data types. It then describes the ABAP debugging environment, including features like breakpoints, single stepping, and navigation. Debugging techniques and simulation are also briefly mentioned. The document is intended as a presentation on debugging for SSC knowledge sharing.

Uploaded by

indradewaji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views19 pages

ABAP Debugging Concept

This document provides an overview of ABAP debugging concepts. It discusses common ABAP program structures and data types. It then describes the ABAP debugging environment, including features like breakpoints, single stepping, and navigation. Debugging techniques and simulation are also briefly mentioned. The document is intended as a presentation on debugging for SSC knowledge sharing.

Uploaded by

indradewaji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

ABAP Debugging Concept

Presentation for SSC Sharing Knowledge


AMDI A Building, September 27th, 2002
June 18th,2002 1
Why

Reason Why Debug ?

Page 2
Reason

Reason
 To find out value at certain condition.
 To replace value at certain condition.
 Stop at certain position.

Page 3
Agenda
Overview: - Common ABAP Program Structure
- Common ABAP Data Types
- Common ABAP Command /Syntax

ABAP Debugging Environment

ABAP Debugging Technique

Simulation

Question & Answer


Page 4
Overview

Page 5
Common ABAP
Program Program Structure
Structure

Main Program
Include Program
Sub Routine
Function
Macro
Event

Page 6
Data Common
Type ABAP Data Type
Constant

Single Data Variable

Structured Data Variable

Internal Table

Ranges /Select Option


Parameter
Field Symbol

System Field
Page 7
Common ABAP Statement /Syntax
Statement
SELECT Statement
LOOP /DO /WHILE Statement
READ TABLE Statement
SORT Statement
CHECK /IF /CASE Statement
DELETE TABLE /ADJACENT Statement
APPEND /INSERT /MODIFY Statement
CONCATENATE Statement
DESCRIBE TABLE Statement
EXIT Statement

Page 8
ABAP Debugging Environment

Page 9
ABAP Debugging Environment: Variation
Debug Variation

 From the Editor, by choosing Debugging.


 From the OK code, by entering /h.

 By inserting the Breakpoint statement in the source text.

 By calling System-> Utilities ->Debugging ABAP.

Page 10
ABAP Debugging
Debug Feature Environment: Feature

Page 11
ABAP Debugging Environment:
Debug Navigation Navigation

Single Step (F5)


Executes program statements line-by-line

Execute (F6)
When next program statement is a
subroutine, this executes the entire
subroutine and stops

Return (F7)
Completely executes an external routine and
stops when control is returned back to the
main program

Continue (F8)
Executes the program until is is finished or
until the next breakpoint is reached
Page 12
ABAP Debugging
Breakpoints Environment: Breakpoints

>Breakpoints are useful to developers for debugging purposes.

>Breakpoints are also beneficial to functional users as they allow a user to view
program logic behind the scenes with live data.

>Breakpoints can be inserted in a program from the ABAP Editor and during the
execution of a program or transaction.

>Breakpoints are specific to the user who sets them. Breakpoints will not
affect other users running the same transaction.

>Breakpoints are specific to a user’s logon session. Breakpoints are deleted


from a program when the user logs off.

Page 13
ABAP Debugging Technique

Page 14
Simulation

Page 15
Q&A

Page 16
The End ….

Page 17
System System
Field Field

SY-SUBRC SY-INDEX

SY-DATUM SY-UCOMM

SY-UZEIT SY-REPID

SY-TABIX SY-UNAME

Page 18
Event
Event

AT SELECTION-SCREEN

START-OF-SELECTION

AT LINE-SELECTION

AT USER-COMMAND

Page 19

You might also like