Ansicht
Dokumentation

BAL_CH_DISPLAY_CONTROL -

BAL_CH_DISPLAY_CONTROL -

PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

|---------------------------------------------------------------------|
| Log display in Control Container |
|---------------------------------------------------------------------|

Functionality

The Application Log can be displayed in any Control container.

Example

The program SBAL_DEMO_04_CONTROL shows an integration example
(==>Run ==>Coding).

Related function modules

BAL_CNTL_CREATE,,Create Control
BAL_CNTL_REFRESH,,Refresh with new data
BAL_CNTL_FREE,,,,Delete Control

Procedure
==========================================================

Create Control container

e.g. in a screen with a Custom container,
as amodal dialog box, etc. (see the associated classes).

Create Application Log Control with BAL_CNTL_CREATE

Pass the container in which the control is to appear to this module in I_CONTAINER.

The parameter I_S_DISPLAY_PROFILE (display profile) specifies the display format (see here).
The standard contains pre-defined display profiles which you can use (see here).

The parameter I_T_LOG_HANDLE specifies the log to be displayed. These logs must already be in Application Log main memory.
Logs are in main memory if they have just been created and not yet deleted, or they have been loaded from the database with the function module BAL_DB_LOAD.
If I_T_LOG_HANDLE is empty, all data in main memory is taken.

You can restrict the data to be displayed with the parameters I_S_LOG_FILTER, I_T_LOG_CONTEXT_FILTER, I_T_MSG_HANDLE, I_S_MSG_FILTER, I_T_MSG_CONTEXT_FILTER (see here).

The exporting parameter E_CONTROL_HANDLE is a handle for this control with which you can give it new data (BAL_CNTL_REFRESH) or delete (BAL_CNTL_FREE).

The exporting parameters E_NO_DATA_AVAILABLE and E_NO_AUTHORITY are 'X' if there are no messages in main memory which satisfy the criteria or you are not authorized to display, respectively.

Refresh data with BAL_CNTL_REFRESH

This module refreshes the displayed dataset (e.g. because there are new logs or because the messages in a log have changed).
The parameter I_CONTROL_HANDLE indicates the control to be refreshed.
The other parameters define the dataset to be displayed, analogously to the function module BAL_CNTL_CREATE.

Delete control with BAL_CNTL_FREE

This module deletes the control with the handle I_CONTROL_HANDLE on the frontend and releases the resources in the ABAP.






ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.

Length: 3265 Date: 20240510 Time: 214221     sap01-206 ( 38 ms )