Skip to Content

Dynamic Fiori Tile Information

I’m having trouble showing dynamic information in the Fiori tiles. I found a couple blogs on how dynamic information can be shared with the tiles, but it’s not working (though by all indications, it should be).

  • I created a very simple HDB Calculation View and (for testing purposes) hard-coded a number of values, with the correct names
  • I exposed the Calculation View as an OData API

The OData response is shown here:

My first question is: are the names of the elements above correct? I found them here. The tile, unfortunately, does not reflect the values that I've hard-coded (except the 'number' value, which does seem to work).

Any help would be greatly appreciated!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 30 at 06:29 AM

    I think the issue is caused by the fact that you request the entity set (results array) and not the entity. The HANA development guide contains this example:

    {
      "d":{
        "icon":"sap-icon://travel-expense",
        "info":"Quarter Ends!",
        "infoState":"Critical",
        "number":"43333.34000",
        "numberDigits":2,
        "numberFactor":"k",
        "numberState":"Positive",
        "numberUnit":"EUR",
        "stateArrow":"Up",
        "subtitle":"Quarterly overview",
        "title":"Travel Expenses"
      }
    }
    

    I followed the Blogpost Creating Dynamic App Launcher Fiori Tile for SAP BPC to recreate this on my ABAP System and got this dynamic tile:

    Add comment
    10|10000 characters needed characters exceeded

    • Hello again, Gregor. What I ended up doing is calling the OData service with a key so I would get a single entity, rather than a collection. I added a 'calculated column' to the Calculated View with the name "ID" and a constant value of "1." Once I did that, and called with the key of '1,' I got back a single entity, so all of the values are correctly reflected. Thank you so much for your help, again, it got me going down the right road!