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: 

apppending in the first position of the internal table

Former Member
0 Kudos

Hi all ,

How to append a row in the first row of the internal table .

In my scenario , i got 3 rows in itab .

1 row in jtab .

i have to put 1 row of jtab in the first position(row) of itab ...

Please let me know ....

Regards

raj

1 ACCEPTED SOLUTION

Former Member
0 Kudos

INSERT <line> INTO <itab> [INDEX <idx>].

regards,

Advait

6 REPLIES 6

Former Member
0 Kudos

Please press F1 on INSERT.

Rob

Former Member
0 Kudos

Hello,

One thing you could try is:

INSERT your_work_area INTO TABLE your_itab INDEX 1.

Regards

Greg Kern

Former Member
0 Kudos

INSERT <line> INTO <itab> [INDEX <idx>].

regards,

Advait

Former Member
0 Kudos

do this below.

INSERT INITIAL LINE INTO ITAB.

Thanks,

Srinivas

0 Kudos

Hi Srini ,

cant i insert first row of internal table into other internal table ....

Regards

Raj

0 Kudos

Hey Guys ,

The syntax is ...

insert lines of itab1 into itab2 index 1.

Thanks everyone .

Regards

Raj