SAP OCI 4.0 & 5.0 PunchOut for SAP SRM & S/4HANA.
SAP OCI looks deceptively simple until a 41-character description, decimal comma, or skipped index breaks the SAP shopping cart. Maillon enforces every OCI 4.0/5.0 rule automatically.
Portal Technical Specification
| Protocol | SAP OCI 4.0 & 5.0 (HTTP POST form return to HOOK_URL) |
|---|---|
| OCI 4.0 Hard Limit | NEW_ITEM-DESCRIPTION[n] strictly ≤ 40 chars (full text in LONGTEXT) |
| Indexing Rule | 1-based contiguous indices [1], [2], ..., [N] with zero gaps |
| Decimal & Units | Dot decimal prices (19.20) + 3-char UN/CEFACT UNIT + MATGROUP |
NEW_ITEM-DESCRIPTION[1]=Cut-resistant nitrile gloves level D L NEW_ITEM-LONGTEXT_1:132[]=Cut-resistant nitrile gloves level D size 9 — industrial grip NEW_ITEM-MATNR[1]=EPI-GANT-09 NEW_ITEM-QUANTITY[1]=20 NEW_ITEM-UNIT[1]=PR NEW_ITEM-PRICE[1]=11.20 NEW_ITEM-PRICEUNIT[1]=1 NEW_ITEM-CURRENCY[1]=EUR NEW_ITEM-MATGROUP[1]=46181504 NEW_ITEM-LEADTIME[1]=2
Common UAT Rejection Pitfalls
NEW_ITEM-DESCRIPTION > 40 chars in OCI 4.0
SAP SRM silently truncates or throws a short dump if description exceeds 40 characters.
Starting at index [0] or skipping index [2]
SAP stops reading cart lines the moment an index is missing or 0-based.
Comma decimal price (19,20 instead of 19.20)
European ERP exports often contain commas; OCI strictly demands a dot decimal separator.
Open HOOK_URL SSRF vulnerability
Never redirect blindly to arbitrary HOOK_URLs. Maillon validates HTTPS and blocks private/internal IPs.
Try Maillon PunchOut Gateway in 1 click (pre-filled demo sandbox)
Explore a pre-filled B2B catalog, SAP Ariba cXML & SAP OCI 4.0 test buyers, live Simulator, and PO PDF/CSV exports — zero signup required.
Frequently Asked Questions
Yes. Select OCI 4.0 or OCI 5.0 per buyer; Maillon automatically enforces the 40-char truncation rule on OCI 4.0 and preserves full text in LONGTEXT.
Yes! Paste your OCI key=value fields directly into our free cXML / SAP OCI Validator to check indices, lengths, UOMs, and UNSPSC codes.