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: 

sap data domain

0 Kudos
761

How to increase length of character to 2000 in z table. Also how to display text of Z table field of length 255 in ALV Grid of SE16N.

4 REPLIES 4

Sandra_Rossi
Active Contributor
398

The length of CHAR columns is limited to 255 characters. Use one of type STRING.

The fields in ALV grids are limited to 128 characters (workaround -> handle the click to display the text in a popup)

0 Kudos
398

Hello, My Name is Harshanandan NM.

I'm having solution for above issue, In SAP tables standard data display is maximum 255 as every one knows. This 255 length is not saving in Z table only 128 characters shown in TCode (SE16N).

Case 1:- Rest of the 127 characters is shown in ALV List display by clicking on Views-> choose list output, to see complete 255 characters. (or) You can extend the length to check long text.

Case 2:- I need to use char data type instead of string/ raw string/ lchr/ lraw, - - - etc.

---------------- Please Helps me to resolve this ----------------

My Issues to understand & implement this case 1 & 2,

Questions:

1. So how to make/ extend the length ALV grid display to show complete 255 character length instead of 128 characters in Z Tables.?

2. The maximum length of Char is 1333. But how to extend this to 4000 - 5000 characters same as String data type.?. How ?.

3. As a technical how to plan our self without any functional idea.

4. Does Sap Note implementation helps to resolve these major issues, i,e when working with NW - ODATA.(version 2).


Thanks & Best Regards.

Harshanandan NM.

0 Kudos
398

Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area: "Before answering You should only submit an answer when you are proposing a solution to the poster's problem".

You may also edit your question.

0 Kudos
398

These are not bugs, these are features/limits:

  • You cannot display more than 128 characters in one ALV cell.
  • You cannot extend more than 1333 characters without a STRING.

So you have to deal with it.

Create custom code to display more than 128 characters. Use a STRING for more than 1333 characters.