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
 

Table Maintenance - How to Implement a BAdI

◀ Back to Knowledge Base

In this article you will learn how to implement a BAdI for table maintenance. You will understand how filters work and get an overview of all methods with respective areas of application.

Our Table Maintenance BAdI blog series in overview

  1. Table Maintenance - How to Implement a BAdI (general overview)
  2. Table Maintenance BAdI - Meta Method Explained
  3. Table Maintenance BAdI - Data Method Explained
  4. Table Maintenance BAdI - Update Method Explained
  5. Table Maintenance BAdI - Error Handling Explained

Filter

The NextTables BAdI is designed for multiple use and is based on a filter. The business logic inside the respective BAdI implementation is not executed until the filter criteria are met. In the Filter Values section of BAdI implementation you can define criteria to ensure the class is executed for a specific table name and table type only.

Table Maintenance - How to Implement a BAdI 1

If the same filter combination is used in different BAdI implementations, the first one will be executed. Therefore, you must ensure that the filter criteria are always unique.

Methods

The enhancement spot /NLY/EDITOR contains a BAdI definition /NLY/BADI_EDITOR, which covers all possible table operations. You can use it to show or hide certain columns, change read/write access and derive fields automatically.

Table Maintenance - How to Implement a BAdI 2

Customer specific logic is deployed in methods of the implementing class. The structure of methods is inherited from the BAdI definition you selected.

Table Maintenance - How to Implement a BAdI 3

BAdI definition /NLY/BADI_EDITOR contains the following methods:

  • /NLY/IF_EDITOR~SET_META_EXIT -   Exit for Meta (Meta Data of Table)
  • /NLY/IF_EDITOR~SET_DATA_EXIT - Exit for Data (Read Access) Before Read
  • /NLY/IF_EDITOR~SET_UPDATE_EXIT - Exit for (Write Access) Before Update

I will explain the respective methods in more detail below.

META Method

Leveraging the logic inside the META method, you can control properties of the table and respective single fields. Using this method, you can also overwrite the properties set via configuration tables in the front end. The following chart shows which setting will be applied, if it is set in multiple locations.

Setting priority

For example, if a property is neither set in front end nor BAdI, the default setting will be used for display. The default setting can be changed by users in front end and will be used for display if no BAdI is specified. However, if a BAdI configuration is specified, the settings set inside the BAdI overwrite the front end configuration.

You can use the META method to set or change table properties like table name or editability. You can also configure properties of individual fields. For example, you can make certain fields not editable or hide them by changing the visibility. You could also change the search behaviour from dropdown to search or vice versa. Moreover, you can use this method to execute authorization checks on table level. We explain the Meta method in detail in this article.

DATA Method

Using the DATA method, you can customize the select statement to be executed for the given table type and table name. Thus, you can adjust the values shown to the user.

You can use this method to apply additional filter or check selected filters. You can also change field values read from database on the fly according to your business logic, before displaying them to the user. Furthermore, you could also implement your completely own read logic, skipping the standard read logic altogether. We explain the Data Method in detail in this article.

UPDATE Method

With the UPDATE method, you can enhance data entered by the user und populate new field. For example, you could use this method to derive the values for Last changed on and Last changed by fields to track changes automatically. We explain the Update method in detail here.

Overview

In the following chart you will find an overview of all table maintenance methods.

Overview table maintenance methods

You can find the detailed explanation of the Update method in this article. The Meta method is described here. The application of both methods to track changes automatically is described here. You can find the detailed explanation of Data method in this article. In every method you can pass messages to the user.


Which License is needed for this feature Professional | Enterprise


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