SharedSecret
SharedSecret is the password element in a cXML Sender credential, agreed out of band between buyer and supplier and sent with each request so the receiver can authenticate it.
It appears as <SharedSecret> inside the Credential of the Sender block, next to the Identity. The receiver checks both against what it has configured for that relationship. It is used on server-to-server requests such as the PunchOutSetupRequest and OrderRequest, and also on ship notices and invoices the supplier sends. The PunchOutOrderMessage carries none, because it travels through the buyer’s browser.
On SAP Business Network, suppliers set a network shared secret in their account settings; with direct connections, the secret is exchanged with the buyer’s administrator and entered on both sides. Either way, it must match exactly, including case and trailing spaces.
When it does not match, answer with a cXML Status code="401" and a clear message, not an HTML error or a 500, which invites retries. Treat it like any other password: keep it out of logs and version control, use a different one per buyer, and plan rotation with the buyer so both sides change at the same time.
<Sender>
<Credential domain="NetworkID">
<Identity>AN00000000001</Identity>
<SharedSecret>change-me</SharedSecret>
</Credential>
<UserAgent>Example Procurement 1.0</UserAgent>
</Sender> Go deeper
Related terms
Has a buyer asked you for PunchOut?
Reading up on SharedSecret because of it? A free PunchOut shop gets you a catalogue your buyer can test: upload it from Excel, run a cXML or OCI round trip yourself and invite them. Free until they go live.
Start free Talk to us instead