Passing YTD selection from a main query to a detailed query using RRI
We have created two queries: one main query on an infocube for aggregated data, one detailed query on the feeding DSO for data at the level of sales document items.
Both queries show monthly and YTD (year-to-date) actual cost figures.
The user enters for instance the month of 05.2005 on the main query in a variable ZP_MONTH.
A user exit variable ZS_YTD is calculated so that the interval 01.2005 - 05.2005 is stored in ZS_YTD.
Revenues in the month are displayed in one column.
Revenues in the YTD period are displayed in another column.
Assume the data is displayed by document types.
Then the user should select the document type and perform a jump target (Goto) to the detailed query to see which sales document items are contributing to the total revenues behind the document type.
We have defined a ZS_YTD_2 variable on the detailed query. It is used in the field assignments in the RSBBS transaction to receive the 0CALMONTH selection (in our case 01.2005 - 05.2005). Then on the detailed query, we defined another userexit variable to capture the selected month based on ZS_YTD_2.
Our issue is that when the user goes from the main query to the detailed query, the variable screen of the detailed query is being displayed with the variable ZS_YTD_2 open and the user can even change the selection there.
Is it possible to remove the display of this intermediate variable screen?