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

Debugging info req??

Former Member
0 Likes
743

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

5 REPLIES 5
Read only

Former Member
0 Likes
728

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.

Read only

Former Member
0 Likes
728

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..........

Read only

Former Member
0 Likes
728

Hi,

Do this,

DELETE itab WHERE <condition>.

Rgds,

Bujji

Read only

Former Member
0 Likes
728

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^

Read only

0 Likes
728

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.