Skip to Content

How to set width of Dropdown Listbox at Column in ALV grid

Hallo.

I don't know how to set width of Dropdown Listbox at Column in ALV grid.

I'm using Alias for value in Dropdown Listbox.

Example:

LS_DRAL-HANDLE = '1'.

LS_DRAL-VALUE = 'Weight in kilogram'.

LS_DRAL-INT_VALUE = 'KG'.

In ALV is width of Dropdown Listbox same as width of column.

I want have column width 5 (only for showing "KG"):

lr_fieldcat->outputlen = 5.


But Dropdown Listbox width for showing whole text: "Weight in kilogram".


Thanks,

Vitezslav Kristof

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Mar 26, 2015 at 12:07 PM

    Did you deactivate the "column optimize", also concatenate code and text in text (value) field so get KG at left?

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.