SAP Message UD366 - The attributes of entity type & are inconsistent

Diagnosis
Inconsistencies arose when checking the attributes of the entity type.Two types of error message were distinguished:
"E" messages and "W" messages.
"E" messages refer to errors that must be eliminated saving theattributes as otherwise they would lead to serious inconsistencies(example: attribute names occur several times).
"W" messages refer to less serious errors that should if possible beeliminated before implementation in the ABAP/4 Dictionary.

Procedure
Check the error messages in the log. Correct the errors described inthe"E" messages and, if necessary, also those described in the "W"messages.