How to find BAdIs ?

How to find BAdIs?

Business Add-Ins (BAdIs) are a SAP upgrade strategy in light of ABAP Items. Two sections – Definition and its Execution – definition can either be SAP given or a client may likewise make it.

How to find BAdIs?

You can search for BAdi definition in IMG and in the part order. However, there are a few more straightforward strategies to track down a BAdi. They are following:

Method 1

These methods should enable you to find a BAdi associated with any trade in a matter of moments.

1) Go to the transaction SE37 to find your function module.

2) Locate the function SXV_GET_CLIF_BY_NAME.

3) Put a breakpoint there.

4) Now open a new session.

5) Go to your transaction.

6) At that time, it will stop this function.

7) Double click on the function field NAME.

8) That will give you name of the BAdi that is provided in your transaction.

Method 2

1. Goto SE80,  open CL_EXITHANDLER (Class)

2. Goto Method, GET_INSTANCE

3. Set a breakpoint at

CALL METHOD cl_exithandler=>get_class_name_by_interface
    EXPORTING
      instance                      = instance
    IMPORTING
      class_name                    = class_name
    CHANGING
      exit_name                     = exit_name
    EXCEPTIONS
      no_reference                  = 1
      no_interface_reference        = 2
      no_exit_interface             = 3
      data_incons_in_exit_managem   = 4
      class_not_implement_interface = 5
      OTHERS                        = 6.
  CASE sy-subrc.
    WHEN 1.
      RAISE no_reference.
    WHEN 2.
      RAISE no_interface_reference.
    WHEN 3.
      RAISE no_exit_interface.
    WHEN 4.
      RAISE data_incons_in_exit_managem.
    WHEN 5.
      RAISE class_not_implement_interface.
  ENDCASE.

4) Now open a new session.

5) Go to your transaction.
6) At that time, it will stop this function.
7) Double click on the function field EXIT_NAME.
8) That will give you name of the BAdi that is provided in your transaction.

Method 3:

1. Goto ST05

2. Select SQL trace and buffer trace

3. Activate trace

4. Now run your transaction

5. Deactivate trace

6. Display trace

7. A pop will come

 8. Select following objects (Views)

9. Presently show the follow results. It will return all the BAPI and improvement list arranged by their execution.

This is a straightforward stunt which each ABAPer ought to be aware. Thought, it would be valuable to freshers, so sharing it here.

YOU MAY LIKE THIS

10 Real-World SAP ABAP Programming Examples (with Code!)

Top SAP ABAP Interview Questions (2024)

Create and Consume Business Add-in(BAdI) in ABAP

  • Related Posts

    Sales Office Data … Can you change it even if config does not allow?

    Your business needs to change/right the Business Office information, regardless of whether it isn’t permitted in standard change mode in exchange IW32. See the screen capture, it is incapacitated. Sales…

    PO re-price issue in BAPI_PO_CHANGE

    PO re-price issue in BAPI_PO_CHANGE. BAPI_PO_CHANGE is utilized for re-estimating the Buy Request. The computation type CALCTYPE ought to be set to ‘B’ (signifying ‘Complete new valuing’) and PRICEDATE ought…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    Sales Office Data … Can you change it even if config does not allow?

    • By Varad
    • April 15, 2025
    • 21 views
    Sales Office Data … Can you change it even if config does not allow?

    PO re-price issue in BAPI_PO_CHANGE

    • By Varad
    • April 14, 2025
    • 27 views
    PO re-price issue in BAPI_PO_CHANGE

    Efficient way to retrieve Open Sales Order using FM SD_SELECT_SALES_DOCUMENTS

    • By Varad
    • April 13, 2025
    • 32 views
    Efficient way to retrieve Open Sales Order using FM SD_SELECT_SALES_DOCUMENTS

    ISU – 6 – Bankruptcy Overview and Write-Off Process using BAPI_CTRACDOCUMENT_WRITEOFF

    • By Varad
    • April 12, 2025
    • 31 views
    ISU – 6 – Bankruptcy Overview and Write-Off Process using BAPI_CTRACDOCUMENT_WRITEOFF

    Get Latitude and Longitude of any place using Google Map API in SAP

    • By Varad
    • April 11, 2025
    • 31 views
    Get Latitude and Longitude of any place using Google Map API in SAP

    Real Time Exchange Rate with Real Time Data Using Yahoo Finance API

    • By Varad
    • April 10, 2025
    • 39 views
    Real Time Exchange Rate with Real Time Data Using Yahoo Finance API