cancel
Showing results for 
Search instead for 
Did you mean: 

CanonicalProductSalesAreaToCatalogMapping missing reference..

former_member658721
Participant
0 Kudos

Hello,

I am trying to test the product (MATMAS) using out of the box saperpproduct raw, cononical and target xml files. While sending the request to data hub using post man getting this error.

2018-02-03 02:21:39,889 Failed to create a target item.......... .hybris.datahub.service.spel.TransformationExpressionException: Could not transform by expression determineTax(resolve('CanonicalProductSalesAreaToCatalogMapping','SAPCONFIGURATION_POOL').country) at com.hybris.datahub.service.spel.impl.CompilableSpelExpressionProcessor.transform(CompilableSpelExpressionProcessor.java:93) ~[datahub-service-6.4.0.2-RC1.jar:6.4.0.2-RC1]

Caused by: com.hybris.datahub.service.spel.MissingReferenceException: No reference canonical item found with a type: CanonicalProductSalesAreaToCatalogMapping, and conditions: [] at com.hybris.datahub.service.spel.impl.DefaultItemResolver.resolveReference(DefaultItemResolver.java:82) ~[datahub-service-6.4.0.2-RC1.jar:6.4.0.2-RC1] at com.hybris.datahub.service.spel.impl.DefaultItemResolver.resolve(DefaultItemResolver.java:56) ~[datahub-service-6.4.0.2-RC1.jar:6.4.0.2-RC1]

target xml has this dependency.. saperpproduct-canonical

Any ideas?

Thanks.

Former Member
0 Kudos

Check the sales organization and distribution channel of your product in matmas and try to map it with the catalog in which you want this product in below path HMC->sap integration->global configuration->product replication after this open HMC->sap integration->Sap administration and click on start upload button

then try to upload matmas, it will work

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member658721
Participant
0 Kudos

Thanks for the response.