Skip to Content
0
Former Member
May 31, 2010 at 03:22 PM

Setting to have show ALV headers in Full?

125 Views

I am displaying a ALV and each value table only shows enough of the header depending on big my value is in the table. I would the total length of the header to show as it is in SE16.

What do I need to set to have this done?

thank you,

Here is what I currently am using to display my ALV

  TRY.
          cl_salv_table=>factory(
           IMPORTING r_salv_table = gr_alv
           CHANGING  t_table      = gt_leg_gl ).

      gr_alv->set_screen_status(
      pfstatus = 'SHOW_ALV'
      report = sy-repid
      set_functions = gr_alv->c_functions_all ).

      gr_events = gr_alv->get_event( ).
      create object event_handler.

      set handler event_handler->on_user_command for gr_events.

      gr_functions = gr_alv->get_functions( ).

      gr_functions->set_all('X').

      gr_functions->set_group_filter( value = if_salv_c_bool_sap=>false ).

*       Set print preview
      gr_functions->set_print_preview( ).

      gr_alv->display( ).

    CATCH cx_salv_msg.
      MESSAGE 'ALV Display Not possible'(w02) TYPE 'I' DISPLAY LIKE 'E'.
  ENDTRY.