cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid key predicate error while running http method get via tcode /IWFND/MAINT_SERVICE

Former Member

Hi,

I am facing an error which says "Invalid Key predicate"while running http method get via tcode /IWFND/MAINT_SERVICE.

The same works fine for sdata .The SICF nodes are active.But when the url has odata it does not seem to work as expected .This is the url I am trying to execute.

/sap/opu/odata/sap/QMLSINSPECTIONLOT/MATERIALDETAIL(MaterialNumber='1706',FROMDATE='20120303',TODATE='20120708')?$format=xml

(does not work -error invalid predicate)

/sap/opu/sdata/sap/QMLSINSPECTIONLOT/MATERIALDETAIL(MaterialNumber='1706',FROMDATE='20120303',TODATE='20120708')?$format=xml(works fine)

Could you help me with this error?

Regards,

Ann

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

Ann,

FROMDATE is a date field? Then you need to specify while providing value.

Example: Check it here.

Thanks

Krishna

Former Member
0 Kudos

Thanks Krishna.Added the fromdate field.It works fine now.Thanks again

Answers (0)