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: 

Reg : Storing data in SDATA field

Former Member
0 Kudos

Hello All,

    We are doing a development where we require to store data in z-tables.

We store data in a similar way to data storage in IDOCs.

Field length of SDATA is 1000.

Now how to store data for the structures with characters morethan 1000 characters.

I am currently using the methods FILL_CONTAINER_C and READ_CONTAINER_C

of the class CL_ABAP_CONTAINER_UTILITIES to convert data.

But when the fields are of type CHAR like CHAR with length 100 etc,

getting # characters while converting into structure form SDATA.

Can you suggest way how to model the data storage.

Thank you in advance.

with regards,

sandeep akella.

1 REPLY 1

former_member210730
Participant
0 Kudos

Hi Sandeep,

Why don't you try defining your target datatype as string. Also please check if there are any special characters in the source from where you are selecting the data.

Thanks

Vinay