Sending a table from UI5 application to ABAP Function Module

This can be done using an OData service that accepts POST request from your UI5 application and writes data to a database table. While implementing OData service, you have to call ABAP Backend Class method.

You have to remember that all application and classes are instantiated for processing and will end as soon as the request is completed. An OData service can be created using SAP Gateway Service Builder (SEGW).

Following steps has to be performed for creating an OData service:

  • Creation of Data Model
  • Generate Runtime Objects
  • Registration of Service
  • Service Implementation

Once you create a project in Gateway Service Builder, you have to create Entity and EntitySet using Import option:

To know more about the creation of OData service and UI5 application, you can refer this link: