MSG_HELPER_ADD_SYMSG SAP Method BOBF Message handling helper: Add Sy-message









Below is documentation, parameters and attributes of ABAP Method MSG_HELPER_ADD_SYMSG 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 directly

The following technical details of method MSG_HELPER_ADD_SYMSG can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method MSG_HELPER_ADD_SYMSG

.

NameTypeData TypeDescriptionDefault Value
IV_ATTRIBUTEImportingTYPE
STRING
Attribute of the node
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
Instance Key
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node Key
IV_PROBCLASSImportingTYPE
BALPROBCL
Application log: Message problem class
IV_SUBOBJECTImportingTYPE
BALSUBOBJ
Application Log: Subobject
IT_ATTRIBUTESImportingTYPE
/BOBF/T_FRW_NAME
List of Names (e.g. Fieldnames)
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Current message object



Exceptions of Method MSG_HELPER_ADD_SYMSG

This method does not have any exceptions

Example ABAP coding


DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IV_ATTRIBUTE TYPE STRING,
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_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_PROBCLASS TYPE BALPROBCL,
lv_IV_SUBOBJECT TYPE BALSUBOBJ,
lv_IT_ATTRIBUTES TYPE /BOBF/T_FRW_NAME,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COMMON_HELPER=>MSG_HELPER_ADD_SYMSG(
EXPORTING
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_KEY = lv_IV_NODE_KEY
IV_PROBCLASS = lv_IV_PROBCLASS
IV_SUBOBJECT = lv_IV_SUBOBJECT
IT_ATTRIBUTES = lv_IT_ATTRIBUTES
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!