SET_TABLE_FOR_FIRST_DISPLAY SAP Method Sets Table for First Display









Below is documentation, parameters and attributes of ABAP Method SET_TABLE_FOR_FIRST_DISPLAY within SAP class CL_GUI_ALV_TREE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_GUI_ALV_TREE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method SET_TABLE_FOR_FIRST_DISPLAY can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method SET_TABLE_FOR_FIRST_DISPLAY

.

NameTypeData TypeDescriptionDefault Value
IS_EXCEPTION_FIELDImportingTYPE
LVC_S_L004
Exception Field
IS_HIERARCHY_HEADERImportingTYPE
TREEV_HHDR
Hierarchy Fields
IS_VARIANTImportingTYPE
DISVARIANT
Layout
IT_EXCEPT_QINFOImportingTYPE
LVC_T_QINF
Quickinfo for Exceptions
IT_LIST_COMMENTARYImportingTYPE
SLIS_T_LISTHEADER
Header Information
IT_SPECIAL_GROUPSImportingTYPE
LVC_T_SGRP
Field Groups
IT_TOOLBAR_EXCLUDINGImportingTYPE
UI_FUNCTIONS
Excluded Toolbar Standard Functions
I_BACKGROUND_IDImportingTYPE
SDYDO_KEY
HTML Background
I_DEFAULTImportingTYPE
CHAR01
Default Display Variant
I_LOGOImportingTYPE
SDYDO_VALUE
Logo
I_SAVEImportingTYPE
CHAR01
Save Layout
I_STRUCTURE_NAMEImportingTYPE
DD02L-TABNAME
Internal Output Table Structure Name
IT_EXCEPT_QINFOImportingTYPE
LVC_T_QINF
Tooltip for Exceptions
IT_FIELDCATALOGChangingTYPE
LVC_T_FCAT
Field Catalog
IT_FILTERChangingTYPE
LVC_T_FILT
Filter Criteria (Not Yet Implemented)
IT_OUTTABChangingTYPE
STANDARD TABLE
Output Table



Exceptions of Method SET_TABLE_FOR_FIRST_DISPLAY

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_GUI_ALV_TREE.
DATA: lv_IS_EXCEPTION_FIELD TYPE LVC_S_L004,
lv_IS_HIERARCHY_HEADER TYPE TREEV_HHDR,
lv_IS_VARIANT TYPE DISVARIANT,
lv_IT_EXCEPT_QINFO TYPE LVC_T_QINF,
lv_IT_FIELDCATALOG TYPE LVC_T_FCAT,
lv_IT_FILTER TYPE LVC_T_FILT,
lv_IT_LIST_COMMENTARY TYPE SLIS_T_LISTHEADER,
lv_IT_OUTTAB TYPE STANDARD TABLE,
lv_IT_SPECIAL_GROUPS TYPE LVC_T_SGRP,
lv_IT_TOOLBAR_EXCLUDING TYPE UI_FUNCTIONS,
lv_I_BACKGROUND_ID TYPE SDYDO_KEY,
lv_I_DEFAULT TYPE CHAR01,
lv_I_LOGO TYPE SDYDO_VALUE,
lv_I_SAVE TYPE CHAR01,
lv_I_STRUCTURE_NAME TYPE DD02L-TABNAME,
lv_IT_EXCEPT_QINFO TYPE LVC_T_QINF,
lv_other TYPE c.

CALL METHOD lo_class=>SET_TABLE_FOR_FIRST_DISPLAY(
EXPORTING
IS_EXCEPTION_FIELD = lv_IS_EXCEPTION_FIELD
IS_HIERARCHY_HEADER = lv_IS_HIERARCHY_HEADER
IS_VARIANT = lv_IS_VARIANT
IT_EXCEPT_QINFO = lv_IT_EXCEPT_QINFO
IT_LIST_COMMENTARY = lv_IT_LIST_COMMENTARY
IT_SPECIAL_GROUPS = lv_IT_SPECIAL_GROUPS
IT_TOOLBAR_EXCLUDING = lv_IT_TOOLBAR_EXCLUDING
I_BACKGROUND_ID = lv_I_BACKGROUND_ID
I_DEFAULT = lv_I_DEFAULT
I_LOGO = lv_I_LOGO
I_SAVE = lv_I_SAVE
I_STRUCTURE_NAME = lv_I_STRUCTURE_NAME
IT_EXCEPT_QINFO = lv_IT_EXCEPT_QINFO
CHANGING
IT_FIELDCATALOG = lv_IT_FIELDCATALOG
IT_FILTER = lv_IT_FILTER
IT_OUTTAB = lv_IT_OUTTAB ).

Links to Related Class(s)

CL_GUI_A...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!