Ansicht
Dokumentation

BAL_DSP_OUTPUT_INIT - Application Log: Subscreen output: Initialization

BAL_DSP_OUTPUT_INIT - Application Log: Subscreen output: Initialization

Vendor Master (General Section)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

|---------------------------------------------------------------------|
| Display log in subscreen |
|---------------------------------------------------------------------|

Functionality

The Application Logs can be displayed as a subscreen.

Example

Program SBAL_DEMO_04_SUBSCREEN shows how to display logs in a subscreen
(==>Run ==>Coding).

Related function modules

BAL_DSP_OUTPUT_INIT,,,,Initialize output
BAL_DSP_OUTPUT_SET_DATA,,Define dataset to be displayed
BAL_DSP_OUTPUT_FREE,,,,End output

Procedure

  • Define subscreen area in user screen
    e.g. in a Tabstrip (subscreen area name MY_SUBSCREEN).

    CALL SUBSCREEN MY_SUBSCREEN INCLUDING 'SAPLSBAL_DISPLAY' '0101' must be called at PBO.
    At PAI only:
    CALL SUBSCREEN MY_SUBSCREEN.
  • Before calling screen or only once at PBO
    Initialize the display with function module BAL_DSP_OUTPUT_INIT, which has the IMPORTING parameter Display profile, which controls how the data are to be displayed.
  • ==>CAUTION
    USE_GRID = 'X' must be in this display profile and is not necessarily set by the standard function modules BAL_DSP_PROFILE_...

  • After calling BAL_DSP_OUTPUT_INIT
    Call function module BAL_DSP_OUTPUT_SET_DATA, which defines the dataset to be displayed.
    This function module can be called several times if, e.g. the dataset to be displayed has changed.
    It has similar parameters to the function module BAL_DSP_LOG_DISPLAY and gets Filter criteria which determine which of the data in memory are to be displayed.
  • End display
    Call function module BAL_DSP_OUTPUT_FREE to close Controls and release resources.

==>Note
The function modules BAL_DSP_OUTPUT_INIT and BAL_DSP_OUTPUT_FREE are always called as a pair; they increment and decrement the program-internal Application Log stack respectively.
This logic lets you display another log (e.g. in a popup) in log display.

Further information

Overview of the most important function groups

Quick start documentation

Application Log: Technical documentation





Parameters

I_S_DISPLAY_PROFILE

Exceptions

Function Group

SBAL_DISPLAY

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3366 Date: 20240523 Time: 223749     sap01-206 ( 44 ms )