Posted: Wed Jan 06, 2010 4:42 pm Post subject: Note 910300 - GridView:Truncation of text in Unicode systems
Note 910300 - GridView:Truncation of text in Unicode systems.
Truncation of text in ALV Grid on unicode systems.
This is a limitation of ALV Grid.
Text in some ALV Grid cells appears incomplete or truncated.
This can occur is scenarios where the text of a cell exceeds 128 bytes in SAPGui(see also note 857823).
For unicode systems(UTF-8 encoding) a character can take upto 3 bytes in some cases. The majority of characters (e.g. in Latin or Japanese) use the same amount of bytes (one or two bytes) in Multi-Byte as well as Unicode.In very rare cases the whole text of a cell could consist only of such characters that use 3 bytes. So in such cells the number of characters is restricted to 42 (128 bytes divided by 3).
The list of characters that use three bytes in UTF-8 can be found at the web page of the Unicode organization (http://www.unicode.org).
ALV Grid GridView truncation unicode japanese long text incomplete string UTF8 UTF16 42 128 characters incomplete
Reason and Prerequisites
Modify the application using ALV Grid so that only maximum of 42 characters are sent for display to ALV, in such cases on unicode systems.
857823 - ALV grid: Strings with a maximum of 128 characters
Print Selected Notes (PDF)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.