Skip to Content
0
Jul 28 at 11:01 AM

odata date filter giving error - Property has invalid value

166 Views Last edit Jul 28 at 12:25 PM 3 rev

Hi,

I am using a custom Odata service to fetch Equipment details for which Plant and Udate as part of input for Entityset and defined using DDIC structure .

Can you please help to resolve this error:

Date field is as below:

URL is: /sap/opu/odata/dev/SR_PM_GW_I0140_SRV/EquipmentSet?$filter=(Plant eq 'XXXX' and Udate ge datetime'2000-12-12T12:00').

I am getting below error:

Property 'Udate' has invalid value ' 202'

Further details my logic is getting triggered, but error is from HANDLE_CONDITIONS (/IWFND/CL_SODATA_ROOT_HANDLER)

Attachments

4saig.png (51.7 kB)