Application Development and Automation 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: 
Read only

Implementing BADI_MATERIAL_CHECK with class interface

former_member182379
Contributor
0 Likes
1,002

Hi,

  I have created two implentation for badi BADI_MATERIAL_CHECK with SE18 create implementaion and have done the required coding in the method  both are working,  now next I have created a class with SE24 and in the interface I have added the interface of BADI_MATERIAL_CHECK i.e IF_EX_BADI_MATERIAL_CHECK after this all the method of IF_EX_BADI_MATERIAL_CHECK has populated in the methods of the z class which I am creating here also I have done some coding,  but while execution system is executing only the implementation which I have created with SE18  and the code which i have written in the method of class that code is not getting executed.

  What is the difference between this, In which case we can use the interface of the badi in the class and do the required coding.

regards,

zafar

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
627

In SE18, you provide the implementing class of the interface, so during runtime the implementing class gets triggered, In SE24 you have created a standalone class with the badi interface implemented.  If you want your stand alone class to be triggered by the badi, then change the implementing class name to the stand alone class in Se18.

Please read some documentation about badi's.

Read only

0 Likes
627

Thanks..

Problem solve..

regards,

zafar