06-18-2008 7:09 AM
Hi All,
Is there a way to delete the entire internal table contents at one go in debug mode?
I know line by line we can do that.
At the same time I can't code the same in program(it is not required).
Please let me know ASAP, if solution exists.
Thanks in advance!!
06-18-2008 7:13 AM
Hi,
In ABAP New debugger you can delete the table records at a time, by selecting all the records, let me know, do u require the answer more elaborately...
06-18-2008 7:38 AM
Hi Ravi,
Could you elaborate bit more,
How do we select all the contents of the internal table?
06-18-2008 7:46 AM
Hi,
In New debugger mode, goto Tables Tab. On the right hand side, there are three buttons which are New tool, Replace tool and Services of the tool.
Click on the Services of the tool button. You wil get a popup.
In that Tool-Specific-> Change Table Content -> Delete Rows.
Before that make sure that you seleccted the entire records so that you can click on the delete rows.
Hope this solves ur problem.
Reward if helpful.
RSS
06-18-2008 7:55 AM
Hi,
In debugging mode select the menu option as below so that you can switch the classical debugger to New abap debugger.
Debugging (menu option ALT+D) --> Switch to New ABAP Debugger (W).
Now New ABAP Debugger will be switched.
1) Now double click on the internal table that u want to delete the records.
2) Then records of internal table will be showed on the new debugger in a table control.
3) Now select the all the records that u want to delete at a time.
4) Now click on the 'Services of the Tool' icon (which is placed at right corner of the debugging screen).
5) Now a dialog box will be displayed, in that there will be an ICON named DELETE ROWS, click on that, it will ask for confimation, then click on YES.
6) Then all the records that u selected will be deleted at a time.
Reward points if it is helpful.
06-18-2008 7:19 AM
go to structure editter,
there u can delete all the records...
in the debugging mode...
go to->Display Data Object-> Structure Editter
Reward if the ans is helpful...
Edited by: Rudra Prasanna Mohapatra on Jun 18, 2008 8:19 AM
06-18-2008 7:23 AM
CRM,
There is no way to delete at one go.
but only thing is that you have to select all line at one than only you can delete itab at one.
Amit.
06-18-2008 7:23 AM
Hi,
may be it is not possible. So you have to change code.
But you can do it safe:
DATA:
itab_del.
set break point here and change itab_del for delete
IF NOT itab_del IS INITIAL.
DELETE itab.
CLEAR itab_del.
ENDIF.
regards
Walter Habich
06-18-2008 7:37 AM
In the debug mode (new debugger) double click on the int table which u want to delete. In the right hand side u willl see one buttion SERVICES OF THE TOOL.
click on that , there u see delete table(free table).
At one shot u can delete the int table
with regards
anand
06-18-2008 7:46 AM
hi,
I suppose this option is only available with the new debugger (ERP 5.0 / 6.0).
I have heard you can switch between old and new debugger in settings.
Regards
Walter Habich
06-18-2008 7:48 AM
Hi,
u can delete the itab entries at one go itself while debugging.
select one entry from the itab right clcik and do delete table(free).
This clears the itab.
reward if useful
Regards,
Ruby.
06-18-2008 7:52 AM
Yea... you are right.. I mistyped in my previous answer. It is Delete Table (Free) but not Delete Rows.
RSS.
06-18-2008 8:07 AM
Hi,
The steps are:
1)In the new debugger go to the tables tab and give the internal table name.
2) right click on any one row .
3) you'll get option delete table (free table),.
4) click on it and say yes wen a pop up window appears it'll delete all the records of ur internal table in one go.
Regards,
Richs