CHECK_MESSAGE SAP Method Checking content of message object returned by a validation
Below is documentation, parameters and attributes of ABAP Method CHECK_MESSAGE within SAP class /BOBF/IF_TOOL_MESSAGE_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 /BOBF/IF_TOOL_MESSAGE_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_MESSAGE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_MESSAGE
.| Name | Type | Data Type | Description | Default Value |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Message object which was returned by validation | |
| IV_CONTENT_CAT | Importing | TYPE /BOBF/OBM_CONTENT_CAT | Entity Category | |
| IV_CONTENT_KEY | Importing | TYPE /BOBF/CONF_KEY | NodeID | |
| IV_METHODNAME | Importing | TYPE SEOCMPNAME | Component name | |
| IV_VARIANT | Importing | TYPE ETVAR_ID | Variant name |
Exceptions of Method CHECK_MESSAGE
This method does not have any exceptionsExample ABAP coding
DATA: lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IV_CONTENT_CAT TYPE /BOBF/OBM_CONTENT_CAT,
lv_IV_CONTENT_KEY TYPE /BOBF/CONF_KEY,
lv_IV_METHODNAME TYPE SEOCMPNAME,
lv_IV_VARIANT TYPE ETVAR_ID,
lv_other TYPE c.
CALL METHOD /BOBF/IF_TOOL_MESSAGE_CHECK=>CHECK_MESSAGE(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IV_CONTENT_CAT = lv_IV_CONTENT_CAT
IV_CONTENT_KEY = lv_IV_CONTENT_KEY
IV_METHODNAME = lv_IV_METHODNAME
IV_VARIANT = lv_IV_VARIANT ).
Links to Related Class(s)
/BOBF/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects