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.

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

相关文章
|
2月前
|
存储 对象存储 开发者
SAP CRM attachment 存储模型的技术属性详解
SAP CRM attachment 存储模型的技术属性详解
19 1
SAP CRM attachment 存储模型的技术属性详解
|
API
SAP CRM settype的重要性
Product settype acts as a very important role in CRM WebClient UI architecture.
78 0
SAP CRM settype的重要性
打印SAP CRM relationship STRSET的业务数据
Created by Jerry Wang, last modified on Oct 01, 2016 The requirement is, you need to print out all relationship data in the system with relationship type STRSET:
打印SAP CRM relationship STRSET的业务数据
SAP CRM switchable settype处理逻辑
SAP CRM switchable settype处理逻辑
75 0
SAP CRM switchable settype处理逻辑
SAP ERP和CRM里的long text模型
Created by Jerry Wang, last modified on Sep 29, 2016
116 0
SAP ERP和CRM里的long text模型
|
API 容器
SAP CRM organization Model(组织架构模型)自动决定的逻辑分析
SAP CRM organization Model(组织架构模型)自动决定的逻辑分析
120 0
SAP CRM organization Model(组织架构模型)自动决定的逻辑分析
SAP C4C Opportunity和SAP ERP Sales流程的集成
SAP C4C Opportunity和SAP ERP Sales流程的集成
|
数据挖掘
SAP Cloud for Customer客户主数据的classification
SAP Cloud for Customer客户主数据的classification
70 0
SAP Cloud for Customer客户主数据的classification
如何使用SAP CRM Marketing Survey创建一个市场问卷调查
如何使用SAP CRM Marketing Survey创建一个市场问卷调查
91 0
如何使用SAP CRM Marketing Survey创建一个市场问卷调查
|
中间件
SAP CRM settype CRMM_PR_SALESG和ERP的映射逻辑
SAP CRM settype CRMM_PR_SALESG和ERP的映射逻辑
138 0
SAP CRM settype CRMM_PR_SALESG和ERP的映射逻辑