SDBLSF02 is a standard ABAP INCLUDE 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 SDBLSF02 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_APPL_RELINFO_ALL_SDB CALL FUNCTION 'GET_APPL_RELINFO_ALL_SDB' EXPORTING con_name = g_con_name TABLES et_srv_relinfo = lt_sdbrelinfo.
ADA_PING_TO_APPL_SERVER CALL FUNCTION 'ADA_PING_TO_APPL_SERVER' EXPORTING destination = ls_sdbrelinfo-name timeout = iv_timeout IMPORTING client_exists = client_software EXCEPTIONS no_path_variable = 1 no_authority = 2 open_error = 3 no_environment_info = 4 system_failure_1 = 5 communication_failure_1 = 6 system_failure_2 = 7 communication_failure_2 = 8 time_out = 9 OTHERS = 10.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_DISCONNECT' " 'ICON_INCOMPLETE' info = 'Keine Berechtigung'(175) add_stdinf = ' ' IMPORTING result = gs_appl_outtab-check_smode EXCEPTIONS OTHERS = 0.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_DISCONNECT' " 'ICON_INCOMPLETE' info = 'RFC-Verbindung zu Server nicht möglich'(174) add_stdinf = ' ' IMPORTING result = gs_appl_outtab-check_smode EXCEPTIONS OTHERS = 0.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_WARNING' info = 'Kein MaxDB Client installiert.'(161)
CHECK_CONNECTION_SDB CALL FUNCTION 'CHECK_CONNECTION_SDB' EXPORTING iv_con_name = g_con_name IMPORTING ev_check_not_ok = lv_not_ok TABLES et_connectinfo = lt_result.
ADA_PING_TO_APPL_SERVER CALL FUNCTION 'ADA_PING_TO_APPL_SERVER' EXPORTING destination = gs_appl_outtab-appl_name timeout = rfc_timeout EXCEPTIONS system_failure_1 = 1 communication_failure_1 = 1 system_failure_2 = 1 communication_failure_2 = 1 time_out = 2 OTHERS = 3.
CHECK_CONNECTION_SDB CALL FUNCTION 'CHECK_CONNECTION_SDB' DESTINATION gs_appl_outtab-appl_name EXPORTING iv_con_name = g_con_name IMPORTING ev_check_not_ok = lv_not_ok TABLES et_connectinfo = lt_result EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_CHECKED' info = 'Verbindungstest erfolgreich'(102) add_stdinf = ' ' IMPORTING result = gs_appl_outtab-check_smode EXCEPTIONS OTHERS = 0.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INCOMPLETE' info = 'Verbindungstest fehlerhaft'(103) add_stdinf = ' ' IMPORTING result = gs_appl_outtab-check_smode EXCEPTIONS OTHERS = 0.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_INACTIVE' info = 'SQL Statement nicht ausführbar'(101) add_stdinf = ' ' IMPORTING result = gs_appl_outtab-check_smode EXCEPTIONS OTHERS = 0.
GET_DBMCONNECT_INFO_SDB CALL FUNCTION 'GET_DBMCONNECT_INFO_SDB' EXPORTING con_name = g_con_name IMPORTING dbname = lv_dbname dbserver = lv_dbserver profile = lv_profile EXCEPTIONS no_dbcon_entry = 1 no_dbconusr_entry = 2 get_profile_error = 3 no_string_entry = 4 lc_split_error = 5 get_profile_error_no_dbcon = 6 OTHERS = 7.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = question IMPORTING answer = answer.
DELIVER_STARTED_DAEMON_SDB CALL FUNCTION 'DELIVER_STARTED_DAEMON_SDB' EXPORTING force_restart = 'X' IMPORTING errtab = lt_errtab[] EXCEPTIONS communication_failure = 1 gwy_monitor_disabled = 2 setting_enqueue_failure = 3 no_permission = 5 OTHERS = 4.
DELIVER_STARTED_DAEMON_SDB CALL FUNCTION 'DELIVER_STARTED_DAEMON_SDB' DESTINATION gs_appl_outtab-appl_name EXPORTING force_restart = 'X' IMPORTING errtab = lt_errtab[] EXCEPTIONS communication_failure = 1 gwy_monitor_disabled = 2 setting_enqueue_failure = 3 no_permission = 5 OTHERS = 4.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = question IMPORTING answer = answer.
DELIVER_STARTED_DAEMON_SDB CALL FUNCTION 'DELIVER_STARTED_DAEMON_SDB' EXPORTING force_restart_with_trace = 'X' IMPORTING errtab = lt_errtab[] EXCEPTIONS communication_failure = 1 gwy_monitor_disabled = 2 setting_enqueue_failure = 3 no_permission = 5 OTHERS = 4.
DELIVER_STARTED_DAEMON_SDB CALL FUNCTION 'DELIVER_STARTED_DAEMON_SDB' DESTINATION gv_appl_name EXPORTING force_restart_with_trace = 'X' IMPORTING errtab = lt_errtab[] EXCEPTIONS communication_failure = 1 gwy_monitor_disabled = 2 setting_enqueue_failure = 3 no_permission = 5 OTHERS = 4.
CALL FUNCTION 'SAPDB_DBM_DAEMON_STOP' EXCEPTIONS no_permission = 1 OTHERS = 2.
SAPDB_DBM_DAEMON_STOP CALL FUNCTION 'SAPDB_DBM_DAEMON_STOP' DESTINATION gv_appl_name EXCEPTIONS no_permission = 1 OTHERS = 2.
ADA_POPUP_WITH_TABLE CALL FUNCTION 'ADA_POPUP_WITH_TABLE' EXPORTING startpos_col = 5 startpos_row = 5 titletext = 'dev_sapdbmrfc' TABLES valuetab = outfile EXCEPTIONS OTHERS = 2.
RS_CONFIRM_DELETE CALL FUNCTION 'RS_CONFIRM_DELETE' EXPORTING objektklasse = ' ' objektname = lv_text IMPORTING answer = answer.
ADA_POPUP_WITH_TABLE CALL FUNCTION 'ADA_POPUP_WITH_TABLE' EXPORTING startpos_col = 5 startpos_row = 5 titletext = 'dbmrfc.trc'
RS_CONFIRM_DELETE CALL FUNCTION 'RS_CONFIRM_DELETE' EXPORTING objektklasse = ' ' objektname = lv_text IMPORTING answer = answer.
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 SDBLSF02 or its description.