Skip to Content
Former Member
Aug 04, 2017 at 02:23 PM

CMSSAPRecommendationComponent on click interactions not reaching marketing


alt textHI,

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=disabled

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?