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

Exception during badi Implementation?

Former Member
0 Likes
603

HI Experts,

                I just want to make a program for Badi Implementation by reference of SAP Technical website, but some error has occurs.

       Please see the error and please tell me where is the fault ?

  Thanks & Regards,

   Ashu Tyagi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
492

Hi,

Just check the methods and interface once again..and call the correct instance method and class to your program..The instance should be of the type your interface.

If you have created a NEW BADI (new BADI type, implemented with Enhancement Spot), then you have got to use GET BADI and call  BADI statements.

If you have created a CLASSIC BADI, then you can use CL_EXITHANDLER=>get_instance

Regards,

Vijay

2 REPLIES 2
Read only

Former Member
0 Likes
493

Hi,

Just check the methods and interface once again..and call the correct instance method and class to your program..The instance should be of the type your interface.

If you have created a NEW BADI (new BADI type, implemented with Enhancement Spot), then you have got to use GET BADI and call  BADI statements.

If you have created a CLASSIC BADI, then you can use CL_EXITHANDLER=>get_instance

Regards,

Vijay

Read only

0 Likes
492

hi Vijay ,

        

       Thanku sir, i am trying this.

Regards,

Ashu Tyagi