<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How Badi is called (when multiple implementations exist)? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082972#M1813091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;That answers my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciated your quoting the 'SAP Help' contents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 17:23:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-03-05T17:23:46Z</dc:date>
    <item>
      <title>How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082968#M1813087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;When we want to implement a SAP Provided BADI for a standard t-code (say VL02),&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;how is our Badi implementation called when the tcode (say VL02) is executed?&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;There may be multiple (say 5 different) implementations of the same Badi for the same Tcode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 10:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082968#M1813087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-03T10:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082969#M1813088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP HELP says the BAdI will be called in a random order, which means you cannot control the execution sequence, hence you must be very careful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Multiple use for BADI definitions&amp;nbsp; means that there can be several&lt;/P&gt;
&lt;P&gt;active BADI implementations. When there is a call, they are all called&lt;/P&gt;
&lt;P&gt;up - however, &lt;STRONG&gt;in an unpredictable sequence&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If you have multiple-use BADI definitions, &lt;STRONG&gt;the sequence must not play&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;any role&lt;/STRONG&gt; therefore. A typical example is the execution of checks before&lt;/P&gt;
&lt;P&gt;a save.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 05:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082969#M1813088</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2014-03-05T05:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082970#M1813089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monika,&lt;/P&gt;&lt;P&gt;Please use the below code to coll the BADI implementation-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_EXITHANDLER=&amp;gt;GET_INSTANCE&lt;/P&gt;&lt;P&gt;EXPORTING EXIT_NAME = LV_EXITNAME&lt;/P&gt;&lt;P&gt;NULL_INSTANCE_ACCEPTED = SEEX_TRUE &lt;/P&gt;&lt;P&gt;CHANGING&amp;nbsp; INSTANCE = LV_INSTANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LV_INSTANCE will point to the instance of BADI implementation.&lt;/P&gt;&lt;P&gt;LV_EXITNAME is the Badi implementation to be called. &lt;/P&gt;&lt;P&gt;LV_INSTANCE must be TYPE REF TO BADI's interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 06:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082970#M1813089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-05T06:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082971#M1813090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is no particular sequence which triggers the BADI implementation. They will be triggered randomly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 07:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082971#M1813090</guid>
      <dc:creator>former_member182354</dc:creator>
      <dc:date>2014-03-05T07:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082972#M1813091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;That answers my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciated your quoting the 'SAP Help' contents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 17:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082972#M1813091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-05T17:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082973#M1813092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Thanks a lot.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;That answers my question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 17:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082973#M1813092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-05T17:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082974#M1813093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this code works for CLASSIC BADI.&lt;/P&gt;&lt;P&gt;Thanks for your interest in this topic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 17:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082974#M1813093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-05T17:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082975#M1813094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monica..Please mark question answered if your query is answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:59:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082975#M1813094</guid>
      <dc:creator>former_member182354</dc:creator>
      <dc:date>2014-03-06T06:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082976#M1813095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;In case of New BADI(Kernel), the attribute 'Runtime Behavior' of the BADI implementation also plays a very important role.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;suppose a BADI has 2 implementations,&amp;nbsp; BADI_IMP1 and BADI_IMP2. And Both the BADI Implementations are active and Runtime Behavior will be 'Implementation is active'. At a later point of time BADI_IMP1 is deleted and only BADI2 exist and is active. But the BADI assigment of BADI_IMP1 to the enhancement implementation still exist. Then while execution, when the control comes to Enhancement Implementation, it'll check for the BADI implementations in that. There BADI_IMP1 and BADI_IMP2 are present. And if BADI_IMP1 (deleted BADI) runtime behaviour is active, then control will just skip the remaining BADI's, as BADI1 is not available. So BADI2 will not be executed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Abyson Joseph&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 08:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082976#M1813095</guid>
      <dc:creator>former_member184611</dc:creator>
      <dc:date>2014-03-06T08:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082977#M1813096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls tell the steps to mark this post as 'Answered'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 18:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082977#M1813096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-28T18:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082978#M1813097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't mark it correct as it is a discussion, not marked as question.&lt;/P&gt;&lt;P&gt;It was either not marked as question from the very beginning, or a moderator did it acting upon an alert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 15:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082978#M1813097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-29T15:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: How Badi is called (when multiple implementations exist)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082979#M1813098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's how you d it:&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="82566" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="How to close a discussion and why" href="https://community.sap.com/" modifiedtitle="true" title="How to close a discussion and why"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 00:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-badi-is-called-when-multiple-implementations-exist/m-p/10082979#M1813098</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2014-03-31T00:25:41Z</dc:date>
    </item>
  </channel>
</rss>

