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: ESH_OM_OBJ_MODEL_RP2 - Object Model Repository (2)
Message number: 320
Message text: Reverse/source cardinality "&3" does not fit to foreign key definitions
All key fields of node &v2& of object type &v1& are specified in the
foreign key definition of the composition. In this case only a
cardinality "Exactly one" or "Up to one" makes sense.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
In the modeler for search and analytics adjust the reverse cardinality
or the foreign key definition.
When importing data adjust the source cardinality or the foreign key
definition.
Error message extract from SAP system. Copyright SAP SE.
ESH_OM_OBJ_MODEL_RP2320
- Reverse/source cardinality "&3" does not fit to foreign key definitions ?The SAP error message ESH_OM_OBJ_MODEL_RP2320 indicates an issue with the reverse or source cardinality of a relationship in the object model, specifically that it does not align with the foreign key definitions. This error typically arises in the context of the SAP Enterprise Search or the SAP Business Object Model.
Cause:
- Cardinality Mismatch: The error suggests that the defined cardinality for a relationship (e.g., one-to-many, many-to-one) does not match the foreign key constraints defined in the database or the object model.
- Model Definition Issues: There may be inconsistencies in how the object model is defined, particularly in the relationships between entities.
- Data Model Changes: If there have been recent changes to the data model or the underlying database schema, these changes may not have been reflected in the object model configuration.
Solution:
- Review Object Model Definitions: Check the object model definitions in the SAP system to ensure that the cardinality settings for the relationships are correctly defined. Make sure they align with the foreign key constraints in the database.
- Adjust Cardinality: If the cardinality is incorrectly set, adjust it to match the foreign key definitions. This may involve changing the relationship type from one-to-many to many-to-one or vice versa.
- Rebuild or Refresh the Model: If changes have been made to the underlying data model, consider rebuilding or refreshing the object model to ensure that it reflects the current state of the database.
- Check for Dependencies: Ensure that there are no other dependencies or constraints that might be causing the mismatch. This may involve reviewing related tables or entities.
- Consult Documentation: Refer to SAP documentation or notes related to the specific version of the software you are using for any known issues or additional guidance.
Related Information:
By following these steps, you should be able to identify and resolve the cause of the ESH_OM_OBJ_MODEL_RP2320 error in your SAP system.
Get instant SAP help. Sign up for our Free Essentials Plan.
ESH_OM_OBJ_MODEL_RP2319
Logical conjunction type &1 does not exist
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ESH_OM_OBJ_MODEL_RP2318
OPD field &1 and OPD field &2 refer to the same node field
What causes this issue? The ODP fields &v1& and &v2& refer to the same node field using the same path. It is normally not necessary t...
ESH_OM_OBJ_MODEL_RP2321
Cardinality "&3" does not fit to foreign key definitions
What causes this issue? All key fields of node &v2& of object type &v1& are specified in the foreign key definition of the compositio...
ESH_OM_OBJ_MODEL_RP2322
Reverse/source cardinality "&3" does not fit to foreign key definitions
What causes this issue? All key fields of node &v2& of object type &v1& are specified in the foreign key definition of the compositio...
Click on this link to search all SAP messages.