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

How to move the even records of one internal table to other

Answer Posted / ariv

types : begin of ty_vbak,
        vbeln type vbeln_va,
        erdat type rdat,
        end of ty_vbak.

DATA: it TYPE TABLE OF ty_vbak,
      it1 TYPE TABLE OF ty_vbak,
      wa type           ty_vbak.

data: LO type I VALUE 1.

SELECT vbeln erdat FROM vbak INTO TABLE it UP TO 10 ROWS.


LOOP AT it INTO WA.
IF SY-TABIX = LO.
APPEND WA TO IT1.
LO = LO + 2.
ENDIF.
endloop.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a modification assistant?

1034


Do we create table fields with out data elements and domains?

1085


What are the uses of secondary indexes?

1109


What are the Control levels in internal tables?

1083


hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.

1961


What are the classifications of the sap abap data classes?

1102


When is the top-of-page event triggered? : abap data dictionary

1229


How do you save data in bdc tables? : abap bdc

1075


What is the different type of projects? : sap abap hr

913


Where do you find info on new developments in SAP?

2014


In which cluster time results are stored? : abap hr

1050


How is the command suppress-dialog useful?

1099


Difference between stand alone CRM and back-end CRM

4278


How do you find out whether a file exits on the presentation server?

991


What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?

1066