当前位置:网站首页>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结果集。
边栏推荐
- 【STM32学习】 基于STM32 USB存储设备的w25qxx自动判断容量检测
- 项目中字符串判空总结
- Digital transformation: data visualization enables sales management
- What is the relationship between network speed, broadband, bandwidth and traffic?
- 点云重建方法汇总一(PCL-CGAL)
- Solid smart contract development - easy to get started
- [Cloudera][ImpalaJDBCDriver](500164)Error initialized or created transport for authentication
- 异常检测中的浅层模型与深度学习模型综述(A Unifying Review of Deep and Shallow Anomaly Detection)
- Returning to the top of the list, the ID is still weak
- Beilianzhuguan joined the dragon lizard community to jointly promote carbon neutralization
猜你喜欢
异常检测中的浅层模型与深度学习模型综述(A Unifying Review of Deep and Shallow Anomaly Detection)
Short Wei Lai grizzly, to "touch China" in the concept of stocks for a living?
Basic operations of SQL database
Qt+pcl Chapter 9 point cloud reconstruction Series 2
JVM second conversation -- JVM memory model and garbage collection
Returning to the top of the list, the ID is still weak
微信小程序01-底部导航栏设置
Hardware design guide for s32k1xx microcontroller
Filter &(登录拦截)
MySQL审计插件介绍
随机推荐
The data in the database table recursively forms a closed-loop data. How can we get these data
Tiantou village, Guankou Town, Xiamen special agricultural products Tiantou Village special agricultural products ant new village 7.1 answer
Flink 系例 之 TableAPI & SQL 与 Kafka 消息插入
Raytheon technology rushes to the Beijing stock exchange and plans to raise 540million yuan
《QT+PCL第九章》点云重建系列2
Solidty智能合约开发-简易入门
opencv学习笔记五--文件扫描+OCR文字识别
Opencv Learning Notes 6 -- image feature [harris+sift]+ feature matching
Solid basic structure and array, private / public function, return value and modifier of function, event
Fix the failure of idea global search shortcut (ctrl+shift+f)
k8s部署redis哨兵的实现
榨汁机UL982测试项目有哪些
Wechat applet 03 - text is displayed from left to right, and the block elements in the line are centered
TS reports an error don't use 'object' as a type The `object` type is currently hard to use
Build MySQL master-slave server under Ubuntu 14.04
DirectX修复工具V4.1公测![通俗易懂]
An intrusion detection model
微信小程序03-文字一左一右显示,行内块元素居中
Detailed explanation of ArrayList expansion, expansion principle [easy to understand]
Introduction to MySQL audit plug-in