Skip to Content
avatar image
Former Member

Fiori app 'CRM_OPPRTNTY' extension error.

Hi,


We are not able to extend fiori app 'CRM_OPPRTNTY'. We have even tried

WEB IDE. We uploaded it as a new project and just created a new

extension project but on running, it is not even showing the blank

layout.

We tried Eclipse Juno as well. In all options we get the blank screen

and

in console we get the below error message.

"Uncaught Error: failed to load 'sap/cus/crm/lib/reuse/library.js' from

./../orion/file/p1028406trial$P1028406-

OrionContent/crm_opprtnty/crm_opprtnty/../crm_lib_reuse/sap/cus/crm/lib/r

euse/library.js: 404 - Not Found"

In short I would request you to extend fiori app 'CRM_OPPRTNTY'. It

seems a product issue after the recent server upgrade as we are not finding

much post on this issue in SCN.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 29, 2015 at 01:12 PM

    Hi Experts,

    Masayuki Sekihara , Claudia Polster , Jeremy Good

    any solution ??

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Michael Appleby

      Hi,

      By 'CRM_OPPRTNTY' I mean the BSP application for the fiori app 'My Opportunity'.. And by the way please look into the issue as what you have suggested to look into the Fiori library is very initial thing for someone who is challenging the SAP product loop hole. So please check before saying ' 'BUMPING' word......

      THANKS>>>>>>>>

  • Oct 29, 2015 at 06:15 PM

    Hi Abhishek,

    In Web IDE for this to work you need to add another entry to your neo-app.json to tell the app where to load the reuse library.  You can achieve this by adding the following.

    {
          "path": "/webapp/resources/sap/cus/crm",
          "target": {
            "type": "destination",
            "name": "GM4_Virtual",
            "entryPath": "/sap/bc/ui5_ui5/sap/crm_lib_reuse/sap/cus/crm"
          },
          "description": "CRM Lib Reuse"
        },
    
    

    Make sure to change the target name to your destination name.

    Regards,

    Jamie

    SAP - Technology RIG

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 08:53 AM

    Hi Abhishek;

    I tried in webide and it iw working fine for me there.

    Following is the neo-app.json

    "

    {

      "welcomeFile": "/webapp/index.html",

      "routes": [

        {

          "path": "/resources",

          "target": {

            "type": "service",

            "name": "sapui5",

            "version": "1.28.16",

            "preferLocal": true,

            "entryPath": "/resources"

          },

          "description": "SAPUI5 Resources"

        },

        {

          "path": "/sap/public/bc/themes/UI5",

          "target": {

            "type": "service",

            "name": "sapui5",

            "version": "1.28.16",

            "preferLocal": true,

            "entryPath": "/resources"

          },

          "description": "SAPUI5 Themes"

        },

        {

          "path": "/sap/opu/odata",

          "target": {

            "type": "destination",

            "name": "FIORI_BACKEND",

            "entryPath": "/sap/opu/odata"

          },

          "description": "OData services backend"

        },

        {

          "path": "/collectUsageStats",

          "target": {

            "type": "destination",

            "name": "trial_usage_tracking",

            "resolutionType": "localAccount"

          },

          "description": "FLP API for trial usage tracking"

        },

        {

          "path": "/resources/sap/cus",

          "target": {

            "type": "application",

            "name": "cuscrmlibreuse",

            "entryPath": "/sap/cus"

          },

          "description": "HCM Lib Reuse"

        },

        {

          "path": "/sap/ui5/1/resources/sap/cus",

          "target": {

            "type": "application",

            "name": "cuscrmlibreuse",

            "entryPath": "/sap/cus"

          },

          "description": "HCM Lib Reuse"

        },

        {

          "path": "/webapp/parent",

          "target": {

            "type": "application",

            "preferLocal": true,

            "name": "cuscrmopportunity"

          },

          "description": "Original Application"

        },

        {

          "path": "/webapp/resources",

          "target": {

            "type": "service",

            "name": "sapui5",

            "version": "1.28.16",

            "preferLocal": true,

            "entryPath": "/resources"

          },

          "description": "SAPUI5 Resources"

        },

        {

          "path": "/webapp/resources/sap/cus",

          "target": {

            "type": "application",

            "name": "cuscrmlibreuse",

            "entryPath": "/sap/cus"

          },

          "description": "HCM Lib Reuse"

        },

        {

          "path": "/webapp/test-resources",

          "target": {

            "type": "service",

            "name": "sapui5",

            "entryPath": "/test-resources"

          },

          "description": "SAPUI5 Test Resources"

        },

        {

          "path": "/test-resources",

          "target": {

            "type": "service",

            "name": "sapui5",

            "entryPath": "/test-resources"

          },

          "description": "SAPUI5 Test Resources"

        }

      ],

      "sendWelcomeFileRedirect": true

    }

    "

    Regards,

    Sarbjeet Singh

    Add comment
    10|10000 characters needed characters exceeded