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

How to trigger a BADI

Former Member
0 Likes
1,046

Hi All,

After writing the required logic within the method of a BADI...should we call that badi from the program (if yes, how to call it)...because i was assuming the BADI to be called when i run the program..but it isn't being called. Can someone please help.

Hi All,

After writing the required logic within the method of a BADI...should we call that badi from the program (if yes, how to call it)...because i was assuming the BADI to be called when i run the program..but it isn't being called. Can someone please help.

6 REPLIES 6
Read only

Former Member
0 Likes
925

HI,

A badi is always implemented.

You do not need to call the BADI from anywhere.

Incase you have written the code in the method of the badi then it means you have made an implementation of the BADI.

Just check if your BADI implementation is active via SE19.

Also check if there are any filters on the badi.

Regards,

Ankur Parab

Read only

0 Likes
925

Hi Ankur,

Thanks for your reply.....i'v checked the status ..the BADI is ACTIVE...as u also said, i've got to check for the filters. Can you please tell me how to check for the filters ?

Read only

0 Likes
925

Hi,

Just check the BADI definition in SE18.

If it is a filter dependent badi then it will run only for specific values set in the filter.

Which is your BADI?

Regards,

Ankur Parab

Read only

0 Likes
925

My BADI is HRECM00_ACTIVATION.

Also the my transaction is PECM_CHANGE_STATUS. can u please guide me / find out what are the relavant BADI's for this transaction?

Read only

0 Likes
925

Hi John,

Read the documentation of this badi.

It explains how to implement and activate this BADI. Please follow the steps accordingly.

For other badis check the package PAOC_ECM_ADM_BL in Object Navigator(SE80)

regards,

Ankur Parab

Read only

Former Member
0 Likes
925

Even check if the badi implementation is ACTIVE!

If not do activate it.