Skip to Content

Creating a Fiori Starter Application in SAP Web IDE for Sales Order Tracking Part 1

In this Blog I will start off by creating a new Fiori Starter Application based on the Sales Order Tracking service provided by the SAP Gateway system.

We will then enhance the detail view by using the Layout Editor.

In part 2 I will show you how you can run the app with mock data and how you can deploy the application to SAP HANA Cloud.

For more details how you can set up your SAP Web IDE environment on HANA Cloud Connector look here. There you can find also informations about the prerequisites.

+++ Here you can find an example of the new Layout Editor features. +++

+++New new Version:  SAP HANA Web IDE 1.17 +++ (for more Informations about the new Features look here  )

Creating a new project

The first step is about creating a new project. In this part we will simply create a project on the local workspace.

Start from creating a new project File > New > Project from Template

We will now select the application template that will at the end generate the code for our starter Fiori application. The Starter Fiori Application template will generate a master/detail list application accessing an OData Service. In this guide we will access a SAP Gateway system for the OData Service of sales orders.

At wizard step #1 (Template Selection), select the SAP Fiori Application template catalog. You could also select All Categories, and you would get all available templates displayed on the screen.


Select the tile SAPUI5 Master-Detail Application if it is not already selected automatically. You can see if the template is selected by the upper right corner. Then click on Next


The wizard to create a new project displays the first step on Basic Information. At wizard step #2 (Basic Information), define the Project Name: MySalesOrderTracking and click on Next button


At wizard step #3 (Data Connection), click on Service Catalog to get all the available OData Services on the SAP Gateway system.

Open the drop down list and select the Gateway system.

Ask your system admin for your specific credentials. The list of OData Services is being fetched.

NOTE: Please be aware that the server used in this blog is just an example, thus you may not have granted access to it.


Scroll down the list to see all the OData Services available on the Gateway system selected.

Search for “tracking” to show search and filter capabilities


Select the relevant OData Service, SRA018_SO_TRACKING_SRVE [Ext]

Expand the OData Service and show defined data collections for this OData Service.

Click Next


At wizard step #4 (Template Customization), enter the mapping data for the Application SettingsSection

Title Sales Orders

Then for the Databinding-Object Section

Object Collection SalesOrders
Object CollectionID SalesOrderNumber
Object Title CustomerName
Object Numeric Attribute TotalAmount
Object Unit of Measure Currency

Scroll down to the end to see the fields for the Databinding – Line Item.
Enter the mapping data for the Line Item Section

Line Item Collection OrderItems
Line Item CollectionID ItemNumber
Line Item Title Amount
Line Item Numeric Attribute PricePerUnit
Line Item Unit of Measure Currency


Press Next

Click Finish. This will generate all the files in your workspace.


Open the new project folder, in the webapp folder select the file test.html of the application and click on the icon Run. Ask your system admin for your specific credentials.


On the new tab you will see a new Overview Page instead of the application preview. Click on the first URL test/testFLP.html

The Application Preview is started, the application is loading and data is fetched from the OData Service



Enhance the application using the Layout Editor

Close the preview.

In the project, open the folder view if not already expanded.


Select the file Detail.view.xml and right-click. Select Open with > Layout Editor and WYSIWYG mode of the view is displayed.


Notice that when clicking on the different controls in the view the properties of the control are shown.

On the left side, expand some down-arrows to see the different controls that are available.


But at first we have to add the Data Set to the View.

Open the Outline on the right and choose the first line (Detail.view.xml)


At the properties change the Data Set to SalesOrders.



Now expand the Display control section


Select the Object Attribute and drag it to the UI at the postion above the information icon.


Look for the property Text and click on the chain button to change it.

14 - Copy.PNG

Scroll down the Data Fields and select SalesOrdersNumber. Click OK.



Click on icon Save or File > Save


Run the application and show the resulting app: Select the file test.html of the application and click on the icon Run


The Application Preview is started, the application is loading and data is fetched from the OData Service. Check that the SalesOrderNumber is displayed in
the detail view as designed.


In the next part I will show you how you can run the app with mock data and how you can deploy the application to SAP HANA Cloud.

More Web IDE stuff published by Technology RIG 🙂

See you


You must be Logged on to comment or reply to a post.
  • Nice post!

    but I have a question, I didnot find the ODATA SRA018_SO_TRACKING_SRVE [Ext]

    I just find SRA018_SO_TRACKING_SRV in my system do you copy  SRA018_SO_TRACKING_SRVE [Ext] from SRA018_SO_TRACKING_SRV or I was missing some configuration? thanks

    • Sorry, I can use SRA018_SO_TRACKING_SRV to create the sales order tracking APP as well

      Nevermind what I asked before

      thanks for your posting again

  • Hi Claudia,

    I am trying to run the application after connecting to my local OData source.  However, no data is returned and on the details section the message was displayed: "The requested resource was not found."  I created another test application pointing to another local OData service and data is returned correctly.  Any suggestions?


    Thanks in advance,


  • Thanks for the details. It was really helpfull. I did all the steps as mentioned. But when i try to launch the app i get error. No <SalesordPlural> are currently available. Can you please help me on this?