Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9069

Re: Column length with dynacally created ALV columns

$
0
0

Hi Blue,

 

In the Class :

cl_salv_display_settings, It has the attribute FIT_COLUMN_TO_TABLE_SIZE

 

Data : lo_columns TYPE REF TO cl_salv_columns_table,

 

lo_columns = ob_salv->get_columns( ).

lo_columns->set_optimize('x').

lO_COLUMN->SET_OUTPUT_LENGTH('20').

"set the required width for each column.

     

Please check this links

http://scn.sap.com/docs/DOC-28429

http://scn.sap.com/thread/1190927

 

Hope this will help you to solve your problem.

 

 

Regards,

Vel


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>