How to Set Up PunchOut for Your Buyer in SAP Ariba: Supplier Guide

Setting up PunchOut for a buyer on SAP Ariba takes four settings on your supplier account, a PunchOut catalogue and three endpoints on your shop. A step-by-step guide for Magento and Shopify suppliers.

TD
Written byTakeoff Digital Team
Published21 October 2026
Reading time13 min read
Diagram of the four SAP Business Network settings (cXML authentication, PunchOut configuration, order routing, PunchOut catalogue) and the three shop endpoints they connect to.

Setting up PunchOut for a buyer on SAP Ariba takes four settings on your supplier account, a PunchOut catalogue, and three endpoints on your shop. None of it is hard, but the settings live in different corners of SAP Business Network, and the order you set them up in matters.

This guide is for suppliers and agencies connecting a Magento (Adobe Commerce) or Shopify shop to a buyer who purchases through SAP Ariba. It covers both halves of a typical integration:

  • PunchOut: the buyer's user clicks your catalogue inside Ariba, lands on your shop already logged in, fills a basket and sends it back to Ariba as a requisition.
  • cXML purchase orders: once the requisition is approved, Ariba sends the purchase order to your shop as a cXML OrderRequest, so it arrives as an order without anyone retyping it.

If punchout itself is new to you, read What is punchout? first. Ariba speaks cXML rather than OCI; cXML vs OCI explains the difference.

Before you start you need: admin access to your SAP Business Network supplier account (test and production), a trading relationship with the buyer, and a shop that can receive cXML. On Magento that is what our Magento PunchOut extension does; on Shopify, our Shopify PunchOut app. The menu paths below are from the supplier account as it looked in autumn 2026; SAP moves things around, so if a label differs slightly, look for the nearest match.

Step 0: Accept the relationship, and know which account you are in

Nothing works until the buyer is a current customer on your account. The buyer (or their Ariba consultant) sends a trading relationship request; you accept it under [your initials] > Settings > Customer Relationships. In the newer screen that list sits under Trading Business Partner; the older Classic View shows it as Current, Pending and Rejected tabs, and that is where the per-customer routing options live (Step 3).

You will do everything twice. SAP Business Network gives you a test account (its network ID, the ANID, ends in -T and every page shows a red TEST MODE label) and a production account. Configure and test in the test account first, then repeat the same settings in production. Account administrators switch between them from the initials menu (Switch To Test ID); other users log in to the test account separately.

Before changing anything, open the initials menu and check the company name and ANID. It sounds obvious, but with two near-identical accounts it is the easiest mistake to make.

Step 1: Set the account-wide cXML authentication

The shared secret on the cXML Setup page is what SAP Business Network uses to prove to your shop that a document really comes from Ariba. Find it under [your initials] > Settings > Electronic Order Routing > Configure cXML (native) integration.

  • Select an authentication method: choose Shared Secret (the usual choice). Changing this refreshes the page.
  • Shared secret: the first time, enter it in New Shared Secret and Confirm Shared Secret. Once one is saved, Ariba never shows it again, and any later change also asks for the Current Shared Secret. Store it in your password manager the moment you set it.
  • Profile URL (optional): if your shop answers cXML ProfileRequest documents, enter that endpoint here. Ariba then asks your shop which URLs it supports, caches the answer for 24 hours, and uses it when sending documents. Reset Profile clears the cache after you change something. If your shop does not support ProfileRequest, leave it empty.

This page applies to your whole account, not to one buyer. Note the yellow banner too: the PunchOut URL used to live here and has moved to the Catalogs area (Step 2).

Watch out for browser autofill. Chrome and other browsers happily fill the New and Confirm Shared Secret fields with a saved Ariba password. Save the page like that and you have silently changed your shared secret. Before every Save on this page, clear those two fields unless you mean to change the secret.

Step 2: Create the PunchOut configuration

The PunchOut configuration tells Ariba where to send the buyer's user when they open your catalogue. Go to More > Catalogs > Customer Catalogs > PunchOut Configuration > Create.

FieldWhat to enter
NameAnything recognisable, e.g. BuyerName_Test
PunchOut URLYour shop's endpoint for PunchOutSetupRequest, e.g. https://shop.example.com/punchout/login/...
VisibilityPublic: used for all your customers. Private: tick the customers who get this URL
AuthenticationDefault Authentication: uses the shared secret from Step 1. Customized Authentication: a separate secret just for this configuration
Pricing UpdatesOptional; pick Punchout URL if your shop also serves price updates there
Server name indicationLeave ticked unless your host says otherwise

Two choices here cause most of the trouble later:

  • Public or Private. Private feels tidier when you have several buyers, but Ariba's Catalog Tester sends as a generic test buyer that is not one of your customers. With only Private configurations, the tester fails with "To org is not configured to receive PunchOutSetupRequest". Keep at least one Public configuration on the test account while you test.
  • Default or Customized authentication. Customized gives each configuration its own secret, which is useful with several shops, but it is one more secret that Ariba will never show you again. A brand-new configuration only asks for Shared Secret and Confirm; editing an existing one also asks for the current secret.

Step 3: Route purchase orders to your shop

Order routing decides whether Ariba posts purchase orders to your shop as cXML or keeps them in your online inbox. You can set it once for everyone, and override it per customer.

Default routing is under [your initials] > Settings > Electronic Order Routing > New Orders. For Catalog Orders without Attachments choose cXML and fill URL to send cXML documents with your shop's OrderRequest endpoint. The other three order rows default to Same as new catalog orders without attachments, and so do the Change/Cancel rows, so one setting covers them all. Available methods are Online, cXML, Email, EDI, cXML Pending Queue and Fax.

Per-customer routing is useful when buyers need different endpoints, or when only one buyer should go to your shop. Go to Customer Relationships > Classic View > Current, then Actions > Override Routing next to the customer, choose Customize routing preferences and click OK. A three-step wizard follows:

  1. Order Routing: the same table as the default page, with its own URL to send cXML documents for this customer. Everything starts on Online, so set the method and URL deliberately.
  2. Routing Method Visibility: whether the buyer can see your routing details (defaults to No).
  3. Order Routing Summary: check it, then Submit. The customer's Routing Type changes from Default to Custom.

SAP only offers customer-specific routing on enterprise accounts.

Plan this before you test. If you switch the default to Online and route one buyer by override, Catalog Tester orders will stop reaching your shop, because the tester is not that buyer (see Step 6).

Step 4: Publish a PunchOut catalogue for the buyer

The buyer's users only see your shop once a PunchOut catalogue (an "index file") is published to them and they approve it. For a Level 1 PunchOut, where users land on your shop's home page and do all their shopping there, the catalogue is essentially one entry: your name, logo, search keywords and the link to start a PunchOut session.

There are two ways to create it:

  1. Build it on SAP Business Network. On PunchOut Configuration, set up the Level 1 Index File Template (Short Name, Keywords, logo; the Supplier ID is filled in for you). Then go to the Files tab, click Create, name the catalogue, tick PunchOut Level 1, keep visibility Private, select the buyer and click Validate and Publish.
  2. Upload an index file. Some buyers send their own template (CIF or Excel). Fill it in and upload it under Files > Create without ticking PunchOut Level 1. The Supplier URL in the file must match the PunchOut URL from Step 2, because it is sent in the PunchOutSetupRequest.

After publishing, the catalogue shows Pending Buyer Validation until the buyer reviews it and clicks Approve & Activate in their Ariba system; then it shows Activated and you get a notification. If PunchOut works from the Catalog Tester but the buyer's users cannot find you, this status is the first thing to check.

Buyers often have naming rules for catalogues (for example SUPPLIER NAME PUNCHOUT_GB), so ask before you publish. Our list of questions procurement will ask on the first punchout call covers what else to agree with them early.

Step 5: Make sure your shop handles each message

Your shop needs to handle three cXML messages, plus a fourth if you set a Profile URL. One full purchase runs like this:

  1. The buyer's user opens your catalogue in Ariba. SAP Business Network posts a PunchOutSetupRequest to your PunchOut URL.
  2. Your shop checks the credentials, starts a session and replies with a PunchOutSetupResponse containing a one-time StartPage URL.
  3. The user's browser opens that URL and shops on your site as normal.
  4. At checkout your shop returns the basket as a PunchOutOrderMessage, posted from the user's browser to the BrowserFormPost URL that came in step 1, together with the same BuyerCookie.
  5. The buyer approves the requisition in Ariba. SAP Business Network then posts a cXML OrderRequest to your order URL from Step 3.
  6. Your shop creates the order and replies straight away with a cXML response, status 200.
EndpointReceivesMust reply with
PunchOut URLPunchOutSetupRequestPunchOutSetupResponse with StartPage URL
Order URLOrderRequestcXML Response, Status code="200"
Profile URL (optional)ProfileRequestProfileResponse listing your transaction URLs

If you would rather not build these yourself, they are what a PunchOut integration provides out of the box; the full list of what ours handles is on the Magento PunchOut features page.

Three rules save hours of debugging:

  • Check credentials against what Ariba actually sends. Every request carries From (the buyer's network ID), To (yours) and Sender (the identity that signs it, with the shared secret). The Sender is SAP Business Network's identity, not the buyer's, and the Catalog Tester uses a different one again. Log the full header of the first few requests and build your checks from real data.
  • Always answer in cXML, even when you refuse. A wrong secret should return a cXML response with Status code="401" and a clear text, not an HTTP 500 or an HTML error page. Otherwise Ariba only shows a generic "500 Internal Server Error" with an ANERR reference number, and you are left guessing.
  • Identify the customer from the request. If several buyers will use the same shop, read the buyer from the From network ID rather than hard-coding one endpoint per buyer. Ariba's PunchOut URL and Profile URL settings are shared across customers unless you split them deliberately.

Step 6: Test in three rounds

Test in three rounds, and only the last one proves the integration works for your buyer. Before the first round, you can check that your endpoints answer at all with our free PunchOut tester, which sends cXML PunchOut and order requests from the browser.

  1. Catalog Tester (smoke test). In the test account, go to Catalogs > Files, select the catalogue and click Test, then Shop. It checks that your PunchOut URL answers, that a basket comes back, and that a test order can be posted. It sends as SAP's own generic test buyer with its own sender credentials, so it follows your Public PunchOut configuration and your default order routing, not the buyer's.
  2. The buyer's test system. Ask the buyer to approve the catalogue in their Ariba test realm, PunchOut from there, return a basket and submit a test purchase order to your test ANID. This is the only test that uses the buyer's real network ID, any per-customer routing you set and the credentials production will use. Agree a time so you can watch your logs while they do it.
  3. Production. Repeat Steps 1 to 4 in the production account (it does not copy anything from test), then do one live PunchOut and one low-value order with the buyer.

"200 OK" is not proof of delivery. The Catalog Tester sometimes says "200 OK" for an order that never reached your shop. That reply means SAP Business Network accepted the order; if routing for that buyer is Online, it went to your Ariba inbox instead. Always confirm on your side that the order arrived.

Go-live checklist

Go live only when every box below is ticked, in both the test and the production account.

  • Trading relationship with the buyer accepted (Customer Relationships > Current)
  • cXML authentication set; shared secret stored in your password manager
  • Profile URL set only if your shop answers ProfileRequest; otherwise empty
  • PunchOut configuration created, with the right URL, visibility and authentication
  • Order routing set to cXML with your order URL, by default or per customer
  • PunchOut catalogue published and showing Activated (not Pending Buyer Validation)
  • Shop endpoints return cXML responses, including on errors
  • Buyer has run a PunchOut and a test order from their own test system
  • Saved browser passwords for the Ariba site removed, so nothing autofills the secret fields

Several of these tripped us up on a recent project. Our follow-up article covers the testing traps in detail: SAP Ariba PunchOut testing: 7 traps we hit, and how to avoid them.

Need a hand?

Takeoff Digital builds and supports cXML and OCI PunchOut integration for Adobe Commerce (Magento) and Shopify. Our Magento PunchOut extension, PunchOut Suite, is on the Adobe Commerce Marketplace, and Shopify stores can use our Shopify PunchOut app. More on the platform itself is on our Ariba PunchOut integration page. If you have a buyer asking for Ariba PunchOut, get in touch and we will set it up with you.

TaggedPunchout IntegrationSAP AribacXMLHow-To Guide

Ready to build something great?

A straight answer on scope, cost and timeline, from the team that wrote this.

Start a project