You cannot annotate the PS Data Model that we have just created, so we now need to create a UC (User Centric) Data Model, which you can annotate. The easiest way to create it is as follows:
With the ZHS_EPM_GI PS Data Model displaying in the SE80 tree view, right-click Derived SAP GW Data Models and select Create SAP GW Data Model.
The Create Data Model popup displays with the name, type and version of the existing PS model already filled in under Existing Data Model.
Enter a model Name of ZHS_EPM_GI and a Type of UC for the new model (read-only Version of 0001):
Select the green check mark to continue.
The model is created and added to the Derived SAP GW Data Models folder. You can navigate directly to it using the Display Object List icon in the toolbar. The new derived UC Data Model has the original PS Data Model as its base model (this displays under Base SAP GW Data Model).
Using the Annotation editor, add the following annotation to the Properties (see Annotation for Properties):
Property Name |
Annotation Name |
Annotation Value |
---|---|---|
CHANGED_AT |
FC_TargetPath |
SyndicationUpdated |
CHANGED_AT |
FC_KeepInContent |
false |
ROOT_TITLE |
FC_TargetPath |
SyndicationTitle |
ROOT_TITLE |
FC_KeepInContent |
false |
PRODUCT_NAME |
FC_TargetPath |
SyndicationTitle |
PRODUCT_NAME |
FC_KeepInContent |
true |
Save your entries.
The ZHS_EPM_GI UC Data Model has been created with the required Annotation.
Next, create the Consumption Model.