SAP CRM订单抬头级别的组织架构数据是如何自动拷贝到行项目的
Standard behavior: I have maintained Organizational management data in Service Order Header:
And if we add a product to this service order as line item, the header organization data will automatically be copied to item.
How 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:
Within the callstack there is an event AFTER_CREATE raised against object ORDERADM_I:
Which 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.
This screenshot gives a hint that how the registered event callback function module is called:
Reason 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:
And 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:
The 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.
Technical storage updated on 2017-05-09
When you maintain header level organization data, a link is created triggered by CRM_ORGMAN_CREATE_OW:
This will lead to an insertion of one record in table CRMD_LINK:
21 means ORGMAN:
And when a new product is created, the corresponding link to item will be created by CRM_ORGMAN_PRODUCT_CHANGED_EC mentioned previously:
Once 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.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- Java项目毕业设计:基于springboot+vue的电影视频网站系统「建议收藏」
- SAP UI5 sap.ui.core.Element 的概要介绍
- 查看指定 SAP CRM One Order 的 note 数据
- SAP UI5 sap.ui.base.ManagedObject 的构造函数参数讲解
- 使用 SAP UI5 sap.ui.export.Spreadsheet API 进行 Excel 导出的一些限制
- 通过一个实际例子,理解 SAP UI5 sap.ui.model.odata.v2.ODataModel API 中 BindingContext 绑定上下文的概念和用法试读版
- SAP MM 模块的入门者,想学习 ABAP 编程语言应该如何入手?
- 使用 SAP CRM Application Enhancement Tool(AET) 创建扩展字段
- SAP Fiori Belize 主题应用在 SAPGUI 里的一些要点
- SAP UI5 sap.m.Table 实现响应式布局的两种配置模式
- 关于 SAP UI5 接口 sap.ui.core.IAsyncContentCreation 的问题讨论
- 一个真实的 SAP 标准 UI5 应用的扩展开发项目(Extension Project)分享 - UI5 界面上新增订单创建者字段
- 本周参加两个SAP项目面试后的感想
- SAP报表中TOP_OF_PAGE 和END_OF_LIST的使用详解编程语言
- SAP查看表数据详解编程语言
- SAP打印机配置详解编程语言
- SAP 序列号里主批次与库存批次不同,如何修改详解编程语言
- SAP 通过事务代码与屏幕变式(SHD0)控制控制用户界面的某些字段,以控制生产订单的调度类型为例详解编程语言
- sap保存时小写字母自动转大写字母的解决方法详解编程语言
- sap JCO3.0安装缺少Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB973544)详解编程语言
- [SAP ABAP开发技术总结]动态语句、动态程序详解编程语言
- SAP vs Oracle:差异点与解析(sap和oracle的区别)
- 对比SAP VS Oracle: 哪个更适合你?(sap与oracle)
- Oracle与SAP在仓储领域的联姻(仓库oracle和sap)
- 对比:Oracle 与 SAP的优势(oracle 与 sap)
- Oracle从SAP抽取数据的简单方法(oracle从sap抽数)
- 跨界合作新模式 Oracle与SAP实现合并(oracle与sap合并)
- 比拼Oracle与SAP的优劣对比(oracle与sap优劣)
- 展望未来Oracle与SAP的合作结盟前景(oracle、sap)
- 聘请高级Oracle与SAP顾问,拓展业务潜力(oracle sap顾问)