GRID_LAYOUT SAP Method ALV grid layout
Below is documentation, parameters and attributes of ABAP Method GRID_LAYOUT within SAP class /BOBF/CL_CONF_UI_VIEW_MODIFIER. 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 /BOBF/CL_CONF_UI_VIEW_MODIFIER 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 GRID_LAYOUT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GRID_LAYOUT
.| Name | Type | Data Type | Description | Default Value |
| IV_GRID_ID | Importing | TYPE /BOBF/CONF_UI_TREE | ||
| CS_GRID_LAYOUT | Changing | TYPE LVC_S_LAYO | ||
| CT_EXCLUDING | Changing | TYPE UI_FUNCTIONS | Function Code Table |
Exceptions of Method GRID_LAYOUT
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOBF/CL_CONF_UI_VIEW_MODIFIER.
DATA: lv_CS_GRID_LAYOUT TYPE LVC_S_LAYO,
lv_CT_EXCLUDING TYPE UI_FUNCTIONS,
lv_IV_GRID_ID TYPE /BOBF/CONF_UI_TREE,
lv_other TYPE c.
CALL METHOD lo_class=>GRID_LAYOUT(
EXPORTING
IV_GRID_ID = lv_IV_GRID_ID
CHANGING
CS_GRID_LAYOUT = lv_CS_GRID_LAYOUT
CT_EXCLUDING = lv_CT_EXCLUDING ).
Links to Related Class(s)
/BOBF/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects