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_BASE

Method 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 NameDescriptionVisability
ADD_SORTAdd Sort Object to ColumnPublic
CALL METHOD cl_salv_sorts=>ADD_SORT...more details

CLEARDelete Sort ObjectsPublic
CALL METHOD cl_salv_sorts=>CLEAR...more details

CONSTRUCTORConstructorPublic
CALL METHOD cl_salv_sorts=>CONSTRUCTOR...more details

GETGet Sort ObjectsPublic
CALL METHOD cl_salv_sorts=>GET...more details

GET_COMPRESSED_SUBTOTALCheck Whether Subvalues Hidden for SubtotalPublic
CALL METHOD cl_salv_sorts=>GET_COMPRESSED_SUBTOTAL...more details

GET_SORTGet Sort Object for ColumnPublic
CALL METHOD cl_salv_sorts=>GET_SORT...more details

GET_SORT_COUNTNumber of SortsPrivate
CALL METHOD cl_salv_sorts=>GET_SORT_COUNT...more details

GET_SUBTOTALSGet Column SubtotalPrivate
CALL METHOD cl_salv_sorts=>GET_SUBTOTALS...more details

IS_GROUP_ACTIVECheck Whether Grouping ActivePublic
CALL METHOD cl_salv_sorts=>IS_GROUP_ACTIVE...more details

IS_SORT_DEFINEDCheck Whether Sort ExistsPublic
CALL METHOD cl_salv_sorts=>IS_SORT_DEFINED...more details

RAISE_SORT_EXISTSPrivate
CALL METHOD cl_salv_sorts=>RAISE_SORT_EXISTS...more details

RAISE_SORT_NOT_FOUNDPrivate
CALL METHOD cl_salv_sorts=>RAISE_SORT_NOT_FOUND...more details

REMOVE_SORTRemove Sort Object from ColumnPublic
CALL METHOD cl_salv_sorts=>REMOVE_SORT...more details

REPAIRRepair Sort SettingsPrivate
CALL METHOD cl_salv_sorts=>REPAIR...more details

SET_COMPRESSED_SUBTOTALHide Subvalues for SubtotalPublic
CALL METHOD cl_salv_sorts=>SET_COMPRESSED_SUBTOTAL...more details

SET_GROUP_ACTIVEActivate GroupingPublic
CALL METHOD cl_salv_sorts=>SET_GROUP_ACTIVE...more details

SET_POSITIONSet Sort Sequence of ColumnsPublic
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.

NameLevelDescriptionInitial ValueTypeVisability
GROUPInstance AttributeGrouping PermittedLIKE
SAP_BOOL
Private
MERGEInstance AttributeCombine Sorted ColumnsLIKE
SAP_BOOL
Private
R_AGGREGATIONSInstance AttributeALV: AggregationsLIKE
CL_SALV_AGGREGATIONS
Private
R_COLUMNSInstance AttributeALV: Columns of a TableLIKE
CL_SALV_COLUMNS
Private
SUBTOTAL_COMPRESSEDInstance AttributeCondensed Sort ColumnLIKE
LVC_FNAME
Private
SUBTOTAL_COMPRESSED_INDEXInstance AttributeIndex of Condensed Sort ColumnLIKE
I
Private
T_SORTInstance AttributeSort OrdersLIKE
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



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!