ADD_APPLOG_MSG SAP Method Add application log message to FRW message object
Below is documentation, parameters and attributes of ABAP Method ADD_APPLOG_MSG 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 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_APPLOG_MSG can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_APPLOG_MSG
.| Name | Type | Data Type | Description | Default Value |
| IS_CONTEXT | Importing | TYPE BAL_S_CONT | Application Log: Context | |
| IS_SYMSG | Importing | TYPE SYMSG | Structure of message variables | |
| IV_ATTRIBUTE | Importing | TYPE /BOBF/OBM_NAME | Name | |
| IV_BOPF_LOCATION_KEY | Importing | TYPE /BOBF/CONF_KEY | Det/Val execution node instance key | |
| IV_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business Object | |
| 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 | |
| IT_ATTRIBUTES | Importing | TYPE /BOBF/T_FRW_NAME | List of Names (e.g. Fieldnames) | |
| IV_SYMPTOM | Importing | TYPE /BOBF/IF_FRW_MESSAGE_SYMPTOMS=>TY_MESSAGE_SYMPTOM | Coded representation of a message symptom | |
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object |
Exceptions of Method ADD_APPLOG_MSG
This method does not have any exceptionsExample ABAP coding
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IS_CONTEXT TYPE BAL_S_CONT,
lv_IS_SYMSG TYPE SYMSG,
lv_IV_ATTRIBUTE TYPE /BOBF/OBM_NAME,
lv_IV_BOPF_LOCATION_KEY TYPE /BOBF/CONF_KEY,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_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_IT_ATTRIBUTES TYPE /BOBF/T_FRW_NAME,
lv_IV_SYMPTOM TYPE /BOBF/IF_FRW_MESSAGE_SYMPTOMS=>TY_MESSAGE_SYMPTOM,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_APPLOG_HELPER=>ADD_APPLOG_MSG(
EXPORTING
IS_CONTEXT = lv_IS_CONTEXT
IS_SYMSG = lv_IS_SYMSG
IV_ATTRIBUTE = lv_IV_ATTRIBUTE
IV_BOPF_LOCATION_KEY = lv_IV_BOPF_LOCATION_KEY
IV_BO_KEY = lv_IV_BO_KEY
IV_DETLEVEL = lv_IV_DETLEVEL
IV_KEY = lv_IV_KEY
IV_NODE = lv_IV_NODE
IV_PROBCLASS = lv_IV_PROBCLASS
IT_ATTRIBUTES = lv_IT_ATTRIBUTES
IV_SYMPTOM = lv_IV_SYMPTOM
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