Login parameters (sent by the SAP system)
| Parameter | Meaning |
|---|
USERNAME, PASSWORD | Agreed login (names can differ per catalog setup) |
HOOK_URL | Where to post the cart; generated at run time |
~OkCode | Usually ADDI; send back unchanged |
~TARGET | Frame target for the return, usually _top |
~CALLER | Usually CTLG |
Cart fields (posted by the supplier), index n starts at 1
| Field | Meaning |
|---|
NEW_ITEM-DESCRIPTION[n] | Short description (keep it short; SAP truncates) |
NEW_ITEM-QUANTITY[n] | Quantity |
NEW_ITEM-UNIT[n] | Unit of measure (buyer's SAP or ISO code) |
NEW_ITEM-PRICE[n] | Price per price unit |
NEW_ITEM-PRICEUNIT[n] | Quantity the price refers to (for example 100) |
NEW_ITEM-CURRENCY[n] | ISO currency code |
NEW_ITEM-VENDORMAT[n] | Supplier part number |
NEW_ITEM-MATNR[n] | Buyer's material number, if known |
NEW_ITEM-MATGROUP[n] | Buyer's material group or category |
NEW_ITEM-EXT_CATEGORY_ID[n], NEW_ITEM-EXT_SCHEMA_TYPE[n] | External category (for example a UNSPSC code and UNSPSC) |
NEW_ITEM-LEADTIME[n] | Lead time in days |
NEW_ITEM-VENDOR[n] | Buyer's vendor number for the supplier |
NEW_ITEM-MANUFACTMAT[n], NEW_ITEM-MANUFACTCODE[n] | Manufacturer part number and manufacturer |
NEW_ITEM-CONTRACT[n], NEW_ITEM-CONTRACT_ITEM[n] | Contract reference |
NEW_ITEM-EXT_PRODUCT_ID[n] | Supplier's product ID (for validation and re-entry) |
NEW_ITEM-LONGTEXT_n:132[] | Long description (note the format) |
NEW_ITEM-CUST_FIELD1[n] ... CUST_FIELD5[n] | Custom fields agreed with the buyer |
Field lengths are limited (values of more than about 255 characters are commonly cut). Agree which fields the buyer actually maps. See OCI explained.