Message type: E = Error
Message class: BRAIN_DEV - BRAIN messages (for use by development)
Message number: 645
Message text: Query contains non-cumulative key figures and incompatible formulas
The query contains non-cumulative key figures and exception aggregated
formulas. These formulas contain constants or variables with replacement
path from an attribute.
During non-cumulative processing, non-cumulative key figure values are
calculated for time periods for which there need not be any postings in
the posted data. In order to calculate values like this, the time
reference of the posted data is changed. If a characteristic value of
any characteristic is now not posted within the requested time period,
it might still be projected into the requested time period by
non-cumulative processing.
If a variable with replacement path from an attribute is defined on
characteristic M, or if characteristic M is a reference characteristic
for a formula that contains a constant with its own data representation
(for example <NP>SUM(1) over M</> ), the result depends on whether or
not the query contains a non-cumulative key figure in addition to this
formula.
Example
booked data
M,,CALDAY,,Delta of non-cumulative key figure
a,,01.03.2013,,5
a,,02.03.2013,,17
b,,05.03.2013,,19
In a query with filter on 5.03.2013 the result of <NP>SUM(1) over M</>
is 1.
Calculated non-cumulative values for 5.03.2013
M,,CALDAY,,Calculated non-cumulative key figure
a,,05.03.2013,,22
b,,05.03.2013,,19
In a query with filter on 5.03.2013 the result of <NP>SUM(1) over M</>
is 2.
The system behaves for queries as described above.
If a formula <NP>SUM(1) over calday</> should always count the days
resulting from non-cumulative processing, it is more precise and safe to
use a formula <NP>COUNT(non-cumulative keyfigure) over calday</>
instead.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message BRAIN_DEV645 indicates that there is an issue with the query you are trying to execute in SAP BW (Business Warehouse) or SAP BW/4HANA. Specifically, this error arises when the query contains non-cumulative key figures and incompatible formulas. Here’s a breakdown of the cause, potential solutions, and related information:
Cause: Non-Cumulative Key Figures: Non-cumulative key figures are those that do not accumulate over time, such as averages or ratios. They are calculated based on specific conditions and do not sum up like cumulative key figures (e.g., sales revenue). Incompatible Formulas: The error can occur if the query includes formulas that are not compatible with non-cumulative key figures. For example, trying to sum or aggregate non-cumulative key figures in a way that assumes they can be treated like cumulative key figures. Solutions: Review Key Figures: Check the key figures used in your query. Ensure that you are not mixing cumulative and non-cumulative key
Get instant SAP help. Sign up for our Free Essentials Plan.
BRAIN_DEV644 Value '&3' is not valid for variable &2
What causes this issue? See BR2System Response The system issues an error message and will not allow you to continue with this transaction until the...
BRAIN_DEV643 Value '&3' is not valid for variable &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
BRAIN_DEV646 MultiProvider with compounding problem - no exception aggregation in HANA
What causes this issue? The underlying MultiProvider has a compounding problem, as described in OSS Note 1009987.System Response Exception aggregati...
BRAIN_DEV647 No PartProvider with HANA persistency - no exeption aggregation in HANA
What causes this issue? No InfoProviders that the query is based on have HANA persistency.System Response Exception aggregation cannot be executed i...
Click on this link to search all SAP messages.