Configuration
After subscribing to Digital Retail Engine, the following configuration options are available to tailor the application to your business needs.
Authentication
Digital Retail Engine uses SAP Authorization and Trust Management Service (XSUAA) for authentication. Users authenticate via the identity provider (IdP) configured in your BTP subaccount trust settings.
Access is controlled through role collections assigned in the SAP BTP cockpit (see Prerequisites).
Internationalization
The application supports two locales:
- en — English (default)
- de — German
Language selection is determined by the user's browser settings or the sap-language URL parameter.
Promotion Calculation Settings
The calculation engine can be configured per promotion:
| Setting | Options | Description |
|---|---|---|
| Calculation mode | Additive / Multiplicative | How multiple discounts are combined |
| Rounding mode | Round Half Up (commercial) / Round Down / Round Up / None | How discount amounts are rounded (default: Round Half Up) |
| Rounding precision | Number of decimal places (default: 2) | Decimal places for discount amounts; no fixed range is enforced |
These settings are configured within the Promotions application on each promotion individually.
POS Integration
POS systems connect to Digital Retail Engine via a dedicated REST API secured with OAuth2 client credentials. Configuration steps:
- Create a service key in the BTP cockpit for the Digital Retail Engine XSUAA instance.
- Use the service key credentials (client ID, client secret, token URL) in your POS system.
- The POS system authenticates via the OAuth2 client credentials flow and calls the POS Integration Service endpoints.
For detailed integration instructions, see the Integrator Guide.
Caching
Active promotions and evaluation results are cached for optimal POS response times. Cache invalidation happens automatically when promotions are created, updated, or deleted through the Admin UI.
No customer-side cache configuration is required.