INDEX_HEALTH_CHECK SAP Method Health Checks for Index Data Structures









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

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_ABAP_ITAB_UTILITIES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method INDEX_HEALTH_CHECK can also be found below:

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


Parameters of Method INDEX_HEALTH_CHECK

.

NameTypeData TypeDescriptionDefault Value
I_CHECK_NRImportingTYPE
T_CHECK_NR
Single Check Number
I_CHECK_NR_TABImportingTYPE
T_CHECK_NR_TAB
Table of Check Numbers
I_ITAB1ImportingTYPE
ANY TABLE
Table to be checked
I_ITAB2ImportingTYPE
ANY TABLE
Further table to be checked (optional)
I_ITAB3ImportingTYPE
ANY TABLE
Further table to be checked (optional)
I_USERImportingTYPE
T_UNAME
Single User Name
I_USER_TABImportingTYPE
T_UNAME_TAB
User Name Table
I_USER_TABImportingTYPE
T_UNAME_TAB
User names table
R_SUBRCReturningTYPE
INT4
Return Code



Exceptions of Method INDEX_HEALTH_CHECK

CX_PARAMETER_INVALID - Superclass of Parameter Error

Example ABAP coding


DATA: lv_I_CHECK_NR TYPE T_CHECK_NR,
lv_I_CHECK_NR_TAB TYPE T_CHECK_NR_TAB,
lv_I_ITAB1 TYPE ANY TABLE,
lv_I_ITAB2 TYPE ANY TABLE,
lv_I_ITAB3 TYPE ANY TABLE,
lv_I_USER TYPE T_UNAME,
lv_I_USER_TAB TYPE T_UNAME_TAB,
lv_R_SUBRC TYPE INT4,
lv_I_USER_TAB TYPE T_UNAME_TAB,
lv_other TYPE c.

CALL METHOD CL_ABAP_ITAB_UTILITIES=>INDEX_HEALTH_CHECK(
EXPORTING
I_CHECK_NR = lv_I_CHECK_NR
I_CHECK_NR_TAB = lv_I_CHECK_NR_TAB
I_ITAB1 = lv_I_ITAB1
I_ITAB2 = lv_I_ITAB2
I_ITAB3 = lv_I_ITAB3
I_USER = lv_I_USER
I_USER_TAB = lv_I_USER_TAB
I_USER_TAB = lv_I_USER_TAB
RECEIVING
R_SUBRC = lv_R_SUBRC )



"Alternate coding for Method Call with returning parameter
lv_R_SUBRC = CL_ABAP_ITAB_UTILITIES=>INDEX_HEALTH_CHECK(
EXPORTING
I_CHECK_NR = lv_I_CHECK_NR
I_CHECK_NR_TAB = lv_I_CHECK_NR_TAB
I_ITAB1 = lv_I_ITAB1
I_ITAB2 = lv_I_ITAB2
I_ITAB3 = lv_I_ITAB3
I_USER = lv_I_USER
I_USER_TAB = lv_I_USER_TAB
I_USER_TAB = lv_I_USER_TAB ).

Links to Related Class(s)

CL_ABAP_...
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!