SAP Message USMD2045 - Attribute &3 cannot be used for UI element &1 (entity type &2)

Diagnosis
UI element &V1& has the UI element type Table Column or TableColumn with Key Field, therefore the attribute assigned to thelower-level UI element must have a higher-level entity type. AttributeV3 does not have a higher-level entity type, however.
INCLUDE CHANGES_CANNOT_BE_SAVED OBJECT DOKU ID TX

Procedure
Enter an attribute that has a higher-level entity type for thelower-level UI element of UI element &V1&.