Skip to Content
author's profile photo
Former Member

ALV

Hi!!

My requirement is to put in the columns of the ALV a fixed name and other that is changing.

Example:

COL1 COL2 COL3 ..........

MRP-fecha1 MRP-fecha2 MRP-fecha3.......

it is possible with this parametro: wa_fieldcat-seltext_l or of some other form???

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 11:05 PM

    Check this documentation for ALV Fieldcatalog -

    The following text parameters should be specified for program fields without a Data Dictionary reference.

    The texts are taken from the Data Dictionary for fields with a Data Dictionary reference. If this is not desired, the text parameters can also be specified. The Data Dictionary texts are then ignored.

    If the user changes the column width interactively, the column header text with the appropriate length is always used.

    The interactive function 'Optimize column width' takes account of both the field contents and the column headers:

    if all field contents are shorter than the shortest column header, the column width depends on the column header.

    The 'long field label' is also used in display variant definition, sort, etc. popups.

    seltext_l (long field label)

    seltext_m (medium field label)

    seltext_s (short field label)

    reptext_ddic (header)

    analogous to the Data element maintenance 'Header'

    The specified text is not necessarily output in the list, an optimum among all texts is sought.

    If you want variable column headings, and if you assign different values to seltext_l / seltext_m, when you move cursor on the column headings, it will show the associated values assigned.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 04:13 AM

    you can set the text type you need through fieldcatalog field DDICTXT to S or L or M.

    Regards,

    Raghavendra

    Add comment
    10|10000 characters needed characters exceeded