deploymentMode
deploymentMode is an attribute on a cXML Request or Message that marks the document as test or production; when it is missing, the document is treated as production.
The attribute sits on the Request element of a PunchOutSetupRequest, OrderRequest or invoice, and on the Message element of a PunchOutOrderMessage. It takes two values, test and production, and the DTD defaults it to production. A buyer system testing your catalogue sends deploymentMode="test".
For a supplier, it is how you keep test traffic out of real operations. A test order that reaches your warehouse system as a real one gets picked and shipped. A PunchOut cart should be returned in the same mode as the setup request that started it, and a test session is a good place to flag lines clearly as not for fulfilment.
Do not rely on the attribute alone. On SAP Business Network, test and production are separate accounts with different identities, so the credentials themselves tell you which environment you are talking to. The mistake to avoid is the reverse of what people expect: forgetting that an absent attribute means production, and treating an unmarked document as a test.
<Request deploymentMode="test">
<PunchOutSetupRequest operation="create">
<BuyerCookie>8f3c2a91-session-4471</BuyerCookie>
<BrowserFormPost>
<URL>https://procurement.buyer.example/punchout/return</URL>
</BrowserFormPost>
</PunchOutSetupRequest>
</Request> Go deeper
Related terms
Has a buyer asked you for PunchOut?
Reading up on deploymentMode 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