Hi Albert,
Thanks for your reply..!!
I've tried but i couldn't get the result..still i'm getting the same error..My doubt is, the same code is working fine in sap.ui.model.odata.ODataModel but it's not working in sap.ui.model.odata.v2.ODataModel. So anything needs to be done in sap.ui.model.odata.v2.ODataModel ?. I mean, is there any separate format for v2 model ?.
Thanks,
Palsaran