Interfaces – OCI (deprecated)

Text only available in english

As per 2013-03-01 Unifeed can also be used as a SAP OCI 4.0 Provider. In short, the Unifeed catalog can be initiated from the SRM Server and retrieve information from the catalog using the OCI (Open Catalog Interface).

Interfaces

Article, Selection list

Action POST to hookUrl
Message OCI message with one or more tradeitems. The tradeitems will be posted as an (one-based) array.
Example URL

For non SAP: https://unifeed.2ba.nl/?interfaceType=OCI&interface=3&hookUrl=http%3A%2F%2Fmijn.domein.nl%2F 
For SAP: https://unifeed.2ba.nl/OCI/Login/ (see SAP configuration details below)

Example response OCIkoppleing1

  

Implementation details (SAP)

  • SAP Documentation: http://scn.sap.com/docs/DOC-7948
  • Version: 4.0
  • Method: Call-UP using GET and data return using “Fields” POST (XML variant not implemented)
  • Supported additional functions: DETAIL
  • Unsupported functions: SOURCING, BACKGROUND_SEARCH and VALIDATE are not implemented. Please contact us if you want to use one of these functions
  • URLhttps://unifeed.2ba.nl/OCI/Login/

 

You can define the catalog using code SPRO (Transaction customisations / process flow).
This documentation can be used for PM (Pant Maintenance), PS (Project System) and MM (Material Management) although less settings are possble.

Define catalog in SAP:

bedrijven

 

Define call detail of catalog (please use your credentials)

config

 

Define ordertype of catalogus / Map OCI fields to SAP fields (RIHFCOM_XL)

mapping

 

mapping

 

OCI Format mapping

Field name Details Mapping 2BA
NEW_ITEM-DESCRIPTION[n]
char 40
Description of the item TradeItem.Description (Cut to length 40)
NEW_ITEM-MATNR[n]
char 40
SRM product number of the item
NEW_ITEM-QUANTITY[n]
char 15
Item quantity; 11 digits before the decimal point, 3 after it. Do not use commas for thousands. The entered quantity on selection or from selectionlist
NEW_ITEM-UNIT[n]
char 3
Quantity unit for item quantity TradeItem.OrderUnitMeasureUnitCode (ISO codes like PCE, MTR)
NEW_ITEM-PRICE[n]
char 15
Price of an item per price unit; 11 digits before the decimal point, 3 after it. Do not use commas for thousands. TradeItem.GrossPricePerOrderUnit * Quantity (or when condition server is active and a netprice is found, the netprice will be used)
NEW_ITEM-CURRENCY[n]
char 5
Item currency; Must be maintained as ISO code in the SRM Server. TradeItem.CurrencyCode
NEW_ITEM-PRICEUNIT[n]
char 9
Price unit of the item (if empty, 1 is used)
NEW_ITEM-LEADTIME[n]
char 5
Delivery time of the item in days TradeItem.DeliveryTime (only when TradeItem.DeliveryTimeMeasureUnitCode == 803(days))
NEW_ITEM-LONGTEXT_n:132[]
char 8
Long text for the item TradeItem.LongDescription (Mostly not filled)
NEW_ITEM-VENDOR[n]
char 10
SRM vendor number (business partner) for the item TradeItem.SupplierGLN
NEW_ITEM-VENDORMAT[n]
char 40
Vendor product number for the item TradeItem.TradeItemId
NEW_ITEM-MANUFACTCODE[n]
char 10
SRM manufacturer number of the item TradeItem.ManufacturerGLN / Product.ManufacturerGLN
NEW_ITEM-MANUFACTMAT[n]
char 40
Item’s manufacturer part number TradeItem.ManufacturersProductId / Product.ManufacturersProductId
NEW_ITEM-MATGROUP[n]
char 10
SRM material group for the item TradeItem.AllowanceGroup
NEW_ITEM-SERVICE[n]
char 1
Flag: the item is a service.
NEW_ITEM-CONTRACT[n]
char 10
SRM contract to which the item refers
NEW_ITEM-CONTRACT_ITEM[n]
char 5
Item within the SRM contract
NEW_ITEM-EXT_QUOTE_ID[n]
char 35
Number of an external bid for this item (as reference for a subsequent purchase order)
NEW_ITEM-EXT_QUOTE_ITEM[n]
char 10
Item of external bid
NEW_ITEM-EXT_PRODUCT_ID[n]
char 40
Unique database key for this item in the catalog TradeItem.ID (2BA’s internal ID, used in back-link of the DETAIL function)
NEW_ITEM-ATTACHMENT[n]
char 255
URL of the attachment (the attachment must be accessible for downloading under this URL)
NEW_ITEM-ATTACHMENT_TITLE[n]
char 255
Title of the attachment (if this is empty the file name from the URL above is used)
NEW_ITEM-ATTACHMENT_PURPOSE[n]
char 1
Purpose of the attachment. C corresponds here to configuration.
NEW_ITEM-EXT_SCHEMA_TYPE[n]
char 10
Name of a schema via which it was imported in the SRM Server
NEW_ITEM-EXT_CATEGORY_ID[n]
char 60
Unique key for an external category from the schema above, independent of the version of the schema
NEW_ITEM-EXT_CATEGORY[n]
char 40
Unique key for an external category from the schema above, dependent on the version of the schema
NEW_ITEM-SLD_SYS_NAME[n]
char 60
Name of a system in the System Landscape Directory (SLD)

 

 

NEW_ITEM-CUST_FIELD1[n]
char 10
User-defined field
NEW_ITEM-CUST_FIELD2[n]
char 10
User-defined field
NEW_ITEM-CUST_FIELD3[n]
char 10
User-defined field
NEW_ITEM-CUST_FIELD4[n]
char 20
User-defined field
NEW_ITEM-CUST_FIELD5[n]
char 50
User-defined field 
This site is registered on wpml.org as a development site.