There are some reporting scenarios where we need to use time characteristics based hierarchy. These hierarchies based on various time characteristics can be activated using the transaction code RSRHIERARCHYVIRT.
Here we can select a suitable hierarchy, based on our reporting needs, from a list of available hierarchies. These hierarchies are known as Virtual Time Hierarchy as these are not saved in database tables, but generated virtually in the main memory.
The procedure to activate these hierarchies is as follows:
1. Go to the transaction code RSRHIERARCHYVIRT
2. We get the following screen on executing this T-Code.
/wp-content/uploads/2014/05/1_444691.png
3.Here under the General Settings tab we see a time interval which basically shows the duration for which the time characteristics hierarchies will be available. We can change the time duration as per our requirement.
4. Now for activating the desired hierarchy we click the tab Virtual Time Hierarchies.
/wp-content/uploads/2014/05/2_444692.png
Here we get to see list of all the available hierarchies.
In the left pane we can see all the activated time characteristics (date, Cal. Year/Month, Calendar Month, Fiscal Year/period etc.) for which hierarchies are supported in characteristics maintenance.

5. We select the required time characteristic using the button as shown below(for example Cal. Year /month).

/wp-content/uploads/2014/05/3_444706.png
Once we click on the required time characteristics, we get to see the available hierarchies in the right upper screen area.
6. Next step is to select the hierarchy by double clicking it or dragging and dropping it on the lower right screen area.

/wp-content/uploads/2014/05/4_444694.png

In this case we have selected “cal. year/ quar.” present under “half year” hierarchy. In the lower half of the screen the start level for this hierarchy can be selected.
/wp-content/uploads/2014/05/6_444703.png
With the start level, you determine the level to which the hierarchy is expanded in the opening
drilldown.
For example , here we have selected “Half Year” as the starting point, so the order of the node in which the hierarchy can be used to drill down is “Half Year” -> “Cal. Year /Quar.” – > “Cal. Year / Month” .
7. The last step is to save the changes and note the technical name of the hierarchy.
/wp-content/uploads/2014/05/7_444705.png
8. Now we are ready to use this activated hierarchy in our Bex query designer. Here we start creating a query on our infoprovider which has the field “Cal, Year / Month”.
/wp-content/uploads/2014/05/8_444697.png
9. Under properties of the Cal. Year/ Month, click on hierarchy tab and then click on the button meant for hierarchy selection as shown below.
/wp-content/uploads/2014/05/9_444698.png
The pop-up appears for selection of the available hierarchy. Once we click on the drop-down for hierarchy name we get to see the hierarchy activated earlier.
/wp-content/uploads/2014/05/10_444699.png
We select this hierarchy and click ok.

One key figure has already been included for testing the query. Now we save this query and see the output in the transaction RSRT.

Here we can see the half years further subdivided into quarter and then the respective months.

/wp-content/uploads/2014/05/11_444700.png
/wp-content/uploads/2014/05/12_444701.png

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply