Hi experts,
i am doing ALV GRID using CL_GUI_ALV_GRID CLASS.
i want to display the print label as 'TOTAL' in ouput at before total place.
the following FM i am using.
i tried but while i am passing the parameter IS_LAYOUT it is saying not " 'WA_LAYOUT' not type compatible with formal parameter'.
ia m defining like:
DATA: WA_LAYOUT TYPE slis_layout_alv.
DATA: IT_LAYOUT type table of slis_layout_alv.
where i am doing wrong.
please help me.
CALL METHOD GRD_OBJ->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'SFLIGHT'
IS_VARIANT = L_LAYOUT
I_SAVE = ' '
I_DEFAULT = 'X'
IS_LAYOUT = WA_LAYOUT
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
IT_OUTTAB = it_sf
IT_FIELDCATALOG = IT_FLDCATLOG
IT_SORT = IT_SORT1
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4