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
How to set the Dynamic Breakpoints. How to check the type of Breakpoint set. How to skip the set Breakpoints. How to Insert, delete and update records of Internal table. How to Export data from the internal table. How to Refresh the set Breakpoints.
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.
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 How to set the Dynamic Breakpoints. How to check the type of Breakpoint set. How to skip the set Breakpoints. How to Insert, delete and update records of Internal table. How to Export data from the internal table. How to Refresh the set Breakpoints. 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 ConclusionDebugging 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. Read More Technology Blog Posts by Members articles
#SAP
#SAPTechnologyblog