SAP CL_SALV_LAYOUT OO Class - Settings for Layout
CL_SALV_LAYOUT is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_SALV_LAYOUT including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_SALV_LAYOUT is CL_SALV_METADATA_BASEInterface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_SALV_C_LAYOUTMethod list of CL_SALV_LAYOUT SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CONSTRUCTOR | Constructor | Public |
| CALL METHOD cl_salv_layout=>CONSTRUCTOR...more details | ||
| F4_LAYOUTS | F4 Help for Layouts of Layout Key | Public |
| CALL METHOD cl_salv_layout=>F4_LAYOUTS...more details | ||
| GET_CURRENT_LAYOUT | Get Current Layout | Public |
| CALL METHOD cl_salv_layout=>GET_CURRENT_LAYOUT...more details | ||
| GET_DEFAULT_LAYOUT | Get Default Layout | Public |
| CALL METHOD cl_salv_layout=>GET_DEFAULT_LAYOUT...more details | ||
| GET_INITIAL_LAYOUT | Get Initial Layout | Public |
| CALL METHOD cl_salv_layout=>GET_INITIAL_LAYOUT...more details | ||
| GET_KEY | Get Layout Key | Public |
| CALL METHOD cl_salv_layout=>GET_KEY...more details | ||
|
| ||
| GET_LAYOUTS | Get Layouts for Layout Key | Public |
| CALL METHOD cl_salv_layout=>GET_LAYOUTS...more details | ||
| GET_SAVE_RESTRICTION | Get Restriction for Layout Save | Public |
| CALL METHOD cl_salv_layout=>GET_SAVE_RESTRICTION...more details | ||
| HAS_DEFAULT | Check Whether a Layout Is Set as Default | Public |
| CALL METHOD cl_salv_layout=>HAS_DEFAULT...more details | ||
| SET_DEFAULT | Allow Default Layout | Public |
| CALL METHOD cl_salv_layout=>SET_DEFAULT...more details | ||
| SET_INITIAL_LAYOUT | Set Initial Layout | Public |
| CALL METHOD cl_salv_layout=>SET_INITIAL_LAYOUT...more details | ||
| SET_KEY | Set Layout Key | Public |
| CALL METHOD cl_salv_layout=>SET_KEY...more details | ||
| SET_SAVE_RESTRICTION | Set Restriction for Layout Save | Public |
| CALL METHOD cl_salv_layout=>SET_SAVE_RESTRICTION...more details | ||
| _CREATE_FOR_FWK_CHANGELOG | Private | |
| CALL METHOD cl_salv_layout=>_CREATE_FOR_FWK_CHANGELOG...more details | ||
CL_SALV_LAYOUT attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| DEFAULT | Instance Attribute | Select default layout | ABAP_FALSE | LIKE SAP_BOOL | Private |
| INITIAL_LAYOUT | Instance Attribute | Initial Layout | LIKE SLIS_VARI | Private | |
| RESTRICT_NONE | Instance Attribute | LIKE | Private | ||
| RESTRICT_USER_DEPENDANT | Instance Attribute | LIKE | Private | ||
| RESTRICT_USER_INDEPENDANT | Instance Attribute | LIKE | Private | ||
| SAVE_RESTRICTION | Instance Attribute | Save Layout Restriction | LIKE SALV_DE_LAYOUT_RESTRICTION | Private | |
| S_CURRENT_LAYOUT | Instance Attribute | Current Layout | LIKE SALV_S_LAYOUT | Private | |
| S_KEY | Instance Attribute | Layout Key | LIKE SALV_S_LAYOUT_KEY | Private |
Links to Related Class(s)
CL_SALV_...Full list of available SAP object classes
Search for further information about these or an SAP related objects