ADD_DIRECT_APPLOG_BO SAP Method Add an application log item table to an Appl. Log BO inst.









Below is documentation, parameters and attributes of ABAP Method ADD_DIRECT_APPLOG_BO within SAP class /SCMTMS/CL_APPLOG_HELPER. 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 /SCMTMS/CL_APPLOG_HELPER 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_DIRECT_APPLOG_BO can also be found below:

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


Parameters of Method ADD_DIRECT_APPLOG_BO

.

NameTypeData TypeDescriptionDefault Value
IS_BAL_MSGImportingTYPE
/BOFU/S_BAL_MESSAGE_K
Application Log Message
IS_CONTEXTImportingTYPE
BAL_S_CONT
Application Log: Context
IT_BAL_MSGImportingTYPE
/BOFU/T_BAL_MESSAGE_K
Application Log Message
IV_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business Object
IV_DETLEVELImportingTYPE
BALLEVEL
Application Log: Level of detail
IV_EXT_ALNUMBERImportingTYPE
BALNREXT
Application Log: External ID
IV_FORCE_NEW_APPLOGImportingTYPE
ABAP_BOOL
Create new AppLog (Force)
IV_MSG_ORIGINATORImportingTYPE
STRING
IV_OBJECTImportingTYPE
BALOBJ_D
Application log: Object name (Application code)
IV_PROBCLASSImportingTYPE
BALPROBCL
Application log: Message problem class
IV_QUEUE_MSGImportingTYPE
ABAP_BOOL
Queue messages intead of writing into AppLog directly
IV_SUBOBJECTImportingTYPE
BALSUBOBJ
Application Log: Subobject
IV_USE_BALImportingTYPE
ABAP_BOOL
Write BAL directly instead of via Applog BO
IV_FORCEImportingTYPE
ABAP_BOOL
Force posting messages into the App. Log
CV_HANDLEChangingTYPE
BALLOGHNDL
Application Log: Log Handle



Exceptions of Method ADD_DIRECT_APPLOG_BO

This method does not have any exceptions

Example ABAP coding


DATA: lv_CV_HANDLE TYPE BALLOGHNDL,
lv_IS_BAL_MSG TYPE /BOFU/S_BAL_MESSAGE_K,
lv_IS_CONTEXT TYPE BAL_S_CONT,
lv_IT_BAL_MSG TYPE /BOFU/T_BAL_MESSAGE_K,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_DETLEVEL TYPE BALLEVEL,
lv_IV_EXT_ALNUMBER TYPE BALNREXT,
lv_IV_FORCE_NEW_APPLOG TYPE ABAP_BOOL,
lv_IV_MSG_ORIGINATOR TYPE STRING,
lv_IV_OBJECT TYPE BALOBJ_D,
lv_IV_PROBCLASS TYPE BALPROBCL,
lv_IV_QUEUE_MSG TYPE ABAP_BOOL,
lv_IV_SUBOBJECT TYPE BALSUBOBJ,
lv_IV_USE_BAL TYPE ABAP_BOOL,
lv_IV_FORCE TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_APPLOG_HELPER=>ADD_DIRECT_APPLOG_BO(
EXPORTING
IS_BAL_MSG = lv_IS_BAL_MSG
IS_CONTEXT = lv_IS_CONTEXT
IT_BAL_MSG = lv_IT_BAL_MSG
IV_BO_KEY = lv_IV_BO_KEY
IV_DETLEVEL = lv_IV_DETLEVEL
IV_EXT_ALNUMBER = lv_IV_EXT_ALNUMBER
IV_FORCE_NEW_APPLOG = lv_IV_FORCE_NEW_APPLOG
IV_MSG_ORIGINATOR = lv_IV_MSG_ORIGINATOR
IV_OBJECT = lv_IV_OBJECT
IV_PROBCLASS = lv_IV_PROBCLASS
IV_QUEUE_MSG = lv_IV_QUEUE_MSG
IV_SUBOBJECT = lv_IV_SUBOBJECT
IV_USE_BAL = lv_IV_USE_BAL
IV_FORCE = lv_IV_FORCE
CHANGING
CV_HANDLE = lv_CV_HANDLE ).

Links to Related Class(s)

/SCMTMS/...
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!