Skip to Content
0
Former Member
Dec 11, 2009 at 11:04 AM

ALV Grid table output field label length

174 Views

Hi,

I have a requirement to display output label with 60 char length. But as per the class - cl_salv_column_table, it is of maximum 40 char it is accepting. Please help me in displaying morethen 40 in the output label.

Note: Method :- set_long_text, is taking maximum of 40 char.

For your reference:

DATA: fr_column TYPE REF TO cl_salv_column_table.

ldf_scrtext_l = text-t15.

fr_column ?= lr_columns->get_column( 'MAKTX' ).

fr_column->set_short_text( ldf_scrtext_s ).

fr_column->set_medium_text( ldf_scrtext_m ).

fr_column->set_long_text( ldf_scrtext_l ).

Thanks,

Raman Reddy.