Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

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.

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.

Step:

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

DataModel->Import->DDIC

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,

  1. Right Click on Entity set à create button to add a new line to the table.

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


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


Next part is i will update soon.


With Regards,

siva.

Labels in this area