<?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: Filter Dependent BAdI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174620#M1372268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gregory &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    There is no need to check for the Filter Value at the method level. Since you are implementing BADI based on Filter Value, each unique implementation will be called by the Runtime based on the Filter Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer [Filter Dependent BADI|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Sep 2009 15:22:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-24T15:22:48Z</dc:date>
    <item>
      <title>Filter Dependent BAdI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174617#M1372265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume I have implemented the following BAdI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BBP_DOC_SAVE_BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, assume I have defined a single filter value: BUS2200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean that my BAdI implementation will be called ONLY&lt;/P&gt;&lt;P&gt;when the filter value is BUS2200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that the implementation will be called for other&lt;/P&gt;&lt;P&gt;filters like BUS2121 and BUS2201?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I ask is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to check the filter value in my implementation to make sure&lt;/P&gt;&lt;P&gt;it is being called for BUS2200?  If so, what's the purpose of defining&lt;/P&gt;&lt;P&gt;the filter value in the BAdI implementation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 15:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174617#M1372265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-24T15:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dependent BAdI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174618#M1372266</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;all the Badi implementations are stored in table SXC_ATTR with active = 'X".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if the badi has filters are not you can check in table SXC_EXIT where IMP_NAME = 'BADi implemationname"&lt;/P&gt;&lt;P&gt;                                                                                and EXIT_NAME   = BADI name&lt;/P&gt;&lt;P&gt;                                                                                and FLT_VAL      = filter value assgined for the field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 15:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174618#M1372266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-24T15:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dependent BAdI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174619#M1372267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to check the filter value in my implementation to make sure&lt;/P&gt;&lt;P&gt;it is being called for BUS2200? If so, what's the purpose of defining&lt;/P&gt;&lt;P&gt;the filter value in the BAdI implementation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the filter you need to specify the variable which contains the desired value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
W_BO_TYPE = 'BUS2201'.
GET BADI badi_inst 
              FILTERS bo_type = W_BO_TYPE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This code will not get any instance of the BADI as you don't have the implementation for this BUS2201. If your variable W_BO_TYPE contains the value BUS2200 than you would get the BADI instance which contains your implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 15:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174619#M1372267</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-09-24T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dependent BAdI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174620#M1372268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gregory &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    There is no need to check for the Filter Value at the method level. Since you are implementing BADI based on Filter Value, each unique implementation will be called by the Runtime based on the Filter Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer [Filter Dependent BADI|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 15:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174620#M1372268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-24T15:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dependent BAdI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174621#M1372269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Business Add-Ins may be implemented depending on a specific filter value. Thus Distinct implementations can then be created and activated according to the specified filter value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, if each filter value corresponds to a separate implementation, within the single methods is not necessary to test the values of the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the definition BADI also has the characteristic of Multiple Use, then it is also possible to create a single implementation valid for multiple filter values. So, in this case in the method implementation may be necessary to test the filter values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 15:37:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-dependent-badi/m-p/6174621#M1372269</guid>
      <dc:creator>andrea_olivieri</dc:creator>
      <dc:date>2009-09-24T15:37:14Z</dc:date>
    </item>
  </channel>
</rss>

