Checks for Stored Key Figures Read from Incompatible Input Planning Levels
As part of the normalization project, we provide activation checks that help you to spot and fix erroneous configuration that would prevent the normalization of your data model. These checks indicate if there are calculation definitions where the stored value of a key figure is used at an input planning level other than its base planning level; and whether the input planning level does not have the same set of root and non-root attributes as the base planning level, which is not allowed.
Technical Details
| Types |
Prepare next release |
| Available as of | N/A |
Effects on Configuration
In calculation definitions, an input planning level where the stored value of a key figure is used must contain the same set of root and non-root attributes as the base planning level.
This is an existing modeling requirement, which is now supported by five activation checks, implemented as suppressible errors. That is, you can only activate a planning area that contains such calculation definitions if you suppress these errors and activate the planning area with limited scope. This is a temporary solution, available for a couple of releases. We recommend that you correct the invalid calculation definitions as soon as possible.
Stored Values of Key Figures, with Different Base Planning Levels, Are Read from the Same Planning Level
Message: *S* Stored values of KFs, with different base PLs, are read from PL &1
In multiple key figure calculations, where the stored values of key figures are used at the same input planning level, the key figures cannot have different base planning levels.
All key figures that are used as stored inputs at the same planning level must have the same base planning level.
As of the 1911 release, you can only activate a planning area that contains such calculation expressions if you suppress these errors and activate the planning area with limited scope. This is a temporary solution that is available for a couple of releases. SAP recommends that you correct the invalid calculation expressions, if there are any, as soon as possible.
To identify and correct the invalid calculation expressions, proceed as follows:
-
In the Planning Areas app, select a planning area, and choose Check.
-
Open the log for the check.
You can navigate to the log from the Planning Areas app, or you can find the corresponding log in the Application Logs app by filtering for the external identifier, which is PA: <ID of the planning area>.
-
Look for the following entry: *S* Stored values of KFs, with different base PLs, are read from PL &1, where &1 stands for the ID of the input planning level.
-
Before making any corrections, check your activation log and look for the error message Stored key figure read from an incompatible planning level. If you have run into this error during activation as well, fix it first as it might solve the problem of stored key figures with different base planning levels.
If the problem still persists, proceed as follows:
The attachment of the messages in the activation log contains a list of calculations divided into the sections below:-
Calculations where the input planning level of stored key figures is their base planning level.
-
Calculations where the input planning level of stored key figures does not match their base planning levels.
Depending on your business requirements, make one of the following changes:
-
Use the base planning level of the key figures as the input planning level in the calculation definitions.
Change only the calculations where the input planning level (where the stored value of a key figure is used) is not the base planning level of the key figure. As result, all stored key figures will be sourced from their base planning levels, which is the recommended approach.
-
If your business requirements justify that you use the stored values of key figures at a planning level other than their base planning levels, create a copy of each base planning level (with the same set of root and non-root attributes), and use the stored value of the key figure at this compatible planning level.
As a result, all stored key figures will be sourced from a planning level that is compatible with their base planning level, that is, they share the same root and non-root attributes.
-
Select one of the base planning levels listed in the attachment, and for each key figure use it as its base planning level.
As a result, all stored key figures sourced from the same input planning level will have the same base planning level.
-
-
Perform a consistency check on the planning area.
-
Activate the planning area.
Input Planning Level Has More Attributes than Base Planning Level
Message: *S* Calc. &1@&2: PL of input KF &3 has more attr. than base PL &4
In calculation definitions, an input planning level where the stored value of a key figure is used cannot have more attributes than the base planning level of the given key figure. That is, the input planning level of a calculation cannot contain attributes that cannot be sourced from the base planning level.
As of the 1911 release, you can only activate a planning area that contains such calculation expressions if you suppress these errors and activate the planning area with limited scope. This is a temporary solution that is available for a couple of releases. SAP recommends that you correct the invalid calculation expressions, if there are any, as soon as possible.
To identify and correct the invalid calculation expressions, proceed as follows:
-
In the Planning Areas app, select a planning area, and choose Check.
-
Open the log for the check.
You can navigate to the log from the Planning Areas app, or you can find the corresponding log in the Application Logs app by filtering for the external identifier, which is PA: <ID of the planning area>.
-
Look for the following entry: *S* Calc. &1@&2: PL of input KF &3 has more attr. than base PL &4, where &1 stands for the ID of the key figure,&2 stands for the ID of the planning level, &3 stands for the ID of the input key figure, and &4 stands for the base planning level.
-
For each listed calculation, make one of the following changes depending on your modeling requirements:
-
Use the base planning level of the key figure as the input planning level.
-
If you want to use the extra attributes that are not available from the base planning level, create a calculation (if not yet available) and use the calculated value of the key figure instead of the stored value.
-
Remove these extra attributes from the planning level where the stored value of a key figure is used.
-
Use a planning level that has the same attributes as the base planning level.
-
-
Perform a consistency check on the planning area.
-
Activate the planning area.
Input Planning Level Does Not Contain All Root Attributes of Base Planning Level; Calculation Doesn't Exist
Message: *S* Calc. &1@&2: PL of input KF &3 doesn't contain root attr. of base PL.
In calculation definitions, an input planning level where the stored value of a key figure is used must contain all root attributes of the base planning level of the given key figure.
As of the 1911 release, you can only activate a planning area that contains such calculation expressions if you suppress these errors and activate the planning area with limited scope. This is a temporary solution that is available for a couple of releases. SAP recommends that you correct the invalid calculation expressions, if there are any, as soon as possible.
To identify and correct the invalid calculation expressions, proceed as follows:
-
In the Planning Areas app, select a planning area, and choose Check.
-
Open the log for the check.
You can navigate to the log from the Planning Areas app, or you can find the corresponding log in the Application Logs app by filtering for the external identifier, which is PA: <ID of the planning area>.
-
Look for the following entry: *S* Calc. &1@&2: PL of input KF &3 doesn't contain root attr. of base PL., where &1 stands for the ID of the key figure,&2 stands for the ID of the planning level, and &3 stands for the ID of the input key figure.
-
For each listed calculation, make one of the following changes depending on your modeling requirements:
-
Use the base planning level of the key figure as the input planning level.
-
Create a calculation on the input planning level and use the calculated value of the key figure instead of the stored value. If the aggregation level of the input key figure is lower, use Split Factor Calculation; if it is higher, use an aggregation.
-
Use a planning level that has the same attributes as the base planning level.
-
-
Perform a consistency check on the planning area.
-
Activate the planning area.
Input Planning Level Does Not Contain All Root Attributes of Base Planning Level; Calculation Exists
Message: *S* Calc. &1@&2: PL of input KF &3 doesn't contain root attr. of base PL.
In calculation definitions, an input planning level where the stored value of a key figure is used must contain all root attributes of the base planning level of the given key figure.
As of the 1911 release, you can only activate a planning area that contains such calculation expressions if you suppress these errors and activate the planning area with limited scope. This is a temporary solution that is available for a couple of releases. SAP recommends that you correct the invalid calculation expressions, if there are any, as soon as possible.
To identify and correct the invalid calculation expressions, proceed as follows:
-
In the Planning Areas app, select a planning area, and choose Check.
-
Open the log for the check.
You can navigate to the log from the Planning Areas app, or you can find the corresponding log in the Application Logs app by filtering for the external identifier, which is PA: <ID of the planning area>.
-
Look for the following entry: *S* Calc. &1@&2: PL of input KF &3 doesn't contain root attr. of base PL., where &1 stands for the ID of the key figure,&2 stands for the ID of the planning level, and &3 stands for the ID of the input key figure.
-
For each listed calculation, make one of the following changes depending on your modeling requirements:
-
Since there is a calculation already defined on the input planning level, use the calculated value of the key figure instead of the stored value.
-
Use the base planning level of the key figure as the input planning level.
-
Use a planning level that has the same attributes as the base planning level.
-
-
Perform a consistency check on the planning area.
-
Activate the planning area.
Input Planning Level Does Not Contain All Root Attributes of Base Planning Level; Calculation Is Not Used
Message: *S* Calc. &1@&2: PL of input KF &3 doesn't contain root attr. of base PL.
In calculation definitions, an input planning level where the stored value of a key figure is used must contain all root attributes of the base planning level of the given key figure.
Furthermore, the calculation is not used in any REQUEST level calculation in the calculation graph.
As of the 1911 release, you can only activate a planning area that contains such calculation expressions if you suppress these errors and activate the planning area with limited scope. This is a temporary solution that is available for a couple of releases. SAP recommends that you correct the invalid calculation expressions, if there are any, as soon as possible.
To identify and correct the invalid calculation expressions, proceed as follows:
-
In the Planning Areas app, select a planning area, and choose Check.
-
Open the log for the check.
You can navigate to the log from the Planning Areas app, or you can find the corresponding log in the Application Logs app by filtering for the external identifier, which is PA: <ID of the planning area>.
-
Look for the following entry: *S* Calc. &1@&2: PL of input KF &3 doesn't contain root attr. of base PL., where &1 stands for the ID of the key figure,&2 stands for the ID of the planning level, and &3 stands for the ID of the input key figure.
-
If you do not want to create a REQUEST level calculation in the calculation graph that is based on this calculation, delete this calculation and all other calculations that are built on it.
If you want to use the calculation, make one of the following changes depending on your business requirements:
-
Use the base planning level of the key figure as the input planning level.
-
Create a calculation (for example, an aggregation) on the input planning level and use the calculated value of the key figure instead of the stored value.
-
Use a planning level that has the same attributes as the base planning level.
-
-
Perform a consistency check on the planning area.
-
Activate the planning area.