ADD_FRWMSG2APPLOG_BO SAP Method Add a FRW message object to an Application Log BO inst.









Below is documentation, parameters and attributes of ABAP Method ADD_FRWMSG2APPLOG_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_FRWMSG2APPLOG_BO can also be found below:

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


Parameters of Method ADD_FRWMSG2APPLOG_BO

.

NameTypeData TypeDescriptionDefault Value
IO_MESSAGEImportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
IS_CONTEXTImportingTYPE
BAL_S_CONT
Application Log: Context
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_HANDLEImportingTYPE
BALLOGHNDL
Application Log: Log Handle
IV_MSG_ORIGINATORImportingTYPE
STRING
Application/Engine which created messages
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
EV_HANDLEExportingTYPE
BALLOGHNDL
Application Log: Log Handle



Exceptions of Method ADD_FRWMSG2APPLOG_BO

This method does not have any exceptions

Example ABAP coding


DATA: lv_EV_HANDLE TYPE BALLOGHNDL,
lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IS_CONTEXT TYPE BAL_S_CONT,
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_HANDLE TYPE BALLOGHNDL,
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_FRWMSG2APPLOG_BO(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IS_CONTEXT = lv_IS_CONTEXT
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_HANDLE = lv_IV_HANDLE
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
IMPORTING
EV_HANDLE = lv_EV_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!