SAP cross distribution chain status在Fiori應用中的draft handling
The explanation why draft handling is necessary in Fiori application could be found from Fiori Design Guideline.
In this blog, I will use the update of field “cross distribution chain status” in S4 Product master Fiori application as example. This field could be found from Fiori UI:
There is corresponding field in old SAPGUI transaction MM03:
The value is stored in table MARA, field MSTAE. The available list of status value could be maintained in this customizing:
When end user clicks edit button and chooses a given value from dialog and press enter key:
The draft instance of this product will automatically be persisted in the backend.
At this time ( product is still in edit mode ), we can find out the lock is still acquired via tcode SM12. Also the draft uuid would be found:
How to find the database table which stores the draft data of Cross distribution chain status? In tcode BOBX, open BO I_PRODUCTWD and double click node I_PRODUCTSALESWD, you can find out table name PROD_SALES.
Query this table with the draft uuid found from SM12 against field PARENTDRAFTUUID, and you can find one corresponding entry for draft instance in Fiori UI.
The parent entry could be found in PROD_ROOT:
When user clicks save button in Fiori UI, an HTTP post will be sent to backend:
The method COPY_DRAFT_TO_ACTIVE_DOCUMENT of class configured in BOBX is called, to merge the data in draft table to MARA, this is called activation.
The persistence to MARA is done by function module MATERIAL_MAINTAIN_DARK:
The value to be persisted is maintained in table parameter amara_ueb:
Meanwhile once activation is done successfully, the draft entry will be removed automatically. In summary, the draft handling process could be described in the following graphs:
Figure1: user input is stored in draft table PROD_SALES
Figure2: user clicks save button
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2722630/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP Fiori 的附件處理(Attachment handling)
- SAP Fiori應用索引大全索引
- SAP Fiori應用索引大全工具和 SAP Fiori Tools 的使用介紹索引
- 如何分辨 SAP Fiori Launchpad 裡的真假 Fiori 應用
- SAP CRM Fiori應用和SAP JAM的整合配置
- 如何免費試用SAP的Fiori應用
- SAP Fiori應用的搜尋問題
- SAP Fiori應用的三種部署方式
- 一步步學習 SAP CDS view Text Association 在 SAP Fiori Elements 中的應用View
- SAP Fiori 應用 url 中的 DraftUUID 引數的含義RaftUI
- SAP Fiori 應用 Manage Workflows for Purchase RequisitionsUI
- 關於 SAP Fiori 應用的離線使用
- 使用 mock 資料在本地執行 SAP Fiori Elements 應用的工作原理Mock
- SAP Fiori Elements 應用裡和 Fiori 3 相關的外觀設定
- SAP Fiori Launchpad 應用的兩個實用技巧分享
- SAP CRM Fiori應用冗餘round trip的原因分析
- SAP Fiori應用裡日期格式的顯示奧祕
- 移動應用之SAP Fiori
- 如何讓SAP S/4HANA的Material Fiori應用配置到Fiori Launchpad裡
- 信用管理理論在SAP中的應用
- 如何在SAP Fiori應用裡使用React componentReact
- 如何給 SAP Fiori Elements 應用的欄位新增 value help
- 如何將本地 SAP UI5 應用配置到本地 Fiori Launchpad 中UI
- 機器學習在SAP Cloud for Customer中的應用機器學習Cloud
- 如何給 SAP Fiori Elements 應用新增自定義按鈕
- SAP Fiori Elements 應用的 i18n 語法使用方式
- SAP Fiori應用裡出現http request錯誤的原因分析HTTP
- 使用View modification擴充套件SAP Fiori應用的一個案例View套件
- SAP CRM Fiori 應用的 Deep Create 行為和實現分析
- SAP ABAP應用伺服器的HTTP響應狀態碼(Status Code)伺服器HTTP
- 用 React 結合 SAP UI5 Web Components 來開發 SAP Fiori 應用ReactUIWeb
- SAP Distribution Model初探
- SAP RETAIL WB02 為門店啟用物料分類賬報錯 - Distribution chain NMI1 00 not-AI
- SAP Fiori應用沒能從Fiori Launchpad啟動的一個可能原因及分析過程
- Subject 在 SAP Spartacus Popover Component 中的應用
- OAuth 2.0協議在SAP產品中的應用OAuth協議
- 如何將自定義XML檢視注入SAP Fiori Elements應用XML
- 把經典的ABAP webdynpro應用配置到SAP Fiori Launchpad裡Web