09-26-2008 7:44 AM
Hi experts,
need help regarding creating BADI definition (creating new BADI) & how to call this custom BADI from program
thanks
manish
09-26-2008 8: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.
09-26-2008 9: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]; ...