Message type: E = Error
Message class: MC - Aggregate: views, matchcodes, lock objects
Message number: 070
Message text: Field & is part of a foreign key
The selected field is redundant as part of a foreign key.
At least all the primary key fields which are not simultaneously
foreign key fields must be contained in certain types of views and in
matchcode objects. The foreign key fields are redundant since they have
the same values as the corresponding primary key fields.
The system gives a warning.
Remove the redundant field from the view or matchcode object.
Error message extract from SAP system. Copyright SAP SE.
MC070
- Field & is part of a foreign key ?The SAP error message MC070, which states "Field & is part of a foreign key," typically occurs when there is an issue related to data integrity in the context of foreign key relationships in the database. This error can arise in various scenarios, particularly when dealing with master data or transactional data in SAP.
Cause: Foreign Key Constraint Violation: The error indicates that the field in question is part of a foreign key relationship, and the value being entered or modified does not exist in the corresponding primary key table. This means that the system is trying to enforce referential integrity, and the data being processed does not meet the required conditions. Data Entry Issues: If a user is trying to enter a value that is not valid or does not exist in the related table, this error will be triggered.
Configuration Issues: Sometimes, the configuration of the foreign key relationships in the database
Get instant SAP help. Sign up for our Free Essentials Plan.
MC069
Deletion flag not allowed with update type I (Matchcode ID &)
What causes this issue? If the deletion flag is set for a matchcode ID, matchcode records are not deleted physically. They are simply marked with a d...
MC068
Table & is not transparent
What causes this issue? Transparent matchcode IDs (update type I) are implemented directly as a database view. Therefore they may only contain transp...
MC071
Field &-& required as a key field
What causes this issue? You tried to delete a mandatory field. Certain views and matchcode objects must contain at least all the primary key fields o...
MC072
Mandatory key fields were applied automatically
What causes this issue? A matchcode object must contain all the primary key fields of the included tables which are not simultaneously foreign key fi...
Click on this link to search all SAP messages.