Migrating from SAP Business One DI Server to Service Layer

Sana Commerce Cloud communicates with SAP Business One using DI Server or Service Layer. SAP Business One Service Layer is a new generation of extension API for consuming SAP Business One objects and services via Web service with high scalability and high availability. We don't recommend using the DI Server for new installations, as it is currently on passive support and will soon be discontinued by SAP Business One. Furthermore, we are not implementing any changes in the Sana Commerce Cloud add-on for SAP Business One DI Server. Therefore, we strongly recommend using the Service Layer. For more information, see Supported SAP Business One Versions.

When using the DI Server or Service Layer, the fields in the SAP Business One database have different names. Therefore, when migrating from DI Server to Service Layer, some functionality of Sana Commerce Cloud may stop working and must be reconfigured. If you use the following features, you must delete any rules configured for the features listed below and recreate them after migrating from DI Server to Service Layer:

Example:

You have configured customer assortment rules in SAP Business One. You have migrated from DI Server to Service Layer. When you run the Product import task in Sana Admin, it fails with the following error:

SAP Error: Property 'some Item Field Name here' of 'Item' is invalid

This happens because the field that was used in the customer assortment rules for DI Server does not exist for Service Layer, but has a different name.