Do you have any question about this error?
Message type: E = Error
Message class: RSRTS_CDS - Messages Transient CDS Queries
Message number: 402
Message text: CDS function &1: Use annotation: @AnalyticsDetails.query.formula: &2 + &3
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
RSRTS_CDS402
- CDS function &1: Use annotation: @AnalyticsDetails.query.formula: &2 + &3 ?The SAP error message RSRTS_CDS402 typically occurs when there is an issue with a Core Data Services (CDS) view that is being used in an analytical context, such as in SAP BW or SAP Analytics Cloud. This error indicates that the CDS view is missing the required annotation for a query formula.
Cause:
The error message suggests that the CDS view you are trying to use does not have the necessary annotation
@AnalyticsDetails.query.formula
defined. This annotation is required to specify how the query should be calculated or aggregated, especially when using calculated measures or complex logic in your CDS view.Solution:
To resolve this error, you need to ensure that the CDS view includes the required annotation. Here are the steps to do this:
Open the CDS View: Access the CDS view in the ABAP Development Tools (ADT) or the relevant development environment.
Add the Annotation: Include the
@AnalyticsDetails.query.formula
annotation in the CDS view definition. The syntax generally looks like this:@AnalyticsDetails.query.formula: 'YourFormulaHere'
Replace
'YourFormulaHere'
with the actual formula or logic you want to apply.Activate the CDS View: After making the changes, activate the CDS view to ensure that the new annotation is recognized.
Test the Query: After activation, test the query again in the relevant reporting tool (e.g., SAP BW, SAP Analytics Cloud) to see if the error persists.
Related Information:
If you continue to experience issues after following these steps, consider checking for any additional dependencies or configurations that may be affecting the CDS view or the reporting tool you are using.
Get instant SAP help. Start your 7-day free trial now.
RSRTS_CDS401
CDS function &1 is not supported
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSRTS_CDS250
WHEN clause (of CASE) must use measures in context of a formula
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSRTS_CDS403
Annotation &1 is not supported in this environment and ignored: &2, &3
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSRT_BICS_BW000
&1 &2 &3 &4
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.