Hi Experts,
I am unable to save the layout and even load the layout for the variants.
My code is below.
gs_layout-zebra = 'X'.
gs_layout-sel_mode = 'A'.
clear w_variant.
w_variant-report = sy-repid.
w_variant-username = sy-uname.
call method grid->set_table_for_first_display
EXPORTING
is_variant = w_variant
i_save = 'A'
i_default = 'X'
is_layout = gs_layout
CHANGING
it_outtab = gt_outdisp[]
it_fieldcatalog = gt_fieldcat.
call method grid->set_ready_for_input..
can some one help me where i am wrong?
thanks
Dan