cancel
Showing results for 
Search instead for 
Did you mean: 

SUP - Creation of ODATA Services Inside SUP

Former Member
0 Kudos

Hello experts,


I’m relatively new to all mobility aspects and SUP in particular. After reading some posts on the forum and some technical documentation, I still have some doubts regarding something – SUP allows the creation of ODATA services? My ultimate goal is to create an ODATA service inside SUP and provide the service URL (endpoint) to another application in order to consume those services. However, from what I read, SUP only “consumes” already created ODATA services (from SAP NetWeaver Gateway or any other source), and does not allow ODATA service creation inside SUP.

I would like to be absolutely certain of this statement. If anyone could enlighten me regarding my question with additional information I would very much appreciate it.

Best regards,


Ricardo Pires

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ricardo,

correct me if i am wrong, you must be using sup 2.2.x or earlier version.

in sup we have something like MBO (mobile business object) which is nothing but business logic for mobile app. There are different ways to create mbos depend which backend you are using for your app development. like Sample database, SAP, rest web service, SOAP service etc

we have OData services provided by SAP netweaver gateway system are used in mobile app development with SUP.

There is nothing like creation of OData services inside SUP.

with the help of URL, you can create mbo using REST web service connection.

Please check this link.

Regards,

Jitendra

Answers (2)

Answers (2)

midhun_vp
Active Contributor
0 Kudos

If I am right, from the given information you are developing a native application using MBOs. The tutorial for development of native application is here,

SyBooks Online

Sample projects

http://scn.sap.com/docs/DOC-36055

If you are planning to develop mobile apps using Odata services exposed from NW gateway, there will not be any development in SUP. SUP will act as a data proxy provider. And this is the recommended approach from SAP.

- Midhun VP

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

you can have look at this document also.

Rgrds,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

Thank you for both of your replies, although I still have my question unanswered.

I think I did not explained in very detailed fashion what I am trying to accomplish with SUP so I’ll do it now. I want to create a MBO (let’s say a customer table) using as backend a Sybase SQL Anywhere database. Afterwards I will deploy this MBO in SCC server as package. What I want to next, is to create some Java classes/methods that will be able to access the MBO in order to provide methods such as “getAllCostumers”, “getCostumerData” etc. Finally, I want to create some sort of service would enable other applications to connect to SUP and get the results from the previous methods.

Is this feasible? If it is, can you provide me some tutorials/examples in how to do so?

Thank You,

Ricardo

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos
 What I want to next, is to create some Java classes/methods that will be able to access the MBO in order to provide methods such as “getAllCostumers”, “getCostumerData” etc. 

are you looking for particular native platform development? for android/BB?