Hi,
I need to upload a file with NetWeaver Gateway. The file should not be stored as such, but processed by an ABAP class. Besides the file the class also needs some parameters. How do I implement something like this?
One approach I found is to have a PUT request to /path/to/service/EntitySet('SerializedParameters')/$value. But since my client side technology is SAPUI5 (HTML5), PUT request do not seem to be possible (Browsers only support GET and POST).
Ideally I would do a POST to /path/to/service/EntitySet that contains the file as well as the parameters. How would the request have to look like? (And how could I generate it with SAPUI5?)
Thank you for your help in advance!
Regards,
Daniel