Symptom
- An Excel add-in workbook contains two tables created from two BW live models.
- The variable in the first table is input enabled while the variable in the second table is not input enabled.
- In the BW sides, the variable in the second table is designed that it will use the same value as the variable in the first table.
- After changing a prompt variable at “Prompts for Workbook” and running “Refresh All”, only the first table updates; the second table still shows the old variable state.
- Creating a new table on the second model displays the expected, updated values.
- No error message is displayed.
Environment
SAP Analytics Cloud, add-in for Microsoft Office
Reproducing the Issue
- Open a workbook that contains two BW live tables based on different data sources.
- Run Refresh All.
- Open Prompts for Workbook.
- Change the variable value.
- Run Refresh All again.
- Observe that the second table does not update to the new variable value.
Cause
- Working as designed: The second data source does not contain input-enabled variables, therefore leaving “Prompts for Workbook” does not submit variables for that data source.
- “Refresh” or “Refresh All” updates data but does not submit variables for a data source that has no input-enabled variables.
- As a result, the second data source keeps the variable state from its initial initialization at workbook open.
Resolution
There are 3 workarounds for you:
- Use “Reset Data Source” on the second table’s data source to reinitialize it so it picks up the new variable values. Note: This reverts table changes made since opening the workbook.
- Use “Sign out” and then “Sign in” in the add-in to reinitialize the data sources.
- Change the variable of the second data source to input-enabled as well.
Plesae do not rely on VBA RefreshAll; it behaves the same as the ribbon “Refresh All” and will not submit variables for a data source without input-enabled variables.
For future improvement, refer to the roadmap item “Merging Variables in Microsoft Excel” which aims to reduce multiple prompt entries across data sources.
Keywords
SAC Excel add-in, BW live connection, Refresh All, prompts, variables, input-enabled variable, exit variable, second table not updating, tunnel connection, reset data source, reinitialize, sign out sign in, workbook prompts, variable propagation , KBA , LOD-ANA-OF-XLA , SAP Analytics Cloud, add-in for Microsoft Office , Problem
SAP Knowledge Base Article - Public