cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement RAP action in Un Managed Custom Entity

Phani_Kumar
Participant
0 Kudos

Hello,

We have existing Business Logic and wanted to expose that to a OData Service using Custom Entity using RAP. Complex Business logic is available in different class methods.

We created a Custom Entity and processed all the logic and able to show case the output in UI5 Free Style Application.

Now the customer has asked us to create one Editable Field in the List Table Output and after giving input in that particular field, Some kind of simulation should happen and a few other fields have to be re calculated and they should get updated in the List Item(Suppose user is Editing the data of the second row , calculated fields should get updated in the second row corresponding columns)

We tried to implement an RAP action whenever data on the List Input Field changes, but after triggering the Action Method in the Custom Entity, Framework is triggering the SELECT Method of the RAP interface IF_RAP_QUERY_PROVIDER as well.

Because of that, data is coming again from the business logic , instead of the Simulation/Action Method.

Please advice us on how to proceed on this.

Accepted Solutions (0)

Answers (0)