2008 May 16 11:07 AM
Hi All,
I want to delete all records of internal table while debugging.
There are 160000 records are coming in the internal table so i cant delete them one by one.
i want to delete them in single shot.
Thanks & Regards,
Gaurav
Hi All,
I want to delete all records of internal table while debugging.
There are 160000 records are coming in the internal table so i cant delete them one by one.
i want to delete them in single shot.
Thanks & Regards,
Gaurav
2008 May 16 11:15 AM
are you using the new abap debugger? If so you can use right mouse click and delete all the records. Don't think this is possible in old debugger though.
2008 May 16 11:36 AM
2008 May 16 11:41 AM
In the Debugging Mode, use path
Debugging > Switch to New ABAP Debugger
This will start New Debugger, then delete that data from Internal table by right click
2008 May 16 11:15 AM
Hi Gaurav,
We can't do this in single step. Instead of that u can pu ur oen checks like If sy-uname Eq ur ID.
DATA: imara TYPE TABLE OF mara.
SELECT * FROM mara into table imara up to 10 rows.
IF sy-uname EQ ur id.
DESCRIBE TABLE imara.
DELETE imara FROM 1 TO sy-tfill.
endif.
Thanks,
Vinod.
2008 May 16 11:18 AM
Hi Friend ,
If it is a Zxyz program , i.e program created by yourself ,
declare ( w_del type i ) variable
and write the condition like , whereever u want to delete itab records.
if w_del = 1 .
delete itab .
endif .
while in debugging , when u reach this particular step make w_del to 1 in debugging and save ,
then delete statement is executed and all the records are deleted ,
or if the condition fails data records will remain same .
Thanks ,
Reward if usefull.
2008 May 16 11:35 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |