cl_gui_alv_grid de yenileme sonrası sütun optimizsyonu

1-  chn_layout-cwidth_opt `X`.  olmalı

2- set_frontend_layout methodu refresh_table_display methodundan evvel çağırılmalı

form cl_refresh_alv  using    prm_grid type ref to cl_gui_alv_grid
                              prm_soft type char01
                              prm_layout type lvc_s_layo .

  data stable type lvc_s_stbl.
*
  stable-row `X`.
  stable-col `X`.

CALL METHOD prm_grid->set_frontend_layout
        EXPORTING
            is_layout prm_layout.
*
  call method prm_grid->refresh_table_display
    exporting
      i_soft_refresh prm_soft
      is_stable      stable.

endform.                    " CL_REFRESH_ALV