Presentation

In order to delete un-used queries that may polute the system, it is necessary to run a cleaning process from time to time.This is necessary in order to :

General rule

To be deleted queries not used for more than a year

 if you are not sure, do not delete it.

Frequency / Servers

This should be done every 6 months as a minimum and can be run at any time in between.

This has to be run only on the WBP and PQ1 servers.

Procedure

Be careful to select on the column "Delete".  The first column does not consider for this tcode.  For example this screen shot below, it will delete all queries that Deletion flag is selected although he first column is not selected

(minus) Please ensure that "Delete" column uncheck for the query that should not be deleted

You can safely delete :

Exceptions (Do Not Delete Queries): 

To delete queries in these exceptions it is necessary to first analyse the usage case by case

All servers

WBP

+ you can check the usage of the query on the 18 months ago to be sure that the queries are not used anymore by someone.

How to check the query deleted by RSZDELETE

Tcode SLG1 and enter object RSZ* 

Note: Basically the RSZDELETE generates logs under object ID = 'RSZ'. Function module 'RSDG_WRITE_PROTOCOL' is used for that.

Result