on 11-22-2016 3:37 PM - last edited on 02-04-2024 5:11 AM by postmig_api_4
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luke, thanks for your reply.some of the entries in above are missing from my side.i added those things but i am not sure for following entry sapidocoutboundadapter.receivername,targetsystem.saperp.receivername , what i need give the value(receiver name).can you guide me on this.after placing the above entries also i am getting the same exceptions what i shared the logs earlier.and i attached the local.properties file please check and guide me if i am missing any thinglink text
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
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.