COMPARE_INDEX_RANGE SAP Method of class CL_SALV_CSB_TREE_LIST_SERVICE









Below is documentation, parameters and attributes of ABAP Method COMPARE_INDEX_RANGE within SAP class CL_SALV_CSB_TREE_LIST_SERVICE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

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

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_SALV_CSB_TREE_LIST_SERVICE 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 COMPARE_INDEX_RANGE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method COMPARE_INDEX_RANGE

.

NameTypeData TypeDescriptionDefault Value
S_INDEX_RANGEImportingTYPE
IF_SALV_CSZ_API=>YS_INDEX_RANGE
S_INDEX_RANGE_SEARCHImportingTYPE
IF_SALV_CSZ_API=>YS_INDEX_RANGE
S_RESULT_RANGE_INExportingTYPE
IF_SALV_CSZ_API=>YS_INDEX_RANGE
S_RESULT_RANGE_OUTExportingTYPE
IF_SALV_CSZ_API=>YS_INDEX_RANGE



Exceptions of Method COMPARE_INDEX_RANGE

This method does not have any exceptions

Example ABAP coding

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

DATA: lo_class TYPE REF TO CL_SALV_CSB_TREE_LIST_SERVICE.
DATA: lv_S_INDEX_RANGE TYPE IF_SALV_CSZ_API=>YS_INDEX_RANGE,
lv_S_INDEX_RANGE_SEARCH TYPE IF_SALV_CSZ_API=>YS_INDEX_RANGE,
lv_S_RESULT_RANGE_IN TYPE IF_SALV_CSZ_API=>YS_INDEX_RANGE,
lv_S_RESULT_RANGE_OUT TYPE IF_SALV_CSZ_API=>YS_INDEX_RANGE,
lv_other TYPE c.

CALL METHOD lo_class=>COMPARE_INDEX_RANGE(
EXPORTING
S_INDEX_RANGE = lv_S_INDEX_RANGE
S_INDEX_RANGE_SEARCH = lv_S_INDEX_RANGE_SEARCH
IMPORTING
S_RESULT_RANGE_IN = lv_S_RESULT_RANGE_IN
S_RESULT_RANGE_OUT = lv_S_RESULT_RANGE_OUT ).

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!