部署sapui5工程到abap repository
使用Eclisp发布sapui5
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/
https://blogs.sap.com/2015/09/15/how-to-deploy-a-simple-sapui5-application-into-abap-server-using-eclipse/
使用WebIDE发布sapui5
1 选择工程文件夹,单击右键,选择 Deploy to SAPUI5 ABAP Repository。
2 选择需要deploy到的System之后,点击Next。这里需要注意服务器的版本跟工程使用的版本会不一致,需要将版本保持一致,否则有可能会出错。
3 为工程命名,并且点击Browse为工程选择Package后,点击Next。工程命名必须以Z开头,否则会出现错误信息"SAP object WAPA XXX cannot be assigne to package XXX. "
不使用Z开头。
使用Z开头。
4 选择Request Number,点击Next。
5 点击Finish。
6 登录sapgui, 使用tcode se80, 通过查看package,可以查看部署的sapui5工程。
7 使用tcode /UI2/SEMOBJ(/o/UI2/SEMOBJ) 创建 semantic object。
注意这里要在tcode前加 /o,否则无法使用,在设计到gateway跟service的tcode中,前面都需要加/o。
8 点击编辑,添加bsp工程。
9 在launch pad管理页面创建tile。
You are using transaction code /UI2/FLP to open SAP Fiori Launchpad and transaction code /UI2/FLPD_CUST or /UI2/FLPD_CONF to open Launchpad Designer.
打开管理页面,需要替换 localhost:44300/。
https://localhost:44300/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html
在页面的左panel中,创建新的catalog
创建tile
选择之前添加的semantic object,保存
10 创建target mapping。
URL:/sap/bc/ui5_ui5/sap/ZTESTFORDEPLOY。固定/sap/bc/ui5_ui5/sap/+application name.
ID:工程app id
11 需要在sap gui中配置权限,将创建的catalog赋予user.
参照:
https://pravin517.wordpress.com/2018/02/15/deploy-sapui5-application-into-fiori-launchpad/
12 在launch pad中测试工程
打开launch pad页面,需要替换 localhost:44300/。
https://localhost:44300/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html
参照资料:
https://pravin517.wordpress.com/2018/02/15/deploy-sapui5-application-into-fiori-launchpad/
发布fiori工程到sap cloud platform
https://developers.sap.com/tutorials/teched-2017-fiori-deploy.html
在design画面需要选择移送番,在页面的右上角会有齿轮按钮。
如果不选择的话,会出现错误。
在使用tcode进入design页面的时候也需要注意两个tcode的区别。
クライアント非依存 /UI2/FLPD_CONF