0
votes

I have been creating a basic OpenUI5 application, and aiming to implement SAP Gateway very soon.

I currently have a screen that populates an array with simple text-fields and a button. My aim is to send this array/table to a backend ABAP function module or class method. Can this be done? The table has the potential to be quite large.

2

2 Answers

2
votes

You need to create a write capable oData service that accepts oData post requests from an UI5 application and writes data to a database table. During implementation of this oData service you may call any ABAP backend class methods of objects that you need to instantiate.

The most important point to realize is that the UI5 application is stateless. The application and all classes are instantiated for processing of the single request and die immediately after the request is processed.

0
votes

I do not see any problem as long as you do not try to send gigabytes or hundreds of megabytes over the network.

Sending the data to a class method will not be possible as the ABAP methods of classes are not RFC enabled. For this purpose you can use only function modules.