Skip to Content
1
Apr 10, 2019 at 11:23 PM

Screen Personas SP07 - onLoad event not triggered after calling executeScriptAsync()

251 Views Last edit Apr 10, 2019 at 11:24 PM 2 rev

Hi,

I am calling the function :

parent.sap.personas.scripting.executeScriptAsync() 

From an HtmlViewer control (with a SAPUI5 table embedded inside). The SAP Documentation states that:


  1. The calling script hits the executeScriptAsync() statement, but the asynchonous script is not executed yet.
  2. The calling script finishes.
  3. If there are onLoad or onAfterRefresh scripts, they are executed.
  4. The screen is rendered (and the cumulative changes made by the calling, onLoad and onAfterRefresh scripts are displayed).
  5. Only after the screen has been completely rendered, the asynchronous script is started.
  6. The asynchronous script finishes.
  7. If there are onLoad or onAfterRefresh scripts, they are executed.

However, in my case the onLoad event for the flavor is not being triggered by the execution of the async script

We are on Kernal 449, Patch 627, SAP Basis Version 740


Thanks,

William