SAP Message RS_BW_BCT_RPA_MSG001 - Enter a valid query for the moving average determination

Diagnosis
You have not specified a query to determine the moving average or youhave specified one that is not intended for this function.

Procedure
Use the input help to select the query that is intended for determiningthe valuation factor (moving average). The program only works properlywith this query.
The query must contain the following components:
Characteristics in the rows:
,,Tech. Name,,Description
,,0PLANT,,Plant
,,0MATERIAL,,Material
Key figures:
,,Tech. Name,,,,Description,,
,,0CPTSTREBU,,Total Valuated Stock Receipts / BUn
,,0CPTSTREPV,,Total Valuated Stock Receipts / Cost
Variables (optional):
,,Tech. Name,,Description
,,0S_MAT,,Material (Selection options, optional)
,,0S_PLANT,,Plant (Selection options, optional)
You should limit the query with these three criteria at least.
You could also limit the query using a time-based criterion (dependingon underlying Infoprovider) if the determination of the valuation factor(moving average) is only to be performed for a certain time period.
You should definitely limit the quantity of data to be read to improvethe program runtime for the possible plant-material combinations.