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

alv grid column width

Former Member
0 Likes
800

Hi,

i have a problem with an alv grid.

In one column i will show some text, which has more than 150 characters. But the alv grid only shows 130 characters.

In the internal table the whole text is available and in the field catalog the outputlen = 200.

Is 130 the maximum length? Any ideas?

regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
728

Hi Wolfgand,

Just check out the Data element the text Field is defined

. Check in Debug mode whether the complete text is getting populated in the field.

Reward points if this helps.

Manish

4 REPLIES 4
Read only

Former Member
0 Likes
729

Hi Wolfgand,

Just check out the Data element the text Field is defined

. Check in Debug mode whether the complete text is getting populated in the field.

Reward points if this helps.

Manish

Read only

Former Member
0 Likes
728

Hello Wolfgang,

Declare the field as STRING.

If useul reward.

Vasanth

Read only

Former Member
0 Likes
728

Hi,

The limit for all input fields is 130 characters (actually I thought it was 132 but could be wrong) and this limit seems to have been implemented in gui controls as well so you are a bit out of luck there isn't too much you can do. The only solution is to split the field into two fields, or alternatively use a text edit control that is activated when you select a line in your alv grid, then let the user edit the long text in the text box.

De Wildt

Read only

Former Member
0 Likes
728

Hi,

thanks.

In debug mode:

In the structure editor the whole value is available.

I can't change the type of the field to string.

-> in an internal table with head line is a string not allowed

regards