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 the functional modules used in sequence in bdc? : abap bdc
What are the relational operations that can be performed on view in sap? : abap data dictionary
where are the passwords for ITS stores?
What is the difference between call transaction method and the session method? : abap bdc
What are the difference between tables and structures?
What are the two statements which are required in an abap program to output an icon using a write statement?
What is the major difference between pool tables and transparent tables?
Explain buffering
What are the pooled and cluster tables?
What primary key and foreign key relationship
What are the parameter types for a method?
What do you mean by batch data communications programming?
SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul
How you attach search help to data element? : sap abap data dictionary
What are the different abap editors? What is the used of different editors in abap?