Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
1,772

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  

  1. How to set the Dynamic Breakpoints.
  2.  How to check the type of Breakpoint set. 
  3. How to skip the set Breakpoints. 
  4. How to Insert, delete and update records of Internal table. 
  5. How to Export data from the internal table. 
  6. How to Refresh the set Breakpoints. 

Dynamic Breakpoints 

Statement Breakpoint 

Click on Add ABAP Breakpoints in Breakpoints tab as shown below 

M_Sumaiya_Khatoon_0-1761143711207.png

Then click on Add Statement Breakpoint 

M_Sumaiya_Khatoon_1-1761143711209.png

Then type READ E and then select the as shown and then click on ok  

M_Sumaiya_Khatoon_2-1761143711211.png

Message Breakpoint 

Click on Add ABAP Breakpoint and then click on Add Message Breakpoint 

M_Sumaiya_Khatoon_3-1761143711214.png

Provide the message details and then click on ok 

M_Sumaiya_Khatoon_4-1761143711215.png

We can observe the breakpoint set at message 

M_Sumaiya_Khatoon_5-1761143711216.png

 

Checking the type of Breakpoint set 
Click on View menu in that click on Group by and then click on Breakpoint Types 

M_Sumaiya_Khatoon_6-1761143711218.png

We can observe the type of breakpoint set 

M_Sumaiya_Khatoon_7-1761143711219.png

 

Skipping the set Breakpoints 

Click on Skip All Breakpoints icon in Breakpoint table 

M_Sumaiya_Khatoon_8-1761143711220.png

We can observe the skip breakpoint icon on all set breakpoints 

M_Sumaiya_Khatoon_9-1761143711222.png

 

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 

M_Sumaiya_Khatoon_10-1761143711223.png

Provide the values and then click on ok 

M_Sumaiya_Khatoon_11-1761143711224.png

We can observe the record is appended at the last row 

M_Sumaiya_Khatoon_12-1761143711225.png

Changing values of Internal table 

Right click on record and then click on Change Value 

M_Sumaiya_Khatoon_13-1761143711227.png

Change the value and then click on ok 

M_Sumaiya_Khatoon_14-1761143711228.png

We can observe the updated value 

M_Sumaiya_Khatoon_15-1761143711229.png

Deleting the record of Internal table 

Select the record, right click on the record and then click on Delete Selected Rows 

M_Sumaiya_Khatoon_16-1761143711230.png

We can observe the selected record got deleted

M_Sumaiya_Khatoon_17-1761143711232.png

 

Exporting the data of Internal table 

Right click on Internal table record and then click on Export to File 

M_Sumaiya_Khatoon_18-1761143711234.png

Select the number of rows to be exported, provide the path to store the file and then click on ok 

M_Sumaiya_Khatoon_19-1761143711236.png

We get the popup to open the file or close the file 

M_Sumaiya_Khatoon_20-1761143711236.png

 

Refreshing the set Breakpoints 

Click on Add ABAP Breakpoints in Breakpoint tab and then click on Refresh Breakpoint Activation 

M_Sumaiya_Khatoon_21-1761143711238.png

 

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.