Skip to Content
0
Former Member
Oct 02, 2017 at 08:41 AM

XSHANA Odata service filter option

62 Views Last edit Oct 02, 2017 at 09:18 AM 2 rev

Hi All,

I want to fetch WERKS based on LAND1.

for example, if I pass LAND1 in the service link, service should return the respective WERKS.

what code should I write to do that in .xsodata file?

currently written the below code which is fetching data based on key fields of T001W.

service { "SAPPFD"."T001W" as "Stores" with("MANDT","WERKS","LAND1"); }.

Regards,

Subhanshu