Introduction
The Blog (Part 2) provides step by step guide on how to debug the report programs, classes, Function modules and Internal tables using Eclipse ADT (ABAP Development Tool).
Part 1 link - Debugging in ABAP Development Tool (Part 1) - SAP Community
In this blog, we will be covering
Dynamic Breakpoints
Statement Breakpoint
Click on Add ABAP Breakpoints in Breakpoints tab as shown below
Then click on Add Statement Breakpoint
Then type READ E and then select the as shown and then click on ok
Message Breakpoint
Click on Add ABAP Breakpoint and then click on Add Message Breakpoint
Provide the message details and then click on ok
We can observe the breakpoint set at message
Checking the type of Breakpoint set
Click on View menu in that click on Group by and then click on Breakpoint Types
We can observe the type of breakpoint set
Skipping the set Breakpoints
Click on Skip All Breakpoints icon in Breakpoint table
We can observe the skip breakpoint icon on all set breakpoints
Inserting, Updating and Deleting the record of Internal table in Debugging
Inserting the data of Internal table
Right click on record and then click on Insert Row
Provide the values and then click on ok
We can observe the record is appended at the last row
Changing values of Internal table
Right click on record and then click on Change Value
Change the value and then click on ok
We can observe the updated value
Deleting the record of Internal table
Select the record, right click on the record and then click on Delete Selected Rows
We can observe the selected record got deleted
Exporting the data of Internal table
Right click on Internal table record and then click on Export to File
Select the number of rows to be exported, provide the path to store the file and then click on ok
We get the popup to open the file or close the file
Refreshing the set Breakpoints
Click on Add ABAP Breakpoints in Breakpoint tab and then click on Refresh Breakpoint Activation
Conclusion
Debugging internal tables in ADT offers deep visibility into runtime data, making it easier to trace logic and pinpoint issues. We can inspect table contents live, apply filters, and monitor changes using watchpoints and expressions. The structured viewer simplifies analysis of nested and dynamic data. Overall, it streamlines troubleshooting and enhances development efficiency.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 24 | |
| 19 | |
| 13 | |
| 12 | |
| 11 | |
| 11 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |