MSG_CREATE SAP Method Add a Message
Below is documentation, parameters and attributes of ABAP Method MSG_CREATE within SAP class /SCMB/IF_SC_ALGOPROT. 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 /SCMB/IF_SC_ALGOPROT 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_CREATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MSG_CREATE
.| Name | Type | Data Type | Description | Default Value |
| IV_LOGID | Importing | TYPE /SCMB/SC_RESULTID | SCMB Scheduling: Identifier for Scheduling Result | |
| IV_MSGNO | Importing | TYPE SYMSGNO | Messages, Message Number | |
| IV_MSGV1 | Importing | TYPE SYMSGV | Messages, Message Variable | |
| IV_MSGV2 | Importing | TYPE SYMSGV | Messages, Message Variable | |
| IV_MSGV3 | Importing | TYPE SYMSGV | Messages, Message Variable | |
| IV_MSGV4 | Importing | TYPE SYMSGV | Messages, Message Variable |
Exceptions of Method MSG_CREATE
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_LOGID TYPE /SCMB/SC_RESULTID,
lv_IV_MSGNO TYPE SYMSGNO,
lv_IV_MSGV1 TYPE SYMSGV,
lv_IV_MSGV2 TYPE SYMSGV,
lv_IV_MSGV3 TYPE SYMSGV,
lv_IV_MSGV4 TYPE SYMSGV,
lv_other TYPE c.
CALL METHOD /SCMB/IF_SC_ALGOPROT=>MSG_CREATE(
EXPORTING
IV_LOGID = lv_IV_LOGID
IV_MSGNO = lv_IV_MSGNO
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)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects