Hi Gurus,
I have 250 records in an internal table, tell me how to
randomly delete the each 5th record...i,e 5,10,15,20 like
this.
Answer Posted / kumar
data qqq;
input name $ total;
cards;
qq 22
ww 33
qq 22
ee 44
rr 33
ww 44
;
run;
data k;
set qqq;
if _N_ in(2 4) then delete;
run;
proc print;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are datasets in abap?
What is the syntax for ‘call transaction’?
there are 2 selection screens. material num in screen 200 and plant in screen 300. so how can you write in INITIALISATION event?
Describe the difference between macro and subroutine?
In select-options, how to get the default values as current month first date and last date by default?
hi..i hav developed an interactive report in which alv list display in basic list and 1st secondary list in alv grid display.I want to get summation(total) of the columns in the secondary list.I hav used 'do_sum' but i couldnt get.is there any other way to get summation(total) in secondary list which is an alv grid display
What are indexes? : sap abap data dictionary
How many types of tables exists and what are they in data dictionary?
I need some information regarding Vcentric Test pattern ? with questions.
What’s value table?
What is meant by stacked list?
What is Buffering Concept? When should a Table be buffered?
What does an exec sql statement do in abap? What is the disadvantage of using it?
In Table Field when display the Name, whose first charecter should be capital letter and rest will be small letter.
How is the command suppress-dialog useful?