Skip to Content
-1

Runtime behavior in BADI implementation not called

Jan 03 at 12:02 PM

292

avatar image

Hello,

I am new to BADI and was practising it in my system. I wanted to disable the hold button in ME21N

On activating my code and the BADI implementation, I can see that the runtime behaviour says that implementation will not be called.

AS a result, the hold button is still visible in ME21N. What can I do to rectify this issue ?

Regards,

Matt

screenshot.jpg (43.1 kB)
screenshot001.jpg (60.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
SAPEKSH GUPTA Jan 03 at 01:16 PM
1

Hi Manish,

ME_HOLD_PO is a 'Single Use' BAdI. Therefore, if you already have any existing active implementation of this BADI, your implementation will not be called.

Please check if there is any existing implementation. If found, deactivate it and try activating yours.

Hope this helps. Please do let me know your feedback.

Thanks & Regards,

Sapeksh

Show 5 Share
10 |10000 characters needed characters left characters exceeded

Are you sure ?

Because I see the checkbox "Multiple Use" for ME_HOLD_PO.

K.Kiran.

0

For info, "single use" in my system too (checkbox "Utilis. multiple"):

1fkmj.png (15.2 kB)
0

I am surprised to know that 'Multiple Use' checkbox is ticked in your system. In my system, its not.

But I did notice that this is simply editable. Looks like someone played around with the checkbox in your system and I believe this is the reason as even if you change the checkbox, you get a message that changes are incompatible for this BADI or something like that.

Please retry with only one active implementation.

Thanks!

Sapeksh.

1

Hi Sapeksh,

Thanks for the reply. You were right. Now its working. But just 1 question, how do I check if a particular BADI has existing implementations or not ?

0

Hi Manish,

In the SE18 screen you shared above, go to Menu option 'Implementation' >> choose 'Display'. This will pop-up all existing implementations of the BAdI, like this:

Hope this helps.

Regards,

Sapeksh.

untitled.png (19.4 kB)
0