Skip to Content

SAP Fiori Elements Save, Edit and Delete Buttons Give Error

Hi All,

We're working on SAP Web IDE and using Fiori Elements to develop a UI screen. We developed a JAVA application for back-end system and created OData service for our application by using Apache Olingo libraries.

After all, we binded our service to Fiori by giving destinations which are related about the service that we have developed on SAP Cloud Platform. But there is a problem with create, delete and edit buttons in Fiori Element Application. When we press these buttons, we achieved to send data to our service and the data appear in Fiori Element Application.

The problem is that, after clicking the buttons the page stays in loading position and this is not finishing after the process. Following picture is showing the situation. Is there any idea about this issue ?

untitled.png

untitled.png (11.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 27 at 10:56 AM

    Hello ,

    Try hiding the busy indicator on successful data upload. example shown below.

    oODataModel.update( oPost, {
     success: jQuery.proxy(function(oData, oResponse) {
     sap.ui.core.BusyIndicator.hide();
    }
    error: jQuery.proxy(function(error) {
    }
    Add comment
    10|10000 characters needed characters exceeded

    • Hi Gattu,

      We are trying to use standard Fiori elements Update button which based on OData service annotation. You answer is related with custom action. Can you please explain that how can we handle standard button event?

  • Feb 27 at 11:46 AM

    Ok, is your OData response is not empty ? If you create you should return the newly created item. I fit is a modification, it should return the changed item.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 27 at 01:32 PM

    Try to set an unique ID for all your facet... but I'm not completly sure that it will solve your issue.

    Otherwise, I have no more clues.

    Add comment
    10|10000 characters needed characters exceeded