使用SAP WebIDE進行SAP Cloud Platform Business Application開發
- 2020 年 2 月 21 日
- 筆記
在WebIDE的Preferences里,啟用SAP WebIDE擴展:SAP Cloud Platform Business Application development tools:


設置該WebIDE連接的SAP雲平台CloudFoundry環境:

新建一個項目,類型選擇SAP Cloud Platform Business Application:

該srv實現類型選擇為Java,package設置為my.app, 數據庫技術選擇SAP HANA database:

自動生成項目文件,用MTA Editor打開yaml文件:

看到了db和srv兩個模塊:

在db模塊的data-model.cds里維護數據庫表的結構:

點擊build之後,



如果遇到下面的錯誤,檢查WebIDE連接的CloudFoundry環境,是否分配了hdi-shared plan.

6:21:34 PM (Provision) Could not create the 『Products-Products-db-hdi-container8HPfzrS/PBqVvnsD』 instance of the 『hana』 service type for the 『Products-db-hdi-container』 resource. No hdi-shared plan available found in this space. 6:21:34 PM (Provision) Provision fail since one of the provision tasks finished with error. 6:21:34 PM (Executor) The 「task for hdb build」 provision finished with an error: Provision failed. See console for more details. 6:21:34 PM (HDB) Build of /Products/db failed due to Provision failed. See console for more details…