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: 

How to save contents of a structure into a field (of type LRAW) of a table?

Former Member
0 Kudos

Hi,

I've got a structure, with a few fields, some being char fields and some of type decimals and would like to save the contents into a field of a table, which is of type LRAW.

I know that I've got to also update the table with the correct length of the value stored in LRAW, and have done that, but it seems to have lost the end bits of the LRAW field.

Also, can I also find out how I can then retrieve the LRAW value after it's being saved? This needs to be done as later on, we would have to move the values from LRAW into the initial structure it came from.

Thanks for your help!

Regards,

Adeline.

1 REPLY 1

Former Member
0 Kudos

Use MOVE command to move the contents of the stucture fields to the Wok area of the Internal table and then APPEND it to the Internal table