<?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: Error while checking multipleuse checkbutton after uncheck and usingFBclass in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-checking-multipleuse-checkbutton-after-uncheck-and-usingfbclass/m-p/7021894#M1498138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue i.e not able to check the multiple use check button is because of two of the paramers in the interface are of type exporting. just change them to type changing and we can check the multiple use check box..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jun 2010 09:36:13 GMT</pubDate>
    <dc:creator>former_member283828</dc:creator>
    <dc:date>2010-06-16T09:36:13Z</dc:date>
    <item>
      <title>Error while checking multipleuse checkbutton after uncheck and usingFBclass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-checking-multipleuse-checkbutton-after-uncheck-and-usingfbclass/m-p/7021893#M1498137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created the Enhancement Spot with name 'ZKK_ES_CALCULATE_TAX'. The Badi Definition Name is 'ZKK_BADI_CALC_VAT'. The Interface name is 'ZKK_IF_CALC_VAT'. This interface inherits the interface 'IF_BADI_INTERFACE' and the method I have created with name 'GET_VAT' with parameters 'IM_AMOUNT' of type importing and 'EX_AMOUNT_VAT' and 'EX_PERCENT_VAT' of type exporting.&lt;/P&gt;&lt;P&gt;I have &lt;STRONG&gt;unchecked&lt;/STRONG&gt; the multiple use check button and instance creation mode is &lt;STRONG&gt;newly created instantiation&lt;/STRONG&gt; and &lt;STRONG&gt;checked&lt;/STRONG&gt; the check box call fallback if no implementation is executed.&lt;/P&gt;&lt;P&gt;Created the fall back class with name 'ZKK_CL_CALC_VAT_FB' and this class inherits the interfaces 'IF_BADI_INTERFACE' and 'ZKK_IF_CALC_VAT' and implemented method 'ZKK_IF_CALC_VAT~GET_VAT'. I have written a report to call the GET_VAT method and it executes well, the method in fall back class is getting executed &lt;/P&gt;&lt;P&gt;Now I want to &lt;STRONG&gt;check&lt;/STRONG&gt; multiple use check button for multiple implementations of BADI when I try to do this, I am getting error like &lt;STRONG&gt;'Interface ZKK_IF_CALC_VAT cannot be used (see long&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;text)'&lt;/STRONG&gt;  and the contents of the  long text is &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Message no. SEEF_BADI090&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Diagnosis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The BAdI ZKK_BADI_CALC_VAT a single-use BAdI (can be implemented once). However, the interface ZKK_IF_CALC_VAT has methods with return or export parameters.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The BAdI ZKK_BADI_CALC_VAT has the same name as interface ZKK_IF_CALC_VAT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;System Response&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Procedure&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Define the BAdI as a single-use BAdI, remove the methods with return or export parameters, or choose a different interface.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Kumar K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 07:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-checking-multipleuse-checkbutton-after-uncheck-and-usingfbclass/m-p/7021893#M1498137</guid>
      <dc:creator>former_member283828</dc:creator>
      <dc:date>2010-06-16T07:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error while checking multipleuse checkbutton after uncheck and usingFBclass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-checking-multipleuse-checkbutton-after-uncheck-and-usingfbclass/m-p/7021894#M1498138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue i.e not able to check the multiple use check button is because of two of the paramers in the interface are of type exporting. just change them to type changing and we can check the multiple use check box..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 09:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-checking-multipleuse-checkbutton-after-uncheck-and-usingfbclass/m-p/7021894#M1498138</guid>
      <dc:creator>former_member283828</dc:creator>
      <dc:date>2010-06-16T09:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error while checking multipleuse checkbutton after uncheck and usingFBclass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-checking-multipleuse-checkbutton-after-uncheck-and-usingfbclass/m-p/7021895#M1498139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;However, the interface ZKK_IF_CALC_VAT has methods with return or export parameters.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is your problem.&lt;/P&gt;&lt;P&gt;Interfaces with returning and/or exporting parameters may not be used for BAdIs with multiple use. &lt;/P&gt;&lt;P&gt;The reason is simple: If two instances are active and both set your export parameter, which value should be returned to the caller? What happens with the value provided by the first called implementation when the second one is called? These questions can't be answered, you can't even say which implementation is called first or last. &lt;/P&gt;&lt;P&gt;You may use methods with import and/or changing parameters, but using exporting and returning is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 13:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-checking-multipleuse-checkbutton-after-uncheck-and-usingfbclass/m-p/7021895#M1498139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T13:39:50Z</dc:date>
    </item>
  </channel>
</rss>

