Application Development and Automation 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: 
Read only

Final internal table

Former Member
0 Likes
655

I hav the internal tables that i want to move to final.

all the tables having the record but when i move to final final IT .

It doesnt move the record.

Any problem let me know

ex move corresponding itab1 to final_itab.

Itab1 having the record but doesnt move to final.

what is the problem.

6 REPLIES 6
Read only

Former Member
0 Likes
629

Hi

try with

LOOP AT it_ymmessr into it_final..

move corresponding fields of it_ymmessr-srvpos to it_final-srvpos.

ENDLOOP.

Regards

abhay.

<b>rewards point</b>

Read only

Former Member
0 Likes
629

Loop at it_bkpf.

Loop at it_with_item where belnr = it_bkpf-belnr.

Move-corresponding it_bkpf to it_final.

Move-corresponding it_with_item to it_final.

Append it_final.

Endloop.

Endloop.

<b>Reward for all useful answers.</b>

Regards,

Read only

Former Member
0 Likes
629

Loop the 1st internal table.

Use read table table itab2.

ex.

loop at it_bkpf.

read table it_with_item with key belnr = it_bkpf-belnr.

it_final-belnr = it_bkpf-belnr.

it_final-field2 = it_bfpf-budat.

it_final-field3 = it_with_item-with.

..........

........

append it_final.

Endloop.

I hope this will slove ur problem.

<b>Reward me if its helpful</b>

Regars

Read only

Former Member
0 Likes
629

Hi Ramesh,

are the fieldnames same in itab1 and final_itab

and also done forget to <b>APPEND FINAL_ITAB</b> after MOVE-CORRESPONDING

Read only

Former Member
0 Likes
629

Hi,

have The final_itab an header line?

after the move you append the record?

Read only

Former Member
0 Likes
629

Hello Ramesh Ram,

I think you are using header line.

If you are using this statement in a loop, just write APPEND FINAL_ITAB.

then check once.

Reward if helpful.

Regards

--

Sasidhar Reddy Matli.