Discounts in SAP ECC

This article contains only SAP ECC specific information related to the discount codes configuration. For more information about how to create discounts in Sana, see Sana Discounts.

Fixed Amount Discounts

If you create order or product discounts, and select the Fixed amount type, you should enter amount including tax and amount excluding tax per currency. The appropriate amount is used for the discount depending on the customer's settings in SAP.

  • Amount incl. tax is used when the Sales/pur.tax option is enabled in the customer master data.

  • Amount excl. tax is used when the Sales/pur.tax option is disabled in the customer master data.

Order Discounts

When you create order discounts in Sana Admin, you need to map the appropriate Sana pricing conditions to SAP ECC condition types for accurate discount calculation.

NOTE

Since order discounts are applied at the sales order header level in SAP ECC, ensure that the condition types you select for mapping are valid for header-level discount calculations.

To set up pricing conditions for the Sana webstore, in the main menu of the Sana add-on, click Webstore Configuration. In the Webstore Id field, select your webstore and click on the Change Webstore Settings button at the top. Expand the Pricing & Payments area.

Map the following two Sana pricing conditions to the corresponding SAP ECC condition types:

  • SANA Fixed Amount Discount (for fixed-amount order discounts)

  • SANA Percentage Discount (for percentage-based order discounts)

Product Discounts

This guide outlines the steps to enable and configure Sana product discounts in SAP ECC. By following these steps, you will ensure that product discounts created in Sana Admin are properly calculated and reflected in sales orders in SAP ECC.

Step 1: To begin, you need to enable product discounts in SAP ECC. Access the Webstore Optimization window either from the main window of the Sana Commerce Cloud solution in SAP ECC (/n/sanaecom/webstore) or by calling the transaction /n/sanaecom/optimize. In the Webstore Optimization window, ensure that product discounts are enabled.

Step 2: Next, you'll need to map the appropriate Sana pricing conditions to SAP ECC condition types for accurate discount calculation.

In SAP ECC, in the main menu of the Sana add-on, click Webstore Configuration. In the Webstore Id field, select your webstore and click on the Change Webstore Settings button at the top. Expand the Pricing & Payments area.

Map the following two Sana pricing conditions to the corresponding SAP ECC condition types:

  • Sana Product Discount Amount (for fixed-amount product discounts)

  • Sana Percentage Product Discount (for percentage-based product discounts)

These conditions must be mapped to the appropriate SAP ECC condition types (standard or custom) used in your pricing procedure.

NOTE

Since product discounts are applied at the sales order line level in SAP ECC, ensure that the condition types you select for mapping are valid for line-level discount calculations.

The Sana Product Discount Amount and Sana Percentage Product Discount will now be applied to the sales order conditions in SAP ECC, reflecting the configured discount rules.

Limitation: Override ERP Discounts in Sana Admin

When configuring product discounts, you have the option to select the Override ERP discounts feature in Sana Admin. Be aware of the following limitation.

When the Override ERP discounts option is selected:

  • SAP ECC will not remove any mandatory discount conditions from the sales order that are automatically determined by the pricing procedure. These conditions are mandatory for SAP ECC and cannot be removed from the sales order.

  • The Sana webstore will still display the calculated product discount, but this may differ from the calculated values in SAP ECC, as the discount conditions in SAP ECC are ignored by Sana in this case.

  • Although the discount amount shown in the Sana webstore may be accurate based on the configuration, the totals in the sales order conditions in SAP ECC may differ due to the overridden discount conditions.