Working with BAdI Providers


After completing this lesson, you will be able to:

  • Explain the purpose of a BAdI Provider

Introduction of the BAdI Provider

Overview of the BAdI Provider

The BAdI Provider is an InfoProvider in SAP BW/4HANA that can be defined by means of ABAP implementation. The BAdI Provider replaces the VirtualProvider with ABAP function module.

There is no graphical editor to create a BAdI Provider. It is created using the BAdI RSO_BADI_PROVIDER (Transaction SE18).

When a BW query based on this kind of InfoProvider is executed, the Data Manager calls the method in the BAdI implementation. This ABAP-based runtime follows the implementation pattern for SAP BW VirtualProviders.

However, when you are modeling virtual scenarios in SAP BW∕4HANA, SAP recommends executing these with an Open ODS View or SAP HANA Calculation Views. If program logic is required, leverage SAP HANA Calculation Views with SQLScript to ensure optimum integration and performance using the SAP HANA run-time. The BAdI Provider provides a virtual data model that executes only in ABAP, so only consider using it when this is the run-time you really need.

BAdI Provider Details

Distinctive features of BAdI Providers:

  • The BAdI Provider is based on InfoObjects. Fields are not supported.

  • The BAdI Provider can be assigned to an InfoArea. This makes it possible to display it in the BW Modeling Tools in the repository tree. If no InfoArea is assigned, it is displayed under NODESNOTCONNECTED.

  • The BAdI Provider can be used in CompositeProviders, but only in UNION scenarios. JOIN scenarios are not supported.

  • The BAdI Provider itself is not integrated into the SAP BW/4HANA TLOGO framework. The implementation of the RSO_BADI_PROVIDER BAdI needs to be managed manually within the SAP BW/4HANA ABAP transport system

  • To work with BAdI Providers, you need authorization object S_RS_BDPR.

  • Component: BW4-ME-BDPR

  • Check Report: RSO_CHECK_BADI_PROV

There is a template BAdI Provider delivered by the SAP BW/4HANA content for Finance: FI-GL Balance Sheet Reporting (3BVBFIGL01).. You can check this resource for more info:

BAdI RSO_BADI_PROVIDER provides you with interface IF_RSO_BADI_PROV with the following methods:


Log in to track your progress & complete quizzes