cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_ALERTING Badi is not triggering when we execute BBP_CONTRACT_CHECK in order to Add receipients

former_member210252
Contributor
0 Kudos

Hi  Experts,

We have implemented BADI BBP_ALERTING for adding recipients, but it is not triggering when we execute the standard report BBP_CONTRACT_CHECK.

Please share your ideas if any to trigger this BADI.

Regards,

Mohammed

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The BAdi method 'BBP_EVENTS_DET_RECIPIENTS' gets called in method 'EXECUTE class 'CL_BBP_ACTION_NOTIFICATION'.

You can put your break point here , to check if the BAdI is called or not.

Before you execute the program BBP_CONTRACT_CHECK.. Pls. check all the necessary configuration related to Contract Events for which you are expecting the alert and also the contract should have reached that limit so that the events are triggered.

Regards.

former_member196098
Participant
0 Kudos

hello rafi

First step is to debug the badi and see if it calls the badi

or which badi is getting called

try putting an external breakpoint at class

CL_EXITHANDLER

GET_INSTANCE method, check the exit name

is it calling another BADI

you will be able to check

If it's your Badi just continue in debug mode.

You have of course to ensure that your Badi is actually active -- however if it's not working properly or doesn't get started the exit handler should return the error reason.

If you want also you can actually test your Badi in stand alone mode via an ABAP.

Depending on the nature of what your Badi  it will help you see whether you have any major errors in your Badi.

Do the following

Code a program similar to the one below.

test call Badi from standard abap.

  • 1) define the Badi (SE18). For Abap call test uncheck multiple use
  • and filter boxes

  • 2) Implement the badi (SE19). Add any methods here in the implemntation

  • 3) activate

*

  • 4) define the standard class exithandler to the abap. This class is the "Badi caller

"

  • 5) define an exit variable referring to your Badi Implementation interface
  • this interface will normally be something like ZIF_EX***************
  • You will see this in SE18/SE19.

*

  • 6) Instantiate your instance of the badi (method call get_instance)

  • 7) Now call any method(s) in the Badi.
former_member210252
Contributor
0 Kudos

Hi Solen,

Thanks for your reply.

My question is related to triggering of BADI not for finding the BADI.

A BADI is already implemented but we are unable to find the exact triggering point.

Please read the question once again and share your ideas if you are into SRM.

Regards,

Mohammed

Regards,

Mohammed

former_member196098
Participant
0 Kudos

Hi Rafi

My reply was to make sure that BADIS are getting called from the report

İf the badi is not getting called

Then you might need to call yourself in the report

Do an enhacement perhaps

Unless there is a config that should be done which i dont know

Former Member
0 Kudos

Hi,

Did you make sure that your implementation is active.? (both active in IMG and active in implementation?

also open your implementation and check the run time behavior if it is active and will be called.

Regards,

Karthik Babu