<?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: BAdI Filter with &amp;quot;AND&amp;quot; condition between two fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950742#M1892891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think of the situation I mention above. What if you want to create an implementation of a BAdI to sales organization X and distribution channel Y, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is something very common and it *should* be possible. I can't believe this isn't possible with a BAdI filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 18:41:26 GMT</pubDate>
    <dc:creator>bruno_esperanca</dc:creator>
    <dc:date>2015-02-18T18:41:26Z</dc:date>
    <item>
      <title>BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950737#M1892886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a BAdI with 2 filters, field 1 and field 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement this BAdI with a very simple filter, but it looks like I can't do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want:&lt;/P&gt;&lt;P&gt;Field 1 = 'A' AND Field 2 &amp;lt;&amp;gt; 'B'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that all I can do between two different fields is an 'OR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 17:28:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950737#M1892886</guid>
      <dc:creator>bruno_esperanca</dc:creator>
      <dc:date>2015-02-18T17:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950738#M1892887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it custom badi or standard and once check the attribute of badi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 18:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950738#M1892887</guid>
      <dc:creator>former_member190726</dc:creator>
      <dc:date>2015-02-18T18:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950739#M1892888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying. Maybe some more information wouldn't hurt &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1200/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm talking about these filters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/f6cd83912541aae10000000a114a6b/content.htm" title="http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/f6cd83912541aae10000000a114a6b/content.htm"&gt;http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/f6cd83912541aae10000000a114a6b/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot create a condition with 2 different fields using an "AND" operator, no matter how hard I try. Only "OR" is allowed. This is useless!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, let's say you want to create a BAdI implementation for sales organization X, distribution channel Y. This is impossible!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 18:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950739#M1892888</guid>
      <dc:creator>bruno_esperanca</dc:creator>
      <dc:date>2015-02-18T18:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950740#M1892889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried it myself and was able to create AND operator. The trick was to click on the first part of the filter and then on AND. This created the AND operator as shown below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/647929" width="450" /&gt;&lt;/P&gt;&lt;P&gt;According to the documentation it is not possible to link filter combinations via the AND operator. Filter combinations are always linked using the OR operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Christian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 18:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950740#M1892889</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2015-02-18T18:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950741#M1892890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thank you for your effort and I will reward you with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the "key word" in this discussion is that I am talking about two different fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A logical condition with "AND" between the same field is pretty much useless (unless if you want some field to be different to this and different to that, but that's not what I want).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 18:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950741#M1892890</guid>
      <dc:creator>bruno_esperanca</dc:creator>
      <dc:date>2015-02-18T18:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950742#M1892891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think of the situation I mention above. What if you want to create an implementation of a BAdI to sales organization X and distribution channel Y, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is something very common and it *should* be possible. I can't believe this isn't possible with a BAdI filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 18:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950742#M1892891</guid>
      <dc:creator>bruno_esperanca</dc:creator>
      <dc:date>2015-02-18T18:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950743#M1892892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, you are right, I missed the point with my first reply. However, I gave it another try and was able to create a BAdI with a AND combination of two filter values. &lt;/P&gt;&lt;P&gt;First I created a custom BAdI with two possible filter.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/648360" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Next I created an implementation and an new filter combination. I selected both filters in the pop up window (I did this by holding the &amp;lt;ctrl&amp;gt; key when clicking on the different rows).&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/648361" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This automatically created the AND combination of the two filters.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/648365" width="450" /&gt;&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;Best,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 07:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950743#M1892892</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2015-02-19T07:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950744#M1892893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Portugal we have this saying (it doesn't translate very well):&lt;/P&gt;&lt;P&gt;Not knowing is like not seeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So simple and yet, I didn't think of it. Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're ever in the area, let me buy you a drink &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1200/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 08:45:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950744#M1892893</guid>
      <dc:creator>bruno_esperanca</dc:creator>
      <dc:date>2015-02-19T08:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI Filter with "AND" condition between two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950745#M1892894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;sounds good. If I will ever be in Portugal I'll drop you a note.&lt;/P&gt;&lt;P&gt;Christian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 09:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-filter-with-quot-and-quot-condition-between-two-fields/m-p/10950745#M1892894</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2015-02-19T09:56:30Z</dc:date>
    </item>
  </channel>
</rss>

