SAP Message USMD1580 - Model &1, entity type &2: Invalid key treatment

Diagnosis
Internal key assignments or changeable keys are permitted only for forentity types with storage and use type 1
with a data element.

System Response
You cannot activate the data model.

Procedure
Adjust the settings for the entity type in Customizing activityEdit Data Model. For example, under KeyAssignment choose an option for the internal assignment of keys.