Do you have any question about this error?
Message type: E = Error
Message class: CFD_REGISTRY_CHECK - Custom Fields: Messages for Registry Check
Message number: 122
Message text: On clause of Association &1 in CDS View &2 has not only 'equal' operator
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.
CFD_REGISTRY_CHECK122
- On clause of Association &1 in CDS View &2 has not only 'equal' operator ?The SAP error message CFD_REGISTRY_CHECK122 indicates that there is an issue with the ON clause of an association in a Core Data Services (CDS) view. Specifically, it states that the ON clause of the association is not using only the 'equal' operator, which is a requirement for defining associations in CDS views.
Cause:
In CDS views, associations are used to define relationships between different entities. The ON clause of an association should only use the 'equal' operator (
=
) to establish a direct relationship between the fields of the associated entities. If the ON clause includes other operators (like>
,<
,>=
,<=
,<>
, etc.), the system will raise this error.Solution:
To resolve this error, you need to review the ON clause of the association in your CDS view definition. Here are the steps to fix the issue:
Open the CDS View: Access the CDS view in the ABAP Development Tools (ADT) or the relevant development environment.
Locate the Association: Find the association that is causing the error. Look for the
define association
statement in your CDS view.Check the ON Clause: Examine the ON clause of the association. Ensure that it only contains conditions that use the
=
operator. For example:define association to AnotherEntity as _AnotherEntity on $projection.Field1 = AnotherEntity.Field2
Modify the ON Clause: If you find any operators other than
=
, modify the ON clause to use only the=
operator. If you need to express more complex conditions, consider using additional associations or filtering in the SELECT statement instead.Activate the CDS View: After making the necessary changes, activate the CDS view to ensure that the error is resolved.
Related Information:
By following these steps, you should be able to resolve the CFD_REGISTRY_CHECK122 error and ensure that your CDS view is correctly defined.
Get instant SAP help. Start your 7-day free trial now.
CFD_REGISTRY_CHECK121
On clause of Association &1 in CDS View &2 contains not only elements
What causes this issue? In the on condition of the association you use $projections fields which are calculated. This is currently not possible as su...
CFD_REGISTRY_CHECK120
On clause of Association &1 in CDS View &2 contains cast statement
What causes this issue? In the on condition of the association you use $projections fields which have a CAST. This is currently not possible as such ...
CFD_REGISTRY_CHECK123
On clause of Association &1 in CDS View &2 has unsupported statement
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CFD_REGISTRY_CHECK124
OData Entity &1 is not mapped to entered CDS View &2, but to CDS View &3
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.