Hi experts,
in Analysis for Office we try to achieve following:
Users open a workbook and maintain several settings, e.g. variable values based on Excel calculations. With a click on a button all data sources need to be refreshed, meaning we set the variable values and trigger the refresh using the available API functions.
The problem is that no data source properties (e.g. variables) can be read or set as long as the data source is inactive. In our understanding the only way to activate the data sources is to refresh them and doing so the BW queries needs to be executed. We're talking about very long runtimes here and refreshing the data sources completely and then to trigger the refresh based on our settings is just no option.
We're using following API functions like:
- SAPSetVariable
- SAPGetPoperty with IsDataSourceActive
- SAPExecuteCommand with Refresh and RefreshData
So, our questions is:
Is there any way to set variable values and refresh data for inactive data sources?
Or, is there another way to activate data sources?
Thanks for any ideas!
Best regards, Olaf