Ansicht
Dokumentation

BAL_LOG_MSG_ADD_FREE_TEXT - Application Log: Log: Message: Insert as free text

BAL_LOG_MSG_ADD_FREE_TEXT - Application Log: Log: Message: Insert as free text

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

A free text message is added to the log with (log handle) I_LOG_HANDLE.

The message text is passed to the function module BAL_LOG_MSG_ADD_FREE_TEXT in the IMPORTING parameter I_TEXT (maximum length 200 characters).

The error severity (I_MSGTY) and (optionally) the problem class (I_PROBCLASS) can also be specified.

A message handle E_S_MSG_HANDLE, which uniquely identifies this message, is returned.

The Application Log configuration controls whether a message is directly displayed or collected. The Exporting parameters E_MSG_WAS_DISPLAYED and E_MSG_WAS_LOGGED tell you what was done with the message.

==>Note
The log handle is optional for function modules such as BAL_LOG_MSG_ADD, BAL_LOG_MSG_CUMULATE, BAL_LOG_MSG_ADD_FREE_TEXT, etc.
If it is not specified, the default log, which can be set, with other default data, with BAL_GLB_MSG_DEFAULTS_SET is used. If no default log is defined, it is set automatically by BAL_LOG_CREATE (see here).

Related function modules

Simplest log creation call
Message collection methods

Further information

Overview of the most important function groups

Quick start documentation

Application Log: Technical documentation





Parameters

E_MSG_WAS_DISPLAYED
E_MSG_WAS_LOGGED
E_S_MSG_HANDLE
I_DETLEVEL
I_LOG_HANDLE
I_MSGTY
I_PROBCLASS
I_S_CONTEXT
I_S_PARAMS
I_TEXT

Exceptions

LOG_IS_FULL
LOG_NOT_FOUND
MSG_INCONSISTENT

Function Group

SBAL

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2736 Date: 20240602 Time: 135123     sap01-206 ( 61 ms )