Skip to Content
author's profile photo Former Member
Former Member

how can be multiple active implementations of a BADI

Hi

In SE19 if you check a BADI Implementation if you see

the attributes there is Type section where a check box

appears <b>Multiple Use</b>. If you read the help of that check box it says that

" Multiple use for BADI definitions means that there can be several

active BADI implementations. When there is a call, they are all called

up - however, in an unpredictable sequence."

But Standard Program has a single set of code to call the BADI's which is.

CALL METHOD cl_exithandler=>get_instance

EXPORTING

instance = r_var.

CALL METHOD r_var-><method_name>

EXPORTING ...

IMPORTING ...

Now the question is " How Multiple BADI active Implementations can exists if this set of code only

gets executed ? "

Thanks & Regards

Abhimanyu L

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 18, 2006 at 10:55 AM

    Hi Abhimanyu,

    The code you have shown may be in a bigger processing block(Something like a loop). For each pass of the loop a different instance will be triggered.

    Or Check the code inside the get instance method.

    see if a table of instances is being there.

    Regards,

    ravi

    Message was edited by: Ravi Kanth Talagana

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.