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的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2715057/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP CRM note的自動拷貝
- SAP MM 採購訂單抬頭資料裡的Condition
- SAP CRM organization Model(組織架構模型)自動決定的邏輯分析架構模型
- SD-如何讀取文字訂單的抬頭文字
- 如何使用程式碼的方式刪除 SAP CRM 訂單 Text 資料
- SAP CRM服務訂單頁面顯示組織結構管理區域的實現邏輯
- 如何使用程式碼建立和讀取 SAP CRM 訂單的 Text 資料
- JavaScript資料型別AND深拷貝和淺拷貝的不歸路JavaScript資料型別
- SAP CRM訂單資料庫表CRMD_SHIPPING的填充原理資料庫
- js資料型別賦值,淺拷貝,深拷貝JS資料型別賦值
- 深拷貝和淺拷貝的區別是什麼?實現一個深拷貝
- 組織架構新型資料結構思考架構資料結構
- 資料治理組織架構如何有效執行和落地?_光點科技架構
- SAP CRM和Cloud for Customer訂單中的業務夥伴的自動決定機制Cloud
- 使用SAP CRM External Interface進行訂單同步
- CRM和C4C裡的組織架構 - Organizational Structure架構Struct
- 阿里組織架構升級中的“中臺”到底是什麼阿里架構
- 淺析賦值、淺拷貝、深拷貝的區別賦值
- Python - 物件賦值、淺拷貝、深拷貝的區別Python物件賦值
- 梳理公司的組織架構 — 組合模式架構模式
- 黑客組織是如何針對美軍採取行動的?黑客
- 關於js中的深淺拷貝和assign到底是深拷貝還是淺拷貝的爭論JS
- 引用型別的深拷貝型別
- C++拷貝建構函式(深拷貝,淺拷貝)C++函式
- 如何進行專案管理?企業專案管理常見的組織形式有哪些?專案管理
- linux採用scp命令拷貝檔案到本地,拷貝本地檔案到遠端伺服器Linux伺服器
- SAP CRM訂單模型CRMD_SHIPPING的單元測試方法模型
- python學習筆記–深拷貝與淺拷貝的區別Python筆記
- erp 專案訂單重構--修改訂單狀態部分
- 利用fastlane進行專案的自動化構建AST
- 我是如何自學資料結構的?資料結構
- 訂單中心,1億資料架構,這次服了架構
- SAP MM 明明已經擴充套件供應商到採購組織下,採購訂單裡還是報錯?套件
- 智雲通CRM:瞭解客戶的組織架構能推進銷售?架構
- SAP CRM系統訂單模型的設計與實現模型
- 自己開發的一個SAP CRM訂單統計工具
- 單機是最好的架構之二資料同步架構
- SAP Commerce(原Hybris)的訂單處理框架和SAP CRM One Order框架框架