RSSDBDEL 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 RSSDBDEL 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_CON = Name of Database Connection
Selection Text: P_DATE = Delete Older Than: (Date)
Selection Text: P_DAYS = Delete Older Than: (Days)
Selection Text: P_NOPOP = W/out Request for Confirmation
Title: Deletion of DBA History and DBA Action Logs
Text Symbol: 001 = Specify a Database Connection Name
Text Symbol: 002 = No Deletion to Be Made (Integration Data)
Text Symbol: 003 = Could not read DBA history
Text Symbol: 004 = Delete File:
Text Symbol: 005 = Error when deleting the log from:
Text Symbol: 006 = Delete from DBAHIST File
Text Symbol: 007 = Error when deleting actions from the DBA history
Text Symbol: 008 = Delete from DBA Action Logs (&)
Text Symbol: 009 = DBA action logs from before & will be deleted
Text Symbol: 010 = These actions can then no longer be displayed.
Text Symbol: 011 = Are you sure that you want to delete the DBA action logs?
INCLUDE SDB_CLIENT_SEPARATION.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "#EC FB_OLDED EXPORTING defaultoption = 'N' diagnosetext1 = lv_text2 diagnosetext2 = text-010 * DIAGNOSETEXT3 = textline1 = text-011 * TEXTLINE2 = ' ' titel = lv_text1 * START_COLUMN = 25 * START_ROW = 6 cancel_display = ' ' IMPORTING answer = lv_answer.
GET_DBAHIST_SDB CALL FUNCTION 'GET_DBAHIST_SDB' EXPORTING con_name = gv_con_name use_dbmrfc = 'C' TABLES dbahist = lt_dbahist RESULT = lt_result EXCEPTIONS offset_error = 1 no_dbcon_entry = 2 no_dbconusr_entry = 3 get_connect_info_error = 4 dbm_getf_error = 5 no_dbahist_found = 6 OTHERS = 7.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' EXPORTING services = '25' TABLES list = lt_servertab EXCEPTIONS OTHERS = 0.
DEL_DBA_FILE_SDB CALL FUNCTION 'DEL_DBA_FILE_SDB' DESTINATION lt_servertab-name EXPORTING protname = lv_command comm_txt = lv_comm_txt EXCEPTIONS del_dataset_error = 1 not_a_dba_log_file = 2 OTHERS = 3.
FIND_DB_APPLICATION_SERVER CALL FUNCTION 'FIND_DB_APPLICATION_SERVER' IMPORTING servername = lv_appserver EXCEPTIONS no_application_server = 1 OTHERS = 2.
DEL_DBA_FILE_SDB CALL FUNCTION 'DEL_DBA_FILE_SDB' DESTINATION lv_appserver EXPORTING protname = lv_command comm_txt = lv_comm_txt EXCEPTIONS del_dataset_error = 1 not_a_dba_log_file = 2 OTHERS = 3.
FIND_DB_APPLICATION_SERVER CALL FUNCTION 'FIND_DB_APPLICATION_SERVER' IMPORTING servername = lv_appserver EXCEPTIONS no_application_server = 1 OTHERS = 2.
DEL_DBA_FILE_SDB CALL FUNCTION 'DEL_DBA_FILE_SDB' DESTINATION lv_appserver EXPORTING protname = lv_command comm_txt = lv_comm_txt EXCEPTIONS del_dataset_error = 1 not_a_dba_log_file = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.