<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAC Analytic Application - Wait until data fully loaded in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419653#M4649529</link>
    <description>&lt;P&gt;Then maybe add check for isEmpty() for datasource before the hideBusyIndicator()?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 06:51:59 GMT</pubDate>
    <dc:creator>avsalynin</dc:creator>
    <dc:date>2021-07-07T06:51:59Z</dc:date>
    <item>
      <title>SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaq-p/12419650</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;
  &lt;P&gt;I'm wondering if there is a way how to determine with a code to wait/pause until the widgets are fully loaded and then continue?&lt;/P&gt;
  &lt;P&gt;In more detail: I want to run at the end of my function the code "Application.hideBusyIndicator()", but for this I have to determine somehow when the load is finished.&lt;/P&gt;
  &lt;P&gt;Any hints/suggestions would be appreciated.&lt;/P&gt;
  &lt;P&gt;Thanks.&lt;/P&gt;
  &lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 13:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaq-p/12419650</guid>
      <dc:creator>sanpe</dc:creator>
      <dc:date>2021-06-17T13:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419651#M4649527</link>
      <description>&lt;P&gt;What will be incorrect if you do something like this?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Application.showBusyIndicator('Data is loading'); &lt;BR /&gt;Table_1.getDataSource().getResultSet(); // one || more sources&lt;BR /&gt;Application.hideBusyIndicator();&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jul 2021 13:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419651#M4649527</guid>
      <dc:creator>avsalynin</dc:creator>
      <dc:date>2021-07-06T13:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419652#M4649528</link>
      <description>&lt;P&gt;Hi Aleksey,&lt;BR /&gt;thanks for your reply!&lt;/P&gt;&lt;P&gt;My dataset in quite large (with some extra calculations, exception aggregations, etc... in the live model). The problem is, that the code is quicker/finishes earlier than the widgets are fully loaded. &lt;/P&gt;&lt;P&gt;The impact is that the 'busyIndicator' is hidden earlier than expected.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 06:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419652#M4649528</guid>
      <dc:creator>sanpe</dc:creator>
      <dc:date>2021-07-07T06:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419653#M4649529</link>
      <description>&lt;P&gt;Then maybe add check for isEmpty() for datasource before the hideBusyIndicator()?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 06:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419653#M4649529</guid>
      <dc:creator>avsalynin</dc:creator>
      <dc:date>2021-07-07T06:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419654#M4649530</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have you found a soluation for this? I have a similar requirments but the busy indicator disapear before the widgets is fully loaded.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 21:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419654#M4649530</guid>
      <dc:creator>Shwareb</dc:creator>
      <dc:date>2022-04-13T21:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419655#M4649531</link>
      <description>&lt;P&gt;In the past I've had to estimate load times - not ideal but.&lt;/P&gt;&lt;P&gt;Also used stuff like checking result sets and using timers to delay things.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Application.showBusyIndicator("Loading");
var LEN = Chart_1.getDataSource().getResultSet().length;
if(LEN&amp;gt;0)
	{HIDE_LOAD.start(1);}&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;//HIDE_LOAD  contains the code ---&lt;BR /&gt;Application.hideBusyIndicator();&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Apr 2022 11:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419655#M4649531</guid>
      <dc:creator>JBARLOW</dc:creator>
      <dc:date>2022-04-14T11:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419656#M4649532</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;sanpe&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;The background is that widget refresh operations are delayed and bundled at the end of the script, but this means any call hiding the loading indicator before will be too early. Have you tried the automatic loading indicator yet? It is exactly build for such cases (I admit it might have some weaknesses still). &lt;/P&gt;&lt;P&gt;Depending on your scenario you could try enforcing the update during the script using Application.refreshData and passing the array of data sources to refresh (important!). But I would not recommend this as a general purpose apporach as it by-passes the builtin optimzation mechanisms. &lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 07:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419656#M4649532</guid>
      <dc:creator>Bob0001</dc:creator>
      <dc:date>2022-04-19T07:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419657#M4649533</link>
      <description>&lt;P&gt;Hi Bob &lt;/P&gt;&lt;P&gt;Is there any document that explains how this bundling works (Live connection BW)?&lt;/P&gt;&lt;P&gt;I would like to complete simple scenario:&lt;/P&gt;&lt;P&gt;1.Add dimension to table&lt;/P&gt;&lt;P&gt;2.Read resultset to get member Id of a new dimension&lt;/P&gt;&lt;P&gt;It surprised me that read resultset is not waiting for the previous action on table to finish and it returns incomplete data...&lt;/P&gt;&lt;P&gt;even calling getDataSource().refreshdata after every table modification doesn't help.&lt;/P&gt;&lt;P&gt;The only workaround was to add a loop between action 1 and 2 that delays things by some artificial operations-which is super ugly solution...&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rafa&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 14:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419657#M4649533</guid>
      <dc:creator>rafal_skorupa1</dc:creator>
      <dc:date>2022-06-21T14:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419658#M4649534</link>
      <description>&lt;P&gt; Hi &lt;SPAN class="mention-scrubbed"&gt;rafal.skorupa&lt;/SPAN&gt;, I think it is outlined to some degree in the performance chapter of the Analytics Designer handbook. In your simple case (not using background loading or pause refresh) adding dimension to table is not loading the data immediately. This allows you to add or remove more dimensions/measures in the same script without the overhead of loading the result on each step. Reading the result set then does trigger the load and waits until it completed.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 19:13:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419658#M4649534</guid>
      <dc:creator>Bob0001</dc:creator>
      <dc:date>2022-06-21T19:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419659#M4649535</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;bob.meincke&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;More detailed scenario I described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/13665522/live-connection-resultset-issue.html" target="test_blank"&gt;https://answers.sap.com/questions/13665522/live-connection-resultset-issue.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is it really by design like this?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rafał&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419659#M4649535</guid>
      <dc:creator>rafal_skorupa1</dc:creator>
      <dc:date>2022-07-05T14:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419660#M4649536</link>
      <description>&lt;P&gt;Commented on the linked question, where it seems to not work as I explained it above.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419660#M4649536</guid>
      <dc:creator>Bob0001</dc:creator>
      <dc:date>2022-07-05T14:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419661#M4649537</link>
      <description>&lt;P&gt;Hi Bob,&lt;/P&gt;&lt;P&gt;The automatic "Loading Indicator Settings" in Global Settings only activates when first loading the story.&lt;/P&gt;&lt;P&gt;How do we trigger this when the user makes a change in a table, &amp;amp; all calculated members are calculating and refreshing?&lt;/P&gt;&lt;P&gt;I have an issue where users are changing data in a table &amp;amp; clicking a data action before calculated members have finished updating, causing data issues.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 05:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419661#M4649537</guid>
      <dc:creator>adamban</dc:creator>
      <dc:date>2023-09-25T05:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAC Analytic Application - Wait until data fully loaded</title>
      <link>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419662#M4649538</link>
      <description>&lt;P&gt;I think it would be good if you could explain the scenario in a bit more detail. This could help others to come up with an idea.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 15:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sac-analytic-application-wait-until-data-fully-loaded/qaa-p/12419662#M4649538</guid>
      <dc:creator>Bob0001</dc:creator>
      <dc:date>2023-09-25T15:16:09Z</dc:date>
    </item>
  </channel>
</rss>

