how is component.js of extension project loaded

157 阅读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 )
    clipboard1
    clipboard2
    clipboard3
    下面的url是not work的scenario:
    clipboard4

原因是ui5_ui5这个icf node下不存在名为zcrm_note_w8的sub node:
clipboard6
root cause在于index.html里对extension project的module path注册路径不正确:

clipboard7
zcrm_note_w8应该替换成为实际deploy到ABAP repository里bsp application的名字。

修改后问题解决:
clipboard8