cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Analytics Cloud - Passing Variable Date Range to BW Live Datasource?

vitran23
Active Participant
0 Kudos

Within SAP Analytics Cloud - Analytic Application, how do you set a variable that is a range value?

Example: the BW query needs a range of 1/2022 - 3/2022, how does I set that in Analytic Application scripting.

View Entire Topic
norman
Explorer
0 Kudos

Hi All,

Has anyone found a solution to this question yet? This is easy to accomplish in Webi with the UserResponse function to get the BW variable(prompt), create a webi variable to parse the data, and then passing it in the opendoc formlar?

0 Kudos

Hi Norman,

Range Variable values can be give as:

Table_1.getDataSource().setVariableValue(VARIABLE,{from:"fromValueId", to: "toValueId"});

I hope this helps.

Regards

Dixit