<?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: NULL_INSTANCE_ACCEPTED parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057521#M90849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if that parameter is not set as 'X', what will happen if there are no active or default implementations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2005 09:07:17 GMT</pubDate>
    <dc:creator>Yamuna_Mathew</dc:creator>
    <dc:date>2005-10-25T09:07:17Z</dc:date>
    <item>
      <title>NULL_INSTANCE_ACCEPTED parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057519#M90847</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;Can anyone tell me the importance of NULL_INSTANCE_ACCEPTED paramter in the method&lt;/P&gt;&lt;P&gt;cl_exithandler=&amp;gt;get_instance?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 10:43:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057519#M90847</guid>
      <dc:creator>Yamuna_Mathew</dc:creator>
      <dc:date>2005-10-20T10:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: NULL_INSTANCE_ACCEPTED parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057520#M90848</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;If NULL_INSTANCE_ACCEPTED is set to 'X' then system will not try to create an instance for the BADI Class (CL_EX_&amp;lt;BADI Name) if there are no Active Implementations (based on filter if applicable) or Default implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A comment inside the method says it is for performance reasons..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 11:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057520#M90848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T11:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: NULL_INSTANCE_ACCEPTED parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057521#M90849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if that parameter is not set as 'X', what will happen if there are no active or default implementations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2005 09:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057521#M90849</guid>
      <dc:creator>Yamuna_Mathew</dc:creator>
      <dc:date>2005-10-25T09:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: NULL_INSTANCE_ACCEPTED parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057522#M90850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yamuna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System will still create instance for the BADI class,&lt;/P&gt;&lt;P&gt;CL_EX_&amp;lt;BADI Name&amp;gt; and then in the code as we always check whether instance is initial or not and call the methods, it will unnecessarily call badi methods as the instance will not be empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the parameter is set to 'X' then instance will not be created and will come back empty. So the IF condition we normally have after the get_instance method call for "IF NOT instance IS INITIAL." will make sure that the methods are not called unnecessarily..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the post and award points if this answers your question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Pinnamaneni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2005 09:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057522#M90850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-25T09:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: NULL_INSTANCE_ACCEPTED parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057523#M90851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the clarification&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2005 10:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-instance-accepted-parameter/m-p/1057523#M90851</guid>
      <dc:creator>Yamuna_Mathew</dc:creator>
      <dc:date>2005-10-25T10:42:41Z</dc:date>
    </item>
  </channel>
</rss>

