Skip to Content
avatar image
Former Member

creating BADI definition (creating new BADI)

Hi experts,

need help regarding creating BADI definition (creating new BADI) & how to call this custom BADI from program

thanks

manish

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 26, 2008 at 07:16 AM

    Hi Manish,

    we can create the BAdI definition in SE18 transaction where we have to define attributes & methods of that BAdI where interface will be automatically created later we have to implement the BAdI by using SE18 or SE19 t.codes.

    Where we have to specify the BAdI definition name for implementation badi.

    Than load the definition

    class: cl_exithandler definition load.

    • Interface Reference variable

    data: badi_interface type ref to interface name.

    *************************************************

    ****Start of Selection Event.....................

    ************************************************

    start-of-selection.

    call method cl_exithandler=>get_instance

    changing

    instance = badi_interface.

    if not badi_interface is initial.

    call method badi_interface->method name

    changing parameter = .

    endif.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2008 at 08:51 AM

    If you want to create a "new BAdI" (ERP 6.0 and higher) , take a look at [this blog-spot about new enhancement framework.|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430] [original link is broken] [original link is broken] [original link is broken]; ...

    Add comment
    10|10000 characters needed characters exceeded