Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Issue when refreshing queries using setVariableExt (datasource based universes)

$
0
0

Hi,

 

In order to workaround the dara row limit constraint (<20.000) we have implemented a prompt in one of our DS data sources (based on UNX universe). In the background processing the datasource (that has load in script ptoperty set to true) is loaded and the prompt answered with the usual code

 

 

 

DS_DATA_INTEGRATED.loadDataSource();

APPLICATION.setVariableValueExt("psProject Team Code ?", g_projectTeamCode);

 

 

The application contain a drop down box that once selected will provide a new propmpt answer to the DataSource, so we implemented same previous code on the OnClick event

 

DS_DATA_INTEGRATED.loadataSource();

APPLICATION.setVariableValueExt("psProject Team Code ?", g_projectTeamCode);

 

 

When we test the application the background processing code runs fine but the we select a new value on the drop down box following error message appears after a while

 

test1.jpg

i am quite sure that error is caused by the call to setVariable on  the dropdown on click event (error does not appear if line is commented btu in this case the datasource retrieves same data than before)

 

My question is: why am I doing wrong? How should I force the update of the prompt value in such a case?

 

Note: Our app does contains other DS with variables. I have read (see this great blog ) that when multiples queries with prompts are using, call to setVariable invalidates all of them. This does take sense but does not explain the error (it will onluy justify a poor performance as invalid queries should be re-executed)

 

Thanks,


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>