How to handle the exception raised by function module in sapui5 controller
Please help me in this below issue.
I have one function module in the ECC system which for inserting records into database.
I created a sapui5 application which having new entry view.
After click on submit button records are stored in database. But every time it shows the message like "Employee created Successfully" even if we get the exception also.
So could you please help me how to display the exception of that function module on my sapui5 screen.
Thanks in advance