专栏首页Jerry的SAP技术分享SAP CRM settype的重要性
原创

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:

  1. 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.
  2. 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.

原创声明,本文系作者授权云+社区发表,未经许可,不得转载。

如有侵权,请联系 yunjia_community@tencent.com 删除。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • SAP S/4HANA里如何创建Customer主数据以及执行后续处理

    1, Launch tcode: BP and select the Organization

    Jerry Wang
  • 如何使用jMeter对某个OData服务进行高并发性能测试

    For project reason I have to measure the performance of OData service being acce...

    Jerry Wang
  • 如何使用jMeter对某个OData服务进行高并发性能测试

    For project reason I have to measure the performance of OData service being acce...

    Jerry Wang
  • Product settype在CRM WebClient UI架构中的地位

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

    Jerry Wang
  • C++核心准则编译边学-F.17 输入/输出参数传递非常量引用

    This makes it clear to callers that the object is assumed to be modified.

    面向对象思考
  • 呃哦:区块链可能没有我们想象的那么安全

    在对一百万份智能合约的分析中,一项新的分析工具发现34,200个安全漏洞。 在我们转向基于区块链的数字经济之前,我们需要解决这个系统中的缺陷。 ? 区块链有可能...

    首席架构师智库
  • How to run the CRM Fiori 1.0 applications in WebIDE

    I ran into some problem running the CRM My Opportunities application in WebIDE e...

    Jerry Wang
  • How to run the CRM Fiori 1.0 applications in WebIDE

    I ran into some problem running the CRM My Opportunities application in WebIDE e...

    Jerry Wang
  • The curious tale of Bhutan’s playable record postage stamps

    Made of plastic and embossed with a melody, these tiny record stamps are among t...

    仇诺伊
  • 最强生成模型PPGN代码开放-介绍及阅读

    This repository contains source code necessary to reproduce some of the main res...

    用户1908973

扫码关注云+社区

领取腾讯云代金券