When integrating with SAP CRM, you may want to use the prices defined in the SAP CRM system of your landscape for managing the recurring fees in SAP CC.
Synchronizing SAP CC recurring rates with SAP CRM prices is done by using the special mapping table class called "price table".
To use SAP CRM prices in recurring charges, you must:
Import the special mapping table class called "price table"
Create a charge with a recurring rate
Use the charge in a charge plan
To import the price table
|
Caution: Price table instances are automatically created and maintained in an SAP CRM system. Creating, modifying, or deleting price table instances may result in inconsistencies between these two systems. We strongly recommend that you do not modify or delete existing price table instances except under support supervision. |
After you have created your catalog and import the price table, the price table instances (*) will then be automatically created from the SAP CRM system of your landscape.
(*) Mapping tables which have the price table as the mapping table class.
To create a charge with a recurring rate
This procedure consists in creating a charge for managing recurring fees.
Create a charge
Add a parameter to the charge, select the string type, and then type TABLE_NAME as the name of the parameter. This parameter allows storing the name of the price table instance.
Add a parameter to the charge, select the string type, and then type PRICE_KEY as the name of the parameter. This parameter allows storing the key identifying the price in the price table instance.
Insert a recurring rate in the price plan of the charge.
Add a Mapping Table Comparator to the Recurring Rate (*).
In the Definition tab of the Mapping Table Comparator, do the following:
Set the Mapping Table Class field to Price Table
Set the Mapping Table field to TABLE_NAME
Set the Reference Date to Recurring Event Date
Set the Mapping Property of the price.key column to PRICE_KEY in the table Mapping of Rating Context
(*) For more information about the Mapping Table Comparator, refer to the Help system relating to components: Click Components on the Help menu of the main window.
To use the charge in a charge plan
|
Caution: You must define at most one parameter with the type Mapping Table ID (Price Table) and one parameter with the type Mapping Table Key per charge plan. Otherwise, recurring prices would not be managed properly. |
Add the charge to the charge plan. Note that the parameter TABLE_NAME is now assigned the type Mapping Table ID (Price Table) and the parameter PRICE_KEY is assigned the type Mapping Table Key.
Create two parameters in the charge plan with the visibility External (Mandatory) to make them visible at provider contract level.
Set the type of one of the parameters to Mapping Table ID (price table). In the Parameters tab of the charge, link the parameter TABLE_NAME to this parameter.
Set the type of the other parameter to Mapping Table Key. In the Parameters tab of the charge, link the parameter PRICE_KEY to this parameter.
The SAP CRM system will set the names of the price table instance and the price key through the TABLE_NAME and PRICE_KEY parameters at provider contract level.