Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BADI general info

Hi all,

I know how an user exit fires when we develop user exit for any tcode. But how does a BADI fire ? We develope BADI in se18 or se19 how does the tcode know the name of the implementation and how it will be triggered ? do we need to set up any configuration or what should I take care of after a BADI is implemented.

Regards,

Varun.

Tags:
replied

Hi Varun,

Just like you have CALL CUSTOMER function call for a User exit insde the Transaction.. you have something like the following to check if a BAdI has been imnplemented & get into that implementation code.. there is nothing else that needs to be done once you have activated the BaDI implementation..

    CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN'
    EXPORTING
      exit_name      = exit_name_calcbase
    IMPORTING
      is_implemented = is_implemented
    CHANGING
      instance       = exit_instance_calcbase.

  IF is_implemented = true.
****

Regards,

Suresh Datti

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question