Hello,
We have created a CDS view with BOPF objects and using the OData service generated by it in UI5 layer.
We are creating and sending the data set from UI5 layer using POST method.
By default, the OData is storing data set in the table specified in BOPF object, We need to validate the data before storing it.
Can someone help here how can we validate the data received by POST method against master data table data.
Where and how exactly can we implement the logic.
Eg: If master data exists for Cost Center Group is C0101-2, C0101-3. it should check before storing whether the data received by POST method is valid.