on 02-09-2016 5:17 AM
Hello Experts,
I have a service which looks like below :
And my gateway http call looks like below :
/sap/opu/odata/sap/ZUI5_MAIN_SRV/salesColl_saveInvoicesSet?$filter=AmountCol eq 1.00
The above call ends up in error always and the error is "Property 1.00 not found in type salesColl_saveInvoices".
But If I remove the decimal values, it is working fine.
/sap/opu/odata/sap/ZUI5_MAIN_SRV/salesColl_saveInvoicesSet?$filter=AmountCol eq 1
Where am I going wrong?
Thanks,
Seyed Ismail.
Hi Seyed,
Can you try suffixing 'm' in you decimal value, It works for me.
/sap/opu/odata/sap/ZUI5_MAIN_SRV/salesColl_saveInvoicesSet?$filter=AmountCol eq 1.00m
Regards,
Tarun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seyed,
Maybe this doc can help you understanding Odata protocol.
Overview (OData Version 2.0) · OData - the Best Way to REST
Regards,
Tarun
Hello Seyed,
Did you try to pass 1.02 , 1.20 , 1.2 and check ?
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.