Skip to Content

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

Design studio auto refresh every X minutes

Hi all

I have a D.S application over data from BW and I want the data sources to be refreshed automatically every X minutes.

I know of the functionality ReloadData(),

How do I run it every X minutes???

Thanks

Shlomi

replied

Hi Shlomi,

Just to clarify @Tammy's suggestion, the timer component referred to there is in fact the one which is included in the Real-Time Package (which is the one I recommend also as it is intended for your exact scenario), not to be confused with the Timer component which is included in the SDK Samples.  The advantage of the Real-Time Package Timer is that it is officially supported by SAP and you don't need to manually compile an SDK archive file for it.

You can download the Real-Time Package Timer component from the SAP Software Download Centre as shown below:

After installation, all you need to do is drag and drop the component onto the canvas, specify the refresh frequency in the Interval in Milliseconds property and call the data source reloadData() method in the "On Timer" event script, as shown in the screenshot below:

You can refer to the following sections of the Design Studio Application Designer Guide for further details:

28.2 How to Create Real-Time Dashboards with a Single PullBased Data Source (page 196)

28.3 How to Create Real-Time Dashboards with Multiple PullBased Data Sources (page 197)

Regards,

Mustafa.

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