SAP

Sana Commerce 9.3
Your connector

Pricing Calculation



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.

Those pricing conditions which are configured in the Pricing Calculation table are used to show product prices in the Sana webstore from SAP and calculate a shopping cart for a customer including discounts, taxes, extra charges, shipping and payment costs.

 NOTE

You must correctly and logically map Sana condition classes to the SAP condition types as they are used to calculate and show all prices, discounts, taxes and charges in the Sana webstore.

The table below provides description of the fields in the Pricing Calculation table.

Field Description
SANA Condition Class
This list represents the pricing logic which can be used from SAP in the Sana webstore. These can be product prices, discounts, taxes, service charges, etc. Select the Sana condition type and map it to the appropriate condition type in SAP.
SAP Condition Type Select the appropriate condition type which is used in SAP to set up pricing elements, such as product prices, discounts, taxes, service charges, etc.
Default

    Starting from Sana 9.3.4 the checkbox Default is not available in the Pricing Calculation table and now when users set up Sana condition classes for price calculation, it is handled automatically.

    This option is applicable only to the payment and shipping costs, and discounts configured in Sana Admin.

Sana has its own payment methods, shipping methods and discount codes functionality. The payment and shipping costs, and discounts coming from the Sana webstore are stored in the pricing elements of the sales order header in SAP, on the Conditions tab. The payment and shipping costs, and discounts are stored in the pricing elements of the sales order header with the condition types configured in this table. The SAP condition types for the payment and shipping costs, and discounts coming from the Sana webstore are used as general ledger accounts. For payment costs, shipping costs and discounts coming from the Sana webstore you should define the appropriate SAP condition types and select the Default checkbox.

You can set up as many condition types for pricing calculations as needed for your business.

Below you can see the description of the Sana condition classes and their usage in the Sana webstore.

Base Price: You can use it to show the standard price of a product in the Sana webstore. You can add several SAP condition types for a base price, but you cannot add the base price of a product to different condition types for the same product.

Contract Line Discount: You can use it to calculate the discount, which a customer will get, if he or she fulfils the conditions stated in the quantity contract. For more information, see "Sales Agreements".

List Price Discount: You can use it to calculate the customer-specific discount. This discount is shown for a customer on the product list and product details pages in the Sana webstore.

Item Discount: You can use it to calculate a discount for a material. This discount is shown in the shopping cart in the Sana webstore.

SANA Fixed Amount and SANA Percentage Discount: You can use it to calculate a discount which a customer can get using a Sana discount code. In Sana Admin you can create discount codes that can be entered in the shopping cart and give either a percentage or a fixed amount discount on the total order amount. For more information, see "Discount Codes".

Payment Cost: You can use it to calculate payment costs coming from the Sana webstore. In Sana Admin you can set up payment costs for payment methods.

Shipping Cost: You can use it to calculate shipping costs coming from the Sana webstore. In Sana Admin you can set up shipping costs for shipping methods.

Tax: You can use it to calculate different types of taxes (for example domestic, export, departure/destination country taxes, etc.) in the Sana webstore.

See an example of the order details page in the Sana webstore with different prices calculated by SAP (material prices, discounts, freight charge, tax, shipping cost).

See an example of the pricing elements of the sales order in SAP.

Service Charge: you can use it to calculate the extra fee for some services related to the products purchased, for example for the delivery service or, if a product was packed, for the packaging. If you use service charges in SAP, then when a customer adds some products to the shopping cart in the Sana webstore, and the service charge is calculated in SAP, it will be shown to the customer in the shopping cart.

You can add several SAP Condition Types to the Service Charge Sana Condition Class in the Pricing Calculation table in SAP.

If you add two SAP Condition Types in SAP, then two service charges will be shown to the customer in the shopping cart, for example, one for the delivery service, another one for the packaging.

 NOTE

Starting from Sana 9.3.3 it is possible to add multiple service charge conditions with different condition types.

For more information about pricing, see "Prices and Discounts".