Skip to Content
0
May 30, 2017 at 02:00 PM

Consume oDataService to create a document

165 Views

Dear Experts

I followed the Blog 'File Upload/Download through NetWeaver Gateway' .

Now I would like to consume this oDataService from a SAPUI5 Application. The View Type of the Application is XML and I am using the sap.m.UploadCollection.

On the Gateway I have the following Request-URI:

/sap/opu/odata/sap/<MY-FUNCTION>/FileSet('Test-jpg.jpg')/$value

Where in the Controller.js file do I have to call the oDataService?
And how do I call the oDataService?

Thanks for the kind support.

Best regards
Christophe