SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Basis Application Log(BC-SRV-BAL) SAP BC

SBAL_DEMO_02 SAP ABAP Report - Application Log: Demo program: Various ways of collecting messages







SBAL_DEMO_02 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_02 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_02. "Basic submit
SUBMIT SBAL_DEMO_02 AND RETURN. "Return to original report after report execution complete
SUBMIT SBAL_DEMO_02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_FLDATE = D Flight date
Selection Text: P_CONNID = D Connection number
Selection Text: P_CARRID = D Airline
Title: Application Log: Demo program: Various ways of collecting messages
Text Symbol: 002 = Flight check for passenger flight (not air freight)
Text Symbol: 001 = Flight check


INCLUDES used within this REPORT SBAL_DEMO_02

INCLUDE SBAL_CONSTANTS.


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_GLB_MSG_DEFAULTS_GET CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_GET' IMPORTING e_s_msg_defaults = l_s_msg_defaults EXCEPTIONS OTHERS = 0.

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_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log EXCEPTIONS OTHERS = 1.

BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = l_s_display_profile 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 = l_s_display_profile EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_CUMULATE CALL FUNCTION 'BAL_LOG_MSG_CUMULATE' EXPORTING * I_LOG_HANDLE = i_s_msg = l_s_msg EXCEPTIONS LOG_NOT_FOUND = 0 OTHERS = 1.

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.

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.

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.

BAL_LOG_MSG_REPLACE CALL FUNCTION 'BAL_LOG_MSG_REPLACE' EXPORTING * I_LOG_HANDLE = i_s_msg = l_s_msg EXCEPTIONS LOG_NOT_FOUND = 0 OTHERS = 1.

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.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING * I_LOG_HANDLE = i_msgty = 'S' i_text = i_text EXCEPTIONS LOG_NOT_FOUND = 0 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_02 or its description.