SAP Marketing Cloud uses Products in Business Scenarios for Recommendations, Offers or Emails. However, to provide also a discount (or price), which can be communicated to the customer through campaigns, it is recommended to define a custom business object, especially in scenarios with the time dependend discounts. With the Custom Business Object in place you can synchronize the discounts with your pricing engine, similar as a sales or a commerce system does.
This document describes roughly the needed steps to define a custom business object for “Discounts in Marketing” with an association to Products in Marketing, so that the values can be used for Recommendations, Offers and Emails.
As a prerequisite you have loaded product master data into Marketing from your master data system, for example from S/4HANA Enterprise, SAP ERP or SAP C/4HANA Commerce. For this integration process one can use the Standard Integration Package “SAP Order Management Integration” or the Interface API_MKT_PRODUCT as part of Custom iFlow development in CPI.
To make discounts available in SAP Marketing Cloud the following steps are needed:
- Logon as Administrator and start the App “Custom Business Object”.
- Specify Id and Name for the Business Object and define the required settings:
Make sure that an UI gets generated, that a ODATA service is available and that the Business Object can be associated to any other Business Object
- Specify the field for the reference to the Product with the type “Association to Business Objects“. Define the fields which you need to specify the discounts in Marketing, if required also a date field to model time dependent discounts in Marketing.
- Generate a Tile for the Fiori Launchpad to open the User Interface for the Discounts
- To load Discounts for the relavant Products, define first a custom integration scenario. This enables you to call the generated ODATA service for the Custom Business Object from the corresponding pricing system.
- After you have loaded your discounts from the source pricing system you will find the values in the generated UI of the Custom Business Object
Having done this you can integrate the values of the Discounts into your marketing processes for recommendations or emails following the corresponding steps in the Extensibiltiy Guide.
Note, you can realize a similar solution for discounts which refer to product categories of an product hierarchy.
In addition you can also link the discounts, stored in the custom business object, to the products use and resonance app. To do so the following is required
- Lauch the app “Custom Fields and Logic”
- Enhance the business object “Marketing – Product” with an extensibility field, which carries an association to the custom business object “Discounts in Marketing”
- Afterwards update the product data with the reference to the discounts via the standard service API_MKT_PRODUCTS.
When opening the product use and resonance app one can include an hyperlink to the discount app via the UI Adaptation mode for the given extensibiltiy field.