cancel
Showing results for 
Search instead for 
Did you mean: 

Raw type 'RawPricingSalesAreaMapping' does not exist

Former Member
0 Kudos
374

HI Experts,

I am trying to integrate SAP erp to Hybris. While uploading form SAP Administrator, i am getting below error:

Mapping Sales Areas to Catalogs: - Delete operation was unsuccessful : Raw type 'RawPricingSalesAreaMapping' does not exist - Export operation was unsuccessful : [{"message":"RawPricingSalesAreaMapping type is not a valid RawItem type","propertyName":"itemType","failureType":"FATAL"}]

However i have added SAP Pricing DATAHUB extension in my tomcat.

Please suggest,

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Chirag, I think I am facing the same problem as yours. Have you got a solution to this question? Could you share your experience with me. Your help will be really useful for me.

Thank you.

Former Member
0 Kudos

Please check the extension. In my case it was not properly loaded.

Former Member
0 Kudos

Thank you Chirag ! I have checked the extension. 'Sappricing' is not loaded correctely. But could you tell me how to activer this extension? I have made changes in my local.properties, but it didn't give me a right result. Thank you again.

Former Member
0 Kudos

Hi Panait,

I could see all item-types except RawPricingSalesAreaMapping. I am not using any custom datahub. can you please suggest me how to create this types. In tomcat logs, it simply 400 error.

Thanks

Former Member
0 Kudos

Hi Chirag,

This type is defined in the standard datahub extension and you should be able to see it without doing something else. Did you find the other items specific to "sapPricingDatahubExtension" (RawCondition, RawHybrisDiscount, etc) ?

When I said to check the tomcat log to see if you have some errors when it loads your datahub extensions I meant to see if it loads your datahub extensions successfully when you start your server (search for "sappricing" in the log and see if it is loaded successfully or if you get some errors).

Good luck!

Former Member
0 Kudos

Thanks Panait, But i have checked all logs, "Sappricing" is not mentioned any where.

Any other way to correct it. Please suggest.

Former Member
0 Kudos

My guess is that your extension is not accessible to the datahub, probably the classpath from your "context.xml" file is not set right. For more information you can access:
https://wiki.hybris.com/display/release5/Making+Extensions+Accessible+to+the+Data+Hub

https://wiki.hybris.com/display/release5/Downloading+the+Data+Hub+and+Configuring+It+for+Standalone+...

Former Member
0 Kudos

Thanks Panait, i will check both link for sure, it might help.

Former Member
0 Kudos

Go to "http://localhost:9001/datahub-webapp/v1/item-classes/raw/item-types" and check if you have "RawPricingSalesAreaMapping" there. If you don't find it there it might be something wrong in your "*-datahub-extension.xml" file (in case that it is a custom extension) or maybe your path to the datahubextension is wrong. You could also check your tomcat log file to see if you have some errors when it loads your datahub extensions.

Good luck!