This blog is to create a dynamic tile displaying count of products (let’s say), for beginners.

 

1)Destination in hanatrial. If not, then make destination first.

Dynamic Tile in SAP WEBIDE

 

2)Your project must be deployed to the Hana cloud platform and register to Fiori launchpad.

If it is not so, then follow the below steps.

Dynamic Tile in SAP WEBIDE

Dynamic Tile in SAP WEBIDE

 

Click on Deploy button. A dialog box will be displayed and click on “Register to SAP Fiori Launchpad”. Following Dialog will be displayed. Make the below changes, give any “Unique” Application Name and click on Next.

Dynamic Tile in SAP WEBIDE

Dynamic Tile in SAP WEBIDE

Dynamic Tile in SAP WEBIDE

After clicking on Next and then Finish, followinf dialog will be displayed. Click on “Open SAP Fiori Launchpad”.

Dynamic Tile in SAP WEBIDE

The following screen will be displayed. Click on User Icon on top left corner. Dynamic Tile in SAP WEBIDE

 and then click on “Manage Site”.

Dynamic Tile in SAP WEBIDE

3)Following screen will be displayed.

Dynamic Tile in SAP WEBIDE

4)Click on Apps and you will find your application.

Dynamic Tile in SAP WEBIDE

Click on Edit and Go To Visualization in “Icon Tab Bar”. In “Tile Properties”, select “Dynamic App Launcher” and apply following changes. I am using for URL https://services.odata.org/V2/Northwind/Northwind.svc/Products

5)In Dynamic Data Section

a) Write any name in number. For me, it is total products in my “Products” Collection.

b) In Service , write /northwind/V2/Northwind/Northwind.svc/Products/$count.

Format is like this DESTINATION_NAME/relative_url/query.

Make sure you have your destination in your hanatrial. If not set the destination first.Click on Save and click on “Publish and Open” Dynamic Tile in SAP WEBIDE

  from the dialog displayed.

Dynamic Tile in SAP WEBIDE

 

Suppose, you have to apply filter and you have to count number of products having name “Chai”, then in 5) step, write the below url in Service

/northwind/V2/Northwind/Northwind.svc/Products/$count?$filter=ProductName eq ‘Chai’

 

Please feel free to ask any doubt or to make any suggestions

 

Thanks

Kiran Israni

New NetWeaver Information at SAP.com

Very Helpfull

User Rating: Be the first one !