Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV display issue

Hi All,

i am using ALV display :

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_grid_title = 'Inventory BOM Report'

is_layout = wa_flayout

it_fieldcat = i_fcat[]

i_default = 'X'

i_save = 'A'

is_variant = o_disvariant

TABLES

t_outtab = i_bom_final

EXCEPTIONS

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.

ENDIF.

ENDFORM. "DISPLAY

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?

Tags:
Former Member
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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question