CHECK SAP Method Object check









Below is documentation, parameters and attributes of ABAP Method CHECK within SAP class IF_ABAP_OBJECT_CHECK. 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 IF_ABAP_OBJECT_CHECK 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 CHECK can also be found below:

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


Parameters of Method CHECK

.

NameTypeData TypeDescriptionDefault Value
P_OBJECT_USAGEImportingTYPE
SYCH_OBJECT_USAGE
Usages pending checks
P_ROOT_OBJECTImportingTYPE
SYCH_OBJECT_ENTRY
Object Check: Object Key
P_VERSIONImportingTYPE
ABAPVRS
ABAP Version
P_ERRORSExportingTYPE
SYCH_OBJECT_USAGE
Usages with errors
P_MESSAGESExportingTYPE
SYCH_OBJECT_USAGE_MESSAGES



Exceptions of Method CHECK

This method does not have any exceptions

Example ABAP coding


DATA: lv_P_ERRORS TYPE SYCH_OBJECT_USAGE,
lv_P_OBJECT_USAGE TYPE SYCH_OBJECT_USAGE,
lv_P_ROOT_OBJECT TYPE SYCH_OBJECT_ENTRY,
lv_P_VERSION TYPE ABAPVRS,
lv_P_MESSAGES TYPE SYCH_OBJECT_USAGE_MESSAGES,
lv_other TYPE c.

CALL METHOD IF_ABAP_OBJECT_CHECK=>CHECK(
EXPORTING
P_OBJECT_USAGE = lv_P_OBJECT_USAGE
P_ROOT_OBJECT = lv_P_ROOT_OBJECT
P_VERSION = lv_P_VERSION
IMPORTING
P_ERRORS = lv_P_ERRORS
P_MESSAGES = lv_P_MESSAGES ).

Links to Related Class(s)

IF_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!