Extend the PDM
This step describes how to extend the physical data model (PDM) after you have extended the conceptual data model (CDM) in SAP PowerDesigner.
Prerequisites
Extending the data model in SAP PowerDesigner ensures that you keep lineage between the conceptual data model (CDM), the physical data model (PDM), and the SAP HANA CDS files that are deployed on the database.Before you extend the PDM, take the restrictions listed under Extensibility Steps into account, and make sure that the following prerequisites are met:
Procedure
-
Generate a PDM of your extension entity:
-
Choose F4 and deactivate the checks that you do not want to be executed. We recommend that you deactivate all checks.
-
Select your CDM and go to in the menu bar. A new window opens.
-
Select Generate new Physical Data Model and give it a name of your choice.
-
Select SAP HANA 2.0 CDS HDI as DBMS.
-
Go to the Selection tab page and select all your extension entities.
Deselect all the entities that you copied as shortcuts from FSDM. Click OK.
-
A confirmation dialog may appear to inform you that there is no associated generated model to the FSDM CDM. Select Yes to continue.
-
Optional: Change the color of the generated entity to visibly mark it as your own.
-
-
Connect your entity to other entities using CDS extensions:
-
Right-click your new PDM (Customer_PDM) and choose Physical Diagram.
-
Link the extension entities to the PDM entities:
Double-click the PDM FSDM and search under the folder CDS Entities for the entity that you want to extend. -
Drag and drop the entity in your PDM area. This creates a shortcut.
-
Extend the existing entity with your new entity by using the CDS extension link.
-
-
Check your final data model.
-
Change the namespace:
Right-click your PDM, choose Properties and enter customer.extension as the namespace.
-
Export the generated CDS extension files:
-
Open the FSDM PDM in your PowerDesigner workspace. Keep it open during the extraction of CDS extension files.
-
Choose F4 and deactivate the checks you do not want to be executed. We recommend that you deactivate all checks.
-
Select your PDM and go to in the menu bar.
-
Select your extension entity on both the CDS Entities and Physical Data Models tab. The system generates two files.
- Click OK.
-
Check the generated CDS extension files.
-
Save the CDS extension files as a zip file.
-
Next Steps
To ensure lineage between the CDM, PDM, and the SAP HANA CDS model that is deployed, proceed with Deploy CDS Files.

