Skip to Content
author's profile photo Former Member
Former Member

error in data hub after placing the order in hybris

Hi Team, i am working on sap erp integration.and i am using asom scenario.i did the required configuration.after placing the order in hybris i am getting error in logs related to idoc.please find the attached logs for your reference.please suggest me on this what needs to be done.link text

7120-logs.txt (47.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 22, 2016 at 04:28 PM

    Hi Staish,

    From your WARN and ERROR in the log:

     DATE [WARN] [c.h.d.s.i.DefaultIDocTargetSystemLookupService] Using fallBackIDocTargetSystem
     com.hybris.datahub.sapidocoutboundadapter.IDocTargetSystemNotFoundException: No SAPHTTPDestination found with key 'null' in pool=DataHubPoolEntity{#9300,name=SAPCONFIGURATION_POOL}
     ...
     DATE [ERROR] [c.h.d.s.i.AbstractTransactionManagingActionHandler] Previous event failure PerformPublicationEvent{actionId=XXXXX, systemUrl='http://IPA.DRE.SSS:8080/datahub-webapp/v1', targetPublicationIds=[XXXX}
     java.lang.NullPointerException: null
    

    It would seem that your local.properties file is lacking some things. Do you have values for the following properties in your local.properties file?

     targetsystem.hybriscore.url=http://...:9001/datahubadapter
     targetsystem.hybriscore.username=...
     targetsystem.hybriscore.password=...
     targetsystem.saperp.url=http://...
     targetsystem.saperp.username=...
     targetsystem.saperp.password=...
     targetsystem.saperp.receivername=...
    
     sapidocoutboundadapter.usedynamicidocnumberoffset=...
     sapidocoutboundadapter.receivername=...
     sapidocoutboundadapter.sendername=...
     sapidocoutboundadapter.senderport=...
    
     sapcoreconfiguration.pool=SAPCONFIGURATION_POOL
     sapcoreconfiguration.autocompose.pools=SAPCONFIGURATION_POOL,...
     target.system.publication.configuration=SAPCONFIGURATION_POOL.HybrisCore
    

    I hope that this points you in the right direction,
    Luke

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Satish,

      The sapidocoutboundadapter.receivername is the logical system name of SAP ERP, for example: ABCDE12.

      The targetsystem.saperp.receivername is Receiver partner name of SAP ERP, it can be the same, or different that the sapidocoutboundadapter.receivername.

      I hope this can help you, Luke

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.