cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SNC_XMl Failure_B2B_UOM Conversion

Former Member
0 Kudos

Hello Friends,

I have a case where Vendors use SNC by EDI Process.

They send the flat file to B2B Gateway, which will send to XI, and XI sends the data to SNC as despatchdelivery_in and to ECC as DESADV IDOC.

When the data is sent to SNC, the XML is failing due to "Item 000001: UoM conversion is not possible; invalid conversion factors"

I have checked some links on the same I see the ISO Code assigned to my UOM (EA) is also EA, so where is it going wrong, request to please suggest.

Regards,

Guru

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Guru Prasad,

Check UOM(it should be ISO code) in ASN XML and check  ISO code of the UOM of product.

You can check UOM and ISO code assignment of UOM in transaction code CUNI.

Regards,

Nikhil

Former Member
0 Kudos

Hi Nikhil,

I check in ASN XML, all the UOM is EA (EACH), when I check in ISO Configuration for UOM, it is assigned to EA UOM as below:

Also I checked in ISO Table T006, the said ISO Code EA is assigned only Once, as this is the precondition in EDI to be successful.

Please help me on how to resolve the Issue... Thanks

Former Member
0 Kudos

Hi Guru,

Can you uncheck the Primary code and check.

Regards,

Nikhil

Former Member
0 Kudos

Hi Nikhil,

The above issue was due to UOM used was not matching with EDI File..

EDI File: EA

MAT1: LB

So I changed the file data to LB and Processed, I also saw, LB is assigned to ISO Code LBR, and LBR is not assigned to any other UOM in T006 Table..

When I reprocess the XML I get a New error now "Unit of measure 'Quantity' in item 000001 is invalid"

Can you please suggest, what could have gone wrong..

Below is my Pay Load XML:

  <?xml version="1.0" encoding="UTF-8" ?>

- <ns0:DespatchedDeliveryNotification xmlns:ns0="http://sap.com/xi/SCMBasis/Global">

- <MessageHeader>

  <ID schemeAgencyID="B2B">D89D677399F01EE4B3B0E5ECA689CDE1</ID>

  <CreationDateTime>2015-03-18T09:44:34</CreationDateTime>

- <SenderParty>

  <InternalID schemeAgencyID="EWD">2000296</InternalID>

  <StandardID schemeAgencyID="EWD">2000296</StandardID>

  </SenderParty>

- <RecipientParty>

  <InternalID>U001</InternalID>

  </RecipientParty>

  </MessageHeader>

- <Delivery actionCode="01">

  <ID />

  <ConsigneeID>530214</ConsigneeID>

  <CreationDateTime>2015-03-18T09:44:34</CreationDateTime>

- <BuyerParty>

  <InternalID>U001</InternalID>

  <ConsigneeID>U001</ConsigneeID>

  </BuyerParty>

- <ConsigneeParty>

  <InternalID>U001</InternalID>

  <ConsigneeID>U001</ConsigneeID>

  </ConsigneeParty>

- <CarrierParty>

  <StandardID schemeAgencyID="182">RDWY</StandardID>

  </CarrierParty>

- <ShipToLocation>

  <InternalID>8312</InternalID>

  <ConsigneeID>8312</ConsigneeID>

  </ShipToLocation>

  <GrossWeightMeasure unitCode="LB">00000000000001225</GrossWeightMeasure>

  <ArrivalDateTime>2015-03-12T23:59:00</ArrivalDateTime>

  <IssueDateTime>2015-03-11T23:59:00</IssueDateTime>

  <WayBillID>Test4</WayBillID>

- <TransportMeans>

  <ID>302421</ID>

  <DescriptionCode>Z99</DescriptionCode>

  </TransportMeans>

- <Item>

  <ID>000001</ID>

- <PurchaseOrderReference>

  <ID />

  <ItemID />

  </PurchaseOrderReference>

- <SchedulingAgreementReference>

  <ID>5500001681</ID>

  <ItemID />

  </SchedulingAgreementReference>

- <Product>

  <InternalID>0000000000000000000000000004050008908300</InternalID>

  <ConsigneeID>0000000000000000000000000004050008908300</ConsigneeID>

  </Product>

- <Batch>

  <InternalID>112233ZZ</InternalID>

  </Batch>

  <Quantity unitCode="LB">1000</Quantity>

  </Item>

- <HandlingUnit>

  <ID>556677880013</ID>

- <LoadCarrier>

- <Product>

  <InternalID>000000000000599999</InternalID>

  </Product>

  </LoadCarrier>

- <Load>

- <BusinessTransactionDocumentReference>

  <ItemID>000001</ItemID>

  </BusinessTransactionDocumentReference>

  <Quantity unitCode="LB">00000000000001000</Quantity>

  </Load>

  </HandlingUnit>

  </Delivery>

  </ns0:DespatchedDeliveryNotification>

Former Member
0 Kudos

Hi Prasad,

Change the UOM in EDI file from LB to LBR then reprocssed.

Regards,

Nikhil

Former Member
0 Kudos

Excellent.. Resolved, thanks Nikhil

Answers (0)