ADD_LOG_STATIC SAP Method Include Log in Log (static)









Below is documentation, parameters and attributes of ABAP Method ADD_LOG_STATIC within SAP class /SCMB/CL_BOL_PROT. 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/CL_BOL_PROT 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_LOG_STATIC can also be found below:

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


Parameters of Method ADD_LOG_STATIC

.

NameTypeData TypeDescriptionDefault Value
IV_CLEARImportingTYPE
ABAP_BOOL
Clear CT_PROT_INT
EV_IS_SEVEREExportingTYPE
ABAP_BOOL
Is severity 'A' or 'E'
EV_SEVERITYExportingTYPE
BAPI_MTYPE
Message type: S Success, E Error, W Warning, I Info, A Abort
CT_PROT_EXTChangingTYPE
BAPIRETTAB
Table with BAPI Return Information
CT_PROT_INTChangingTYPE
BAPIRETTAB
Table with BAPI Return Information



Exceptions of Method ADD_LOG_STATIC

This method does not have any exceptions

Example ABAP coding


DATA: lv_CT_PROT_EXT TYPE BAPIRETTAB,
lv_CT_PROT_INT TYPE BAPIRETTAB,
lv_EV_IS_SEVERE TYPE ABAP_BOOL,
lv_EV_SEVERITY TYPE BAPI_MTYPE,
lv_IV_CLEAR TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD /SCMB/CL_BOL_PROT=>ADD_LOG_STATIC(
EXPORTING
IV_CLEAR = lv_IV_CLEAR
IMPORTING
EV_IS_SEVERE = lv_EV_IS_SEVERE
EV_SEVERITY = lv_EV_SEVERITY
CHANGING
CT_PROT_EXT = lv_CT_PROT_EXT
CT_PROT_INT = lv_CT_PROT_INT ).

Links to Related Class(s)

/SCMB/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!