Professional Documents
Culture Documents
Debugging For Fuco - S Training PDF
Debugging For Fuco - S Training PDF
Introduction
Debug screen
Debugging
Breakpoints and Watch points
Show and Change Content
Traces
Tips & Tricks for efficient debugging
Single-Step (F5)
During single step each program line will be visible. When the
program calls another procedure/function module you will jump
to the coding of these routines.
Execute (F6)
During execute each program line will be visible, however the
debugger will stay in the main program and will not jump to a
procedure/function module (the actual procedure of function
module will be executed with this is not visible).
Return (F7)
When using return the debugger will jump to a higher level
procedure/function module.
Run (to Cursor) (F8)
The debugger will continue with the program and stops when the
program is finished or another breakpoint is reached.
Debugging
ABAP Stack
The variable
changes
The variable
changes to a
certain value
Watchpoints
Example using watchpoints to check messages
Data element
is a single
variable
Data element
is a table
Show and Change content
Edit variables
There are different traces available is SAP which can help you
finding the location of the issue.
The performance tace (transaction ST05) is the most usefull
trace. Activate for
Activate for
Before the problem occurs: current user other user or a
specific table
Activate the trace
Simulate the problem
Deactivate the trace
Display the trace file
Always select
SQL and RFC
trace
Traces
Performance Trace
This column
contains the
tablenames
Tips & Trics for efficient debugging
Use this workprocedure for efficient debugging
Gert-Jan Stolmeijer
Business Consultant
M +31 (0) 6 5799 28 26
E gert-jan.stolmeijer@acorel.nl
ACOREL
Zwanebloemlaan 83
1087 GD Amsterdam