码迷,mamicode.com
首页 > 其他好文 > 详细

CRM product model的用法

时间:2019-12-17 20:14:53      阅读:70      评论:0      收藏:0      [点我收藏+]

标签:amp   job   main   val   lis   editing   create   odk   ima   

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:

技术图片
技术图片

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

技术图片

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

技术图片
技术图片

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

技术图片

Choose String as data type:

技术图片

Based on this size characteristic, create three local values:

技术图片
技术图片

Create another COLOR characteristic:

技术图片

And the third chatacteristic for Accessory number:

技术图片

  1. Set the model status to Released:

技术图片

And click "Apply Changes":

技术图片

Now the model is ready for simulation:

技术图片

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

技术图片

Once you have done value selection, click preview hyperlink:

技术图片

You will get an overview of configured product model:

技术图片

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

技术图片

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".

技术图片

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.

技术图片

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.

技术图片

You can find more information by tcode SM53:

技术图片

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.

技术图片

Use product model in Quotation scenario

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

技术图片

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

技术图片

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

技术图片

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

技术图片

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

CRM product model的用法

标签:amp   job   main   val   lis   editing   create   odk   ima   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!