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
how to see the tables of 200 in client 100?
what is user specific parameter?
In which particular scenario we use sorted table and which particular scenario we use standard table?
There is a delivery that is being created through the ABAP code and in the middle it says delivery created but someone is modifying , how would you rectify this issue
What are data classes? What are the various data classes available for selection? : abap data dictionary
What is the different type of projects? : sap abap hr
Can i know some of the Realtime tickets that anyone has been faced ?
Where are you used type casting?
What are the different modes of processing batch input sessions? : abap bdc
What is meant by search help? : sap abap data dictionary
Explain what is the significance of hide?
What is Group by in Select statement?
Explain the components of selection table?
What are the layers of data description in r/3? : abap data dictionary
Where do you code the hide statement?