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

Badi

Former Member
0 Likes
954

Can some tell me that after I have implemented some Badi,what needs to be done.How my standard program comes to know the implemented Badi.

1 ACCEPTED SOLUTION
Read only

rahulkavuri
Active Contributor
0 Likes
932

Goto the BADI Definition and then in the menu click the implementations ..

if it exists and it is dark yellow color then it means that your implementation is active.. and your standard program should trigger the implementation ...

8 REPLIES 8
Read only

Former Member
0 Likes
932

Hi Aman,

Put a break point on your method which you are implemeting through BADI.

Execute your transaction and check whether the system is stopping there.

Regards

Sourabh Verma

Read only

Former Member
0 Likes
932

I want to know that Badi get triggered when I execute the standard program

Read only

0 Likes
932

sourabh thats fine but how the standard program knows about that Badi.

Read only

0 Likes
932

Is it needed to define any thing in SPRO.

Read only

0 Likes
932

Hi Aman,

You may be required to do some settings in SPRO also. It depends on transaction to transaction. It may or may not be required.

There are predefinded BADI's for a particluar transaction, which are automatically linked to standard program. Only thing is there triggiring point is different.

Regards

Sourabh Verma

Read only

0 Likes
932

Hi,

Put this statement

BREAK <your username> inside the method.

Execute your T-Code with your userid. If you have done everything fine i.e. compiling and implementing. And if the BADI method comes under the whole execution cycle of the T-code. Your Code will stop at the above mentioned statement.

Regards,

Mayank

Read only

rahulkavuri
Active Contributor
0 Likes
933

Goto the BADI Definition and then in the menu click the implementations ..

if it exists and it is dark yellow color then it means that your implementation is active.. and your standard program should trigger the implementation ...

Read only

Former Member
0 Likes
932

Hi,

Initally it is our primary duty to check for the program and it's corresponding Enhancements available for it.

Once you are done with identifying the BAdi and implementing it for your transaction , we have to check whether the BAdi is getting triggered for the transaction or not.

Once the BAdi gets triggered for the inputs you have given to the fields in the transaction, our duty is over, and the BAdi will ensure that, the necessary action will be taken.

Please let me know if it clear or need more inputs on this.

Thanks,

Vishnu.