在S/4HANA擴充套件欄位的Available Fields列表裡,看不到自己建立的擴充套件欄位該怎麼辦
I have created one extension field on Business context “Product Master General” in tile “Custom Field and Logic” and publish it:
After that when I try to add it to Basic Data block of Product Master application, I could not find it in Available Fields list. As a result, I cannot add it to standard Fiori UI.
In order to resolve this issue, I need to first understand where do fields in “Available Fields” dialog come from and are rendered. Through debugging, I find the field list are retrieved from property “customFieldAvailable” in SmartForm control.
The logic to fill this property is based on the attributes listed below:
- BusinessContexts
- EntityType
- ServiceName
- ServiceVersion
And the list in “Available Fields” dialog is bound to model data stored in variable mAvailableElements filled by method getAvailableElements in line 472 below.
Via the debugging below, I get to know that the prerequisite for an extension field to appear in “Available Field” list when “Add Field” button is clicked on Basic Data block is, it should be added as one of fields for data type “C_ProductType” in Product Master application’s OData metadata:
The solution is to add the field to Odata via button “Enable Usage”:
Once done, clear metadata cache in both gateway and backend system.
Relaunch the Fiori application, make sure you see the extension field in metadata:
After that the extension field is visible now in the list:
And it could be successfully added to Fiori UI now.
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2722628/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 怎麼取的擴充套件模型裡表裡的欄位啊套件模型
- SAP S/4HANA擴充套件欄位建立過程的單步除錯套件除錯
- 如何在Marketing Cloud裡建立extension field擴充套件欄位Cloud套件
- [外掛擴充套件]多圖上傳欄位擴充套件MultiImages0.4套件
- django 2.0 擴充套件使用者欄位 示例Django套件
- 使用 SAP CRM Application Enhancement Tool(AET) 建立擴充套件欄位APP套件
- SAP S/4HANA系統上所有可以用來建立擴充套件欄位的業務上下文套件
- 不改表結構如何動態擴充套件欄位套件
- SAP S/4HANA Material Fiori應用根據擴充套件欄位搜尋的實現原理套件
- 無法在SAP Fiori UI上新增擴充套件欄位?原因可能就在這裡UI套件
- 位擴充套件和位截斷套件
- dcat欄位擴充套件:地圖拖拽設定xy座標套件地圖
- PHP擴充套件開發就是一個自己的PHP擴充套件PHP套件
- 使用擴充套件技術將SAP Fiori應用隱藏動態建立的UI欄位套件UI
- SAP CRM和Cloud for Customer的擴充套件欄位後設資料Cloud套件
- SAP CRM AET Application Reference型別擴充套件欄位的一個例子APP型別套件
- 一步步使用SAP CRM Application Enhancement Tool建立擴充套件欄位APP套件
- c盤擴充套件卷選項是灰的怎麼辦 c盤不能擴充套件卷的辦法套件
- 如何在呼叫Marketing Cloud contact建立API時增加對擴充套件欄位的支援CloudAPI套件
- kotlin 擴充套件(擴充套件函式和擴充套件屬性)Kotlin套件函式
- Windows 8.1怎麼建立擴充套件分割槽?Windows套件
- 使用BAPI_ACC_DOCUMENT_POST,建立會計憑證,用BADI擴充套件欄位(轉)API套件
- [外掛擴充套件]外掛開發過程中 模型欄位定義套件模型
- [外掛擴充套件]onethink 欄位外掛 多圖上傳 UploadImages套件
- 【小知識】程式碼優化-動態新增大量擴充套件欄位優化套件
- SAP S/4HANA extensibility擴充套件原理介紹套件
- WCF擴充套件:行為擴充套件Behavior Extension套件
- Appfuse:擴充套件自己的GenericManagerAPP套件
- ?用Chrome擴充套件管理器, 管理你的擴充套件Chrome套件
- 建立本地擴充套件包套件
- 使用 Rust 建立 PHP 擴充套件RustPHP套件
- [外掛擴充套件]自己寫的外掛。怎麼後臺?套件
- SAP C4C 2102版本如何使用Key User Tool建立擴充套件欄位 - extension field套件
- 【Kotlin】擴充套件屬性、擴充套件函式Kotlin套件函式
- Sanic 擴充套件套件
- ORACLE 擴充套件Oracle套件
- 擴充套件工具套件
- 擴充套件歐幾里得套件