SAP CRM订单抬头级别的组织架构数据是如何自动拷贝到行项目的

简介: SAP CRM订单抬头级别的组织架构数据是如何自动拷贝到行项目的

Standard behavior: I have maintained Organizational management data in Service Order Header:image.pngAnd if we add a product to this service order as line item, the header organization data will automatically be copied to item.image.pngHow this automatic data flow is achieved? Once the product IMU is maintained in item level, function module CRM_ORDER_MAINTAIN is triggered with following input:



image.pngWithin the callstack there is an event AFTER_CREATE raised against object ORDERADM_I:image.pngWhich event listeners are registered for this object? Check registration table CRMC_EVENT_CALL, there we can find function module CRM_ORGMAN_PRODUCT_CHANGED_EC which actually is responsible to copy the organizational data from header to item.


image.png


image.pngThis screenshot gives a hint that how the registered event callback function module is called:image.pngReason why item level organization data is read-only

Check the source code of organizational management view, the layout of it in the runtime is generated by the configuration metadata:


image.pngAnd when debugging the code where HTML native code for UI element is generated, I find all UI controls are marked as read only according to the code line line 225:


image.pngThe logic to determine whether a field should be rendered as read only or editable is again done in application code and the result is returned to UI framework.


The comment in line 13 clearly shows that the organizational management data in item level should always be read only.


image.pngTechnical storage updated on 2017-05-09

When you maintain header level organization data, a link is created triggered by CRM_ORGMAN_CREATE_OW:


image.pngThis will lead to an insertion of one record in table CRMD_LINK:image.png21 means ORGMAN:

image.png

And when a new product is created, the corresponding link to item will be created by CRM_ORGMAN_PRODUCT_CHANGED_EC mentioned previously:

image.pngOnce item is also saved successfully, we will have two records in CRMD_LINK, one links header with its organizational data and the other links item.


相关文章
|
1月前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
88 7
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
2月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
26 0
|
2月前
|
中间件
什么是 SAP CRM Initial Download
什么是 SAP CRM Initial Download
20 0
|
2月前
|
存储 数据管理 数据处理
SAP CRM 里 Attachment 搜索的实现逻辑介绍
SAP CRM 里 Attachment 搜索的实现逻辑介绍
23 0
|
1月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
21 0
|
1月前
|
数据库
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
17 5
|
1月前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
30 6
介绍一个 webp 格式转 png 格式的软件:XNConvert
|
1月前
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
16 1
什么是 SAP ABAP 里的 Subscreen
|
2月前
|
中间件
如何在 SAP CRM 系统调试 Product Initial Download
如何在 SAP CRM 系统调试 Product Initial Download
16 0
|
2月前
|
监控
SAP CRM 解决方案功能的全面性
SAP CRM 解决方案功能的全面性
24 0