Skip to Content
Former Member
Jan 15, 2009 at 05:39 AM

Field symbols



I need to push the data from one Field Symbol work Area to another Field Symbol work area having different structures. How can I go on to achieve this.

Following is my code:

Here i am getting some data from the local file through Upload ( CALL METHOD cl_gui_frontend_services=>gui_upload), in an internal table.

Now from this internal table 'itab', i need to push it into the Database Table.

the database table will be known at runtime, so i cant take the structure of <fs_line_upl> like the Database Table. So i took one more field-symbol having the similar structure of (P_table).

So now i need to push the data from <fs_line_upl> to <fs_line_upl_1>, which has different structure.

LOOP AT <fs_table_upl> INTO <fs_line_upl>.

*here i need to push data from <fs_line_upl> to <fs_line_upl_1>.

INSERT into (p_table) values <fs_line_upl_1>.


Please give some solution......

Thanks in advance,