Documente Academic
Documente Profesional
Documente Cultură
Table of Contents
Need for Debugging .
Debugging requirement.
Initial Set Up Debugging Types. Debugging Screen. Single Dimensional structure
.....
..... . ..... ..
.
. . . .
.
. . .
Runtime Error
Unexpected Program behavior Finding specific statement, function, method
Performance problem
Screen Processing Detailed error analysis source code level
Debugging Requirement
Debugging requirement
User Exit
Screens Module Pool Program.
Standards Programs.
Background Jobs.
Debugging - Report
USAGE
Change field values at Runtime, of variable or ITab field for manipulating the logic flow. Skip record counts within a loop and arrive at particular iteration of concern.
Initial Set Up
Identify relevant variable to locate appropriate point in code to start debugging.
Debugging Types
Single Step (F5): Control passes through each executable statement. Execute (F6): Control overruns through each Subroutine, without passing through code within. Control skips current subroutine. Control runs to next debugging point or reaches the end result of the program.
Debugging Screen
Single Dimensional structure Variable/ Field: Structure: Contains data. Consists Multiple fields.
Work Area:
Process
FIELD button -> enter name in Col Field names data displayed in Field Contents.
Internal Table:
Process
Tables button enter name in Internal table section OR double click on ITab name Table data displayed below.
Change field contents: double click on any ITab field leads to Single Field Contents screen use Change button for Runtime changes
System Variables SY-SUBRC: Successful execution of previous statement System variable providing fruitful information, about confirmation of retrieval statement. sy-subrc = 0 successful retrieval of data sy-subrc <> 0 unsuccessful retrieval of data SY-TABIX: Current line number of internal table.
Break Point
Break Point is set within a loop with 10,000 iterations. Interested to know about processing for 900th iteration. Executing F8 until then is time consuming, instead use Break Point feature. Features: Skip record counts within a loop. Specify the record number for processing to be checked.
Watch Point To directly pinpoint a field of Internal Table having particular value.
Comparison Operator.
Comparison Field Value. Logical Operator.
Dump Analysis
Transaction : ST22
Execute for given User/ Program/ Date.
Runtime Error