Skip to main content

Celonis finally added composite primary keys to OCPM

  • June 18, 2026
  • 2 replies
  • 289 views

gagan1
Member Spotlight
Forum|alt.badge.img+5

 

 

If you have built any Object-Centric Data Models (OCDM) recently, you know the pain of handling tables that use composite primary keys.

Previously, Celonis only allowed a single string ID as the primary key. If you were pulling tables from SAP (like VBAP), you had to write custom SQL transformations to concatenate keys (like VBELN and POSNR) into a single string ID just to make joins work.


With the June 15, 2026 release, Celonis natively supports composite primary keys. You can now select multiple columns directly in the Objects and Events UI to form your primary key, completely bypassing the old SQL concatenation step.


This change fixes three major issues.
First, you don't have to write redundant CONCAT SQL code in your data jobs anymore. Your SQL transformations stay clean.


Second, database joins run faster on raw composite columns than on concatenated string columns, especially when you are querying millions of rows.


Third, your Celonis data model now matches your source ERP schema exactly, which makes data validation and tracking much easier.


If you are building new OCPM models, try selecting multiple key columns in the UI instead of writing concatenation transformations. It saves a lot of time.

2 replies

Jan-Peter van der Steege
Level 12
Forum|alt.badge.img+26

Hi ​@gagan1

Cool feature indeed, and very helpful for the partitioning. 
I found this features worthless however, since you cannot connect Objects with a composite Primary Key to a Catalog Object. Since most customers on OCPM would start with a Catalog Perspective (I guess?), this feature can’t be used by the majority. Celonis acknowledged this is a gap, but does not have a short-term solution. 


gagan1
Member Spotlight
Forum|alt.badge.img+5
  • Author
  • Member Spotlight
  • July 10, 2026

Hi ​@gagan1

Cool feature indeed, and very helpful for the partitioning. 
I found this features worthless however, since you cannot connect Objects with a composite Primary Key to a Catalog Object. Since most customers on OCPM would start with a Catalog Perspective (I guess?), this feature can’t be used by the majority. Celonis acknowledged this is a gap, but does not have a short-term solution. 

Hi ​@Jan-Peter van der Steege ,

Fair point, if it can't connect to Catalog Objects then it's pretty much unusable for most OCPM setups. Good to know before I run into that wall myself. CONCAT it is for now then.