首页 > Web开发 > 详细

Product settype acts as a very important role in CRM WebClient UI architecture

时间:2019-12-17 14:58:57      阅读:92      评论:0      收藏:0      [点我收藏+]

Product settype acts as a very important role in CRM WebClient UI architecture.

技术分享图片

The GenIL layer knows nothing about attributes modeled in settype. Instead, it only knows product BOL model attributes.
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:

技术分享图片

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

Product settype acts as a very important role in CRM WebClient UI architecture

原文:https://www.cnblogs.com/sap-jerry/p/12054545.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!