<?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: Multiple use BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813668#M1681433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mouneesh,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Mouneesh Raj wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #333333; font-size: 17px; background-color: #ffffff; font-family: 'Times New Roman', serif;"&gt;I have created a custom BADI definition of multiple use type and one implementation for it&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Are you sure you want to create a BAdI definition? This is usually reserved to SAP or for advanced programmers who develop applications that other could enhance.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman', serif;"&gt;But when im trying to use method of second implementation in my program its raising an error that this method is not defined.&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;When you have a BAdI definition with multiple implementations allowed, the calling program must call the method once, and SAP will call automatically all the implementations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give us more details about what you want to do, what is the context and what is your code?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2012 20:04:49 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2012-06-04T20:04:49Z</dc:date>
    <item>
      <title>Multiple use BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813665#M1681430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;I have created a custom BADI definition of multiple use type and one implementation for it n it is working fine but now i want to create multiple implementations for it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;But when im trying to use method of second implementation in my program its raising an error that this method is not defined.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Hope u understand my query.Plz explain me with an example that how to implement multiple use BADI's.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Thanx n Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Mouneesh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813665#M1681430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T12:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple use BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813666#M1681431</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;Initially u have to deactivate ur first implementation in CMOD transaction and then go on to activate new method in implementation as only one implementation remains active at a time in BADIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813666#M1681431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple use BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813667#M1681432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Take the example of the badi definition 'ACC_DOCUMENT' which has the option 'Multiple Use' ticked in the propertied tab. This badi has interface 'IF_EX_ACC_DOCUMENT' which has two methods 'CHANGE' and 'FILL_ACCIT'.&lt;/P&gt;&lt;P&gt;Let us assume that we are creating a implementation ZIMPL1 for this badi using the tcode SE19. While creating the implementation, SAP proposes a ZCL1 class which can be used to implement the interface methods 'CHANGE' and 'FILL_ACCIT'.&lt;/P&gt;&lt;P&gt;You can also create another implementaiton ZIMPL2 which will have class ZCL2 to implement the interface methods.&lt;/P&gt;&lt;P&gt;Like above, you can create multiple implementations for the badi if the option 'Multiple Use' is ticket.&lt;/P&gt;&lt;P&gt;Hope this information helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813667#M1681432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T13:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple use BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813668#M1681433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mouneesh,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Mouneesh Raj wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #333333; font-size: 17px; background-color: #ffffff; font-family: 'Times New Roman', serif;"&gt;I have created a custom BADI definition of multiple use type and one implementation for it&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Are you sure you want to create a BAdI definition? This is usually reserved to SAP or for advanced programmers who develop applications that other could enhance.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman', serif;"&gt;But when im trying to use method of second implementation in my program its raising an error that this method is not defined.&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;When you have a BAdI definition with multiple implementations allowed, the calling program must call the method once, and SAP will call automatically all the implementations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give us more details about what you want to do, what is the context and what is your code?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 20:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-use-badi/m-p/8813668#M1681433</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2012-06-04T20:04:49Z</dc:date>
    </item>
  </channel>
</rss>

