当前位置:网站首页>SAP CRM organization Model(组织架构模型)自动决定的逻辑分析
SAP CRM organization Model(组织架构模型)自动决定的逻辑分析
2022-07-01 15:19:00 【华为云】
看一下标准的OPPT是如何determine organization的:
查看Transaction Type OPPT的配置,找到Organization Data Profile:
SPRO->CRM->Transactions->Basic Settings->Define Transaction Types
发现配的profile为000000000005,双击进入,找到对应的profile:
可以看到对应的Organizational Model Determin. Rule为10000144, 而Responsibilities Determin. Rule没有配。
参考CR100上的解释:
Organizational Model Rule是需要根据search的结果来确定Organizational Unit. Responsibilities Rule是直接指定对应的Organizational Unit.
查看Determination Rule:
SPRO->CRM->Master Data->Organizational Management->Organizational Data Determination->Maintain Determination Rules
找到对应的10000144的rule:
可以看到对应的determination用的FM是CRM_ORGMAN_ORGOBJECTS_FIND_4
点击Container tab可以看到rule 10000144配置的parameter:
说明在执行FM CRM_ORGMAN_ORGOBJECTS_FIND_4需要的两个参数为BP Number和Transaction Type:
SPRO文档里面有对标准的determination function的解释:
前两个是针对Sales Transaction的,后两个是Service Transaction,根据解释FM CRM_ORGMAN_ORGOBJECTS_FIND_4是根据BP的Sales Area来查找对应的Organizational Unit。
进入CRM_ORGMAN_ORGOBJECTS_FIND_4的代码:
从Container里面拿到BP Number, 在根据BP Number拿到对应的GUID:
根据BP GUID获取对应的Sales Area:
从CRMM_BUT_LNK0011表里面拿BP Number对应的Sales Area
上一步没有找到Sales Area的情况下从CRMM_BUT_LNK0031表里面拿
E.g. 拿到BP 4103080的Sales Area:
上面讲到的Container配的另外一个参数Transaction Type在这里只是用来检查根据BP Number拿到的Sales Area是否valid:
然后调用FM CRM_ORGMAN_ORGOBJECTS_FIND_1根据Sales Area的attribute来查找organization。参考上面的文档,CRM_ORGMAN_ORGOBJECTS_FIND_1其实是一个通用的根据organization attribute来查询的FM
这里的attribute就是Organizational Unit在Web UI里面维护的attribute:
注意在这里并没有用Transaction Type去直接跟Organizational Unit维护的Transaction Type attribute作比较。
E.g. 最后根据BP 4103080得到的Organization为50000732:
还有一个更抽象的查询Org的API FM: CRM_ORGMAN_DETERMINE_ORGOBJS,该API返回sales areas结果集。
边栏推荐
- Guide de conception matérielle du microcontrôleur s32k1xx
- OpenSSL client programming: SSL session failure caused by an insignificant function
- 微信小程序03-文字一左一右显示,行内块元素居中
- Opencv learning notes 5 -- document scanning +ocr character recognition
- 《QT+PCL第九章》点云重建系列2
- Intelligent operation and maintenance practice: banking business process and single transaction tracking
- Hardware design guide for s32k1xx microcontroller
- [Cloudera][ImpalaJDBCDriver](500164)Error initialized or created transport for authentication
- Flink 系例 之 TableAPI & SQL 与 MYSQL 分组统计
- Wechat applet 02 - Implementation of rotation map and picture click jump
猜你喜欢
MySQL 服务正在启动 MySQL 服务无法启动解决途径
Short Wei Lai grizzly, to "touch China" in the concept of stocks for a living?
厦门灌口镇田头村特色农产品 甜头村特色农产品蚂蚁新村7.1答案
A unifying review of deep and shallow anomaly detection
Written on the first day after Doris graduated
《QT+PCL第六章》点云配准icp系列2
"Qt+pcl Chapter 6" point cloud registration ICP Series 6
Sort out the four commonly used sorting functions in SQL
Introduction to MySQL audit plug-in
Survey of intrusion detection systems:techniques, datasets and challenges
随机推荐
Shopping mall 6.27 to be completed
Skywalking 6.4 distributed link tracking usage notes
MySQL审计插件介绍
Redis installation and setting up SSDB master-slave environment under Ubuntu 14.04
Summary of week 22-06-26
Basic operations of SQL database
微信公众号订阅消息 wx-open-subscribe 的实现及闭坑指南
[Cloudera][ImpalaJDBCDriver](500164)Error initialized or created transport for authentication
【LeetCode】16、最接近的三数之和
点云重建方法汇总一(PCL-CGAL)
DirectX修复工具V4.1公测![通俗易懂]
Short Wei Lai grizzly, to "touch China" in the concept of stocks for a living?
Tableapi & SQL and MySQL grouping statistics of Flink
Survey of intrusion detection systems:techniques, datasets and challenges
"Qt+pcl Chapter 6" point cloud registration ICP Series 6
phpcms后台上传图片按钮无法点击
S32K1xx 微控制器的硬件设计指南
Solid smart contract development - easy to get started
Summary of point cloud reconstruction methods I (pcl-cgal)
《QT+PCL第九章》点云重建系列2