how is component.js of extension project loaded
- 2019 年 10 月 4 日
- 筆記
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://jerry.blog.csdn.net/article/details/100881048
Created by Jerry Wang on Jun 13, 2015
- WebContent
- Component
- Component.js
- icfservloc
- ui5_ui5 directly test the BSP application in tcode SE80 https://:44355/sap/bc/ui5_ui5/sap/zcrm_notes_w8/Component.js works https://:2030/sap/bc/ui5_ui5/sap/zcrm_notes_w8/Component.js 404 error The following screenshot is for GM0 ( working scenario )



下面的url是not work的scenario:


原因是ui5_ui5这个icf node下不存在名为zcrm_note_w8的sub node:

root cause在于index.html里对extension project的module path注册路径不正确:
[外链图片转存失败(img-6Zw9RcgD-1568602582290)(https://user-images.githubusercontent.com/5669954/27516596-2c015ca8-59bd-11e7-8022-d121c5f10b6f.png)] zcrm_note_w8应该替换成为实际deploy到ABAP repository里bsp application的名字。
修改后问题解决:
