SAP Knowledge Base Article - Preview

2293310 - No PK/FK created when managing persistence for complex data types - SAP PD


  • A class contains an attribute for which another class has been selected as data type.
  • When the two classes are specified as persistent, and the Generate table option is selected for them,
    both classes should be generated in a Physical Data Model (PDM) as tables linked by a reference joining the primary key column (created during generation) in the parent table and the foreign key column in the child table.
  • There is neither a Primary key (PK) nor a Foreign key (FK) created in the generated PDM.
  • Same problem occurs when generating a Conceptual Data Model (CDM).

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."



  • SAP PowerDesigner 16.6


SAP PowerDesigner all versions


OOM, object-oriented, complex, datatype, identifier, CR796854, 796854 , KBA , BC-SYB-PD , PowerDesigner , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.