09-26-2008 7:14 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 7:21 AM
>
> Hi experts,
>
> need help regarding creating BADI definition (creating new BADI) & how to call this custom BADI from program
>
> thanks
> manish
hi,
Use se 18 to create badi defintion. type se18 and u can see enhancement spot give some name starting with 'z'.
Regards,
Srinivas
09-26-2008 7:21 AM
>
> Hi experts,
>
> need help regarding creating BADI definition (creating new BADI) & how to call this custom BADI from program
>
> thanks
> manish
hi,
Use se 18 to create badi defintion. type se18 and u can see enhancement spot give some name starting with 'z'.
Regards,
Srinivas
09-26-2008 12:51 PM
Hi
If you are working on classical BAdi.
Then u can create BADi definition in SE18 and implementation in SE19.
Calling Classical BADi.
call method cl_exithandler=>get_instance
EXPORTING
exit_name = <BADI def. name>
CHANGING
instance = <BAdi instance>.
CALL METHOD <BADi instance> -><Method>
EXPORTING
CHANGING
Kernel Badi.
You can define kernel Badi in se18-> enhancement spot and create enhancement implementation in the same transaction.
GET BADI <BADI defin>.
CALL BADI <BAdi def>-><Methd>
EXPORTING
IMPORTING