SAP Message R9091 - Variable &1 cannot be deleted (still used in queries) DOCUMENTATION DiagnosisThe variable is still used in queries.ProcedureIf you want to delete the variable, you must first remove the variablesfrom the queries in which they are used.