Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: BRAIN -
Message number: 394
Message text: Key figures with formula aggregation are in square brackets [ ]
INCLUDE BRAIN115 OBJECT DOKU ID NA
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.
BRAIN394
- Key figures with formula aggregation are in square brackets [ ] ?The SAP error message BRAIN394 indicates that there is an issue with the way key figures are being defined in a query, particularly when it comes to the use of formula aggregation. This error typically arises in the context of SAP BW (Business Warehouse) or SAP BI (Business Intelligence) when working with queries in the BEx Query Designer.
Cause:
The error occurs when a key figure that is defined with a formula aggregation is being referenced in a way that is not allowed. In SAP BW, key figures that are calculated using formulas must be enclosed in square brackets
[ ]
to indicate that they are derived values. However, if you attempt to use these key figures in a context that does not support formula aggregation, or if they are incorrectly referenced, you will encounter this error.Solution:
To resolve the BRAIN394 error, you can take the following steps:
Check Key Figure Definition: Ensure that the key figures you are using in your query are correctly defined. If they are calculated key figures, make sure they are properly set up in the InfoProvider.
Use Square Brackets: If you are referencing a key figure that uses formula aggregation, ensure that you are enclosing it in square brackets. For example, if your key figure is named
Sales Amount
, you should reference it as[Sales Amount]
.Review Query Structure: Look at the structure of your query. Ensure that you are not trying to aggregate or perform operations on key figures that are not compatible with formula aggregation.
Check Aggregation Settings: Verify the aggregation settings for the key figures in the query. If a key figure is set to use a specific aggregation method, ensure that it aligns with how you are trying to use it in the query.
Test with Simple Queries: If you are still encountering issues, try creating a simpler version of the query to isolate the problem. Start with basic key figures and gradually add complexity to identify where the error arises.
Consult Documentation: Refer to SAP documentation or help resources for more detailed information on key figure definitions and formula aggregations.
Related Information:
By following these steps and understanding the context of the error, you should be able to resolve the BRAIN394 error and successfully work with your SAP BW queries.
Get instant SAP help. Sign up for our Free Essentials Plan.
BRAIN393
No dates could be found for year &1 &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
BRAIN392
No dates could be found for period &1 &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
BRAIN395
Key figures with internal business volume are in square brackets [ ]
System Response INCLUDE BRAIN115 OBJECT DOKU ID NA The system issues an error message and will not allow you to continue with this transaction until ...
BRAIN396
Reference characteristic &1 is probably not suitable for &2
What causes this issue? In formula or key figure &V4& aggregation &V2& is used with reference characteristic &V1& . The bas...
Click on this link to search all SAP messages.