cancel
Showing results for 
Search instead for 
Did you mean: 

Comparison of different hierarchy levels in columns

Former Member
0 Kudos

Dear all,

I've a very interesting reporting requirement and not sure how to solve. The requirement is based on one key figure and one characteristic with a hierarchy. At first I want to select a Hierarchy node at the variable screen. I want to display the value of the keyfigure for this choosen hierarchy node in the firest of my three cols. Then there exists a rule which defines for each hierachy node 2 reference levels. These levels are defined by a node and depend on the choosen first node. The other two levels are called reference level 2 and 3. Now I want to show the node values for the same key figure in col 2 and 3. So far I've created three hierarchy node variables. The first is ready for data entry and selects my lowest level. The two other variables uses a customer exit to calculate the node by the rule. Then I assigned each variable to a selection in my columns to select the data for each node. That works fine.

Now I describe my problem. I've to display in the same row which displays my aggregated key figure in three cells the cha. which is used in the selection of each row. How can I do that?

Here an example:
Org. Hierarchy:

Group

|- Node 4711

   |- Node 4811

Expected result:
Org. Unit (entered)Org. Unit (ref. 2)Org. Unit (ref. 3)KYF (Sum of entered node)KYF (Sum of ref. 2)KYF (Sum of ref. 3)
4811 (and Text)4711 (and Text)Group (and Text)2518



Accepted Solutions (0)

Answers (1)

Answers (1)

vinay_lohakare5
Contributor
0 Kudos

Hello,

Do you need to show 4811 (2) 4711 (5) Group (18)

Thanks,

Vinay

Former Member
0 Kudos

Yes, because I need the texts in CR to describe my data.

vinay_lohakare5
Contributor
0 Kudos

Hello,

Use the text variables to get the result.

Thanks,

Vinay

Former Member
0 Kudos

Yes, but how can I integrate three columns with text variables?

vinay_lohakare5
Contributor
0 Kudos

Integrate three column?

What is the requirement, please give an example for my better understanding.

Thanks,

Vinay

Former Member
0 Kudos

You see my example above. I've one CHA in my rows and three selections in my cols. The tree cols are selected by a hierarchy node of an Org. unit CHA. Now I get for each value of my row CHA a seperate row with the three selected KYF. Now I need in each row additionally the text of the hierarchy node which is used in my selected KYF.

CHAOrg Unit node
Org Unit node Ref. 2
Org Unit node Ref. 3
KYF selection for Org unit node (4811)
KYF selection for Org unit node Ref. 2 (4711)
KYF selection for Org unit node Ref. 3 (Group)
A48114711Group3517
B

4811

4711Group51934
C48114711Group134

The three columns are marked.

vinay_lohakare5
Contributor
0 Kudos

Hello,

If you need the text of the node that you have selectedi.e. 4811 (text fo 4811),you need to enable the text at the BEx query level.

In your case Select the Org Unit and go to display tab and select KEy and TExt.

I hope this is what you want.

Thanks,

Vinay

Former Member
0 Kudos

The problem is, that I have no CHA Org unit in my rows, because then my selections in the columns grap only the data of the current org. unit row. The Org Unit is only in the KYF selections of my columns.