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 / nag

REPORT ztest_report11.
TYPES : BEGIN OF ty_itab ,
kunnr TYPE kunnr,
END OF ty_itab.
DATA : itab_even TYPE TABLE OF ty_itab,
itab_odd TYPE TABLE OF ty_itab,
itab TYPE TABLE OF ty_itab,
wa TYPE itab.

SELECT kunnr FROM kna1 INTO TABLE itab UP TO 20 ROWS.

LOOP AT itab INTO wa.
IF sy-tabix MOD 2 = 0.
APPEND wa TO itab_even.
ELSE.
APPEND wa TO itab_odd.
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

Explain the disadvantages of logical databases?

995


Explain get cursor field?

1211


How can we upload a text file having delimiters in to legacy system? : abap bdc

1115


How do you process errors in session method ? : abap bdc

1146


What is ps structure? : abap hr

1379


A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?

1449


Give an example of interface from your project explaining why you used it?

1397


What are local objects?

1121


wat are the process that can be executed & tracked in a workflow?

2165


how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.

2313


Explain what is the purpose of sap script?

1144


What is size category?

1024


when are objects are passed from task to the change request?

2104


What are internal tables? How to use a specific number occurs statement?

1000


How to read files and process BDC's automatically ?

2099