Ansicht
Dokumentation

BAL_CH_OTHERS -

BAL_CH_OTHERS -

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

|---------------------------------------------------------------------|
| Other function modules |
|---------------------------------------------------------------------|

Overview
======================================================================

Other function modules which have not been mentioned previously.

Roll area-independent processing
======================================================================

BAL_GLB_MEMORY_EXPORT puts the function group memory in ABAP-MEMORY.
This data can be fetched again with BAL_GLB_MEMORY_IMPORT. If logs already exist, the imported logs are added to the existing ones.

Data and existence checks
======================================================================

Certain checks are made on Application Log data. The Application Log object in the log header must exist. If you pass a message context, you must also specify the name of the underlying DDIC structure.

These checks are in BAL_LOG_HDR_CHECK and BAL_LOG_MSG_CHECK. They are made automatically when a message or log is created, but they are described here for reasons of modularity (for example if you want to use these checks in your own message collector).

You can check whether a log or message is still in memory (specifying the log or message handles) with the function modules BAL_LOG_EXIST and BAL_LOG_MSG_EXIST.

Read or check Application Log object and subobject
======================================================================

If you specify an object and subobject in a log header, the Application Log checks whether they exist and whether they belong together.

These functions are modular and autonomous and can be accessed externally:
BAL_OBJECT_SELECT ,,,,reads an Application Log object table record
BAL_SUBOBJECT_SELECT ,,reads a subobject table record
BAL_OBJECT_SUBOBJECT ,,checks whether object and subobject exist and the combination is allowed.

Log display: Detail screens
======================================================================

You can get various detail information about a message and the log header, in the log display, using modular function modules which can also be called independently of the log display. You pass the log or message handle and the language as import parameters.

  • Message detail screens:
  • BAL_DSP_MSG_LONGTEXT:
    Displays message long text.

  • BAL_DSP_MSG_PARAMETERS
    Either outputs the extended long text or calls a CALLBACK routine (depending on BAL_S_MSG-PARAMS)

  • BAL_DSP_MSG_TECHNICAL_DATA
    Outputs the message technical data such as work area, error number, etc.

  • Log header detail screen:
  • BAL_DSP_LOG_PARAMETERS
    Either outputs the extended long text or calls a CALLBACK routine (depending on BAL_S_LOG-PARAMS)

  • BAL_DSP_LOG_TECHNICAL_DATA
    Outputs all log header data

==>Note
These function modules output data like F1 help, i.e. the long text, extended long text, etc. can also be displayed amodally, depending on the user settings (Help -> Settings).






BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3728 Date: 20240510 Time: 124053     sap01-206 ( 43 ms )