cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Netweaver Gateway Demo System - Any samples that allow data manipulation?

Former Member
0 Kudos

Hi everyone,

I am currently trying to get a better understanding of the OData based communication between the SAP Netweaver Gateway and a mobile app. Today I succeeded in building a sample app that consumes the Flight Example services, which is great.

What I am now aiming at is to include data manipulation in my app - create, delete, and update entities. http://scn.sap.com/docs/DOC-31221#section6 is a very helpful resource, however none of the examples listed there seems to allow CDU operations (or maybe I am missing something). Is there any other sample service that fulfills my needs?

Thanks,

Thomas

Accepted Solutions (0)

Answers (1)

Answers (1)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

there is a new service on that system available that offers CRUD methods based on the EPM data model:

https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV/$metadata

I will write a blog about this service where I am going to describe its features in more detail.

Best Regards,

Andre

Former Member
0 Kudos

Thanks Andre!

Can I already use this service, including CDU operations? Or is the setup not completed yet?

Just to let you know what I am working on: My company is currently evaluating the Appcelerator SAP Module (http://www.appcelerator.com/sap/). So what I want to do is to prove that also CDU operations are working fine using this module (which in turn uses the JavaScript library datajs).

Thanks,

Thomas

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

yes this is definitly possible.

I have just published a document that describes the service in more detail.

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

As you can see in this documents we have provided a bunch of test case that you can have a look at using the Gateway Client /IWFND/GW_CLIENT in the demo system that should help you with your tests.

I would especially be interested in the results of your tests.

Best Regards,

Andre

Former Member
0 Kudos

Hello Andre,

thanks a lot! This is the most valuable document on this topic I have seen so far. And lucky me, yesterday I succeeded in enabling my sample app to create/update entities.

As I just wanted to do some basic tests I am done with the Appcelerator SAP Module for now. All I can say by now is that it does its job, however all it seems to do is to act as a wrapper around the JavaScript library datajs. But, as I said, I haven't tested any more sophisticated things like the datajs store API or the batch operations API.

Andre, do you know of any of your customers who uses the Appcelerator SAP module and who would be willing to share his experiences? I asked Appcelerator for references, but they said that 'the enterprise customers that are using the module are not willing to be references yet'.

Anyway, as the Appcelerator SAP module seems VERY expensive to us we will now check how JayData can serve our needs for a less expensive solution. In case you know of any JavaScript sample code that uses JayData and consumes your services I'd be grateful to hear from you.

Thanks again,

Thomas