Skip to Content

does saperpproduct and sappricing raw items need to be feed into the same feed / pool?

Does saperpproduct and sappricing raw items need to be feed into the same feed / pool? Or can they be processed in their own respective feed / pools?

I notice that they both use DEFAULT_FEED and GLOBAL_POOL.

I have injected rawFragmentDataFeedName with a custom feed for the saperpproductMATMASMappingService bean:

 <bean id="saperpproductMATMASMappingService" class="com.hybris.datahub.sapidocintegration.IDOCMappingService">
     <property name="rawFragmentDataExtensionSource" value="saperpproduct" />
     <property name="rawFragmentDataFeedName" value="MATMAS_IDOC_INBOUND_EVENT_FEED" />
     <property name="rawFragmentDataType" value="RawMATMAS" />
 </bean>

Can I use a different custom feed name for sappricingCOND_AMappingService ? Like PRICING_IDOC_INBOUND_EVENT_FEED ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 27, 2016 at 05:04 PM

    Yes, only as of release 5.7 and above for sapproduct/saperpproduct.

    In release 5.6 and lower, there are still occurrences of hardcoded pool name in the code such as :

     final DataHubPool pool = feedService.findPoolByName("GLOBAL");
    

    While in release 5.7 and above, code use reference pool as follow :

     final DataHubPool pool = canonicalItem.getDataPool();
    

    Looking at older release of sappricing, there is no reference canonical item within the same pool. Therefore you could use a separate pool for sappricing even in lower releases.

    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.