Support Note KB0392682
Email
Error: "Invalid To Credential" error for missing DUNS number when processing "PunchOutOrderMessage" in catalog tester
Issue

The Submit Cart action within the catalog tester produces the following error message:

Error:Invalid To Credential

Resolution

Delete the line with the optional SupplierID element from the PunchOutOrderMessage (POOM).

Cause

The supplier included the optional, SupplierID element (within the ItemIn segment) in the POOM.

In one instance, the supplier set the domain to DUNS; however, there is no value included:

<SupplierID domain="DUNS"/>

When including the SupplierID element, this overrides the From credential in the POOM.

The catalog tester processes the POOM and swaps the values on the From/To credential when generating the test PO. Specifically, the From credential in the POOM becomes the To credential in the OrderRequest.

Because the SupplierID overrides the From credential in the POOM, the To credential on the OrderRequest (PO) contains a domain/value pair taken from the one specified in SupplierID, which contains the domain, DUNS, and null for the value.

As a result, the SAP Business Network responds with this error message, as there is no value specified in the From credential of the test PO.

Following is the full POOM that triggers this error:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.1.020/cXML.dtd">
<cXML payloadID="DD36DA4C-9F99-457E-BA7A-5B7F5BBEE26912345678"
timestamp="2011-05-27T15:46:40.377-04" xml:lang="en">
<Header>
<From>
<Credential domain="NetworkID">
<Identity>AN01000001234-T</Identity>
</Credential>
</From>
<To>
<Credential domain="NetworkID">
<Identity>AN01000005678-T</Identity>
</Credential>
</To>
<Sender>
<Credential domain="NetworkID">
<Identity>AN01000001234-T</Identity>
</Credential>
<UserAgent>My Punchout Site</UserAgent>
</Sender>
</Header>
<Message>
<PunchOutOrderMessage>
<BuyerCookie>FCzfGGzpEFNZS6pvaBNqKK6tiwvROORM0.3262606413456009532</BuyerCookie>
<PunchOutOrderMessageHeader operationAllowed="edit">
<Total>
<Money currency="">3.45</Money>
</Total>
</PunchOutOrderMessageHeader>
<ItemIn quantity="1">
<ItemID>
<SupplierPartID>2865</SupplierPartID>
</ItemID>
<ItemDetail>
<UnitPrice>
<Money currency="USD">3.45</Money>
</UnitPrice>
<Description xml:lang="EN">Business Cards - Ordered by: Jane Smith; Quantity: 250 - Sandbox</Description>
<UnitOfMeasure>BX</UnitOfMeasure>
<Classification domain="UNSPSC">14111604</Classification>
<ManufacturerPartID>2865</ManufacturerPartID>
<ManufacturerName>My Excellent Business Card Company</ManufacturerName>
</ItemDetail>
<SupplierID domain="DUNS"/>
</ItemIn>
</PunchOutOrderMessage>
</Message>
</cXML>


Applies To

SAP Business Network for Procurement & Supply Chain > Catalogs

Terms of Use  |  Copyright  |  Security Disclosure  |  Privacy