User Tools

Site Tools


shop-integration

Integration for Shop Systems (OCI Punchout)

The shop specific pCon.ui comes with an “ADD TO CART” button. This button sends an OCI to your shop. The Open Catalog Interface was developed by SAP and is a standard communication format. We support OCI 5.0.

Concept

In the iframe, pCon.ui collects the data for HOOK_URL with the click on the “ADD TO CART” button and sends them as $_POST. The $_POST contains the OCI and will be send to the given HOOK_URL. The HOOK_URL now evaluates the $_POST, eg. opens the shopping cart or tells the user that the article was added.

Please note that there is no shopping system offered by pCon.ui. The system has to be scripted / installed by you.

The “ADD TO CART” Button is only visible when the url parameter HOOK_URL= is set. Without this parameter, no button is visible.

If the HOOK_URL is a PHP script, then only approx. 20 articles can be processed with the standard limits of PHP 8.x (post_max_size = 8M and max_input_vars = 1000). Each article requires 0.1 MB post_max_size and 50 max_input_vars.

If you need to proceed more articles you should adjust the php limits on your server.

OCI Response

To send back the article information, the Open Catalog Interface (OCI) is used.
The OCI specification can be found here: https://wiki.scn.sap.com/wiki/display/SRM/OCI+Documentation

The naming convention for the fields in the OCI is as follows: NEW_ITEM-<Field name>[<index>]. The field type is always CHAR.

An OCI can contain several products since the configuration allows adding of so called child products or PECs.

Example:

→ a worktop has a CPU holder and a screen.

NEW_ITEM-DESCRIPTION[1] => example worktop
NEW_ITEM-DESCRIPTION[2] => example CPU holder
NEW_ITEM-DESCRIPTION[3] => example screen

The OCI contains the information for three articles:

:!: Please make sure to handle those articles as a group in your cart!

To get to know the whole OCI fields, please head over to OCI 5 - Specification.

shop-integration.txt · Last modified: by Karolin Merten



Legal Notice and Data Protection