Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delete records from internal table in Debugging

Former Member
0 Likes
772

Hi All,

I have an internal table which contains 200000+ records; while debugging i want ro keep only last 20 records and delete rest all.

I dont want to make any change in the program, i need to delete the records only while debugging for some testing purpose.

Please suggest a way.

Points will be rewarded for helpful answers.

Regards,

Pankaj Sharma

1 ACCEPTED SOLUTION
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
450

Hi,

just put a break point at the start of the loop.

Then u can delete all the records manually by selecting them from the internal table.....

Cheers,

Simha.

3 REPLIES 3
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
451

Hi,

just put a break point at the start of the loop.

Then u can delete all the records manually by selecting them from the internal table.....

Cheers,

Simha.

Read only

Former Member
0 Likes
450

Hi,

If you want to process only last 20 records and avoid processing others you can create the WATCH POINT and directly go to the desired record .

Hope this will solve your probelm.

Assign points if it helps.

-Gaurang

Read only

Former Member
0 Likes
450

Sadly...I haven't found a way to do that....The only thing left is to delete records one by one, selecting them an clicking the Trash icon....

When you got more than 1000 records and just need 20 or 30 it's a real pain...But it's the only way to go....

Greetings,

Blag.