Skip to main content
Solved

Hi folks! I'm trying to get the attributes of shipment activities in the VTTK, but when I link the VTTK through the VTTP in the Datamodel. I have the following error message "Not common table" Do you know how to handle this?

  • December 5, 2023
  • 4 replies
  • 52 views

andres.naran12
Level 8
Forum|alt.badge.img+10
Hi folks! I'm trying to get the attributes of shipment activities in the VTTK, but when I link the VTTK through the VTTP in the Datamodel. I have the following error message "Not common table" Do you know how to handle this?

Best answer by matt.witty13

Hi Matt, thanks for your reply.

 

The join we have is the following one:

 

VTTK -> VTTP(This one has an internal join with the VBFA) -> VBAP -> ACTIVITY_TABLE

 

If I want to make the relationship between these tables in a transformation, that works, but when I link these tables in the data model and try to create an OLAP table to get the attributes from the ACTIVITY_TABLE I the VTTK, Celonis shows the error "Not Common Table". I believe the reason for this is that Celonis only allows relations between tables in this way:

 

1:N -> 1:N -> 1:N or N:1 -> N:1 -N:1

 

and the relation we have is the following:

 

1:N -> N:1 -> 1:N

 

So I was thinking to create a single view with all internal tables that are necessary for the analysis inside a transformation, including the activity table.vttk issue

You'll likely have to do a combination of Pullup functions and BIND(). We have something similar with VTTK to EKKO. It's something like

 

PU_FIRST(EKKO,PU_FIRST("EKPO",BIND("LIPS",PU_FIRST("LIKP",BIND("VTTP",[VTTK_FIELD])))))

 

So you might have to do something similar where you pullup and bind on the way through. Because you're combining parent-child table relationships across the data model

4 replies

matt.witty13
Level 10
  • Level 10
  • December 5, 2023

Can you provide a screenshot of what your Data Model looks like?


andres.naran12
Level 8
Forum|alt.badge.img+10

Can you provide a screenshot of what your Data Model looks like?

Hi Matt, thanks for your reply.

 

The join we have is the following one:

 

VTTK -> VTTP(This one has an internal join with the VBFA) -> VBAP -> ACTIVITY_TABLE

 

If I want to make the relationship between these tables in a transformation, that works, but when I link these tables in the data model and try to create an OLAP table to get the attributes from the ACTIVITY_TABLE I the VTTK, Celonis shows the error "Not Common Table". I believe the reason for this is that Celonis only allows relations between tables in this way:

 

1:N -> 1:N -> 1:N or N:1 -> N:1 -N:1

 

and the relation we have is the following:

 

1:N -> N:1 -> 1:N

 

So I was thinking to create a single view with all internal tables that are necessary for the analysis inside a transformation, including the activity table.vttk issue


matt.witty13
Level 10
  • Level 10
  • Answer
  • December 6, 2023

Hi Matt, thanks for your reply.

 

The join we have is the following one:

 

VTTK -> VTTP(This one has an internal join with the VBFA) -> VBAP -> ACTIVITY_TABLE

 

If I want to make the relationship between these tables in a transformation, that works, but when I link these tables in the data model and try to create an OLAP table to get the attributes from the ACTIVITY_TABLE I the VTTK, Celonis shows the error "Not Common Table". I believe the reason for this is that Celonis only allows relations between tables in this way:

 

1:N -> 1:N -> 1:N or N:1 -> N:1 -N:1

 

and the relation we have is the following:

 

1:N -> N:1 -> 1:N

 

So I was thinking to create a single view with all internal tables that are necessary for the analysis inside a transformation, including the activity table.vttk issue

You'll likely have to do a combination of Pullup functions and BIND(). We have something similar with VTTK to EKKO. It's something like

 

PU_FIRST(EKKO,PU_FIRST("EKPO",BIND("LIPS",PU_FIRST("LIKP",BIND("VTTP",[VTTK_FIELD])))))

 

So you might have to do something similar where you pullup and bind on the way through. Because you're combining parent-child table relationships across the data model


andres.naran12
Level 8
Forum|alt.badge.img+10

Hi Matt, thanks for your reply.

 

The join we have is the following one:

 

VTTK -> VTTP(This one has an internal join with the VBFA) -> VBAP -> ACTIVITY_TABLE

 

If I want to make the relationship between these tables in a transformation, that works, but when I link these tables in the data model and try to create an OLAP table to get the attributes from the ACTIVITY_TABLE I the VTTK, Celonis shows the error "Not Common Table". I believe the reason for this is that Celonis only allows relations between tables in this way:

 

1:N -> 1:N -> 1:N or N:1 -> N:1 -N:1

 

and the relation we have is the following:

 

1:N -> N:1 -> 1:N

 

So I was thinking to create a single view with all internal tables that are necessary for the analysis inside a transformation, including the activity table.vttk issue

Thanks Matt! that works