cancel
Showing results for 
Search instead for 
Did you mean: 

GetEntitySet of the MD_STOCK_REQUIREMENTS_LIST_API

chambikilo08
Explorer
0 Kudos

Hi Together,

I implemented my Odata by using the FM: MD_STOCK_REQUIREMENTS_LIST_API.

In the GetEntity of my Odata: I receive only one Row when I pass mandatory parameters: Matnr and Plant.

Instead to get one Row back. I want to get the whole table Back when I pass mandatory parameters: Matnr and Plant. Can someone tell me how to do that in the GetEntitySet.



Ankit_Maskara
Active Contributor

Hi, Conceptually you are correct that implementing get entityset will return an entire table. For get entityset you should not pass the key fields of entity because if you pas key fields its effectively calling the get entity method. If you want to restrict values you can pass filter values($filter query option).

Your question is still not much clear. Are you looking for an API which will return an entire table for your requirement based on material and plant, if so then please retag the question.

Ankit_Maskara
Active Contributor
0 Kudos

chambikilo08 Please close this question.

Accepted Solutions (0)

Answers (1)

Answers (1)

chambikilo08
Explorer
0 Kudos

Thx Ankit,

I found the solution. I decide to implement an Import function. It is working now properly.