I have a ui5 application on HANA for updating values.
On clicking update button, the value is updated and the table model is loaded with data again through the xsjs file. And thus the table refreshes to show new value immediately.
This function was working fine. But on adding a message box with success icon on clicking update, the refresh feature stops working properly. It works 5 out of 10 times. Sometimes, 1st update shows no result, 2nd update shows the values which was updated in the 1st time and so forth.
Also, the application stops to show new changes. It is as if it gets corrupted. Removing the message box code also doesn't help. Only way is to either make a copy of the app without the message box code and activate or else UNDO the changes and revert till before the addition of message box code.
Any idea why this is happening?
Thanks in advance