ADD_MESSAGE_TO_CHECK_LOG SAP Method Add Message to FND Log









Below is documentation, parameters and attributes of ABAP Method ADD_MESSAGE_TO_CHECK_LOG within SAP class /BCV/CL_UIF_CONSISTENCY. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BCV/CL_UIF_CONSISTENCY 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 ADD_MESSAGE_TO_CHECK_LOG can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method ADD_MESSAGE_TO_CHECK_LOG

.

NameTypeData TypeDescriptionDefault Value
IS_CONTEXTImportingTYPE
/BCV/S_FND_MESS_CONTEXT
Message Context
IV_CUMULATEImportingTYPE
BOOLE_D
Cumulate Messages
IV_EXC_MODEImportingTYPE
BOOLE_D
'Exception Only' Mode
IV_MSGIDImportingTYPE
SYMSGID
Message Class
IV_MSGNOImportingTYPE
SYMSGNO
Message Number
IV_MSGTYImportingTYPE
SYMSGTY
Message Type
IV_MSGV1ImportingTYPE
SYMSGV
Message Variable 1
IV_MSGV2ImportingTYPE
SYMSGV
Message Variable 2
IV_MSGV3ImportingTYPE
SYMSGV
Message Variable 3
IV_MSGV4ImportingTYPE
SYMSGV
Message Variable 4
CO_LOGChangingTYPE REF TO
/BCV/CL_FND_LOG
PCV Log



Exceptions of Method ADD_MESSAGE_TO_CHECK_LOG

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_CO_LOG TYPE /BCV/CL_FND_LOG,
lv_IS_CONTEXT TYPE /BCV/S_FND_MESS_CONTEXT,
lv_IV_CUMULATE TYPE BOOLE_D,
lv_IV_EXC_MODE TYPE BOOLE_D,
lv_IV_MSGID TYPE SYMSGID,
lv_IV_MSGNO TYPE SYMSGNO,
lv_IV_MSGTY TYPE SYMSGTY,
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 /BCV/CL_UIF_CONSISTENCY=>ADD_MESSAGE_TO_CHECK_LOG(
EXPORTING
IS_CONTEXT = lv_IS_CONTEXT
IV_CUMULATE = lv_IV_CUMULATE
IV_EXC_MODE = lv_IV_EXC_MODE
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
CHANGING
CO_LOG = lv_CO_LOG ).

Links to Related Class(s)

/BCV/CL_...
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!