10-28-2022 3:06 PM
Hi All,
I have created data element with length CHAR255. But it's not taking more than 129 characters.
Thanks.
10-28-2022 3:18 PM
A variable of 255 characters can definitely contain more than 129 characters.
Please explain the context, otherwise you can't get a quick answer...
10-28-2022 3:26 PM
Hi Sandra,
I had created a database table with one of the key field length as 255 characters (Char255). But when passing a string of 200 characters in program it is storing only 129 characters.
Thanks.
10-28-2022 4:46 PM
If you check what the value is with ALV Grid, you can see maximum 128 characters per field (ALV Grid limit).
If you check by using SELECT with ABAP program, you can see all the characters.
10-28-2022 4:47 PM
Are you using plain english or unicode language for your char255 input
You can verify your text length here: https://r12a.github.io/app-conversion/
------
Generally Sandra Rossi is correct:
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenddic_character_byte_types.htm#:~:text....
Character Strings
The following built-in data types in ABAP Dictionary are available for general character strings: