Ansicht
Dokumentation

BAL_GLB_MSG_DEFAULTS_GET - Application Log: Global: Read message defaults

BAL_GLB_MSG_DEFAULTS_GET - Application Log: Global: Read message defaults

PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Some information which is required to make a message meaningful is only available at a higher program level, not where the message is sent.

Example
The destination of a road transport is checked in a low-level routine, which knows neither the transport number nor the route involved.

The context information can be set as defaults using BAL_GLB_MSG_DEFAULTS_SET, before this routine is called, and put in the messages which it sends.
The data type BAL_S_MDEF, which contains other data (such as message attributes, parameters, the default log, etc.) as well as the context, is passed to this function module.
You can also get the current defaults with BAL_GLB_MSG_DEFAULTS_GET. This is useful when you want to change some, but not all, defaults (for example, the item number but not the order number).

  • ==>Note
    You should use the function modules BAL_GLB_MSG_DEFAULTS_GET and BAL_GLB_MSG_DEFAULTS_SET together, to be sure of the current defaults.

The defaults affect the following function modules:
BAL_LOG_MSG_ADD Put a message in a log
BAL_LOG_EXCEPTION_ADD Add exception to a log
BAL_LOG_MSG_CUMULATE Add message cumulatively
BAL_LOG_MSG_REPLACE Replace last message
BAL_LOG_MSG_ADD_FREE_TEXT Add message as free text

Further information

Overview of the most important function groups

Quick start documentation

Application Log: Technical documentation





Parameters

E_S_MSG_DEFAULTS

Exceptions

Function Group

SBAL_TOOLBOX

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2415 Date: 20240601 Time: 234252     sap01-206 ( 37 ms )