Skip to Content
avatar image
Former Member

SAP Fiori Extension for My Quotations App fails with semantic navigation

Dear Experts,

I am trying to extend the My Quotations Fiori app by including a field TITLE.

.

Following steps were taken to acheive the same:

1. Extended the Odata service for adding the new field title for Ship-to-party .

2. Tested in the rest client and the additional field along with values appears, hence works fine.

3. Deployed the BSP Application SD_MYQUOTES(for the original app) in Eclipse and tested - works fine.

4. Created Fiori Extensibility project YSD_MYQUOTES_EX to accomodate the new field ,it worked fine when tested in fiori sanbox configuration environment running on tomcat server.

5. Uploaded the new BSP Application YSD_MYQUOTES_EX through eclipse->Team-> share and submit.

6. changed the relative path in the COMPONENT.JS file to absolute path of parent application as below:

jQuery.sap.declare("ycus.sd.myquotations.YSD_MYQUOTES_EX.Component");

// use the load function for getting the optimized preload file if present

sap.ui.component.load({

   name: "cus.sd.myquotations",

   url: "/sap/bc/ui5_ui5/sap/SD_MYQUOTES" // provide parent project url

});

7. Created the role in LPD_CUST : Z_LPD_HMA. Please find attached the screen shot:

8. Maintained PFCG role . Created Catalog and the tile in the launchpad designer. Maintained the Application aliases correctly in lpd_cust as well as the tile.

9. Created custom semantic Object 'ZmyQuotes' through SPRO and gave a meaningful action(track) and maintained the intent in the tile and also in the target mapping for navigation.

10. Here is where i faced the problem: On running the BSP application as stand alone it works like a breeze , Also same link when i provide in the fiori tile for TARGET URL instead of semantic object NAvigation, it works fine. But when i use semantic object navigation using the newly created semantic object ZmyQuotes , it throws the following error:

Highly appreciate , if anyone can throw some light on this!

Thanks much!

Regards,

Haritha

Message was edited by: Michael Appleby

launchpad.jpg (235.0 kB)
error.png (148.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 30, 2014 at 02:10 AM

    Hi Haritha,

    Can you show me the URL you are using to visit the standalone customized BSP app? Also please check if the index.html exists under your WebContent folder.

    In the speed demo, it goes without sandbox project and direct visit to index.html. I am not sure if this is best practice to extend a Fiori app, but it is working like a charm.

    Kind regards,

    Kenny

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Kenny Zhang

      Hi Kenny,

      Firstly Thanks for your response and the detailing.

      I tried configuring the static tile and the error remains the same, The link:

      /sap/opu/odata/UI2/INTEROP/ResolveLink?linkId=%27ZmyQuotes-displayMyQuotations%27&shellType=%27FLP%27&formFactor=%27desktop%27

      retuns empty values as you can see in the below screenshot:

      The only difference is on configuring the dynamic tile it throws a 500 Internal error, and on configuring Static tile it returns status code:200 but with empty values!

      observed these additional warnings for static tile :

      I am not sure on how this should be handled, kind of stuck on this forever!! Highly appreciate if anyone could provide some solution..

      Kind regards,

      Haritha

      errorstatic.png (77.5 kB)
      errorstatic.png (81.2 kB)
      errorstatic.png (81.2 kB)
      warning.png (77.5 kB)
      warning.png (28.1 kB)
  • avatar image
    Former Member
    Jan 07, 2015 at 05:08 PM

    Hi Haritha,

    seems problem in your Component.js file

    please replace in your file as shown below.

    sap.ui.component.load({

    name: "cus.sd.myquotations",

    url: jQuery.sap.getModulePath("ycus.sd.myquotations.YSD_MYQUOTES_EX") + "/../SD_MYQUOTES"

    });

    Hope it will work.

    Rds,

    venu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Haritha,

      Sorry for the delay..

      Please let me know if the error is resolved or still you are facing the same problem.

      Thanks

      Navdeep Kumar