cancel
Showing results for 
Search instead for 
Did you mean: 

Textvariables with Replacement Path

Former Member
0 Kudos

Hi Network,

I have a calculation which shows the Percentage Share of a figure which only differs in the selected version.

The shown figure is calculated from 2 restricted figures which are restricted vie Variable Version 1 and the other via Variable Version 2 on the InfoObject Version. That's for example to find the variance between plan and actual:

sales volume Version 2 / sales Volume Version 1

The Version values are selected via a Variable.

I want to display in the figure description which Version is divided by the other <b>(Version2/Version1).</b>

The Versions are selected per variable on the variable screen. It is not working with text variables since the operands are restricted on the same characteristics.

Any idea how to get the different Version name in the description?

Any help is highly appreciated.

Thanks and regards

Christoph

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Christoph,

Right Click on Your Ristricted KeyFigure and Under Description enter whatever description you like to disply.

Cheers.

San.

former_member184494
Active Contributor
0 Kudos

Christoph,

Is this what you want to achieve ?

Sales Version1 | Sales Version 2| Version1/Version2 | Version 2/Version1

10 | 20 | 0.5 | 2

in this case you can change the labels of the RKF for v1/v2 and v2/v1, but am I missing the point here?

Could you give the expected report structure and current report structure?

Arun

Former Member
0 Kudos

Hi SAN, hi Arun,

In the restricted figure 1 I have a replacement path for Version 1. Version1 is a Variable.

in the restricted figure 2 I have a replacement path for Version 2. Version 2 is a Variable.

And now I calculate Figure1/Figure2 in a formula.

I want to get the value of the selected version frm figure 1 and 2 in the description of the calculated figure.

Thanks for your help in advance.

Regards

Christoph

former_member188325
Active Contributor
0 Kudos

Hi,

create two text variables one for Version1--TV1 and one for Version2-TV2.

In the description of Calculated KF,provide TV1 TV2 . provide TV2 in next line so that u can see like TV1 / TV2 in Query output.

Just try this.I am not sure whether it works.

Thanks

Former Member
0 Kudos

Murali,

thanks, but it doesn't work, as the characteristic is not in the calculated figure.

I just get the technical name of the replacement pathes displayed in the report.

Any other ideas?

Customer exits? I can not programm abap so I need help with it.

Thanks and regards

Christoph

former_member188325
Active Contributor
0 Kudos

Hi,

Have u checkd it? becoz we need not have the same characteristic in formula/CKF to use text variable on that characteristic .

Thanks

Former Member
0 Kudos

Hi Murali,

Yes I cheked it already and got just the technical names back in the report instead of the version values. ???

In the hide figures I get the correct values in the report.

Following warnings appears:

Diagnosis

Text variable Z_VERR02, which is found in the item "Sales revenue realisation &Z_VERR02", needs to be replaced by the value of the characteristic 0VERSION. This value is not clearly specified in the item "Sales revenue realisation &Z_VERR02". Therefore, no replacement takes place.

Diagnosis

Text variable Z_VERR01, which is found in the item "Sales revenue realisation &Z_VERR02", needs to be replaced by the value of the characteristic 0VERSION. This value is not clearly specified in the item "Sales revenue realisation &Z_VERR02". Therefore, no replacement takes place.

Regards

Christoph

former_member188325
Active Contributor
0 Kudos

Hi Christoph,

Just give a trail by taking 0VESRSION in Query designer???

Thanks

former_member188325
Active Contributor
0 Kudos

Hi,

you are using two verison variables on 0VERSION .That may be the reason to return tech name of text variables.to make sure this try to remove verison2 variable and TV2 also..

I am sorryy...i dont think we can use two text variables on same characteristic at a time.

Thanks

Message was edited by: Murali

Former Member
0 Kudos

Murali,

when I just have 1 of the two restricted figure in the calculation I get the Version displayed.

But I need both figures in the calculation and then also the both variable values.

Any other idea?

Thanks for supporting me with so much answers!

Regards

Christoph

Former Member
0 Kudos

Hi Christoph Weber,

As you said we would not get any problem upto text variables on individula RKS. We will get problem with Heder of the Formula(which built on the 2 RKFS). Becuse sytem gets confusion to take the value for Heder of the Formula .It does not know which one has to take.

So try this :

For Header text variable, define it as custoer exit variable ,not a simple display of two text variables.

In the user exit fill the text like this:

" Value entered for VAR1/Value entered for VAR2".

With rgds,

Anil Kumar Sharma .P

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Christoph,

You certainly should use a customer exit. You can find a lot of examples searching the forum.

See some examples here:

Best regards,

Eugene