Skip to Content
Author's profile photo sivakumar muthulingam

How to create OData service for Mobile-part1

Who am I?

My name is sivakumar and I am from Danam Infotech.

So the purpose of this blog is

Everone should get knowledge how to create Odataservice for sapui5 application.

If we practice this one , we can get easy understand about FIORI service.

In ECC6.0 and EHP 7.0 version The following T-code is available.We need to activate in SPRO./wp-content/uploads/2015/07/segw_740376.png

In system ->status , we can find below information


Create New project:

To start building our project we need to create a project in Netweaver gateway service builder SEGW.


Open the gateway service builder by typing transaction code SEGW in the gateway system

  Use the create button to create new project



Click on Local object. Local object will be created.


After creating a project we should define the entity. There are various ways to create an entity we choose to base it on DDIC structure (table). Right click on Data model and pick DDIC structure



Type name of ABAP structure (eg: EBAN) and PRESS ‘enter’

Result: the wizard will automatically fill in the object name with the value Eban.


Note: Go to Usage and choose ‘Ignore’ for all unused fields, since it likely to return an error value when Odata services finds null values in any of the fields. (In our example, BADAT and Mandt  etc.fields have been Ignored).


Next is the creation of entity sets (technically called as Collection) for the entity type created.

Expand the node data model and double click entity sets,/wp-content/uploads/2015/07/segw7_740405.png

  1. Right Click on Entity set à create button to add a new line to the table./wp-content/uploads/2015/07/segw8_740406.png


Click on Save..


Generate Run time object.

This step will generate run time objects in order to create Model provider class and Data Provider class/wp-content/uploads/2015/07/segw2_740385.png


Please note that technical service name is equal to External service name.

Next part is i will update soon.

With Regards,


Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.