Skip to Content
0
Dec 11, 2020 at 11:03 AM

Fiori Elements: Clearing old messages from Object Page

133 Views

Hi,

I am writing a Fiori Elements app (with an ABAP RAP service). I have enabled Create functionality and implemented validation checks in the Business Object implementation's FOR CREATE method.

When there are errors, I fill the REPORTED structure and the messages are correctly displayed on the UI. However, if I have multiple errors, fix one and then hit Save again, the old errors are not cleared, so I see all the old errors plus the new (duplicate) errors on the UI.

Is there a way within the RAP framework of telling the UI to clear the old errors? If not, is there a standard way of extending the Fiori Elements app to make this happen?

Thanks,

Andrew