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: 

reg BADI.

raji_v
Explorer
0 Kudos
190

hi all,

first time i am creating BADI.

defination of badi name is ZK_BADI1.

interface generated with name ZIF_EX_K_BADI1.

after completion of process in se18 i went to se19.there

badi implementation name is ZK_BADI1_IMP.

an implementing class is automatically generated with name ZCL_IM_K_BADI1_IMP.

after that i double clicked on the method to write code.

when iam checking its showing sytactically correct. but when activating iam getting a process error

that " ZCL_IM_K_BADI1_IMP DOES NOT CONTAIN Interface ZIF_EX_K_BADI1.

why iam getting like this.plz help me.

Thanks&Regards,

Raji.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
122

Hi,

Its not a big problem. You go back to initial screen where class name and interface names are specified and try to activate. It will be activated.

Thanks and Regards,

Vimala P

4 REPLIES 4

Former Member
0 Kudos
122

Hi raji,

The Interface get generated is ZIF_EX_K_BADI1, then write the methods in the Interface and then in the implimentation create the class and the Interface gets assigned and double click on the method and write your logic in the method,the Interface methods are also assigned to the Class.

Regards,

Vijaya Lakshmi.

Former Member
0 Kudos
122

This message was moderated.

Former Member
0 Kudos
123

Hi,

Its not a big problem. You go back to initial screen where class name and interface names are specified and try to activate. It will be activated.

Thanks and Regards,

Vimala P

Former Member
0 Kudos
122

Hi,

check with below link for how to implement badis

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=howtoimplement+badi&cat=sdn_all

Regards,

Madhu