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

Changing runtime behaviour of BADI implementation

Former Member
0 Kudos
2,860

hello ,

I am creating an implementation for the BADI using method  cl_enh_tool_badi_impl-> add_implementation , saving the implementation using  if_enh_object~save and activating using  if_enh_object~activate.

when i check the BADI in SE18 , BADI implementation is active , but the runtime behaviour of BADI says 'The implementation will not be called'.

How do I set this to 'Execution depends on runtime filter values' using a method call ?

Regards

Supritha Rao

4 REPLIES 4
Read only

Juwin
Active Contributor
0 Kudos
1,090

Check if this document helps:

Thanks,

Juwin

Read only

Former Member
0 Kudos
1,090

Supritha (and to others in SCN),

I do not have an answer to your question although I am very curious to understand why (and when) do you create a badi implementation using the above class/interface when we can do the same via SE18/19?

Thanks,

Vikram.M

Read only

Former Member
0 Kudos
1,090

Hi Supritha,

Could you please debugging to check value of  'active' on 'me->data_active-impl_data' object in SAVE method?

I think in your case, it`s blank, just guess. that`s why give you that message 'The implementation will not be called'.

Regards,
Archer

Read only

0 Kudos
1,090

Also use method IF_ENH_OBJECT~GENERATE.