cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Attribute Transformation fails: Cycle found in the calculation chain of the key figure

leventoturak
Participant
0 Likes
1,311

Hello experts,

I am trying to shift value of a Key Figure (ZREMAINDER) to a other Key Figure (ZREMAINDER1M) through Attribute Transformation a month forward. What i am waiting from result, should look like in Excel following:

The ZREMAINDER is a calculation Key Figure and is defined at the planning level ZMATLOC.

I am using a Helper Key Figure (HREMAINDER) to avoid using the input and output Key Figures at the same planning levels.

The Definition of the Output Key Figure ZREMAINDER1M looks like following.

and the Attribute Transformation (PERIODID3) has been defined as following.

Note: The Planning level ZMATLOC1M has been copied from the ZMATLOC planning level.

If i try to activate the planning area, then i am getting a error message as following.

Cycle found in the calculation chain of the key figure.

Cycle contains the following edges of the calculation graph:

Calculation ZFCFINAL@ZMATLOC uses ZREMAINDER1M@ZMATLOC as input.

Calculation ZREMAINDER@ZMATLOC uses ZFCFINAL@ZMATLOC as input.

Calculation ZREMAINDER@ZMATLOC uses ZREMAINDER1M@ZMATLOC as input.

Calculation HREMAINDER@ZMATLOC1M uses ZREMAINDER@ZMATLOC as input.

Calculation ZREMAINDER1M@ZMATLOC uses HREMAINDER@ZMATLOC1M as input.

This Error message can be found under the OSS Note 2489887 - Planning Area activation/check fails with E: Cycle found in the key figure calculation chain. It says as resolution that I should ensure that the input planning level & output planning level are different.

This error message disappears and the planning are can be activated, if i select the Key Figure ZREMAINDER as Stored.

This action can solve the error message and activate the planning area, but the Attribute Transformation does not work still.

Why can I not create the Attribute Transformation as above, although i am using a Help Key Figure with different planning levels?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Irmi_Kuntze
Product and Topic Expert
Product and Topic Expert

You try to move by one month for a KF that is calculated based on itself, no matter if you use a helper in between or not, cross periods

That unfortunately is not possible. It is like classical forecast consumption, this would required LCode, which you can request per OS note

2298382 - Requesting L-Code from SAP

If you had a solution for this problem without LCode, and without a DISAGG operator and a lot of additional key figures, you would be my personal hero !

gaurav_guglani87
Explorer
0 Likes

Hi Irmi,

Almost 3 years on from the day you put this comment, do we now have a solution for this problem where i want to use the previous month's value of the same key figure in a calculation graph?

Can We perform this without the use of a copy operator.

Regards

Gaurav Guglani

Answers (1)

Answers (1)

Irmi_Kuntze
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Gaurav

next time please create a new thread if the old one is 3 years old..

And yes, so much has changed. Since quite a long time now we have the simplified key figure configurations described the model configuration guide, e.g. the IBP_PERIODSHIFT operator you can use in KF calculations.

Irmi