We are developing a Fiori App by extending the standard Fiori Leave Request Application. Our requirement is that the manager need to apply the leaves for the employees under him. So we extended the leave request app by replacing the view hcm.myleaverequest.view.S1 with a custom view and put a dropdown list to pick the employee list from the drop down.
While the manager submits we replaced the post data parameter EmployeeID with the selected employee Id from the dropdown list as shown.
The submission of the request is done using the standard odata service , not done any changes in the odata.
After submission we are getting the error as shown
When we checked the gataway traces we found that correct data are passing to the back-end.
Highly appreciated your guidance to implement this on the correct way.