FRWMSG_CONVERT SAP Method Convert if_frw_message(s) to bapiret2 / appl. log format
Below is documentation, parameters and attributes of ABAP Method FRWMSG_CONVERT within SAP class /SCMTMS/CL_APPLOG_HELPER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_APPLOG_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 FRWMSG_CONVERT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FRWMSG_CONVERT
.| 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 | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_CONSISTENCY_MESSAGES | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_SEVERITY | Importing | TYPE /BOBF/CM_FRW=>TY_MESSAGE_SEVERITY | ||
| EV_CTX_CNT | Exporting | TYPE SYTFILL | Row Number of Internal Tables | |
| CT_BAL_MSG | Changing | TYPE /BOFU/T_BAL_MESSAGE_K | Application Log Message | |
| CT_BAPIRET2 | Changing | TYPE BAPIRET2_TAB | Error Messages |
Exceptions of Method FRWMSG_CONVERT
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_CT_BAL_MSG TYPE /BOFU/T_BAL_MESSAGE_K,
lv_CT_BAPIRET2 TYPE BAPIRET2_TAB,
lv_EV_CTX_CNT TYPE SYTFILL,
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_APPLOG_HELPER=>FRWMSG_CONVERT(
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
IMPORTING
EV_CTX_CNT = lv_EV_CTX_CNT
CHANGING
CT_BAL_MSG = lv_CT_BAL_MSG
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