SAP CRM settype的重要性
Product settype acts as a very important role in CRM WebClient UI architecture.
(1) The GenIL layer knows nothing about attributes modeled in settype. Instead, it only knows product BOL model attributes.
(2) The API knows nothing about attributes modeled in Genil model. Instead, it only knows attributes modeled in settype.
In GenIL implementation, there is a util class CL_CRM_PRODIL_UTIL~GET_REQUEST_INFO which maps the name of requested BOL model node name into the name of settype. The mapping from BOL model name and settype are maintained in configuration table CRMC_PRIL_OBJ. The GenIL implementation will use this table to get settype GUID, and then get the name of corrresponding settype by GUID and pass the settype name to API.
Let’s review the end-to-end process:
Product overview page consists of assignment blocks.
Each assignment block is technically modeled based on a GenIL model node. There is association modeled in GenIL Model which connects root node to this node used in assignment block view. The picture below shows the technical implementation of assignment block view “Categories”.
When the product overview page is opened, the data for each assignment block should be queried and displayed in WebClient UI. The GenIL model node name is passed from UI component discussed above to GenIL. GenIL then find the id of settype according to the following logic and pass the settype ID to API:
The picture belows shows the GenIL passes the settype id to API:
Set types are assigned to categories and not to products directly. By assigning set types to categories, and then in turn assigning the categories to products, you can make available the data you require to describe your products.
The mechanism is illustrated below:
You can assign settypes to a category in GUI tcode COMM_HIERARCHY:
or in WebClient UI:
from sap help:
To prevent a set type from being assigned to a product more than once based on different categories, the following rules apply when working with categories and hierarchies:
- A set type may be assigned to more than one category within a hierarchy, but to only one hierarchy for each product type. Therefore even if two categories are in different hierarchies but have the same product type, it is not possible to assign the set type to both categories.
- A product can be assigned to more than one category as long as the categories belong to different hierarchies. A product can therefore only be assigned to one category in each hierarchy.
翻译成中文就是:
(1) 1个settype,在整个系统里只能assign给一个product hierarchy的category。一旦assign之后,整个其他任何其他hierarchy的任何category,都不能再assign该settype.
(2) 1个product可以被assign给多个category,但是这些category必须来自不同的hierarchy.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- SAP Fiori Elements 概述
- jQuery.sap.registerModulePath("cus.crm.notes.ext", '/ZCRM_NOTES_W8');
- SAP UI5 GM6 require sap.ui.core.Core
- 使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist
- 使用SAP CRM mock框架进行单元测试的设计
- SAP CRM WebClient UI的configuration按钮是否显示,取决于这个权限检查
- SAP CRM的订单模型移植到S/4HANA之后,到底做了哪些改进?
- SAP CRM OData模型里的addressable为true的含义
- 什么是SAP CRM WebClient UI的component usage
- 如何使用BOL接口set_property修改SAP CRM BO实例的某个属性
- SAP OData batch request的并行处理实现原理
- SAP gateway GWaaS single sign on
- SAP 电商云 Spartacus UI Cart 页面的 CMS 布局
- 关于 SAP 电商云 Spartacus UI 访问 b2b site 的权限问题
- 检测 SAP Spartacus 服务器端渲染页面响应时间的两种办法
- 使用nodejs代码在SAP C4C里创建Individual customer
- SAP Cloud for Customer的work center显示逻辑
- SAP CRM里找出包含了指定product的IBASE明细
- SAP CRM Enterprise search后退按钮的实现
- SAP CRM WebClient UI on new focus工作原理
- SAP CRM WebClient UI how to disable excel export
- SAP CRM business partner determination原理介绍
- SAP CRM读取产品主数据360度数据的API
- 在 SAPGUI 里使用 ABAP 报表上传 SAP UI5 应用到 ABAP 服务器试读版
- SAP UI5 架设在 http-proxy 库上的单步调试
- 使用Fiori Elements创建的SAP UI5应用,如何支持编辑功能
- SAP 电商云 Spartacus UI Quick Order 的路由和 CMS 实现