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

insert data into database table using field symbols and CASTING

Former Member
0 Likes
672

Hi,

I am required to insert the data into a database table using field symbols. I have read the data into one string variable in a field symbol. But the structure of the database table has a decimal field and is hence throwing an run time exception. I tried to change few things using field symbols and it did not work. Any thoughts or leads shall be really helpful..

data: v_tabledata(2575) type c,

field-symbols: <fs_table> type any,

<fs_table2> type standard table,

<fs_string> type c.

v_tabledata has the first record that needs to go into the table...

assign v_tabledata to <fs_table>.

modify (v_tabname) from <fs_table>. -


> runtime exception that unicode conversion error...

Thanks in advance,

VG

1 REPLY 1
Read only

Former Member
0 Likes
362

Moderator message - duplicate post locked Rob