RSAQ_DEL_QUERY_PROT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Delete log data You can find information on the use of this report in the customizing activity
If you would like to execute this report or see the full code listing simply enter RSAQ_DEL_QUERY_PROT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SQ00_DEL_PROT - SAP Query: Delete log data
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: FUNCAREA = D InfoSet
Selection Text: TABNAME = D Table Name
Selection Text: TSP_DATE = Date
Selection Text: TSP_TIME = D Time
Selection Text: USERNAME = D User name
Selection Text: WORKAREA = Global work area
Title: InfoSet Query - Deleting log entries
Text Symbol: 001 = Delete log entries
Text Symbol: 002 = & records deleted.
Text Symbol: 003 = Delete?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
VIEW_AUTHORITY_CHECK CALL FUNCTION 'VIEW_AUTHORITY_CHECK' "note 1557277 EXPORTING view_name = g_tabname EXCEPTIONS no_authority = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-001 text_question = question default_button = '2' display_cancel_button = 'X' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = g_repid dynumb = g_dynnr TABLES dynpfields = l_dynpfields_tab EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.
RSAQSUL_SELECT_FUNC_AREA CALL FUNCTION 'RSAQSUL_SELECT_FUNC_AREA' EXPORTING sul_workspace = l_workspace sul_transcode = 'SQ03' IMPORTING sul_func_area = p_funcarea EXCEPTIONS 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.
RSAQ_DEL_QUERY_PROT - InfoSet Query - Deleting log entries RSAQ_DEL_QUERY_PROT - InfoSet Query - Deleting log entries RSAQ_CLEANUP_QUERY_VARIANTS - Cleansing report for query variables according to client copy RSAQ_CLEANUP_QUERY_VARIANTS - Cleansing report for query variables according to client copy RSAQ_CLEANUP_AQGTQ - Program RSAQ_CLEANUP_AQGTQ RSAQ_CLEANUP_AQGTQ - Program RSAQ_CLEANUP_AQGTQ