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: 

ALV

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Regards,

Raghavendra