Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Data exchange between SAP UI list and back with the help of oData services

$
0
0

Hi All,

 

we try to use the oData services for data exchange between the SAP UI and backend.

 

We know the solutions if we would be use RESTful only.

 

But the OData usage is still new for us, and we don't know what are the best practices in SAP UI / oData environment.

 

THE USE CASE

  1. We want, that a user entering in the input field one or more countries .
  2. After that the list of countries to be displayed.
  3. The user can select specific countries and request more information for those countries.
  4. In the ffurther list should be displayed details related to selected countries.

 

 

In RESTful only solution would ausehen as follows:

 

The user enters a search term.

The keyword is sent to the back-end controller.

The back-end controller sends these input parameters to the database on.

In response gets front-end JSON array with JSON Objects where countryID and country name is.

The JSON array is set in the UI list. Each element contains contryName and countryID. Therefore you know what are selected for elements.

The countryIDs are sent back to back .....

 

How can this by using oData services solve?

I've read that via call of odata serive withGET with &filter, the amount of results will be limited. I have also read about the CalculationView + Stored Procedure with Input Parameters ...

 

 

Thanks in Advance,

 

Udo


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>