当前位置:网站首页>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结果集。
边栏推荐
- DirectX修复工具V4.1公测![通俗易懂]
- go-zero实战demo(一)
- Wechat applet 01 bottom navigation bar settings
- Demand prioritization method based on value quantification
- What are the test items of juicer ul982
- 采集数据工具推荐,以及采集数据列表详细图解流程
- Wechat applet 03 - text is displayed from left to right, and the block elements in the line are centered
- Build MySQL master-slave server under Ubuntu 14.04
- "Qt+pcl Chapter 6" point cloud registration ICP Series 6
- Introduction to MySQL audit plug-in
猜你喜欢
Hardware design guide for s32k1xx microcontroller
OpenSSL client programming: SSL session failure caused by an insignificant function
Opencv learning notes 5 -- document scanning +ocr character recognition
Filter & (login interception)
Implementation of deploying redis sentry in k8s
leetcode:329. 矩阵中的最长递增路径
Survey of intrusion detection systems:techniques, datasets and challenges
skywalking 6.4 分布式链路跟踪 使用笔记
异常检测中的浅层模型与深度学习模型综述(A Unifying Review of Deep and Shallow Anomaly Detection)
JVM second conversation -- JVM memory model and garbage collection
随机推荐
Mongodb second call -- implementation of mongodb high availability cluster
微信小程序02-轮播图实现与图片点击跳转
Qt+pcl Chapter 6 point cloud registration ICP series 4
Raytheon technology rushes to the Beijing stock exchange and plans to raise 540million yuan
openssl客户端编程:一个不起眼的函数导致的SSL会话失败问题
Introduction to MySQL audit plug-in
Sort out the four commonly used sorting functions in SQL
使用swiper制作手机端轮播图
购物商城6.27待完成
MySQL service is starting. MySQL service cannot be started. Solution
The last picture is seamlessly connected with the first picture in the swiper rotation picture
重回榜首的大众,ID依然乏力
Detailed explanation of ArrayList expansion, expansion principle [easy to understand]
solidty-基础篇-结构体和数组,私有 / 公共函数,函数的返回值和修饰符,事件
数据产品经理需要掌握哪些数据能力?
Summary of week 22-06-26
idea中新建的XML文件变成普通文件的解决方法.
Solidty智能合约开发-简易入门
"Qt+pcl Chapter 6" point cloud registration ICP Series 6
《QT+PCL第六章》点云配准icp系列6