data: ls_variant type disvariant.
  clear: ls_variant.
  ls_variant-report = sy-repid.

  call method gv_grid1->set_table_for_first_display
    exporting
      is_layout            = gs_layout
      i_bypassing_buffer   = 'X'
      is_variant           = ls_variant
      i_save               = 'A'

    changing
      it_outtab            = gt_itab[]
      it_fieldcatalog      = gt_fcat_lvc[].




Re: IN ALV Report 'SAVE LAYOUT' option missing  


You can manage display variants by using parameters, “is_variant” and “i_save” of “set_table_for_first_display”. Here are options for variant handling. <structure_name> is the variant-defining structure of type “DISVARIANT”. The field “report” in this structure should contain the value of “sy-repid

<출처: http://forums.sdn.sap.com/thread.jspa?threadID=810724 >