Skip to Content
author's profile photo Former Member
Former Member

ALV-column width

hi,all!

my question is:

how to change the columns' width for alv

the alv's structure is a structure defined in DICC.

thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Oct 26, 2006 at 02:42 PM

    Hi,

    You can still do that.

    Get the fieldcatlog details for the Structure using function modules REUSE_ALV_FIELDCATALOG_MERGE.

    Once you get the fieldcatalog table change the value <b>fieldcatlog-outputlen</b> .

    Thanks,

    Ramakrishna

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 26, 2006 at 02:38 PM

    Hi Leo,

    Whe you fill the alv field catalog in the program you can specify the output length.

    fldcat-outputlen = <number>.

    Regards,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      There are two basic tables in any ALV reports.

      1. Internal table with business data: This whill be showed in the ALV .

      2. Interbal table with field properties: This table contains all field properties in a table. Each record in the table represents a field properties in the ALv report.

      For example, column lenght, column text, hotsopt..etc.

      Thanks,

      Ramakrishna

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2006 at 03:02 PM

    Hello Leo,

    One u filled the Fieldcat table modify the table for the column u need to change the width with <b>field-OUTPUTLEN = 50.</b>.

    If useful reward.

    Vasanth

    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.