ADD_T100_MESSAGE SAP Method add T100 message to log
Below is documentation, parameters and attributes of ABAP Method ADD_T100_MESSAGE within SAP class /SOMO/IF_SOMO_LOG. 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/IF_SOMO_LOG 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_T100_MESSAGE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_T100_MESSAGE
.| Name | Type | Data Type | Description | Default Value |
| IV_MSGID | Importing | TYPE MSGID | Message class/ID | |
| IV_MSGNO | Importing | TYPE MSGNO | Message number | |
| IV_MSGTY | Importing | TYPE MSGTY | Message type | |
| IV_MSGV1 | Importing | TYPE ANY | Message variable 1 | |
| IV_MSGV2 | Importing | TYPE ANY | Message variable 2 | |
| IV_MSGV3 | Importing | TYPE ANY | Message variable 3 | |
| IV_MSGV4 | Importing | TYPE ANY | Message variable 4 |
Exceptions of Method ADD_T100_MESSAGE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SOMO/IF_SOMO_LOG.
DATA: lv_IV_MSGID TYPE MSGID,
lv_IV_MSGNO TYPE MSGNO,
lv_IV_MSGTY TYPE MSGTY,
lv_IV_MSGV1 TYPE ANY,
lv_IV_MSGV2 TYPE ANY,
lv_IV_MSGV3 TYPE ANY,
lv_IV_MSGV4 TYPE ANY,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_T100_MESSAGE(
EXPORTING
IV_MSGID = lv_IV_MSGID
IV_MSGNO = lv_IV_MSGNO
IV_MSGTY = lv_IV_MSGTY
IV_MSGV1 = lv_IV_MSGV1
IV_MSGV2 = lv_IV_MSGV2
IV_MSGV3 = lv_IV_MSGV3
IV_MSGV4 = lv_IV_MSGV4 ).
Links to Related Class(s)
/SOMO/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects