CRM product model的用法

User scenario

An example from sap help

For a car, the interior, the engine capacity, and the exterior paint color can vary, for example. When the customer selects this car in the Web shop, the possible characteristics for the product are displayed automatically. The customer can select the characteristic values that he or she wants. Only characteristics that are compatible with the previously selected characteristic values are shown. If the various characteristics of a product affect its price, the price that is displayed is also recalculated.

Detail step

This issue introduces basic functionality of product model in CRM WebClient UI, which is a prerequisite knowledge for co-deployment project.
You should first switch on configurable flag for the product type via customizing below:

clipboard1
clipboard2

  1. Create a new product and make sure "Configurable" flag is clicked:

clipboard3

Save the product. Now you should see "Product Model" assignment block. Click "Edit List" to create a new model:

clipboard4
clipboard5

  1. Create a new Characteristic based on "UNGROUPED":

clipboard6

Choose String as data type:

clipboard7

Based on this size characteristic, create three local values:

clipboard8
clipboard9

Create another COLOR characteristic:

clipboard10

And the third chatacteristic for Accessory number:

clipboard11

  1. Set the model status to Released:

clipboard12

And click "Apply Changes":

clipboard13

Now the model is ready for simulation:

clipboard14

Once you click Simulation button, you can configure the model according to available characteristic value maintained in previous step:

clipboard15

Once you have done value selection, click preview hyperlink:

clipboard16

You will get an overview of configured product model:

clipboard17

Edit the product Model created in previous blog, create a new dependency with type "Formula":

clipboard18

We can maintain formula for example below. In this case, it means "if the characteristic MACHINE_SIZE is selected as H(Home), another characteristic ACCESSORY_NUMBER would automatically be determined as 2".

clipboard19

You can click button "Suggest" to get some editing proposal.
Once edit is done, click "Check Syntax" to ensure the formula does not have any syntax error.

clipboard20

Since the product configuration engine is implemented in Java, there is a corresponding remote function module which delegates the check job to Java application running in virtual machine container.

clipboard21

You can find more information by tcode SM53:

clipboard22

Now simulate the product model, once Home is selected from drop down list and press entry key, the value 2 is automatically determined to 2 as expected.

clipboard23

Use product model in Quotation scenario

Create a new quotation, add the product which owns the created product model as item. Save the quotation.

clipboard24

Enter the item detail page, you can see a new "Configuration" assignment block.

clipboard25

The product model simulation page is now opened as a embedded view in Quotation item detail page.

clipboard26

Select value for characteristic according to your business. Now the configured product is persisted in quotation item level.

clipboard27

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
公众号截图

原文地址:https://www.cnblogs.com/sap-jerry/p/12056354.html