ADD_TRACE_MESSAGE SAP Method of class /SOMO/CL_EX_UNIJOBMONDC_SMSE
Below is documentation, parameters and attributes of ABAP Method ADD_TRACE_MESSAGE within SAP class /SOMO/CL_EX_UNIJOBMONDC_SMSE. 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 /SOMO/CL_EX_UNIJOBMONDC_SMSE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method ADD_TRACE_MESSAGE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_TRACE_MESSAGE
.| Name | Type | Data Type | Description | Default Value |
| IV_CONTEXT_ID | Importing | TYPE /SOMO/MA_D_GUID32 | 8 | |
| IV_MONID | Importing | TYPE /SOMO/MA_D_MONID | 7 | |
| IV_MSG_TEXT | Importing | TYPE DATA | 1 | |
| IV_MSG_V1 | Importing | TYPE DATA | 3 | |
| IV_MSG_V2 | Importing | TYPE DATA | 4 | |
| IV_MSG_V3 | Importing | TYPE DATA | 5 | |
| IV_MSG_V4 | Importing | TYPE DATA | 6 | |
| IV_TRACE_LEVEL | Importing | TYPE INT4 | 2 |
Exceptions of Method ADD_TRACE_MESSAGE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SOMO/CL_EX_UNIJOBMONDC_SMSE.
DATA: lv_IV_CONTEXT_ID TYPE /SOMO/MA_D_GUID32,
lv_IV_MONID TYPE /SOMO/MA_D_MONID,
lv_IV_MSG_TEXT TYPE DATA,
lv_IV_MSG_V1 TYPE DATA,
lv_IV_MSG_V2 TYPE DATA,
lv_IV_MSG_V3 TYPE DATA,
lv_IV_MSG_V4 TYPE DATA,
lv_IV_TRACE_LEVEL TYPE INT4,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_TRACE_MESSAGE(
EXPORTING
IV_CONTEXT_ID = lv_IV_CONTEXT_ID
IV_MONID = lv_IV_MONID
IV_MSG_TEXT = lv_IV_MSG_TEXT
IV_MSG_V1 = lv_IV_MSG_V1
IV_MSG_V2 = lv_IV_MSG_V2
IV_MSG_V3 = lv_IV_MSG_V3
IV_MSG_V4 = lv_IV_MSG_V4
IV_TRACE_LEVEL = lv_IV_TRACE_LEVEL ).
Links to Related Class(s)
/SOMO/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects