Hi,
Reading some of the posts I know there were issues around the ReloadData() function with SAP Design Studio. I’m running version 1.6 SP1 Patch 2 with a Universe as the source and the ReloadData() is not working for me – and does not refresh the datasource.
I’ve set up a simple button which in script reloads the datasource and populates a variable with the sysdate from the source which is displayed as text.
… On Click…
- APPLICATION.alert("Hi");
DS_1.reloadData();
- APPLICATION.alert("Hi Again");
var v_RUNDATE = '';
var v_array_YEAR = DS_1.getMembers("_O_In4AB4Eea2k9ilQfNRZg", 1);
v_array_YEAR.forEach(function(element, index) {
v_RUNDATE = element.externalKey;
});
TEXT_1.setText(v_RUNDATE + "");
…
…and the ReloadData() does not appear to be showing the latest date\time.
Any help or info here would be greatly appreciated.
Thanks,
-Neil