cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris/datahub 6.0 order is missing E1BPSDITM segment

Former Member
0 Kudos

Team ,

I have setup data hub 6.0 and placed order from hybris 6.0 but the order data is missing product information. Please find the log

2016-05-19 08:53:21,718 [DEBUG] [c.h.d.s.i.DefaultIDocSender] IDocContent:SALESORDERCREATEFROMDAT202[ idoc=SALESORDERCREATEFROMDAT202.IDOC[ edidc40=SALESORDERCREATEFROMDAT202.IDOC.EDIDC40[ tabnam=EDI_DC40 mandt=000 docnum=1463662151226 status=03 direct=1 outmod=2 idoctyp=SALESORDER_CREATEFROMDAT202 mestyp=SALESORDER_CREATEFROMDAT2 sndpor=8080 sndprt=LS sndprn=HYBRIS rcvpor=Hybris rcvprt=LS rcvprn=Hybris credat=20160519 cretim=085321 segment=1 ] e1SALESORDERCREATEFROMDAT2=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2[ salesdocumentin=0006000037 e1BPSDHD1=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPSDHD1[ doctype=TA salesorg=PC distrchan=PC division=PC purchdate=20160519 compldlv=X shipcond=01 curriso=USD segment=1 ] e1BPSDLS=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPSDLS[ pricing=G segment=1 ] e1BPPARNR=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPPARNR[ partnrole=AG partnnumb=HYBRISTEST addrlink=1 segment=1 ]SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPPARNR[ partnrole=WE partnnumb=HYBRISTEST addrlink=2 segment=1 ]SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPPARNR[ partnrole=RE partnnumb=HYBRISTEST addrlink=1 segment=1 ] e1BPCOND=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPCOND[ itmnumber=0 condcount=2 condtype=ZPAY condvalue=0.0 curriso=USD segment=1 ]SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPCOND[ itmnumber=0 condcount=1 condtype=ZSHN condvalue=11.99 curriso=USD segment=1 ] e1BPADR1=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPADR1[ addrno=2 name=sap name2=test city=Dallas postlcod1=75234 street=1234 abcd region=TX tel1NUMBR=4565675678 e1BPADR11=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPADR1.E1BPADR11[ title=mr countryiso=US languiso=en segment=1 ] segment=1 ]SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPADR1[ addrno=1 name=sap name2=test city=abcd postlcod1=75021 street=1234 avenue region=AB e1BPADR11=SALESORDERCREATEFROMDAT202.IDOC.E1SALESORDERCREATEFROMDAT2.E1BPADR1.E1BPADR11[ email=testsap@sap.com title=mr countryiso=US languiso=en segment=1 ] segment=1 ] segment=1 ] begin=1 ] ]

former_member224482
Active Contributor
0 Kudos

What raw data did you send to data hub for the order 0006000037 ?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member224482
Active Contributor
0 Kudos

requestId=mock is not a valid requestId.

The issue is identical to the question : https://answers.sap.com/questions/12758532/aom-order-submission-fails-for-hybris-6.html

Former Member
0 Kudos

I am getting below exception when I place the order

its saying

com.hybris.datahub.service.spel.TransformationExpressionException: Could not transform by expression (new java.math.BigInteger(requestId)).toString(32).toUpperCase()

Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1003E:(pos 1): A problem occurred whilst attempting to construct an object of type 'java.math.BigInteger' using arguments '(java.lang.String)'

given below complete log :

[23 May 2016 14:05:35.847] [DEBUG] [com.hybris.datahub.service.impl.DefaultTargetItemService] Creating Target Items for type SALESORDER_CREATEFROMDAT202$E1SALESORDER_CREATEFROMDAT2$E1BPCCARD from 1 Canonical Items in Pool SAPORDER_OUTBOUND_POOL [23 May 2016 14:05:35.878] [ERROR] [com.hybris.datahub.service.spel.impl.CompilableSpelExpressionProcessor] EL1003E:(pos 1): A problem occurred whilst attempting to construct an object of type 'java.math.BigInteger' using arguments '(java.lang.String)' [23 May 2016 14:05:35.894] [ERROR] [com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService] Failed to create a target item from CanonicalItem{id='350', integrationKey='0006000085|mock', status=SUCCESS, dataPool='DataHubPoolEntity{id=9306, name=SAPORDER_OUTBOUND_POOL}', fields='{validToYear=2020, paymentProvider=Mockup, orderId=0006000085, requestId=mock, ccOwner=test sap, validToMonth=2, subscriptionId=3ad383d9-72c2-49e9-a8c1-abef2f6abfb7}'} com.hybris.datahub.service.spel.TransformationExpressionException: Could not transform by expression (new java.math.BigInteger(requestId)).toString(32).toUpperCase() at com.hybris.datahub.service.spel.impl.CompilableSpelExpressionProcessor.transform(CompilableSpelExpressionProcessor.java:94) ~[datahub-service-6.0.0.0-RC12.jar:6.0.0.0-RC12] at com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService.populateAttributeFromCanonicalItem(DefaultCanonicalToTargetItemConverterService.java:94) ~[datahub-service-6.0.0.0-RC12.jar:6.0.0.0-RC12] at com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService.lambda$populateTargetItem$16(DefaultCanonicalToTargetItemConverterService.java:82) ~[datahub-service-6.0.0.0-RC12.jar:6.0.0.0-RC12] at com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService$$Lambda$244/1287568869.accept(Unknown Source) ~[na:na] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_51]

pachoudhary1
Explorer
0 Kudos

Also PFA RAWHybrisOrderlink text