on 06-21-2017 9:17 AM
i am using filter query option in the odata service
/sap/opu/odata/ztest/MeasurementsSet?$filter=Mtime eq time'20:32:32'
or /sap/opu/odata/ztest/MeasurementsSet?$filter=Mtime eq '20:32:32'
MTIME --type is edm.time .
<Property Name="Mtime" Type="Edm.Time" Nullable="false" Precision="0" sap:label="MeasurementTime" sap:creatable="false" sap:updatable="false" sap:sortable="false"/>
i am giving values mtime property to fetch the records in the entityset.
sap gateway is not accepting the above two URI format?
it's telling bad request or Invalid parametertype used at function..
which format i can use to fetch the records using TIME fields in the ENTITYSET Method?
Hello Venkat,
Please send time as below and check -
/sap/opu/odata/ztest/MeasurementsSet?$filter=Mtime eq time'PT20H32M32S'
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.