How To Fix ESH_OM_OBJ_MODEL_RP2704 - Cardinality "&3" does not fit to foreign key definitions


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ESH_OM_OBJ_MODEL_RP2 - Object Model Repository (2)

  • Message number: 704

  • Message text: Cardinality "&3" does not fit to foreign key definitions

  • Show details Hide details
  • What causes this issue?

    Not all key fields of node &v2& of object type &v1& are specified in the
    foreign key definition of the composition or at least one foreign key
    definition has the join-operator =.
    Thus maybe the cardinality "&v3&" may not make sense.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    In the modeler for search and analytics adjust the cardinality or the
    foreign key definition.
    When importing data adjust the target cardinality or the foreign key
    definition.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ESH_OM_OBJ_MODEL_RP2704 - Cardinality "&3" does not fit to foreign key definitions ?
    The SAP error message ESH_OM_OBJ_MODEL_RP2704 indicates a problem with the cardinality of a relationship in the object model, specifically related to foreign key definitions. This error typically arises in the context of the SAP Enterprise Search or SAP HANA modeling, where the relationships between different entities (or tables) are defined.
    
    Cause: The error message suggests that there is a mismatch between the expected cardinality of a relationship and the actual cardinality defined in the foreign key constraints. Cardinality refers to the number of instances of one entity that can or must be associated with instances of another entity. The common cardinalities are: One-to-One (1:1) One-to-Many (1:N) Many-to-One (N:1) Many-to-Many (N:M) If the cardinality defined in the object model does not match the foreign key definitions in the database schema, this error will be triggered.
    Solution: To resolve this error, you can follow these steps: Check Foreign Key Definitions: Review the foreign key constraints in the database tables involved. Ensure that

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker