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
 

Test automation with SQL in SAP Datasphere

In a previous article, "SAP Datasphere Command Line Interface as Project Accelerator", we presented various ways in which you can use the SAP Datasphere command line interface to shorten project runtimes. In this article, we will show you how you can use SQL or SQLScript as a project accelerator.

SAP Datsphere is based on a powerful HANA database that uses SQL and SQLScript as native programming languages. SQLScript is typically used in views and transformation flows, but can also be used to automate tasks. Below we present two possible areas of application.

Excursus: Native Datasphere modeling

With associations and semantic types/information, Datasphere offers a modern paradigm of data modeling, which brings many advantages in terms of performance, self-service and reusability. To use this paradigm, tables and views are either imported already semantically enriched (e.g. possible with S/4 HANA), or they are subsequently enriched within Datasphere. An analytical model (AM) is then developed, which can be consumed as a reporting object by a range of applications (SAC, SAC Add-in, ODATA) that are capable of evaluating this semantic information.

We also like to call this described paradigm "native" Datasphere development, as this is the recommended and future-oriented approach.

Converting objects

It is often necessary to combine the native type of modeling with classic database technologies that do not know and cannot evaluate any semantics. Third-party tools such as Tableau (and in some cases Power BI) require an ODBC connection in order to consume Datasphere data.

However, analytical models, i.e. the reporting objects in native modeling, cannot be consumed with ODBC capability, especially with their associations. This leads to a kind of dilemma in that the data model must also be modeled in different ways for different consuming systems and cannot be used universally.

To remedy this situation and minimize duplicate modeling efforts, we have developed an SQL-based tool that enables us to generate corresponding ODBC-capable objects from natively developed data models. A script analyzes the analytical model with its associations, linked dimensions, texts and hierarchies and translates these elements into their corresponding SQL representation. An SQL code is generated from this, which can be deployed as an ODBC-capable SQL view in Datasphere. 

sq-generation-odbc-enabled_Test_automation


Download the whitepaper and find out
which product is best for your data warehousing strategy!

Neuer Call-to-Action


Test automation with SQL

SQL can also be used for automated tests. One possible scenario would be the migration from SAP BW to SAP Datasphere via BW Bridge. BW Bridge enables you to transfer your old on-premise business warehouse to the cloud and connect it to SAP Datasphere. A separate BW Bridge Space is used for this, which can be used across the system.

sql-automated-tests_Test_automation

After the migration, we naturally want to ensure that the source and target match. An SQL stored procedure can be used for this, which compares the tables and generates a detailed test report. The generated test report contains an overview of differences, value changes at field level and missing entries. The same principle can also be used for regression tests. You can compare data records with generated SQL.

Test automation with SQL - Our Summary

With SQL, you have a powerful tool at your fingertips to implement SAP Datasphere projects faster. Whether at the start of the project, when the on-premise BW system is migrated to the cloud, when connecting third-party tools or when regression tests are required - with SQL procedures you can save a lot of time.

Do you have questions about SAP Datasphere? Are you trying to build up the necessary know-how in your department or do you need support with a specific issue? Please do not hesitate to contact us. We look forward to exchanging ideas with you! 

Learn more about  SAP Datasphere

,

avatar

Irvin

Irvin has worked with HANA Native and Datasphere since 2019. He can primarily draw on experience as a consultant and in development on the XSA platform using SQLScript. In his spare time, he is passionate about playing basketball and is also a big NBA fan.

Got a question about this blog?
Ask Irvin

Test automation with SQL in SAP Datasphere
3:58

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