ABAP OO Class Methods

SET_GRID_LAYOUT SAP Method - set the grid control lay out







Below is documentation, parameters and attributes of ABAP Method SET_GRID_LAYOUT within SAP class CL_WFA_SYNC_ORG_GRID. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name CL_WFA_SYNC_ORG_GRID into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

CL_WFA_SYNC_ORG_GRID

Method Name

SET_GRID_LAYOUT

Method Type

Instance Method:   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.






Importing Parameters:

Below is a list of importing parameters associated with this method, including its name, description and data type


SELFLAG " Boolean ( True = 'X', False = ' ') TYPE WFA_BOOLEAN

Changing Parameters:


CS_LAYO " ALV control: Layout structure TYPE LVC_S_LAYO

Exceptions:



Example ABAP coding


This is a private Method so the below code can only be executed from within the class itself. I.e. You could access it from another method of the class.


DATA:
ld_SELFLAG TYPE WFA_BOOLEAN ,
ld_CS_LAYO TYPE LVC_S_LAYO.

" ld_SELFLAG = "

DATA: lo_GRID TYPE REF TO CL_WFA_SYNC_ORG_GRID .
CALL METHOD lo_GRID->SET_GRID_LAYOUT(
EXPORTING
SELFLAG = ld_SELFLAG
CHANGING
CS_LAYO = ld_CS_LAYO ).