I want to modify the PATCH request that is automatically sent by OdataListBinding / OData Context (OData V4).
I am following this tutorial.
I want to add one more request parameter before the PATCH request is submitted.
I am using sap.m.Table and ColumnListItem to display - just the same code as in tutorial.
Whenever we change a cell value, it sends a PATCH request automatically. I want to intercept this PATCH request and add one more parameter before submitting. Not sure which event or method to listen to and override or append another value.
Any hints on how can I do this?
What am I trying? - want to change the category Id of a product. I need to send the new category Id like Category@odata.bind : 2
Is there a better way or any other way?