how is component.js of extension project loaded

134 阅读1分钟

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)(user-images.githubusercontent.com/5669954/275…)]
zcrm_note_w8应该替换成为实际deploy到ABAP repository里bsp application的名字。

修改后问题解决:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":