使用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的原创文章,请关注公众号"汪子熙":

猜你喜欢

转载自www.cnblogs.com/sap-jerry/p/12321845.html