zoukankan      html  css  js  c++  java
  • SAP Fiori应用没能从Fiori Launchpad启动的一个可能原因及分析过程

    Issue: There are two ABAP systems which host CRM “My Opportunity” application. In system A, the application works however in system B, the opportunity application could not be opened. There is error message below:

    The necessary reuse library failed to be loaded, this could be observed in Chrome network and console:

    Root cause

    in Opportunity Component.js, the correct module path ( prefix ) is registered in line 15. Unfortunately, in system B, the sPath does not have expected lower case of “/crm_opprtnty”. Instead, it has upper case, so reuse library module path does not have chance to be registered, so it is loaded with wrong path and caused the error.

    So now the question is, why for system B, the module path “cus.crm.opportunity” has upper case while system A has the correct lower case? The path is returned when you first click the application tile in Launchpad. That is, an INTEROP service is responsible for navigation target resolution. In system B, the returned url has upper case,

    And in the system A where everything works, the url has lower case.

    So where is this url configured?
    Log on to backend system and use transaction code LPD_CUST, search entry with role = UICRM001 and instance = TRANSACTIONAL, double click it:

    And the url is maintained here:

    In system B, the upper case is maintained by mistake.

    Once it is corrected, the issue would be resolved.

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

  • 相关阅读:
    尚硅谷面试第一季-05递归与迭代
    尚硅谷面试第一季-04方法的参数传递机制
    尚硅谷面试第一季-03类初始化和实例初始化
    python爬爬爬之单网页html页面爬取
    python之花瓣美女下载
    (转载博文)VC++API速查
    (转载博文)MFC 窗口句柄获取
    全局变量的声明
    python图片小爬虫
    Opencv2.4.4作图像旋转和缩放
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13631544.html
Copyright © 2011-2022 走看看