ANALYZE_MESSAGES SAP Method Analyze BOPF message object
Below is documentation, parameters and attributes of ABAP Method ANALYZE_MESSAGES within SAP class /SCMTMS/CL_COMMON_HELPER. 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 /SCMTMS/CL_COMMON_HELPER 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 ANALYZE_MESSAGES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ANALYZE_MESSAGES
.| Name | Type | Data Type | Description | Default Value |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| IT_LOCK_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Optional list of instance keys that is expected to be locked | |
| IV_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business Object | |
| ET_ERROR | Exporting | TYPE /BOBF/T_FRW_MESSAGE_K | Instances with error messages | |
| ET_LOCKED | Exporting | TYPE /BOBF/T_FRW_MESSAGE_K | Foreign Locked node instances | |
| ET_LOCKED_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Keys of foreign locked instances | |
| ET_OPT_LOST_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Key Table | |
| ET_WARNING | Exporting | TYPE /BOBF/T_FRW_MESSAGE_K | Instances with warning messages | |
| EV_ENQUEUE_FAILURE | Exporting | TYPE BOOLE_D | Enqueue Server Failure. No instances locked | |
| ET_ROOT_KEY_OF_LOCKED_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Root keys of foreign locked instances |
Exceptions of Method ANALYZE_MESSAGES
This method does not have any exceptionsExample ABAP coding
DATA: lv_ET_ERROR TYPE /BOBF/T_FRW_MESSAGE_K,
lv_ET_LOCKED TYPE /BOBF/T_FRW_MESSAGE_K,
lv_ET_LOCKED_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_OPT_LOST_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_WARNING TYPE /BOBF/T_FRW_MESSAGE_K,
lv_EV_ENQUEUE_FAILURE TYPE BOOLE_D,
lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IT_LOCK_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_ROOT_KEY_OF_LOCKED_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COMMON_HELPER=>ANALYZE_MESSAGES(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IT_LOCK_KEY = lv_IT_LOCK_KEY
IV_BO_KEY = lv_IV_BO_KEY
IMPORTING
ET_ERROR = lv_ET_ERROR
ET_LOCKED = lv_ET_LOCKED
ET_LOCKED_KEY = lv_ET_LOCKED_KEY
ET_OPT_LOST_KEY = lv_ET_OPT_LOST_KEY
ET_WARNING = lv_ET_WARNING
EV_ENQUEUE_FAILURE = lv_EV_ENQUEUE_FAILURE
ET_ROOT_KEY_OF_LOCKED_KEY = lv_ET_ROOT_KEY_OF_LOCKED_KEY ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects