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: 

String maximum length

Former Member
0 Kudos

Hi all,

I'm facing a simple problem: when building a string using CONCATENATE INTO the result gets truncated to 128 characters although the strings I need to concatenate are longer. The variable type is STRING.

Any idea?

Thanks for your help.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Change the Variable type to LRAW which has a length of

32000 chars.

Regards,

GSR.

former_member181962
Active Contributor
0 Kudos

Hi Tomas,

Are you sure about it?

Probably the list output widht is not sufficient?

This worked for me:

data: v_str type string.

data: v_str1 type string value

'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'

.

data: v_str2 type string value

'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeex'

.

concatenate

v_str1

v_str2

into v_str.

write: v_str.

Regards,

Ravi

0 Kudos

I used type CLS_STRING_250 and it works now....