Thanks for your response, I figured the filter with the odata model itself.
Now I am able to update the model also, but it's strange that not showing the success or error function Alarts.
code
dModel.update('/OrderItem(AUFNR='+ sComponent +')', oEntry, null, function(){ alert("Success!"); },function(){ alert("Update failed");});update is working fine. Just the alart inside success and errror functions are not showing.
Do you have any idea?