Message type: E = Error
Message class: MC - Aggregate: views, matchcodes, lock objects
Message number: 718
Message text: Foreign key &-& (reference to external field)
A foreign key which is to be used for a join was defined so that a
foreign key field comes from another table. This table is not one of the
base tables of the view.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
This constellation is not allowed for database views and help views,
since in both cases there is no way to assign sensible values to the
external field.
Error message extract from SAP system. Copyright SAP SE.
MC718
- Foreign key &-& (reference to external field) ?The SAP error message MC718, which states "Foreign key &-& (reference to external field)," typically occurs in the context of Material Management (MM) or Production Planning (PP) modules when there is an issue with data integrity related to foreign key relationships in the database.
Cause: Foreign Key Violation: This error usually indicates that there is a foreign key constraint violation. This means that the system is trying to reference a value in a table that does not exist in the related table. Missing Data: The specific value that is being referenced may not exist in the corresponding table, leading to this error.
Configuration Issues: There may be issues with the configuration of the foreign key relationships in the database schema. Data Inconsistency: There could be inconsistencies in the data due to manual entries, data migration, or other processes that have not maintained referential integrity.
Solution: Check Data Integrity: Verify that the data you are trying to enter
Get instant SAP help. Sign up for our Free Essentials Plan.
MC717
Foreign key &-& refers to a SYST-field
What causes this issue? A foreign key used for a join has a foreign key field from the system- internal table SY or SYST. Since this table is not kno...
MC716
Foreign key &-& contains a constant
What causes this issue? Two base tables of a view were linked with a foreign key which contains a constant.System Response Pure information.How to f...
MC719
Foreign key &-& (transitive reference to external field)
What causes this issue? The foreign key field of a foreign key to be used for a join is a field which is not included in the foreign key table. The t...
MC720
Selection program & was changed manually
What causes this issue? The selection program generated for a help view was changed manually. The program was therefore not generated again during ac...
Click on this link to search all SAP messages.