Skip to Content
avatar image
-1
Former Member

how could i find new badi ?

ME_CHANGE_OUTTAB_CUS : is a new badi that triggered when i execute me55 , me5a and me28 alv report .

but i couldn't find this badi using cl_exithandler or using 'call badi' key word in those t-codes programs

the question is : which is the most suitable way to find a new badi like this one ?

thanks in advance .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Mar 03 at 04:36 PM

    You "couldn't find", but how did you search?

    CL_EXITHANDLER was the class for instantiating "old" BAdIs.

    GET BADI is for instantiating "new" BAdIs (CALL BADI being for calling a method after the instantiation).

    But if the logic of the program doesn't need to call the BAdI, then it won't need to instantiate the BAdI.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 05 at 07:12 AM

    You could perform a where-used search on the BAdI ME_CHANGE_OUTTAB_CUS (EnhS ES_BADI_ME_REPORTING) interface methods. You should find a FM which is called in many includes.

    NB: This BAdI is only available if Business Function Set LOG_MMFI_P2P 'BF MM, Integration of Materials Management and Financial Accounting' was activated with SFW5.

    Extract of the FM source (you should have find it?)

    (...)
      data: l_instance  type ref to if_ex_me_change_outtab,
            l_badi_cust type ref to me_change_outtab_cus.
    (...)
    * call the customer specific BAdI
      get badi l_badi_cust.
      try.
          call badi l_badi_cust->fill_outtab
            exporting
              im_struct_name = im_struct_name
              im_id          = im_id
              im_handle      = im_handle
              im_loggroup    = im_loggroup
            changing
              ch_outtab      = ch_outtab.
        catch cx_badi_not_implemented.
      endtry.
    


    Add comment
    10|10000 characters needed characters exceeded

  • Mar 05 at 07:50 PM

    "New BADIs" seem to be placed in the enhancement spots. Google -> "how to find enhancement spot BADI site:sap.com" -> one of the top posts (from 2008).

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 03 at 04:46 PM

    HI,

    You can try using package ,

    get the package for relevant Tcode

    Go to SE84, expand enhancements, expand Business Add-ins and select definition.

    Provide package name and execute, you will find list of BADI`s.

    Regards,

    Nawa

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      thanks Nawanandana Edirisinghe for your reply but i think this way just list all new badi , is there any way to know where does new badi trigger ? ... a way that similar to cl_exithandler way