Skip to Content

CanonicalProductSalesAreaToCatalogMapping missing reference..

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.

Add a comment
10|10000 characters needed characters exceeded

  • Former Member

    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

Related questions

1 Answer

  • Posted on Feb 05, 2018 at 05:10 PM

    Thanks for the response.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.