cancel
Showing results for 
Search instead for 
Did you mean: 

CMSSAPRecommendationComponent on click interactions not reaching marketing

Former Member
0 Kudos

HI,

We are not able to post the interaction from hybris commerce 6.3 to marketing server. Say I am trying to post interaction for action/interaction/ DP_MOST_SELL_PRODUCT prodId: 300791723 leadingitemdstypeSAP_HYBRIS_PRODUCT. In the SAPRecommendationRetrieveController registerClickthrough gets called. Consequently postInteraction methods get invoked.

In the code OdataProductRecommendationManagerCEI & ODataClientService I have included sysouts to trace the flow. I am getting the sysouts as attached. There are three things I am not clear. 1) Click through data has not been posted to marketing but I didn't receive any error at commerce console 2) for the first time after server restart I am able to see the initializeBatchConnection uri as https://marketinghost:4300/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV/Interactions/?saml2=disabled on subsequent clicks on any products - I can only see https://marketinghost:4300/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV/RecommendationScenarios/?saml2=di...

3) In the writeEntity method :Odata response.getStatus()- is always null. How do I know the post to marketing is success

Can some please help?

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member224482
Active Contributor
0 Kudos

In release 6.3 the post to marketing is success only if HttpStatusCodes is HttpStatusCodes.CREATED.
Therefore the method writeEntity return a non null value.

Be aware that the entire sapcoreodata extension has been deprecated in 6.4 and replaced by sapymktcommon.

As of 6.4 release, a large amount of improvements has been performed with regards to consuming ODat with extension sapymktcommon.