SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Note 910300 - GridView:Truncation of text in Unicode systems



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ALV Grid / ALV Tree / ALV List
View previous topic :: View next topic  
Author Message
admin
Администратор
Администратор



Joined: 01 Sep 2007
Posts: 1636

PostPosted: Wed Jan 06, 2010 4:42 pm    Post subject: Note 910300 - GridView:Truncation of text in Unicode systems Reply with quote

Note 910300 - GridView:Truncation of text in Unicode systems.

Symptom

Truncation of text in ALV Grid on unicode systems.
This is a limitation of ALV Grid.

Description:
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).


Other terms

ALV Grid GridView truncation unicode japanese long text incomplete string UTF8 UTF16 42 128 characters incomplete

Reason and Prerequisites

Program Limitation

Solution

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)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ALV Grid / ALV Tree / ALV List All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
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.