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 / n m s m krishna

DATA : BEGIN OF ITAB OCCURS 0,
         KUNNR TYPE KUNNR,
         END OF ITAB.
DATA : ITAB_EVEN LIKE ITAB OCCURS 0 WITH HEADER LINE.
DATA : ITAB_ODD LIKE ITAB OCCURS 0 WITH HEADER LINE.




SELECT KUNNR FROM KNA1 INTO TABLE ITAB UP TO 20 ROWS.




LOOP AT ITAB.
  IF SY-TABIX MOD 2 = 0.
    ITAB_EVEN-KUNNR = ITAB-KUNNR.
    APPEND ITAB_EVEN.
  ELSE.
    ITAB_ODD-KUNNR = ITAB-KUNNR.
    APPEND ITAB_ODD.
  ENDIF.
ENDLOOP.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the abap/4 modularization techniques?

1083


hi my name is amit i have passed BE(CSE) with honours(72%) in 2006 yr. i have completed SAP/ABAP training with good exposer. i need a staffing company which can provide me real time exposer in SAP R/3. so plz help me out and send any information regarding on my mail id or tele. no. 9999784331 thanks

1858


What are null values?

1002


Explain the advantage of structures?

968


What are the layers of data description in r/3? : abap data dictionary

1121


Define infotype ? : abap hr

1277


Can i know some of the Realtime tickets that anyone has been faced ?

2158


Events that can be used in both the classical and interactive reports

1610


how 2 create the normal form by using functional module

2591


what is the exact code that shoud be implimented in sap note

2494


How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul

2599


What are the aggregate objects in the dictionary? : abap data dictionary

1179


What is the basic difference internal tables and database tables? : abap data dictionary

1034


while implementing badi what are the tables u find??

4150


What is a matchcode?

1024