Symptom
- An unexpected hierarchy is displayed on table after executing table.onSelect() function.
- The refreshData() API is executed after setVariableValue() API
Environment
SAP Analytics Cloud
Reproducing the Issue
- Open the affected SAC story.
- Click the cell to trigger table.onSelect() function.
Cause
The refresh will be triggered after executing setVariableValue() API. It's no need to use refreshData() API to refresh again.
Resolution
Remove the refreshData() API.
See Also
Keywords
SAP Analytics Cloud, Data Visualization, Unexpected Hierarchy, Incorrect Values, Live Connection, Underlying Code, Table_2.getDataSource().refreshData() , KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem
Product
SAP Analytics Cloud all versions
SAP Knowledge Base Article - Public