Skip to Content
0
Former Member
Jan 03, 2016 at 10:18 AM

Fiori App by extending the standard Fiori Leave Request Application

137 Views

Hi all,

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.

oNewEntry.EmployeeID=this.selectedEmployeeIDValue;


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.

Attachments

gw.png (26.3 kB)