Reserve and Redeem a Multi-Code Coupon with SAP Omnichannel Promotion Pricing
Advanced
20 min.
Learn how to reserve and redeem a multi-code coupon in a sales transaction using the Coupon Management service of SAP Omnichannel Promotion Pricing and how to calculate the effective sales price using the Calculation service.
You will learn
- How to use the Coupon Management service of SAP Omnichannel Promotion Pricing in your trial environment on SAP BTP
- How to reserve and redeem a coupon code with the Coupon Management service
- How to calculate the effective sales price in a sales transaction with the Calculation service of SAP Omnichannel Promotion Pricing by applying a coupon that triggers a discount on an item in the shopping cart
Prerequisites
- You have registered for a trial account on SAP BTP in the Singapore - Azure region.
- You should be familiar with the SAP BTP trial landscape and terminology (see Take a Tour of SAP BTP Trial).
- You have a subaccount in the Cloud Foundry environment, with Microsoft Azure as provider and the Singapore region (AP21).
- You have set up SAP Omnichannel Promotion Pricing as described in Set Up SAP Omnichannel Promotion Pricing.
- You have completed the tutorial Create Multi-Code Coupons with SAP Omnichannel Promotion Pricing. With this, you have generated a multi-code coupon and a batch of unique coupon codes for it. You should have noted down a code value.
Get to know the business scenario
- Business goal: You are a promotion planner working for a coffee machine vendor. As sales has slowed down, you launched a promotional campaign for your target group coffee lovers in the Heidelberg region.
- As part of this promotional campaign, you have created a multi-code coupon with the coupon ID COFFEE LOVER. The coupon is valid from October 1, 2026 to December 31, 2026. For this, you have generated a batch of unique coupon codes that can be redeemed only once by each customer.
- You have distributed the coupon COFFEE LOVER with the unique coupon codes to your target customers.
- You have also created a promotion: Buy a coffee machine and show the coupon COFFEE LOVER to get EUR 50 off.
- The promotion is valid in your Heidelberg store (business unit ID:
FC01
) from October 1, 2026 to December 31, 2026. - On October 25, 2026, one of your customers that received the coupon COFFEE LOVER comes to your Heidelberg store to purchase a coffee machine. Your customer selects a coffee machine (material number:
COFFEE_MACHINE
). The regular sales price for the coffee machine is EUR 1000. The customer presents the coupon COFFEE LOVER to the cashier. - The POS system calls the Coupon Management service to reserve the coupon code.
- The cashier continues to complete the purchase. The POS system calls the Calculation service with the shopping cart information. The Calculation service calculates the effective sales price for the coffee machine (regular price minus discount granted by the coupon) and returns it to the POS.
- Your customer completes the purchase. The POS triggers a request to the Coupon Management service to redeem the coupon code. The redemption information is returned to the POS, which confirms the completion of the payment to the customer. Your customer is now done and returns home happily with a new coffee machine.