Ansicht
Dokumentation
BAL_CH_DISPLAY_SUBSCREEN -
TXBHW - Original Tax Base Amount in Local Currency ABAP Short ReferenceThis documentation is copyright by SAP AG.
|---------------------------------------------------------------------|
| 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.
CL_GUI_FRONTEND_SERVICES - Frontend Services ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 2791 Date: 20240510 Time: 104239 sap01-206 ( 31 ms )