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 directlyThe 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
.| Name | Type | Data Type | Description | Default Value |
| P_OBJECT_USAGE | Importing | TYPE SYCH_OBJECT_USAGE | Usages pending checks | |
| P_ROOT_OBJECT | Importing | TYPE SYCH_OBJECT_ENTRY | Object Check: Object Key | |
| P_VERSION | Importing | TYPE ABAPVRS | ABAP Version | |
| P_ERRORS | Exporting | TYPE SYCH_OBJECT_USAGE | Usages with errors | |
| P_MESSAGES | Exporting | TYPE SYCH_OBJECT_USAGE_MESSAGES |
Exceptions of Method CHECK
This method does not have any exceptionsExample 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