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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IS_CONTEXTImportingTYPE
BAL_S_CONT
Application Log: Context
IS_SYMSGImportingTYPE
SYMSG
Structure of message variables
IV_ATTRIBUTEImportingTYPE
/BOBF/OBM_NAME
Name
IV_BOPF_LOCATION_KEYImportingTYPE
/BOBF/CONF_KEY
Det/Val execution node instance key
IV_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business Object
IV_DETLEVELImportingTYPE
BALLEVEL
Application Log: Level of detail
IV_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_NODEImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_PROBCLASSImportingTYPE
BALPROBCL
Application log: Message problem class
IT_ATTRIBUTESImportingTYPE
/BOBF/T_FRW_NAME
List of Names (e.g. Fieldnames)
IV_SYMPTOMImportingTYPE
/BOBF/IF_FRW_MESSAGE_SYMPTOMS=>TY_MESSAGE_SYMPTOM
Coded representation of a message symptom
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object



Exceptions of Method ADD_APPLOG_MSG

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!