Troubleshooting

Product descriptions are cut short in the SAP cart

The OCI basket transfers and every description in the SAP requisition stops mid-word. Approvers cannot tell similar products apart.

Short answer

NEW_ITEM-DESCRIPTION is a short text and SAP keeps 40 characters of it. That is a limit of the interface, not a setting you can raise from your side. Put the words that identify the product in the first 40 characters, and send the full description in NEW_ITEM-LONGTEXT_n:132[], where n is the same line index as the item it belongs to.

Causes, most likely first

Ordered by how often each one turns out to be the culprit, not by how interesting it is. Work down the list.

  1. The full product title is sent as the description

    How to confirm: Your titles begin with brand, range and marketing words, and the part that distinguishes one item from the next falls after character 40.

    Fix: Build a separate short description for OCI that leads with what the approver needs: product type, size, pack quantity. Keep it to 40 characters yourself so you choose what is lost.

  2. No long text is sent

    How to confirm: The SAP item has a short text and nothing else. The long text field is optional, so nothing warns you it is missing.

    Fix: Send the full description in NEW_ITEM-LONGTEXT_n:132[], with n matching the item’s index. The 132 in the name refers to how SAP splits the text into lines.

  3. The long text index does not match the item

    How to confirm: Long text appears on the wrong line, or not at all. The index in the long text field name follows a different syntax from the other fields — LONGTEXT_1:132[] rather than DESCRIPTION[1] — and it is easy to number them differently.

    Fix: Generate both field names from the same index variable in the same loop.

  4. Markup in the long text

    How to confirm: The long text in SAP shows <br> or <p> tags. It is plain text and HTML from your product pages comes through literally.

    Fix: Strip markup and convert line breaks to plain new lines before writing the field.

If it is not on your side

If your short descriptions are under 40 characters and still cut, ask the buyer to check the field lengths in their own OCI configuration. Some installations map the fields through their own code and may shorten them further.

Check the document itself

Before chasing “Product descriptions are cut short in the SAP cart” further, paste the cXML or OCI payload into our free tester. It runs in your browser and reports the structural problems buyers reject on. The interactive demo plays the whole round trip from the buyer's seat.

Open the tester Play the demo

Related questions

Do other OCI fields have length limits?

Yes. Most OCI fields have fixed lengths set by the receiving SAP structure, including the material number and unit fields. Ask the buyer for the field list with lengths and treat it as the specification.

Will the approver see the long text?

It is stored with the item and visible on the item detail, but most list views show only the short text. That is why the first 40 characters matter more than the rest.

Rather not be the one debugging this?

A free PunchOut shop runs the PunchOut round trip for you: upload from Excel, test it, invite your buyer.

Start free Send us the error