Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1475286
  • 博文数量: 931
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 10198
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-08 12:28
个人简介

测试

文章分类

全部博文(931)

文章存档

2020年(134)

2019年(792)

2018年(5)

我的朋友

分类: 架构设计与优化

2019-12-19 13:19:49

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的原创文章,请关注公众号"汪子熙":

阅读(444) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~