Advanced Debugging
08/17/15
Objectives
Advanced Debugging
08/17/15
Course Outline
Advanced features of ABAP debugger
Advanced Debugging
08/17/15
Advanced Debugging
08/17/15
Classic Debugger is used for releases up to 6.40 and the Split Screen Debugger is
used for the releases after 6.40
The New Debugger is executed in one session while the application to be analyzed
uses a separate external session.
The Classic Debugger runs in the same session, where the application is analyzed
and so it is shown in the same window.
Advanced Debugging
08/17/15
After executing the transaction, choose the Menu path Utilities - > Settings. In the User
Specific Settings, choose the Debugging tab in the ABAP Editor
Debugging Tab
New Debugger
Radio Button
Advanced Debugging
08/17/15
Advanced Debugging
08/17/15
Debugging special types (http, BSP, RFC, update task) are not possible in the new
Debugger
Advanced Debugging
08/17/15
In Debug Mode, give the Internal table name and press the Find Button.
Find Button
Internal Table name
Advanced Debugging
08/17/15
10
Advanced Debugging
08/17/15
It is not possible to debug in a normal way from a pop-up screen since the
transaction code cannot be given. So to debug from a pop-screen
Edit the shortcut and edit it to Type = System Command and Command = /h.
11
Advanced Debugging
08/17/15
Drag and Drop the short cut on the pop-up screen. Now it is possible to debug
from the pop-up screen.
12
Advanced Debugging
08/17/15
Advanced Debugging
08/17/15
14
Advanced Debugging
08/17/15
15
Advanced Debugging
08/17/15
Give the file name and path to save the internal table
16
Advanced Debugging
08/17/15
17
Advanced Debugging
08/17/15
If required, we can
define a field-symbol
and gain access to
this table field values
from an ABAP
program
18
Advanced Debugging
08/17/15
Debugging in Loops
19
Advanced Debugging
08/17/15
Debugging in Loops
20
Advanced Debugging
08/17/15
Debugging in Loops
21
Advanced Debugging
08/17/15
Failed
transactional
RFC calls
normally get
logged in SM58
Press Execute .
22
Advanced Debugging
08/17/15
23
Advanced Debugging
08/17/15
Navigation
Go To Statement
Go To Control
Current Control
24
Advanced Debugging
08/17/15
Navigation
But It is not possible to go to a statement of a previous Event which has
already been executed.
25
Advanced Debugging
08/17/15
Go to Form Debugger
26
Advanced Debugging
08/17/15
27
Advanced Debugging
08/17/15
To trace in a SAP Script give all the values * and press the Trace on/off
button. Print Layout is appeared.
28
Advanced Debugging
08/17/15
29
Advanced Debugging
08/17/15
30
Advanced Debugging
08/17/15
31
Advanced Debugging
08/17/15
32
Advanced Debugging
08/17/15
33
Advanced Debugging
08/17/15
34
Advanced Debugging
08/17/15
35
Advanced Debugging
08/17/15
36
Advanced Debugging
08/17/15
37
Advanced Debugging
08/17/15
Advanced Debugging
08/17/15
(3) Debugging
screen appears
39
Advanced Debugging
08/17/15
40
Advanced Debugging
08/17/15
Advanced Debugging
08/17/15
42
Advanced Debugging
08/17/15
43
Advanced Debugging
08/17/15
Advanced Debugging
08/17/15
45
Advanced Debugging
08/17/15
Summary
There are several advanced features of the ABAP Debugger
There is also a new version of ABAP debugger available in later SAP releases
It is possible to debug Sap Scripts, Smartforms and ALV reports
RFC debugging can be done via two different methods, via SM58 or using a
special setting in the ABAP Debugger
It is possible to debug background jobs
It is possible to debug popups appearing during SAP screen navigations
Several special settings in the debugger have been discussed such as Update
Debugging, System Debugging and Background Debugging
It is possible to display and access the SAP memory, ABAP memory and also
SAP buffer data from the ABAP debugger
46
Advanced Debugging
08/17/15