Patent ID: 11914575
Assignee: SAP SE
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A non-transitory machine-readable medium storing a program executable by at least one processing unit of a device, the program comprising sets of instructions for:
receiving a metadata model definition defining a data model including a set of entities, the metadata model definition comprising a set of entity definitions specifying the set of entities, fields for each entity of the set of entities, and datatypes for each of the fields, a set of semantic key definitions specifying a set of semantic keys associated with the set of entities, and a set of relationship definitions specifying a set of relationships between the set of entities, wherein the set of semantic keys are configured to be used by an application to refer to the set of entities;
determining a set of technical keys for the set of entities, wherein the set of technical keys are configured to be used by the device to refer to the set of entities;
storing the metadata model definition and the set of technical keys in a set of records;
storing a set of mappings that map technical keys to semantic keys;
receiving a set of changes to the metadata model definition, wherein the set of changes includes a modification to a datatype of a field of an entity in the set of entities;
accessing an entity definition for the entity being modified from among the set of entity definitions in the stored metadata model definition;
determining, using the accessed entity definition, that the field of the entity is a semantic key for the entity;
retrieving a technical key from the stored set of mappings using the determined semantic key;
modifying the metadata model definition based on the retrieved technical key and the set of changes to form a second metadata model definition; and
storing the second metadata model definition in a second set of records.