cancel
Showing results for 
Search instead for 
Did you mean: 

problem with URI in ODATA

Former Member
0 Kudos

Dear experts ,

      i developed a ODATA service  successfully. For  that service i need to give plant , condition type and are single values simultaneously  i need to pass a range table for Material number.

i am giving URI

/sap/opu/odata/SAP/YHKLL_SRV/PLANTSet?$filter=ConditionType eq 'PR00' and Werks eq '3000' and Material eq 'M16283' or Material eq 'M81018'

i am getting error 500 INTERNAL SERVER ERROR .

please correct my URI.

Thank you .

Accepted Solutions (1)

Accepted Solutions (1)

Ashg1402
Contributor
0 Kudos

Hi,

try this -

/sap/opu/odata/SAP/YHKLL_SRV/PLANTSet?$filter=ConditionType eq 'PR00' and Werks eq '3000' and (Material eq 'M16283' or Material eq 'M81018')

Answers (0)