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

Class instance in BAdI Method

0 Likes
350

Hi Guys,

I have a BadI method call inside an event handler of a class. I want to raise an event of this same class inside this BAdI method. Is this possible? Is the instance of the the class available inside the BAdI method?

Thanks in advance,

Saurabh

1 REPLY 1
Read only

Former Member
0 Likes
306

Hi Saurabh,

I have not tried it, but Just having a thought..

By making class of BADI As Friend of your main class, it can refer attributes of main class inside BADI

OR

Your event handler method can import the reqd obj ref from triggering method.

The same info, you can pass to BADI method.

Regds,

Akshay