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
 

Lumira Designer 2.3 - Bookmarking with a Composite

In this blog entry we want to take a look at composites and illustrate how popular functions can be implemented as composites. At this point we decided for bookmarking, because it is quite easy to rebuild and therefore predestined for the first self-created composite.

First a few words about the composites. These are a powerful feature in SAP Lumira Designer, because uniquely created functions such as bookmarks, comments or chart editors can be reused in a few simple steps. The composite in Lumira Designer is its own object and can be inserted into any number of applications after it has been created.

Composites open like applications in their own window. They have their own outline with their own objects, scripts, variables and technical components. It is also possible to select a new CSS file.

Components OutlineNevertheless, composites cannot be executed independently, but only from within an application. Especially when creating the first composite, this is a bit tedious, but you quickly learn to appreciate the advantages.


The ultimate Comparison between SAC and Lumira Designer

Neuer Call-to-Action


Bookmarking as Composite

In this article we have already explained in detail how to create bookmarks in Lumira Designer. That's why we only cut the basics roughly. 

We decided to place the technical components bookmarks and personalization not in the composite, but in the dashboard application itself. The advantage of this solution is that the bookmarking component can be individually configured and changed in the dashboard. The disadvantage is that the components have to be added manually in each application. 

Alternatively, it is also possible to place the components in the composite and change them via script from within the application. 

Layout

The bookmarking function is built as a pop-up in composite and kept simple. Since all layout elements are in the composite and not in the respective application, optical adjustments only have to be made once in the composite.

Bookmark PopUp

Coding

The coding in the composite requires some rethinking, because it has to be written generally. While we previously addressed the bookmarking and personalization components directly, variables are used here. 

Variables

In our case we need two variables in the composite. They are basically placeholders for the technical components Bookmark and Personalization, which are not in the composite, but in the application:

  • g_BookmarkComponent
  • g_PersonalizationComponent

Composite Variable

The variables must be created with the appropriate type to imitate. In our example we choose the type Bookmarks.

Features (technically)

The features enable interaction between application and composite. In our case we use four features:

  • popupOpen 
  • setBookmarkComponent
  • setPersonalizationComponent
  • getAllBookmarks

For example, the function for setting the BookmarkComponent contains the following code:

//Set BookmarkComonent
g_BookmarkComponent = bookmarkComponent;

Additionally an input parameter with the type Bookmark is configured.

Composite Skript Funktion

Scripts

Within the scripts, the variables must be addressed instead of the technical component. 

Here is the example for saving the bookmark:

//Read bookmark title from inputfield
var title = INPUTFIELD_TITLE.getValue();

//Read bookmark description from inputfield
var description = INPUTFIELD_DESCRIPTION.getValue();

//Concatenate title and description 
var bookmark = title + " - " + description; 

//Save bookmark with title and description
var book_id = g_BookmarkComponent.save(title, description)

//Add bookmark to listbox
LISTBOX_BOOKMARKS.addItem(book_id, bookmark);

//Clear inputfields
INPUTFIELD_TITLE.setValue("");
INPUTFIELD_DESCRIPTION.setValue("");

And an additional example to send the mail:

//Get Bookmark ID and the corresponding URL
var bookmarkID = LISTBOX_BOOKMARKS.getSelectedValue();
var url = g_BookmarkComponent.getUrl(bookmarkID);

//Send mail
APPLICATION.sendEmail("", "Dashboard Bookmark", url);

Of course all scripts have to be adapted accordingly and the variable has to be controlled. The bookmarking composite is now ready for use and can be integrated into an application. 

Add Bookmark Composite to Application

The composites can be easily added in the outline like other components.

Composite Outline hinzufügen

In addition, the StartScript must be adapted in order to fill the above mentioned variables in the composite. 

Coding:

//Set bookmak component
NL_BOOKMARK_2.setBookmarkComponent(BOOKMARKS);

//Set personalization component
NL_BOOKMARK_2.setPersonalizationComponent(PERSONALIZATION);

Last but not least we write an OnClick script for the bookmark icon.

Coding:

//Open bookmark popup
NL_BOOKMARK_2.popupOpen();

//Load bookmarks into popup
NL_BOOKMARK_2.getAllBookmarks();

Our summary - Bookmarking with a Composite

Composites make dashboarding in Lumira Designer much easier. A big advantage is the reusability in different applications, but also the maintenance of the dashboards improves enormously. They reduce the number of components in the dashboard, which increases the overview, especially in the outline, and simplifies work for the developer. In addition, adjustments only have to be made in the composite and all dashboards that use the composite are "up-to-date".

Common functions, such as bookmarking or commenting, are best suited for being outsourced as a composite.

Learn all about Dashboarding with Lumira Designer

, ,

avatar

Rafael

Rafael Sachs has been working as an SAP BW and BO consultant in various industries in Germany and abroad since 2013. He covers the range from requirements management to implementation. His core competencies are tailor-made solutions in the front-end area and the professional design of the company's own software NextTables. In his spare time he is a restless hiker, dog tamer and hobby cook.

Got a question about this blog?
Ask Rafael

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