Entering content frame

Process documentation Configuration of Document Data for Use in the CPE Locate the document in its SAP Library structure

Purpose

Formula evaluation in the commodity pricing engine (CPE) works independently of the calling application’s data model. Therefore you must be able to configure how application-specific document data is mapped to the CPE data model. The CPE data model is very similar to the CRM data model. Since the performance of the call depends on the amount of data you transfer, you should only transfer data that you need to transfer. You should filter all other data.

You use this process to configure which application document data is transferred to the CPE (filter) and in which format the data is sent (map). This process supports various conversion types, such as No Conversion, Copy, Conversion Using Function, and Conversion Using BAdI.

You make the configuration settings for both steps in Customizing table CPEC_MAPPING.

 

Prerequisites

·        You have made the required settings for using the CPE in SAP Solution Manager.

·        You have checked if the preconfigured document data that is delivered as standard meets the requirements for your application and if necessary, you have enhanced this data. You can find the preconfigured document data that is delivered as standard in your SAP CRM system; in Customizing for Customer Relationship Management, by choosing Basic Functions ® Commodity Pricing ® Commodity Pricing Engine ® Application-Specific CPE Settings ® Filter and Map Document Data.

·        You have used Customizing Synchronization to replicate the table entries from the previous step in the ERP system that is connected to your system landscape:

Replication of Customizing Table CPEC_MAPPING During Implementation

This graphic is explained in the accompanying text

The CRM system is the source system for the CPE mapping data. The replication in the ERP system is necessary and can be performed using synchronization objects.

...

       1.      For SAP CRM, default values are shipped for mapping and filtering document data in Customizing table CPEC_MAPPING.

       2.      You replicate the contents of the Customizing table in the ERP system.

 

Process Flow

Call of CPE Formula Evaluation in SD Document at Runtime

This graphic is explained in the accompanying text

The document data is needed at runtime in the ERP system (filter) and in the CRM system (map). The document data is sent to the CRM system in ERP format, where CPE mapping takes place.

...

       1.      The ERP system reads the entries in table CPEC_MAPPING.

       2.      To improve performance, the ERP system filters the fields that are not sent. The system converts all other fields into name/value pairs in ERP format.

       3.      The system sends name/value pairs in ERP format to the CPE call in the CRM system.

       4.      The CPE call triggers CPE mapping in the CRM system. During this process, the system reads the entries in table CPEC_MAPPING.

       5.      The CPE call analyzes the CPE mapping data to convert the name/value pairs in ERP format into name/value pairs in CPE format.

       6.      The CPE call sends the name/value pairs in CPE format to the CPE.

       7.      The CPE uses the mapped name/value pairs in CPE format during formula evaluation.

Recommendation

Due to the similarities between the CPE and CRM data models, no mapping is needed when you call the CPE from the business transaction in SAP CRM. For fields that appear in structure CRMT_ACS_I_COM, use conversion type No Conversion.

 

 

 

Leaving content frame