efeumutaslan/SAP-SKILLS / skills/sap-ariba
sap-ariba
VerifiedSAP Ariba procurement and sourcing skill. Use when integrating with Ariba APIs, working with cXML/PunchOut, configuring Cloud Integration Gateway (CIG), or connecting Ariba Network with S/4HANA. If the user mentions Ariba, cXML, PunchOut, procurement integration, or supplier management API, use this skill.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.9 KB |
| references/cxml-message-reference.md | markdown | 3.9 KB |
references/cxml-message-reference.md
View on GitHub# SAP Ariba cXML Message Reference
## Common cXML Document Types
| Document | Direction | Purpose |
|----------|-----------|---------|
| `PunchOutSetupRequest` | Buyer → Supplier | Initiate PunchOut session |
| `PunchOutSetupResponse` | Supplier → Buyer | Return PunchOut URL |
| `PunchOutOrderMessage` | Supplier → Buyer | Cart contents from PunchOut |
| `OrderRequest` | Buyer → Supplier | Purchase Order |
| `ConfirmationRequest` | Supplier → Buyer | Order confirmation |
| `ShipNoticeRequest` | Supplier → Buyer | ASN (Advance Shipping Notice) |
| `InvoiceDetailRequest` | Supplier → Buyer | Invoice |
| `StatusUpdateRequest` | Either | Status update on order/line |
## PunchOut Flow
```
Buyer App Ariba Network Supplier Site
│ │ │
├─PunchOutSetupRequest──────►│──PunchOutSetupRequest───►│
│ │ │
│◄─PunchOutSetupResponse─────│◄─PunchOutSetupResponse──│
│ │ │
│─────── User browses supplier catalog ────────────────►│
│ │ │
│◄─PunchOutOrderMessage──────│◄─PunchOutOrderMessage───│
│ (cart items in cXML) │ │
```
## cXML Envelope Structure
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.053/cXML.dtd">
<cXML payloadID="{{PAYLOAD_ID}}" timestamp="{{ISO_TIMESTAMP}}">
<Header>
<From>
<Credential domain="NetworkId">
<Identity>{{SENDER_ANID}}</Identity>
</Credential>
</From>
<To>
<Credential domain="NetworkId">
<Identity>{{RECEIVER_ANID}}</Identity>
</Credential>
</To>
<Sender>
<Credential domain="NetworkId">
<Identity>{{SENDER_ANID}}</Identity>
<SharedSecret>{{SHARED_SECRET}}</SharedSecret>
</Credential>
<UserAgent>{{APP_NAME}}</UserAgent>
</Sender>
</Header>
<Request>
<!-- Document-specific content -->
</Request>
</cXML>
```
## OrderRequest Example
```xml
<Request>
<OrderRequest>
<OrderRequestHeader orderID="PO-001" orderDate="2025-03-15"
type="new">
<Total>
<Money currency="USD">1500.00</Money>
</Total>
<ShipTo>
<Address>
<PostalAddress>
<Street>123 Main St</Street>
<City>Walldorf</City>
<PostalCode>69190</PostalCode>
<Country isoCountryCode="DE">Germany</Country>
</PostalAddress>
</Address>
</ShipTo>
<BillTo>
<Address addressID="BILL-001"/>
</BillTo>
</OrderRequestHeader>
<ItemOut quantity="10" lineNumber="1">
<ItemID>
<SupplierPartID>MAT-12345</SupplierPartID>
</ItemID>
<ItemDetail>
<UnitPrice><Money currency="USD">150.00</Money></UnitPrice>
<Description xml:lang="en">Widget A</Description>
<UnitOfMeasure>EA</UnitOfMeasure>
</ItemDetail>
</ItemOut>
</OrderRequest>
</Request>
```
## Ariba APIs (REST)
| API | Endpoint Pattern | Auth |
|-----|-----------------|------|
| Procurement | `/api/procurement/v2/` | OAuth2 |
| Sourcing | `/api/sourcing/v2/` | OAuth2 |
| Contracts | `/api/contracts/v1/` | OAuth2 |
| Supplier Management | `/api/supplier-management/v2/` | OAuth2 |
| Analytics (Operational) | `/api/analytics-reporting-view/v1/` | OAuth2 |
## CIG (Cloud Integration Gateway) Events
| Event | Description |
|-------|-------------|
| `PurchaseOrderRequest` | PO from S/4 → Ariba |
| `PurchaseOrderConfirmation` | Confirmation Ariba → S/4 |
| `InvoiceRequest` | Invoice from supplier |
| `GoodsReceipt` | GR from S/4 for 3-way match |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |