<?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 BADI; Multiple Filters and implementation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-multiple-filters-and-implementation/m-p/669979#M29483</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I have a scenario where i need to create a BADI definition which has Multiple Filters ( Filter dependent BADI).&lt;/P&gt;
  &lt;P&gt;For example, i have created BADI definition with two filters &lt;/P&gt;
  &lt;P&gt;1) Consuming_application ( values could be AR, PR CR )&lt;/P&gt;
  &lt;P&gt;2) Mode ( values could be D , U )&lt;/P&gt;
  &lt;P&gt;Now, the application teams have implemented the BADI with their respective values for the filters.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I am using GET BADI LR &lt;/P&gt;
  &lt;P&gt; FILTERS&lt;/P&gt;
  &lt;P&gt; CONSUMING_APPLICATION = 'AR'&lt;/P&gt;
  &lt;P&gt; MODE = 'D'&lt;/P&gt;
  &lt;P&gt;to get the reference of BADI implementation. &lt;/P&gt;
  &lt;P&gt;I want to get the BADI implementation to be called only when the application implements the BADI with both filters.&lt;/P&gt;
  &lt;P&gt;1) Even if the application implements a BADI with only one filter value i.e. Consuming application as 'AR' or Mode = 'D' , the BADI implementation is getting called.&lt;/P&gt;
  &lt;P&gt;Now, i do not want this to happen.&lt;/P&gt;
  &lt;P&gt;I want the implementation to get called only if both the filter values match with the one that the application has implemented.&lt;/P&gt;
  &lt;P&gt;I highly appreciate your valuable suggestions.&lt;/P&gt;
  &lt;P&gt;Many thanks in advance.&lt;/P&gt;
  &lt;P&gt;Cheers,&lt;/P&gt;
  &lt;P&gt;Ravi.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Nov 2018 15:20:04 GMT</pubDate>
    <dc:creator>former_member690689</dc:creator>
    <dc:date>2018-11-20T15:20:04Z</dc:date>
    <item>
      <title>BADI; Multiple Filters and implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-multiple-filters-and-implementation/m-p/669979#M29483</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I have a scenario where i need to create a BADI definition which has Multiple Filters ( Filter dependent BADI).&lt;/P&gt;
  &lt;P&gt;For example, i have created BADI definition with two filters &lt;/P&gt;
  &lt;P&gt;1) Consuming_application ( values could be AR, PR CR )&lt;/P&gt;
  &lt;P&gt;2) Mode ( values could be D , U )&lt;/P&gt;
  &lt;P&gt;Now, the application teams have implemented the BADI with their respective values for the filters.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I am using GET BADI LR &lt;/P&gt;
  &lt;P&gt; FILTERS&lt;/P&gt;
  &lt;P&gt; CONSUMING_APPLICATION = 'AR'&lt;/P&gt;
  &lt;P&gt; MODE = 'D'&lt;/P&gt;
  &lt;P&gt;to get the reference of BADI implementation. &lt;/P&gt;
  &lt;P&gt;I want to get the BADI implementation to be called only when the application implements the BADI with both filters.&lt;/P&gt;
  &lt;P&gt;1) Even if the application implements a BADI with only one filter value i.e. Consuming application as 'AR' or Mode = 'D' , the BADI implementation is getting called.&lt;/P&gt;
  &lt;P&gt;Now, i do not want this to happen.&lt;/P&gt;
  &lt;P&gt;I want the implementation to get called only if both the filter values match with the one that the application has implemented.&lt;/P&gt;
  &lt;P&gt;I highly appreciate your valuable suggestions.&lt;/P&gt;
  &lt;P&gt;Many thanks in advance.&lt;/P&gt;
  &lt;P&gt;Cheers,&lt;/P&gt;
  &lt;P&gt;Ravi.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 15:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-multiple-filters-and-implementation/m-p/669979#M29483</guid>
      <dc:creator>former_member690689</dc:creator>
      <dc:date>2018-11-20T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: BADI; Multiple Filters and implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-multiple-filters-and-implementation/m-p/669980#M29484</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;have you combined your two filter elements with 'AND'?&lt;/P&gt;&lt;P&gt;Check this thread for help.&lt;/P&gt;&lt;P&gt;&lt;A href="https://archive.sap.com/discussions/thread/3699936" target="_blank"&gt;https://archive.sap.com/discussions/thread/3699936&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards, Tapio&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-multiple-filters-and-implementation/m-p/669980#M29484</guid>
      <dc:creator>former_member557751</dc:creator>
      <dc:date>2018-11-21T12:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: BADI; Multiple Filters and implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-multiple-filters-and-implementation/m-p/669981#M29485</link>
      <description>&lt;P&gt;when you define 2 filter separately, its mean one of 2 satisfied then Badi get called. take both of condition in 1 combination and use AND operation would solve it.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 02:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-multiple-filters-and-implementation/m-p/669981#M29485</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2018-11-22T02:52:42Z</dc:date>
    </item>
  </channel>
</rss>

