on 04-30-2018 12:01 AM
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).
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!
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregor: thank you so much for the response! I think that is the issue exactly -- I was so focused on the names of the elements that I completely overlooked the OData response structure. So my follow-up question is (and you may not know), how do I get a calculation view to return a single entity and not a set. I am not using an S/4 HANA system in this case, so I can only use a calculation view to create the OData response. Unfortunately, the ABAP examples, while really clear and well-explained, don't help in this particular case.
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!
I am facing the same issue. while creating dynamic tile only number is reflecting on tile.
others are not reflecting.
My oData response--tile.jpgodata-response.jpg
Kindly help me.
Thanks
Navneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.