Can an OData Service save the value of a selection?
My current question is more like a conceptual question. SAPGateway delivers an OData service with an entity type containing the following Properties:
The values of this entityset do never change and are as follows:
Now the question: is it possible for this OData service to “be informed” of the selected value from any of these lists? (assuming that UI5 can send a value).
Clarification: the service has only the get and getentityset methods redefined. Or same question formulated differently: can the OData service save the result of a selection of a filtered list?
If someone wants to take a look at the metadata, the file can be seen in: https://goo.gl/pAE4qz
Thank you very much for your support,
Ankit Maskara replied
As suggested, you can implement a Function Import (passing the first filter as importing parameter and returning the dependent entity's table type) and call the same on the list close event of the facet filter. In the Function Import you can write a select query where you use the importing value in the where clause of the filter and export the table with second dependent entity. Then do the binding in the UI with the result set returned by the function import.