Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

creating BADI definition (creating new BADI)

Former Member
0 Kudos

Hi experts,

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

thanks

manish

1 ACCEPTED SOLUTION

Former Member
0 Kudos

>

> 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

2 REPLIES 2

Former Member
0 Kudos

>

> 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

Former Member
0 Kudos

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