SAP Reports / Programs

SBAL_DEMO_CONTROL_SIMPLE SAP ABAP Report - Application Log: Demo program: Display log as Control







SBAL_DEMO_CONTROL_SIMPLE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SBAL_DEMO_CONTROL_SIMPLE into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SBAL_DEMO_CONTROL_SIMPLE. "Basic submit
SUBMIT SBAL_DEMO_CONTROL_SIMPLE AND RETURN. "Return to original report after report execution complete
SUBMIT SBAL_DEMO_CONTROL_SIMPLE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Application Log: Demo program: Display log as Control
Text Symbol: 001 = Entry not found
Text Symbol: F01 = Airline
Text Symbol: F02 = Flight no.
Text Symbol: F03 = Flgt date
Text Symbol: F04 = Customer No.
Text Symbol: F05 = Invoice
Text Symbol: REF = Refresh


INCLUDES used within this REPORT SBAL_DEMO_CONTROL_SIMPLE

SBAL_CONSTANTS,
SBAL_BOOLEAN,


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = g_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_log_handle i_s_msg = l_s_msg EXCEPTIONS OTHERS = 1.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = i_log_handle IMPORTING e_statistics = l_statistics EXCEPTIONS OTHERS = 1.

BAL_CNTL_CREATE CALL FUNCTION 'BAL_CNTL_CREATE' EXPORTING i_container = g_container i_s_display_profile = l_s_display_profile * I_S_PRINT_OPTIONS = * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = i_t_log_handle = l_t_log_handle * I_T_MSG_HANDLE = IMPORTING e_control_handle = g_control_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 OTHERS = 3 .

BAL_CNTL_REFRESH CALL FUNCTION 'BAL_CNTL_REFRESH' EXPORTING i_control_handle = g_control_handle * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = i_t_log_handle = l_t_log_handle * I_T_MSG_HANDLE = * IMPORTING * E_NO_DATA_AVAILABLE = * E_NO_AUTHORITY = EXCEPTIONS control_not_found = 1 internal_error = 2 OTHERS = 3.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = g_log_handle EXCEPTIONS OTHERS = 1.

BAL_CNTL_FREE CALL FUNCTION 'BAL_CNTL_FREE' CHANGING c_control_handle = g_control_handle EXCEPTIONS OTHERS = 1.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = c_s_display_profile.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = c_s_user_command_data-list_msgh IMPORTING e_s_msg = l_s_msg EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SBAL_DEMO_CONTROL_SIMPLE or its description.