Skip to Content

Fiori Shell Plugin APP doesn't load for a catalog

Hi There,

Good day !

I build custom fiori apps on CRM system.

As part of business requirement we built a Shell plugin to show system outage notification in a message box following below blog:

https://blogs.sap.com/2017/10/12/create-a-welcome-popup-for-portal-fiori-launchpad-and-freestyle-sites/

To test developments we have a Test role which hold one catalog, when I target mapping to this catalog it works.

But when I add the same target mapping to a business specific catalog, the plug in doesn't download at all.

After some research I found about this transaction "/UI2/FLP_CUS_CONF" but this TCODE doesn't exist in our system

In /UI2/FLIA I can see the target mapping and its green.

when debugging backend services @ /UI2/CL_TM_INDEX_SHR--> method (GET_MY_PLUGINS_DATA) it doesn't bring the plugin.

Fundamentally it works on Test Role &/ Catalog and doesn't on business role/catalog.

Can someone advise is there a place we need to enable plugin based on catalog / role.

Note: we are on library version 1.44.12 & SAP_UI 7.51, 003

We don't use LPD_CUST.

Below is my target mapping for the shell plugin.

Thanks,

Sai.

taregtmapping.png (27.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on 4 days ago

    Thanks Wouter, your comment made me to look into to find out what's the difference CUST & CONF and both my business & technical roles and found the issue.

    Hi All,

    Finally after debugging HTTPS services could find the issue and fix.

    Reason:

    We normally use scope=CONF (......."/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?scope=CONF") so its across all clients and locks object in Wokbench TR.

    Some other team did a modification on same catalog some time recently and used scope=CUST (......."/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?scope=CUST")

    due to which the catalog is not in sync.

    When debugging the HTTP call to get fiori base catalog data in class /UI2/CL_FLP_HTTP_HANDLER, method GET_PLUGINS_DATA @ below screen shot method found that in lr_data which reads from memory our catalog in context bears client ID compared to rest.

    Fix:

    In this mismatch scenario, if we open the same catalog in CUST scope, it gives an error message, as highlighted in below screenshot we can take CONF changes and put it in CUST, this requires a customization TR.

    Then import the cust TR into the required client.

    Run cache clear programs.

    Reinvestigation:

    1) Now on same HTTP call I could see no client ID on my catalog.

    2) under lr_data-->Plugins I could see my plugin listed.

    2) In Fiori debugger I could see both my plugin app and odata call as expected.

    All good, now.

    Thanks,

    Sai


    capture1.png (28.7 kB)
    capture2.png (93.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on 5 days ago

    The transaction "/UI2/FLP_CUS_CONF" is probably not yet available in your system. It’s only available from certain system version but I don’t know exactly which one.


    normally when it works with a technical catalog it should work as well with a business catalog. Can you validate that you have access to this catalog? You can check all available target mappings in the “start_up” file which you’ll find in the network trace when starting fiori launchpad.

    Can you also make sure all caches are cleared?


    kr, Wouter

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Wouter,

      Apologies its my bad, I mean we configure catalog with scope = CONF by "/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?scope=CONF"

      And yes this particular transaction doesn't exist in our system neither I could find relevant node in SPRO.

      We our requirement is to have this plugin across the board and so we gave it to base role/catalog which is assigned to every user, this is where Plugin isn't working.

      ZTest role & catalog is only for developers to test the developments before deploying it for testing by assigning it to relevant roles.

      I could try assigning the plugin to a different role but I don't want to take a chance yet as I don't understand the object locked in WB TR to pick and choose.

      Thanks,

      Sai

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.