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 directlyThe 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
.| Name | Type | Data Type | Description | Default Value |
| IV_ATTRIBUTE | Importing | TYPE STRING | Attribute of the node | |
| 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 | Instance Key | |
| IV_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Node Key | |
| IV_PROBCLASS | Importing | TYPE BALPROBCL | Application log: Message problem class | |
| IV_SUBOBJECT | Importing | TYPE BALSUBOBJ | Application Log: Subobject | |
| IT_ATTRIBUTES | Importing | TYPE /BOBF/T_FRW_NAME | List of Names (e.g. Fieldnames) | |
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Current message object |
Exceptions of Method MSG_HELPER_ADD_SYMSG
This method does not have any exceptionsExample 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