Skip to Content

​How to keep control on web page while the code is executed at ECC end ?

Hi All,

I have a dialog box in my sap UI5 web page. When a user clicks on a button( say OK) in the dialog box, the control passes over to DPC class where some code execution takes place. It takes around 2-4 seconds for the code execution at ECC end.

Meanwhile, if the user again clicks on OK button, the other items in my screen are also executed. Is there a way, where clicking on the button is no longer possible until the execution at ECC end completes.

Kindly suggest.

Thanks

Meenakshi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 28, 2017 at 08:42 AM

    Hi Meenakshi Raina,

    Put a busy indicator sap.ui.core.BusyIndicator.show(0) till the request is processed .

    thanks

    Viplove

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2017 at 06:26 AM

    disable the button when you make call to backend, enable it when the call is finished

    Add comment
    10|10000 characters needed characters exceeded