cancel
Showing results for 
Search instead for 
Did you mean: 

How to get data in multiple tables: OData : Netweaver Gateway

Former Member
0 Kudos

Hi Experts,

I have a created RFC Function Module and OData Service in ECC. Service has been registered in Netweaver Gateway.

Now the problem is the Function module is returning three tables in the ouput, So i have created 3 entity types and Function Module

is being called 3 times when the Service is executed.

Could anyone please advise, how can we can get the data for all the 3 tables in one go?

Regards,

Tanmay

Accepted Solutions (1)

Accepted Solutions (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

Check this blog for more details.

Regards,

Chandra

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tanmay,

I would not develop a custom RFC for Gateway usage -  this is, in my opinion, very bad practice. It sounds like you expect one FM to provide three entities at once. This isn't really viable and to make it so introduces unnecessary complexity and constraints.

It would be preferable to construct the code for the provision of each entity and entityset in the appropriate DPC_EXT methods - this would avoid your problem altogether!

Regards

Ron.