SBAL_DEMO_06 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_06 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_DISP = Display logs
Selection Text: P_DELETE = Delete logs
Selection Text: P_CREATE = Generate log
Title: Application log: Demo program: Put complex data in a log
Text Symbol: 003 = Paris - Frankfurt
Text Symbol: 002 = Walldorf - Tokio
Text Symbol: 001 = Hamburg - New York
INCLUDE SBAL_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = c_log_handle EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = i_log_handle i_s_msg = l_s_msg EXCEPTIONS OTHERS = 1.
BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = l_t_log_handle IMPORTING e_new_lognumbers = l_t_new_lognumbers EXCEPTIONS OTHERS = 1.
BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = l_s_log_filter IMPORTING e_t_log_header = l_t_log_header EXCEPTIONS OTHERS = 1.
BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = l_t_log_header EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_DISPLAY_PROFILE = EXCEPTIONS OTHERS = 1.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = 'BAL_S_EX05' i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 80 i_screen_end_line = 10 TABLES t_outtab = g_my_header_data EXCEPTIONS OTHERS = 1.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = 'BAL_S_EX06' i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 80 i_screen_end_line = 10 TABLES t_outtab = l_my_message_data EXCEPTIONS OTHERS = 1.
BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = l_s_log_filter IMPORTING e_t_log_header = l_t_log_header EXCEPTIONS OTHERS = 1.
BAL_DB_DELETE CALL FUNCTION 'BAL_DB_DELETE' EXPORTING i_t_logs_to_delete = l_t_log_header EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SBAL_DEMO_06 - Application log: Demo program: Put complex data in a log SBAL_DEMO_06 - Application log: Demo program: Put complex data in a log SBAL_DEMO_05_S - Application Log: Doc: Display program SBAL_DEMO_05_S - Application Log: Doc: Display program SBAL_DEMO_05_E - Application Log: Doc: Run program via SELECTION-SCREEN SBAL_DEMO_05_E - Application Log: Doc: Run program via SELECTION-SCREEN