Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Progress dialog only works local / not on ABAP server

Hi Experts,

I have implemented a progress dialog like described in the documentation. It works locally on my tomcat, but when I load the project to the ABAP stack I got following message:

Uncaught TypeError: Cannot read property 'opened' of undefined

The error appears when the dialog opened.

Here the part of the source:


  if (!this._dialog) {

  this._dialog = sap.ui.xmlfragment("BusyDialog", this);

  this.getView().addDependent(this._dialog);

  }

  // toggle compact style

  jQuery.sap.syncStyleClass("sapUiSizeCompact", this.getView(),

  this._dialog);

  this._dialog.open(); // HERE THE ERROR appears

Why this works only locally?

Best regards,

Christoph

Former Member
replied

Hi Christoph,

did you check if the UI5 version on the ABAP stack is is greater or equal to the UI5 version you have locally?

Fragments were introduced with version 1.16.2 (the experimental flag was removed with version 1.20).

Regards,

Florian

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question