Documente Academic
Documente Profesional
Documente Cultură
it's not so easy to check which queries use given aggregate. There was a need to optimize the
aggregates which were created on different occassions but to do this I had to know which queries
work with them.
Checking if an aggregate was used by any query is possible in RSA1 in Maintain aggregates
option against a given cube. We can see here how many times an aggregate was used since its
last activation.
1. RSDDSTAT_DM,
2 RSDDSTAT_OLAP.
We have to use both tables because none of them contain all the fields that we need i.e. an
aggregate number and a querys technical code.
In RSDDSTAT_DM we have an aggregate number and STEPUID field which we use to join that
table with RSDDSTAT_OLAP.
We dont have in this table the query technical code.
The simplest possible way (no ABAP, no need to define BW data source) to combine the data
mentioned above is to use SAP Quick Viewer functionality (T-Code: SQVI).
All we need to do now is to define and run query joining the data.
7. Define which fields should be displayed in a query and which should be used in filter. Use
approprate checkboxes to do it.
9. Save changes