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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IV_LOGIDImportingTYPE
/SCMB/SC_RESULTID
SCMB Scheduling: Identifier for Scheduling Result
IV_MSGNOImportingTYPE
SYMSGNO
Messages, Message Number
IV_MSGV1ImportingTYPE
SYMSGV
Messages, Message Variable
IV_MSGV2ImportingTYPE
SYMSGV
Messages, Message Variable
IV_MSGV3ImportingTYPE
SYMSGV
Messages, Message Variable
IV_MSGV4ImportingTYPE
SYMSGV
Messages, Message Variable



Exceptions of Method MSG_CREATE

This method does not have any exceptions

Example 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



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!