Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

move a Portion of records from one ITAB to another ITAB

manikandan_shanmugam3
Active Participant
0 Kudos
90

Hi All,

I am new to ABAP coding and wanted to know how to move a portion of records from one Internal table to another

ex ITAB1 has 100 records and wanted to move index 20 to 40 only to another internal table ITAB2


Regards,

Manikandan

1 REPLY 1

Former Member
0 Kudos
62

Hi Manik,

There are many many ways of achieving it.

One simple way is using Indexes with Loop.

Sample code and explanation is here -

http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3723358411d1829f0000e829fbfe/content.htm

BR.