SAP CL_SALV_SORTS OO Class - All Sort Objects
CL_SALV_SORTS 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_SORTS 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_SORTS is CL_SALV_METADATA_BASEMethod list of CL_SALV_SORTS 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 |
| ADD_SORT | Add Sort Object to Column | Public |
| CALL METHOD cl_salv_sorts=>ADD_SORT...more details | ||
| CLEAR | Delete Sort Objects | Public |
| CALL METHOD cl_salv_sorts=>CLEAR...more details | ||
| CONSTRUCTOR | Constructor | Public |
| CALL METHOD cl_salv_sorts=>CONSTRUCTOR...more details | ||
| GET | Get Sort Objects | Public |
| CALL METHOD cl_salv_sorts=>GET...more details | ||
| GET_COMPRESSED_SUBTOTAL | Check Whether Subvalues Hidden for Subtotal | Public |
| CALL METHOD cl_salv_sorts=>GET_COMPRESSED_SUBTOTAL...more details | ||
| GET_SORT | Get Sort Object for Column | Public |
| CALL METHOD cl_salv_sorts=>GET_SORT...more details | ||
|
| ||
| GET_SORT_COUNT | Number of Sorts | Private |
| CALL METHOD cl_salv_sorts=>GET_SORT_COUNT...more details | ||
| GET_SUBTOTALS | Get Column Subtotal | Private |
| CALL METHOD cl_salv_sorts=>GET_SUBTOTALS...more details | ||
| IS_GROUP_ACTIVE | Check Whether Grouping Active | Public |
| CALL METHOD cl_salv_sorts=>IS_GROUP_ACTIVE...more details | ||
| IS_SORT_DEFINED | Check Whether Sort Exists | Public |
| CALL METHOD cl_salv_sorts=>IS_SORT_DEFINED...more details | ||
| RAISE_SORT_EXISTS | Private | |
| CALL METHOD cl_salv_sorts=>RAISE_SORT_EXISTS...more details | ||
| RAISE_SORT_NOT_FOUND | Private | |
| CALL METHOD cl_salv_sorts=>RAISE_SORT_NOT_FOUND...more details | ||
| REMOVE_SORT | Remove Sort Object from Column | Public |
| CALL METHOD cl_salv_sorts=>REMOVE_SORT...more details | ||
| REPAIR | Repair Sort Settings | Private |
| CALL METHOD cl_salv_sorts=>REPAIR...more details | ||
| SET_COMPRESSED_SUBTOTAL | Hide Subvalues for Subtotal | Public |
| CALL METHOD cl_salv_sorts=>SET_COMPRESSED_SUBTOTAL...more details | ||
| SET_GROUP_ACTIVE | Activate Grouping | Public |
| CALL METHOD cl_salv_sorts=>SET_GROUP_ACTIVE...more details | ||
| SET_POSITION | Set Sort Sequence of Columns | Public |
| CALL METHOD cl_salv_sorts=>SET_POSITION...more details | ||
CL_SALV_SORTS 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 |
| GROUP | Instance Attribute | Grouping Permitted | LIKE SAP_BOOL | Private | |
| MERGE | Instance Attribute | Combine Sorted Columns | LIKE SAP_BOOL | Private | |
| R_AGGREGATIONS | Instance Attribute | ALV: Aggregations | LIKE CL_SALV_AGGREGATIONS | Private | |
| R_COLUMNS | Instance Attribute | ALV: Columns of a Table | LIKE CL_SALV_COLUMNS | Private | |
| SUBTOTAL_COMPRESSED | Instance Attribute | Condensed Sort Column | LIKE LVC_FNAME | Private | |
| SUBTOTAL_COMPRESSED_INDEX | Instance Attribute | Index of Condensed Sort Column | LIKE I | Private | |
| T_SORT | Instance Attribute | Sort Orders | LIKE SALV_T_SORT_REF | 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