07-23-2007 5:59 PM
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.
07-23-2007 6:02 PM
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
07-23-2007 6:38 PM
can u be plz more clear on your reply.
Thanks a lot.
Santosh Kotra.
07-23-2007 6:42 PM
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
07-24-2007 8:26 AM
here in ur code what is the structure of internaltab.
Regards,
Santosh.