专栏首页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.

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • SAP CRM settype的重要性

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

    Jerry Wang
  • SAP C4C基于自定义BO开发的OWL UI,如何实现动态访问控制

    Suppose I have a testBO with the following fields:

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

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

    Jerry Wang
  • SAP CRM settype的重要性

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

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

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

    Jerry Wang
  • SAP C4C基于自定义BO开发的OWL UI,如何实现动态访问控制

    Suppose I have a testBO with the following fields:

    Jerry Wang
  • 为何JUC中有大量代码将成员变量复制到本地变量后再操作?

    总结:在性能核心部分,是有效果的(所以j.u.c和Netty大量这样搞)。 juc那么写是因为一开始就那么写(考虑到当时的jvm的现代化),而且单纯来看,loc...

    开发架构二三事
  • 使用SAP C4C OData notification实现CRM和C4C的数据同步

    There is a useful feature OData notification in C4C which allows any kinds of ex...

    Jerry Wang
  • 什么是创建区块链公司的最大障碍?

    创建区块链公司最大的障碍是什么?最初出现在Quora上:获得和分享知识的地方,使人们能够向他人学习,更好地了解世界。 Chronic联合创始人Samantha ...

    首席架构师智库
  • scikit-learn Cookbook 00

    This chapter discusses setting data, preparing data, and premodel dimensionality...

    到不了的都叫做远方

扫码关注云+社区

领取腾讯云代金券