Monday, October 24, 2011

Debugging Concept in ABAP Language

In ABAP, SAP Provided classical debugging and new debugging.
New debugging available from ECC onwards where as classic debugging available in R/3 and even in ECC.

-> '/H' is to switch on debugging in ABAP.
-> Break-Point is SAP keyword to switch on debugging.
-> Break-Point keyword doesnt provides user specific debugging.
-> To Provide user specific debugging SAP Keyword is Break
-> Break is a keyword to switch on debugging.

Options in Debugging:
Step In - F5
Step Out - F7
Return - F6
Execute - F8

-> Step In debugs coding line by line.
-> Step Out avoids coding which is not required to debug.
-> Return moves control back for debugging source code which is skip earlier.
-> Execute can move control from debugging mode to normal mode.
-> With Dynamic break points user can debug required statements only.

Features of Classical Debugging:
Fields (Internal Table Fields): It is to check Transferring of data from Table Fields to Internal Table Fields.

Table (Internal Table): It is to check Transferring of data from Table to Internal Table.

Break Points ( Dynamic Break Points): It Provides number of Dynamic Break Points maintained in Program.

Call Stack : It Shows list of events customized in Program. If user doesn't maintains any events in program then Call Stack atleast can display default event start-of-selection.

Watch Points : It is to check Data Transfering from table Fields to internal Table Fields based on condition customized.

Overview : It displays Respective program source code briefly.

Settings : It Moves Control from normal mode to Debugging mode whenever warning occurs in that program.


No comments:

Post a Comment

Application with Internal Table

Having screen painter with layout fields are vender, name, city operations. Select "SE80" -> Edit object Select program ->...