Ansicht
Dokumentation

BAL_LOG_MSG_ADD - Application Log: Log: Message: Add

BAL_LOG_MSG_ADD - Application Log: Log: Message: Add

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

Functionality

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

The message data is passed to the function module BAL_LOG_MSG_ADD in the IMPORTING parameter I_S_MSG (structure BAL_S_MSG).

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

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_LOG_HANDLE
I_S_MSG

Exceptions

LOG_IS_FULL
LOG_NOT_FOUND
MSG_INCONSISTENT

Function Group

SBAL

ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2610 Date: 20240520 Time: 160729     sap01-206 ( 49 ms )