Skip to Content
0
Former Member
Oct 17, 2011 at 11:05 AM

A string of 1000 byte llong.

65 Views

I have a comment field in Z table. I have tried to set the field data type as string but it was not allowed.

I have used four 255 length char fields to hold a 1000 string which is defined in the abap program.

I try to share the 1000 byte length string into 4 255 char fields by code.

len1 = string+0(255).

len2 = string+256(255).

len3 = string+512(255). <----


this line give error that string must be less than 503 length.

len4 = string+768(232).

How can I remedy the problem?

Can't a string be limited length of chars?

Kind Regards.