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 implement a BAdI for NextTables

◀ Back to Knowledge Base

Business Add-Ins, so-called BAdIs, offer a wide range of customization and enhancement options. BAdIs provide you with a mechanism to customize a functionality according to your own needs, without modifying the delivered source code. This allows you to upgrade NextTables without losing the custom development. The original development and the customer-implemented enhancements are thus strictly separated, but are nevertheless integrated. In this article, you will learn how to set up a BAdI for NextTables.

The BAdI provided with NextTables is a new generation BAdI. These are organized in enhancement spots. An enhancement spot contains BAdI definitions, which in turn provide an interface and ABAP methods. These can be used by customers and customized to incorporate their own extensions.

How to implement a BAdI for NexTables 1

BAdI Definitions Overview

The /NLY/EDITOR BAdI delivered with NextTables contains the following BAdI definitions:

/NLY/BADI_EDITOR covers all possible table operations. This allows you to show or hide certain columns or block fields. In addition, you can change read and write access, implement your own authorization checks, do custom validations and derive fields automatically.

/NLY/BADI_IMPORT is used during import. This BAdI provides the only way to access the field contents before data type compliance is enforced. For example, you can change the field contents Yes to 1 for a field Flag of type NUMC1.

/NLY/BADI_SEARCH is used in the search. Here you can implement your own value help for special search requirements. You can also customize the display of search results.

Interaction of individual BAdI elements

BAdIs are organized in enhancement spots. For an enhancement spot you can create an enhancement implementation. The enhancement implementation includes several BAdI implementations based on BAdI definitions. The customer-specific logic is executed in implementing classes whose methods are defined by BAdI definition. The following figure provides an overview of the interaction of individual BAdI elements.

How to implement a BAdI for NexTables 2

Best Practice BAdI Implementations

The BAdI delivered with NextTables is designed for multiple use and is based on a filter. For a better overview and simplified maintenance, you should create your own enhancement implementation for each project or business department that uses NextTables.

This way, all BAdIs used in a project can be found in one location, regardless whether it is a table or search BAdI. Furthermore, you should create an own BAdI Implementation for each table or search function and name the BAdI accordingly for the sake of overview and making it easy to find an implementation.

BAdI Implementation

Subsequently we will show you how to create a BAdI. There are multiple ways to create a BAdI-Implementation:

  • using ABAP Development Tools
  • using the BAdI-Definition (transaction SE18)
  • using the BAdI-Implementations (transaction SE19)
  • using the ABAP Workbench (transaction SE80)

In this article we will show you how to create a BAdI using the SE19 transaction. On the initial screen, please select the enhancement spot /NLY/EDITOR on press the Create button.

How to implement a BAdI for NexTables 3

You will be prompted to create an enhancement implementation first, which encapsulates all BAdI implementation for the respective project. Please enter the name of the enhancement implementation and a short description before you press Enter.

How to implement a BAdI for NexTables 4

Now, within the extension implementation that has just been set up, a BAdI implementation can be created. Please enter the name of the BAdI implementation and the name of respective class, which carries the logic. Depending on your operation area, you can select one of the BAdI definitions described above. In this example, we will use the /NLY/BADI_EDITOR definition for table operations.

How to implement a BAdI for NexTables 5

Your business logic is to be implemented inside methods of the class. The structure of methods is inherited from the BAdI definition you selected.

How to implement a BAdI for NexTables 6

However, the business logic is not executed until the filter criteria are met. In the Filter Values section you can define criteria to ensure the class is executed for a specific table name and table type only.

How to implement a BAdI for NexTables 8

After implementation, make sure that all involved pieces are activated, not only the implementing class. You need to activate the following objects:

  • implementing class together with methods
  • BAdI implementation
  • Enhancement implementation

Which License is needed for this feature Professional | Enterprise


,

Do you have a question regarding NextTables? Already a customer? Please click here for Support.