Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are datasets in abap?

1217


What is the syntax for ‘call transaction’?

1187


there are 2 selection screens. material num in screen 200 and plant in screen 300. so how can you write in INITIALISATION event?

2254


Describe the difference between macro and subroutine?

1321


In select-options, how to get the default values as current month first date and last date by default?

1160


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

3012


What are indexes? : sap abap data dictionary

1235


How many types of tables exists and what are they in data dictionary?

1956


I need some information regarding Vcentric Test pattern ? with questions.

2225


What’s value table?

1110


What is meant by stacked list?

1053


What is Buffering Concept? When should a Table be buffered?

13071


What does an exec sql statement do in abap? What is the disadvantage of using it?

1314


In Table Field when display the Name, whose first charecter should be capital letter and rest will be small letter.

2105


How is the command suppress-dialog useful?

1164