日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

SAP cross distribution chain status在Fiori应用中的draft handling

發布時間:2023/12/19 编程问答 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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的原創文章,請關注公眾號"汪子熙":

總結

以上是生活随笔為你收集整理的SAP cross distribution chain status在Fiori应用中的draft handling的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。