Skip to content
NextLytics
Megamenü_2023_Über-uns

Shaping Business Intelligence

Whether clever add-on products for SAP BI, development of meaningful dashboards or implementation of AI-based applications - we shape the future of Business Intelligence together with you. 

Megamenü_2023_Über-uns_1

About us

As a partner with deep process know-how, knowledge of the latest SAP technologies as well as high social competence and many years of project experience, we shape the future of Business Intelligence in your company too.

Megamenü_2023_Methodik

Our Methodology

The mixture of classic waterfall model and agile methodology guarantees our projects a high level of efficiency and satisfaction on both sides. Learn more about our project approach.

Products
Megamenü_2023_NextTables

NextTables

Edit data in SAP BW out of the box: NextTables makes editing tables easier, faster and more intuitive, whether you use SAP BW on HANA, SAP S/4HANA or SAP BW 4/HANA.

Megamenü_2023_Connector

NextLytics Connectors

The increasing automation of processes requires the connectivity of IT systems. NextLytics Connectors allow you to connect your SAP ecosystem with various open-source technologies.

IT-Services
Megamenü_2023_Data-Science

Data Science & Engineering

Ready for the future? As a strong partner, we will support you in the design, implementation and optimization of your AI application.

Megamenü_2023_Planning

SAP Planning

We design new planning applications using SAP BPC Embedded, IP or SAC Planning which create added value for your company.

Megamenü_2023_Dashboarding

Dashboarding

We help you with our expertise to create meaningful dashboards based on Tableau, Power BI, SAP Analytics Cloud or SAP Lumira. 

Megamenü_2023_Data-Warehouse-1

SAP Data Warehouse

Are you planning a migration to SAP HANA? We show you the challenges and which advantages a migration provides.

Business Analytics
Megamenü_2023_Procurement

Procurement Analytics

Transparent and valid figures are important, especially in companies with a decentralized structure. SAP Procurement Analytics allows you to evaluate SAP ERP data in SAP BI.

Megamenü_2023_Reporting

SAP HR Reporting & Analytics

With our standard model for reporting from SAP HCM with SAP BW, you accelerate business activities and make data from various systems available centrally and validly.

Megamenü_2023_Dataquality

Data Quality Management

In times of Big Data and IoT, maintaining high data quality is of the utmost importance. With our Data Quality Management (DQM) solution, you always keep the overview.

Career
Megamenü_2023_Karriere-2b

Working at NextLytics

If you would like to work with pleasure and don't want to miss out on your professional and personal development, we are the right choice for you!

Megamenü_2023_Karriere-1

Senior

Time for a change? Take your next professional step and work with us to shape innovation and growth in an exciting business environment!

Megamenü_2023_Karriere-5

Junior

Enough of grey theory - time to get to know the colourful reality! Start your working life with us and enjoy your work with interesting projects.

Megamenü_2023_Karriere-4-1

Students

You don't just want to study theory, but also want to experience it in practice? Check out theory and practice with us and experience where the differences are made.

Megamenü_2023_Karriere-3

Jobs

You can find all open vacancies here. Look around and submit your application - we look forward to it! If there is no matching position, please send us your unsolicited application.

Blog
NextLytics Newsletter Teaser
Sign up now for our monthly newsletter!
Sign up for newsletter
 

How to use bookmarks in SAC Analytics Designer

In SAP Analytics Cloud, users can bookmark multiple versions of the same dashboard and easily switch between different scenarios within the application. A bookmark saves the current state of the dashboard, including all selections and filters, enabling the user to restore the view later on without having to set it up manually.

For example, bookmarks can be used to store information about:

  • dimensions and measures in a chart or a table
  • sorting, applied filters and the current hierarchy level of the data
  • items contained in a dropdown, radio button group or checkbox group as well as the current selection
  • values stored in scripting variables (not all types supported)
  • whether a widget  is visible or not

In a previous article, we showed you how to set up individual bookmarks in Lumira Designer. In today's blog, we would like to show you how to make the bookmarking available in your Analytics application using a specific use case. Our example shows the landing page of an executive dashboard. By selecting measures in a checkbox, users can determine which KPIs should be displayed on the report's landing page. The current view can then be saved using a bookmark, so that users can simply open the bookmark the next time they run the application instead of replicating the view manually. The bookmark saves information about how many KPI tiles are visible and about the displayed key figures.

executive dashboard bookmarks

In order to make bookmarking available in an application, first a bookmark set needs to be added to the application. A bookmark set is used to define which components of the application are to be included in the bookmarks. This is done by selecting the desired components in the Designer Panel.

The version of the bookmark set can also be changed in the settings. The version number can be used to define which bookmarks are valid. A bookmark is only valid if the version set in the bookmark set matches the version of the bookmark. As soon as the version of the bookmark set is changed, all bookmarks created during earlier versions lose their validity.

We recommend to change the version as soon as you have made major, in-depth changes to the application to avoid possible anomalies. Outdated bookmarks do not store information about newly added widgets.

bookmark set

During runtime, users can add new bookmarks or switch between existing bookmarks and overwrite them by using a popup window. There are two different types of bookmarks. While global bookmarks can be accessed by all users who have the permissions required to run the application, private bookmarks are only available to their creator.

load bookmark


Dashboarding with SAP Analytics Cloud -
Download the whitepaper here!

SAP Analytics Cloud Whitepaper


Adding and changing bookmarks

Bookmarks are saved using the save() function. In this function the bookmark can be named and the bookmark type defined. If there is already a bookmark with the same name, it will be determined whether existing bookmarks should be overwritten.

The first two arguments are set dynamically by the user via selection and by entering a name in the input field. As the function is only to be used to add new bookmarks, the overwriting of duplicates should be deactivated. Finally, the dropdown menu is updated and the new bookmark is added. 

saveMark - onClick

if (enterMark.getValue() !== "") {

BookmarkSet.save(enterMark.getValue(), isGlobal, false);

marksUtils.populateMarks();

}

If the user wants to change an existing bookmark, the save() function is also used. In our example, the bookmark to be overwritten is selected from the dropdown menu. Please note that in this case the overwriting of duplicated should be activated.  

changeMark - onClick

if (selectMark.getSelectedKey() !== "Select a Bookmark") {

BookmarkSet.save(selectMark.getSelectedText(), isGlobal, true);

}

Deleting Bookmarks

Existing bookmarks can be deleted using the deleteBookmark() function. All that has to be passed is the ID of the bookmark to be deleted. In our case, this is also done via the selection in the dropdown menu.

deleteMark - onClick

if (selectMark.getSelectedKey() !== "Select a Bookmark") {

BookmarkSet.deleteBookmark(selectMark.getSelectedKey());

marksUtils.populateMarks();

}

 

Opening Bookmarks

Loading bookmarks is a little trickier. At the time of writing, there is no function for loading bookmarks from an application. If you open bookmarks from the main menu, the ID of the selected bookmark is automatically specified in the URL of the application. We use this mechanism to navigate to our application using the navigation API openUrl() and open the selected bookmark. To ensure that the bookmark is opened in the same window, we pass another argument to the function in addition to the URL.

openMark - onClick

if (selectMark.getSelectedKey() !== "Select a Bookmark" ){

NavigationUtils.openUrl("https://nextlytics.eu10.hcs.cloud.sap/sap/fpa/ui/tenants/c7920/app.html#/analyticapp&/aa/6B122E06DE46EC967112E901930D2653/?" + "bookmarkId=" + selectMark.getSelectedKey() + "&p_bookmarkLoaded=true"+ "&mode=present", false);

}

When using this workaround, it is important to consider that when the application is accessed using a URL, the initialization event of the application is triggered In our example, this would result in duplicated dropdown entries. To avoid statements being executed twice, we start the initialization by checking whether we run the application in order to open a bookmark. In addition to the bookmark ID, we also pass the variable parameter checked in the condition of the initialization even  in the URL.

Due to the limitations of bookmarks, some statements of the initialization must be executed every time. Dynamically adding KPI tiles, for example, is reliant on various arrays that cannot currently be included in bookmarks. Depending on your use case, you have to check which parts of the initialization have to be executed.

Finally, the bookmarking popup is ready for action and can be used to store multiple analysis settings and switch back and forth between different views.

Possible use cases of bookmarks range from individual landing pages to analyzing different scenarios with varying selections and filter settings. In addition to the time saved by not having to create the different views manually, users are not tempted to create multiple copies of the same dashboard and bloat their SAC.

Do you have a specific use case for bookmarks and need help implementing it? We will be happy to help you! 

Learn all about SAC

,

avatar

Maurice

Maurice has been working as an SAP BW / BI consultant in the area of dashboarding since September 2020. His particular focus is on various front-end tools such as Tableau, SAP Analytics Cloud and Power BI. In his spare time, he is an amateur musician with an obsession for learning languages and as a former e-sportsman, he has already represented Germany in the Mario Kart World Championship.

Got a question about this blog?
Ask Maurice

Blog - NextLytics AG 

Welcome to our blog. In this section we regularly report on news and background information on topics such as SAP Business Intelligence (BI), SAP Dashboarding with Lumira Designer or SAP Analytics Cloud, Machine Learning with SAP BW, Data Science and Planning with SAP Business Planning and Consolidation (BPC), SAP Integrated Planning (IP) and SAC Planning and much more.

Subscribe to our newsletter

Related Posts

Recent Posts