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 data from field symbols to internal table

Former Member
0 Kudos
546

hi all.

How do i create internal table from a dynamically created table.

How do i move the data from dynamically created table to internal table..

please help,

Thanks n regards,

Santosh Kotra.

4 REPLIES 4

Former Member
0 Kudos
42

HI,

FIELD-SYMBOLS: <FS_ROW> TYPE ANY.

LOOP AT C_TH_DATA ASSIGNING <FS_ROW>.

MOVE-CORRESPONDING <FS_ROW> TO REC_PUBL.

append rec_publ to internaltab.

endloop.

Thanks

Mahesh

0 Kudos
42

can u be plz more clear on your reply.

Thanks a lot.

Santosh Kotra.

0 Kudos
42

Santhosh,

FIELD-SYMBOLS: <FS_ROW> TYPE ANY.

  • Here say c_th_data is a dynamic table

*-- rec_pulb is the work area of the internal table that you want to store your data into

LOOP AT C_TH_DATA ASSIGNING <FS_ROW>.

MOVE-CORRESPONDING <FS_ROW> TO REC_PUBL.

append rec_publ to internaltab.

endloop.

If you still did not get what you are looking for do let me know ur exact requirement..

Thanks,

Mahesh

0 Kudos
42

here in ur code what is the structure of internaltab.

Regards,

Santosh.