Message type: E = Error
Message class: RSRTS_CDS - Messages Transient CDS Queries
Message number: 012
Message text: WHEN clause (of searched case statement) is not a select option table
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_CDS012
- WHEN clause (of searched case statement) is not a select option table ?The SAP error message RSRTS_CDS012 typically occurs in the context of using a Core Data Services (CDS) view in SAP BW or SAP HANA when there is an issue with the way a WHEN clause is defined in a case statement. This error indicates that the WHEN clause is not referencing a valid select option table.
Cause: The error is usually caused by one of the following issues: Invalid Reference: The WHEN clause is trying to reference a field or a table that is not defined as a select option. In SAP, select options are used to define ranges of values for filtering data. Incorrect Syntax: There may be a syntax error in the way the case statement is written, leading to the system not recognizing the select option correctly. Data Type Mismatch: The data type of the field being referenced in the WHEN clause may not match the expected data type, causing the system
Get instant SAP help. Sign up for our Free Essentials Plan.
RSRTS_CDS011
THEN clause (of case statement) is not a measure
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSRTS_CDS010
Restricted key figure could not be derived
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSRTS_CDS013
ELSE clause (of case statement) must contain NULL value
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSRTS_CDS014
Identifier &1 (on position &2 of select list) is not a key figure
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.