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

Maximum lenght for 'CHAR' data type

Former Member
0 Likes
21,708

HI Experts,

I have created a table in which has one field of character type.The prob is when i create entries in the table for this perticular field,

the character is being truncated.. I have set the length of this char field to 255. but when i exceed it to say 500, then i get error stating 'Maximum length (255) for CHAR in transparent tables exceeded

Output length (1000) larger than maximum output length (255) in screens

'.

plz help. as i have created the view for this table so i cant take this char field as string.

\plz suggest me, what could be the maximum length for char data type for transparent table.

Regards,

Ashmita Singh.

6 REPLIES 6
Read only

Former Member
0 Likes
10,726

hi,

The maximun length for CHAR data type is 255 only.If u wnt to use longer character fields then u must choose the data type LCHR.

I hope this may help u

Thanks

Regards

Akhilesh Singh

Read only

0 Likes
10,726

I cant take lchar.

Read only

0 Likes
10,726

hi,

try this data element 'char1024'.

Regards,

Vijeta

Read only

0 Likes
10,726

Max of 255 applies to tables only. In memory (variable), the maximum size is 65535 for type c.

Read only

Former Member
0 Likes
10,726

Try this data element /SDF/CCM_XSTRING

Read only

0 Likes
10,726

Guys thanks for sharing, I had same requirement. I use these data element.

/BEV2/EDTEXTL INT2 5

/BEV2/EDTEXT L CHR 2000