使用SAP WebIDE进行SAP Cloud Platform Business Application开发
在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…
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的使用SAP WebIDE进行SAP Cloud Platform Business Application开发的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python如何截取字符串中特定部分(P
- 下一篇: 如何使用SAP事务码SAT进行UI应用的