Simulation of the Xcelsius Local Scenario Button in SAP Design Studio:

When some of our clients decided to switch to SAP Design Studio, we had to recreate their Xcelsius dashboards. One feature we really missed having, was the Local Scenario button in Xcelsius. Thankfully, the new Bookmarks and Personalization feature in DS 1.3 came in handy.

This is how we used the two new features to simulate the functionality of the Local Scenario button. In Xcelsius, this button has options to Save, Load, Delete & Set Default. In SAP Design Studio, Save, Load and Delete can be achieved using the Bookmarking feature and Set Default can be achieved using Personalization. The image below shows the code for each.

Bookmarks in SAP Design Studio

Bookmarks in SAP Design Studio

One value addition to this is to save bookmarks with the name of the item(s) selected by the user in a related selector(s). This will help the user relate the bookmark to the scenario. This will come in handy when there are multiple bookmarks saved and the scenario relates to user selected values in multiple selectors. Also, since the bookmark is saved automatically with that name, the user is not required to type the value of the selection or give another name while saving the bookmark.

The code below shows how the bookmark is saved with a name based on user selection in the two selectors.

if(DS_2.getFilterText(“ZSALES_REGION”)==””)

{

var a=DS_2.getFilterText(“ZSALES_DISTRICT”);

var bm1=Bookmark.saveBookmark(a);

LISTBOX_1.addItem(bm1,a);

}

else

{

var b=DS_3.getFilterText(“ZSALES_REGION”)+”/”+DS_2.getFilterText(“ZSALES_DISTRICT”);

var bm2=Bookmark.saveBookmark(b);

LISTBOX_1.addItem(bm2,b);

}

SAP Design Studio App with Bookmarks

SAP Design Studio App with Bookmarks

Subscribe to our Newsletter

5920 Windhaven Pkwy
Plano TX 75093.

+1 888-227-2794

+1 972-232-2233

+1 888-227-7192

solutions@visualbi.com