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
 

SAP BW Transformations with SQL Script - When to Convert

"Code to Data" instead of "Data to Code"

With the introduction of the HANA database, SAP has introduced the "Code Pushdown" concept whereby time-consuming calculations are delegated to the database level. Instead of loading the data from the database to the ABAP server in order to perform the calculations there ("Data to Code"), the calculation is carried out directly in the SAP HANA database, therefore "Code to Data".

possible calculation approaches

To implement this concept, the so-called ABAP Managed Database Procedure (AMDP) was introduced. With this new feature, ABAP developers can create and manage database procedures in the ABAP framework. These can also be used in data-intensive transformations to speed up the loading process. AMDP provides native access to the HANA database through SQLScript and avoids unnecessary data transfers between database and application server. Thus, the performance of the ETL processes (Extract, Transform and Load) in BW can be significantly improved.

Decision criteria

Customer specific transformation rules are usually nested in ABAP routines. However, these are processed on the application server, which requires data transfer between the HANA database and the application server. Especially with large amounts of data, this approach has a negative impact on performance.

However, before you set up a project to transform all the routines from ABAP to AMDP and SQLScript, you should understand that SQLScript will mainly effect performance. Therefore, it makes little sense to customize all routines. Rather, you should consider the following aspects to make a well-rounded decision.

Criticality

Ask yourself if the transformations in question are business or time critical. You should first look at the transformations that exceed or are close to the service level agreements (SLAs). In addition to the total runtime, you should also note how often the transformations are executed. So it might make sense to save a few minutes in a transformation that runs every hour. On the other hand, a process which runs over night is less critical.

Feasibility

Moreover, you should find out the true cause of the long load times. Good candidates are transformations in which the ABAP processing or the transfer of the data from the database to the application server take a long time. On the other hand, if database accesses are inefficient in the first place, it makes more sense to tune the ABAP SELECT statements. 


Increase the performance of your BW with SQLScript

Neuer Call-to-Action


Complexity

Evaluate the complexity of custom ABAP routines. Some logics are incredibly complex and it would take a lot of time (and money) to translate them into SQLScript. This would relativize the time gained in the execution of the transformation. Always carry out a cost-benefit analysis.

Know-How

AMDPs and SQLScript require different skill set than ABAP. Developers who are used to working with datasets and loops need to rethink their approach. Ask yourself if the required SQLScript knowledge is available in-house. No doubt you want to adjust the implemented transformations as soon as the consultants are done with the work and out of the house. Make sure you can.

Conclusion

In my opinion, the conversion of existing transformation to SQLScript is definitely worthwhile, as long as one follows the listed decision criteria. SQLScript should always be used with data-intensive logic to avoid additional data transfers between application and database servers. SQLScript covers many common scenarios such as master data lookup, unit conversion, currency conversion, derivation of values from a custom table and many more.

Choosing the AMDP approach with SQLScript instead of the ABAP routine can lead to significant performance gains. In practice, we have observed cases with more than 15 times better runtime. Customers can now focus on data analytics and results, rather than waiting for data to be processed.

Learn more about  SAP HANA SQLScript

Image: Pexels, CC0 License

, ,

avatar

Sebastian

Sebastian Uhlig has been consulting companies in various industries on SAP BI solutions at national and international level since 2001 and covers the range from requirements analysis to the implementation of complex solutions. He has experience in leading project teams and is the architect of the product NextTables. He enjoys mountain biking and watching American football games.

Got a question about this blog?
Ask Sebastian

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