ALV display issue
i am using ALV display :
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
i_grid_title = 'Inventory BOM Report'
is_layout = wa_flayout
it_fieldcat = i_fcat
i_default = 'X'
i_save = 'A'
is_variant = o_disvariant
t_outtab = i_bom_final
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
we have used layout specification i.e. o_disvariant,,
if i don enter anything in this field how is it going to work??
will it take abything by default?
Vijay Dudla replied
First Change the Layout (Ctrl+F8), include or exclude columns which you want to display or supress . then press the save layout Button (f5). now it triggers a popup, there you need to mention the layout and name and continue. here you can specify the User specific or Default layout option also.
There are three options for you
CtrlF8, CtrlF9, Ctrl+F10 (for change, select, save) Try adding the variant using them