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 directlyThe 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
.| Name | Type | Data Type | Description | Default Value |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| IS_CONTEXT | Importing | TYPE BAL_S_CONT | Application Log: Context | |
| IV_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business Object | |
| IV_DETLEVEL | Importing | TYPE BALLEVEL | Application Log: Level of detail | |
| IV_EXT_ALNUMBER | Importing | TYPE BALNREXT | Application Log: External ID | |
| IV_FORCE_NEW_APPLOG | Importing | TYPE ABAP_BOOL | Create new AppLog (Force) | |
| IV_HANDLE | Importing | TYPE BALLOGHNDL | Application Log: Log Handle | |
| IV_MSG_ORIGINATOR | Importing | TYPE STRING | Application/Engine which created messages | |
| IV_OBJECT | Importing | TYPE BALOBJ_D | Application log: Object name (Application code) | |
| IV_PROBCLASS | Importing | TYPE BALPROBCL | Application log: Message problem class | |
| IV_QUEUE_MSG | Importing | TYPE ABAP_BOOL | Queue messages intead of writing into AppLog directly | |
| IV_SUBOBJECT | Importing | TYPE BALSUBOBJ | Application Log: Subobject | |
| IV_USE_BAL | Importing | TYPE ABAP_BOOL | Write BAL directly instead of via Applog BO | |
| IV_FORCE | Importing | TYPE ABAP_BOOL | Force posting messages into the App. Log | |
| EV_HANDLE | Exporting | TYPE BALLOGHNDL | Application Log: Log Handle |
Exceptions of Method ADD_FRWMSG2APPLOG_BO
This method does not have any exceptionsExample 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