cancel
Showing results for 
Search instead for 
Did you mean: 

Requirements in OData

0 Kudos

Hello Guys,

I am having the requirement in OData:

Requirement 1: How to get the data of other records which are different from the sent records in the same entity set.

     From frontend I need to send  5 records of the entityset table to backend. Based on these 5 records we are getting 20 records in Backend. How can I send these records back to frontend.

Requirement 2 :

From frontend I need to send the records of one entityset to get the records of another entityset. How can handle this scenario.

Regards,

Saikiran Bommagowni.

Accepted Solutions (0)

Answers (2)

Answers (2)

junwu
Active Contributor
0 Kudos

you can use function import for requirement 2.

Former Member
0 Kudos

Hi Sai,

For your first requirement you could save those 5 records in an array and use oModel.create() to send it to your entity set.

Hope this is what you are looking for.

Regards,
Srinivasan