Message type: E = Error
Message class: E2 - DE Data Dictionary
Message number: 190
Message text: Foreign key does not exist in include and will be deleted
You created a foreign key for a field in an include, but set the
'Inherited from include' flag. The system tries to copy the definition
of the foregin key from the include, but the foreign key is not defined
in the include.
The foreign key was deleted.
You may not set the 'Inherited from include' flag when creating the
foreign key for this field.
Error message extract from SAP system. Copyright SAP SE.
E2190
- Foreign key does not exist in include and will be deleted ?The SAP error message E2190, which states "Foreign key does not exist in include and will be deleted," typically occurs during the activation of a data dictionary object, such as a table or a view, when there is a foreign key relationship defined that does not correspond to an existing primary key in the referenced table or include structure.
Cause: Missing Foreign Key Definition: The foreign key defined in the table does not point to a valid primary key in the referenced table or include. Changes in Table Structure: If the structure of the referenced table has changed (e.g., the primary key was removed or modified), the foreign key relationship may become invalid. Inconsistent Data Dictionary: There may be inconsistencies in the data dictionary where the foreign key is defined but not properly linked to an existing primary key.
Solution: Check Foreign Key Definition: Go to the table definition where the error occurs and check the
Get instant SAP help. Sign up for our Free Essentials Plan.
E2189
Foreign key &-& was deleted
What causes this issue? The definition of the specified foreign key was deleted.System Response Information messageHow to fix this error? No action...
E2188
Foreign key &-& is consistent
What causes this issue? The foreign key check showed that the foreign key is consistent, i.e. the foreign key definition contains no errors.System Re...
E2191
Constant must be enclosed in apostrophes
What causes this issue? You did not enclose the constant in apostrophes.System Response The system issues an error message and will not allow you to...
E2192
Field assignment for foreign key &-& ambiguous (check proposal)
What causes this issue? The structure of the foreign key definition is ambiguous. When creating the foreign key, all the key fields of the check tabl...
Click on this link to search all SAP messages.