SAP Reports / Programs

RSDB2_DB02 SAP ABAP Report - DB02 Space History Maintenance







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


Text pool values


Title: DB02 Space History Maintenance


INCLUDES used within this REPORT RSDB2_DB02

No INCLUDES are used within this REPORT code!


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:

STU3_ADMIN_DELETE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_DELETE_SQL_REMOTE' EXPORTING con_name = con_name del_stmt = sql_stmt commit = abap_true do_not_close_con = abap_false report_error_to_syslog = abap_false IMPORTING rows_processed = num_rows CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 others = 2.

STU3_ADMIN_DELETE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_DELETE_SQL_REMOTE' EXPORTING con_name = con_name del_stmt = sql_stmt commit = abap_true do_not_close_con = abap_false report_error_to_syslog = abap_false IMPORTING rows_processed = num_rows CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 others = 2.

STU3_ADMIN_SINGLE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_SINGLE_SQL_REMOTE' EXPORTING con_name = con_name stmt = sql_stmt result = result_ref do_not_close_con = abap_false report_error_to_syslog = abap_false is_structure = abap_true CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 OTHERS = 2.

STU3_ADMIN_SINGLE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_SINGLE_SQL_REMOTE' EXPORTING con_name = con_name stmt = sql_stmt result = result_ref do_not_close_con = abap_false report_error_to_syslog = abap_false is_structure = abap_true CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 OTHERS = 2.

STU3_ADMIN_SINGLE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_SINGLE_SQL_REMOTE' EXPORTING con_name = con_name stmt = sql_stmt result = result_ref do_not_close_con = abap_false report_error_to_syslog = abap_false is_structure = abap_true CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 OTHERS = 2.

STU3_ADMIN_SINGLE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_SINGLE_SQL_REMOTE' EXPORTING con_name = con_name stmt = sql_stmt result = result_ref do_not_close_con = abap_false report_error_to_syslog = abap_false is_structure = abap_true CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 OTHERS = 2.

STU3_GET_IFI_TRACE CALL FUNCTION 'STU3_GET_IFI_TRACE' EXPORTING remote_db_con = con_name IMPORTING trace_dir = trace_dir.

STU3_ADMIN_CALL_SAPCL CALL FUNCTION 'STU3_ADMIN_CALL_SAPCL' EXPORTING monitor_paras = monitor_paras remote_dbname = con_name close_con = 'X' perform_commit = 'X' IMPORTING sapcl_rc = sapcl_rc err_msg = err_msg EXCEPTIONS adbc_sql_error = 1 OTHERS = 2."#EC FB_RC

STU3_ADMIN_SINGLE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_SINGLE_SQL_REMOTE' EXPORTING con_name = con_name stmt = sql_stmt result = result_ref do_not_close_con = abap_false report_error_to_syslog = abap_false is_structure = abap_false CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 OTHERS = 2.

STU3_ADMIN_SINGLE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_SINGLE_SQL_REMOTE' EXPORTING con_name = con_name stmt = sql_stmt result = result_ref do_not_close_con = abap_false report_error_to_syslog = abap_false is_structure = abap_false CHANGING sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 OTHERS = 2.

STU3_ADMIN_UPDATE_SQL_REMOTE CALL FUNCTION 'STU3_ADMIN_UPDATE_SQL_REMOTE' EXPORTING con_name = con_name upd_stmt = sql_stmt commit = abap_true do_not_close_con = abap_false report_error_to_syslog = abap_false IMPORTING rows_processed = count sqlerr_ref = sqlerr_ref EXCEPTIONS adbc_sql_error = 1 OTHERS = 2.



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 RSDB2_DB02 or its description.