Configuring Remote Item Service

Configuration files
  • ..\parameter\client\flow\itemEntryConfigs.properties
  • ..\parameter\server\mod-data-provider-server.properties
  • webservice.properties (SDC)

Configuration of Remote Item Service on POS Client

It is possible to trigger a remote item search if the item was not found in the local database. Therefore, the following configuration must be used:

itemEntryConfigs.properties:

ItemEntryConfigs.Default.itemProvider=LocalAndRemote

Additionally, the SDC remote item service needs to be configured in the following way:

mod-data-provider-server.properties;

gkr.server.data-provider.pos-item-provider=REMOTE
 gkr.server.data-provider.jaxrs-client.baseUrl=https://localhost:50443/swee-sdc/tenants/${SystemConfig.tenantId}/stores/${SystemConfig.retailStoreId}

It is also possible to use the corresponding Storemanager editor of the POS Client for configuration.

Configuration of SAP Remote Item Service on Backend

On the SDC side, it is necessary to configure the SAP service for remote item search:

webservice.properties;

# Credentials and base URL
gkr.ws.sap.server=http://localhost:8000
gkr.ws.sap.user={user name}
gkr.ws.sap.password={password}
# POS Item Data Provider
 gkr.ws.sap.posItemById.url=${gkr.ws.sap.server}/sap/bc/srt/xip/sap/ecc_merchandise001qr/{tenantId}/zmerchandiseerpbyelementsqueryre/binding
gkr.ws.sap.posItemById.user=${gkr.ws.sap.user}
gkr.ws.sap.posItemById.password=${gkr.ws.sap.password}

It must be ensured that the SAP service is also configured in the right way on the SAP side so that it is accessible by SDC.