MSG_CONVERT_BOPF_2_BAPIRET2 SAP Method Convert BOPF messages into BAPIRET2 format
Below is documentation, parameters and attributes of ABAP Method MSG_CONVERT_BOPF_2_BAPIRET2 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 MSG_CONVERT_BOPF_2_BAPIRET2 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MSG_CONVERT_BOPF_2_BAPIRET2
.| Name | Type | Data Type | Description | Default Value |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| IT_MESSAGE | Importing | TYPE /BOBF/T_FRW_MESSAGE_K | Message Table | |
| IV_ACTION_MESSAGES | Importing | TYPE BOOLE_D | Get action validation messages? | |
| IV_CONSISTENCY_MESSAGES | Importing | TYPE BOOLE_D | Get consistency messages? | |
| IV_SEVERITY | Importing | TYPE /BOBF/CM_FRW=>TY_MESSAGE_SEVERITY | Messages, message type | |
| CT_BAPIRET2 | Changing | TYPE BAPIRET2_TAB | Error Messages |
Exceptions of Method MSG_CONVERT_BOPF_2_BAPIRET2
This method does not have any exceptionsExample ABAP coding
DATA: lv_CT_BAPIRET2 TYPE BAPIRET2_TAB,
lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IT_MESSAGE TYPE /BOBF/T_FRW_MESSAGE_K,
lv_IV_ACTION_MESSAGES TYPE BOOLE_D,
lv_IV_CONSISTENCY_MESSAGES TYPE BOOLE_D,
lv_IV_SEVERITY TYPE /BOBF/CM_FRW=>TY_MESSAGE_SEVERITY,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COMMON_HELPER=>MSG_CONVERT_BOPF_2_BAPIRET2(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IT_MESSAGE = lv_IT_MESSAGE
IV_ACTION_MESSAGES = lv_IV_ACTION_MESSAGES
IV_CONSISTENCY_MESSAGES = lv_IV_CONSISTENCY_MESSAGES
IV_SEVERITY = lv_IV_SEVERITY
CHANGING
CT_BAPIRET2 = lv_CT_BAPIRET2 ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects