‎2008 Jan 23 9:39 AM
Hi
I need to ask is there any way,so that in my debugging if the itab hv 500 records,& i just want to test for
2-3 records,i can delete rest from my itab,& go ahead with the 2-3 records.
As i am facing a prob now,my itab is filled with 500 records,even i don;t want them,so i m trying to delete them,but now finding any way to delete at once.
if any one had any idea abt this..plz tell me?
regds
‎2008 Jan 23 9:44 AM
hi,
just do like this,
sort your itab by acending.
then,
delete itab where record(key field) NE '2' and record NE '3'.
reward points if useful,
seshu.
‎2008 Jan 23 9:48 AM
u can do dat.......
double click on the table and it ll show the entries in it ..............at the right extreme ull have services of a tool button(hammer and spanner symbol).......
select the lines u want to delete and press dat button.........in that ull hav many options even delete..........
‎2008 Jan 23 9:48 AM
‎2008 Jan 23 9:51 AM
HI
GOOD
you can use the below process
short the ITAB either in ascending or descending order and than use the statement
delete itabl where (condition).
the condition should be refer to a unique field value among the number of fields dispalying.
thanks
mrutyun^
‎2008 Jan 23 10:00 AM
Hey guy,this is for them who not understand my prob?
i am testing the report,i am in debugging.
my itab is filled with 500-600 records,i don't hv time to testt all records,so i am thinking if this itab can be reduced with 2-3 records,i can test the report easily.
so am asking is there any way in b/w debugging that my itab can be redecused with the records of my choice.
i am in QAS,so i can even code,the only way left with me is to hardcode the vaules in DEV & than transport it to QAS,even its a quite long process,thuus i was seeking any help if i can do any thing with my itab in debuging only for the current QAS code.