ADD_EXCEPTION2FRWMSG SAP Method Add exception to message object as text
Below is documentation, parameters and attributes of ABAP Method ADD_EXCEPTION2FRWMSG 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 ADD_EXCEPTION2FRWMSG can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_EXCEPTION2FRWMSG
.| Name | Type | Data Type | Description | Default Value |
| IS_CONTEXT | Importing | TYPE BAL_S_CONT | Application Log: Context | |
| IV_ATTRIBUTE | Importing | TYPE /BOBF/OBM_NAME | Name | |
| IV_BOPF_LOCATION_KEY | Importing | TYPE /BOBF/CONF_KEY | Det/Val execution node instance key | |
| IV_DETLEVEL | Importing | TYPE BALLEVEL | Application Log: Level of detail | |
| IV_KEY | Importing | TYPE /BOBF/CONF_KEY | NodeID | |
| IV_NODE | Importing | TYPE /BOBF/OBM_NODE_KEY | Node | |
| IV_PROBCLASS | Importing | TYPE BALPROBCL | Application log: Message problem class | |
| IX_ROOT | Importing | TYPE REF TO CX_ROOT | Abstract Superclass for All Global Exceptions | |
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object |
Exceptions of Method ADD_EXCEPTION2FRWMSG
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_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IS_CONTEXT TYPE BAL_S_CONT,
lv_IV_ATTRIBUTE TYPE /BOBF/OBM_NAME,
lv_IV_BOPF_LOCATION_KEY TYPE /BOBF/CONF_KEY,
lv_IV_DETLEVEL TYPE BALLEVEL,
lv_IV_KEY TYPE /BOBF/CONF_KEY,
lv_IV_NODE TYPE /BOBF/OBM_NODE_KEY,
lv_IV_PROBCLASS TYPE BALPROBCL,
lv_IX_ROOT TYPE CX_ROOT,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_APPLOG_HELPER=>ADD_EXCEPTION2FRWMSG(
EXPORTING
IS_CONTEXT = lv_IS_CONTEXT
IV_ATTRIBUTE = lv_IV_ATTRIBUTE
IV_BOPF_LOCATION_KEY = lv_IV_BOPF_LOCATION_KEY
IV_DETLEVEL = lv_IV_DETLEVEL
IV_KEY = lv_IV_KEY
IV_NODE = lv_IV_NODE
IV_PROBCLASS = lv_IV_PROBCLASS
IX_ROOT = lv_IX_ROOT
CHANGING
CO_MESSAGE = lv_CO_MESSAGE ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects