SBAL_DEMO_03 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_03 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_CARRID = D Airline
Selection Text: P_FLDATE = D Flight date
Title: Application Log: Demo program: Get/read data in main memory
Text Symbol: RES = Result:
Text Symbol: SEE = See log
Text Symbol: TRA = Transaction:
Text Symbol: USR = Performed by:
Text Symbol: LOG = Display log
Text Symbol: 001 = Settlement of all flights for:
Text Symbol: C01 = Hamburg - New York
Text Symbol: C02 = Hamburg - Toronto
Text Symbol: C03 = Hamburg - Madrid
Text Symbol: CAR = Settlement airline
Text Symbol: DAT = Date
Text Symbol: END = Exit transaction
INCLUDE SBAL_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
BAL_GLB_SEARCH_LOG CALL FUNCTION 'BAL_GLB_SEARCH_LOG' EXPORTING i_s_log_filter = g_s_log_filter IMPORTING e_t_log_handle = g_t_log_handle EXCEPTIONS OTHERS = 1.
BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = g_log_handle IMPORTING e_s_log = g_s_log e_txt_altcode = g_txt_altcode EXCEPTIONS OTHERS = 0.
BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_s_log_filter = g_s_log_filter i_s_msg_filter = g_s_msg_filter IMPORTING e_t_msg_handle = g_t_msg_handle EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = g_msg_handle IMPORTING e_txt_msg = g_text3 EXCEPTIONS OTHERS = 1.
POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING textline1 = g_text1 textline2 = g_text2 textline3 = g_text3 text_option1 = 'Protokoll anzeigen'(log) text_option2 = 'Transaktion beenden'(end) titel = space cancel_display = ' ' IMPORTING answer = g_answer.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = g_t_log_handle i_s_display_profile = g_s_display_profile EXCEPTIONS OTHERS = 1.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = l_s_msg_defaults-log_handle EXCEPTIONS OTHERS = 1.
BAL_GLB_MSG_DEFAULTS_SET CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_SET' EXPORTING i_s_msg_defaults = l_s_msg_defaults EXCEPTIONS OTHERS = 0.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * I_LOG_HANDLE = i_s_msg = l_s_msg EXCEPTIONS log_not_found = 0 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_03 - Application Log: Demo program: Get/read data in main memory SBAL_DEMO_03 - Application Log: Demo program: Get/read data in main memory SBAL_DEMO_02_S - Application Log: Doc: Display program SBAL_DEMO_02_S - Application Log: Doc: Display program SBAL_DEMO_02 - Application Log: Demo program: Various ways of collecting messages SBAL_DEMO_02 - Application Log: Demo program: Various ways of collecting messages