<?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>Question Re: Parameter for all Invoice CR layout in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617007#M149770</link>
    <description>&lt;P&gt;I just re-read your question and I had misunderstood it in my previous response. You're going to change it to something like this:&lt;/P&gt;
  &lt;P&gt;(&lt;BR /&gt; ({?SeriesName@Select "*All" union select Distinct SeriesName from NNM1 where SeriesName in ('CAN18','DMM18','JED18','SER18')} = '*All') or&lt;/P&gt;
  &lt;P&gt; ({NNM1.SeriesName}={?SeriesName@Select "All" union select Distinct SeriesName from NNM1 where SeriesName in ('CAN18','DMM18','JED18','SER18')})&lt;/P&gt;
  &lt;P&gt;)&lt;/P&gt;
  &lt;P&gt;I use "*All" instead of just the word "All" because the * makes it sort to the top of the list.&lt;/P&gt;
  &lt;P&gt;-Dell&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2018 14:45:30 GMT</pubDate>
    <dc:creator>DellSC</dc:creator>
    <dc:date>2018-02-12T14:45:30Z</dc:date>
    <item>
      <title>Parameter for all Invoice CR layout</title>
      <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaq-p/617004</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;Im new in CR layout. &lt;/P&gt;
  &lt;P&gt;This time i add a parameter. User can select which Invoice series theywanted to view within selected date range. But I also wanted to include one option to view all the series within date range.&lt;/P&gt;
  &lt;P&gt;This is my fomula.&lt;/P&gt;
  &lt;P&gt;{OINV.DocDate}={?DateRange} and //{OINV.CANCELED}='N' //and ////(not(hasvalue({?Canceled})) or {OINV.CANCELED}={?Canceled})&lt;/P&gt;
  &lt;P&gt; {NNM1.SeriesName}={?SeriesName@select Distinct SeriesName from NNM1 where SeriesName in ('CAN18', 'DMM18', 'JED18','SER18')}&lt;/P&gt;
  &lt;P&gt;Thank you for the advance help.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaq-p/617004</guid>
      <dc:creator>former_member351438</dc:creator>
      <dc:date>2018-02-12T14:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter for all Invoice CR layout</title>
      <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617005#M149768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;Try this,&lt;/P&gt;
  &lt;P&gt;{OINV.DocDate}={?DateRange} and //{OINV.CANCELED}='N' //and ////(not(hasvalue({?Canceled})) or {OINV.CANCELED}={?Canceled}) &lt;/P&gt;
  &lt;P&gt;AND&lt;/P&gt;
  &lt;P&gt;({NNM1.SeriesName}={?SeriesName@select Distinct SeriesName from NNM1 where SeriesName in ('CAN18', 'DMM18', 'JED18','SER18')}) OR ({NNM1.SeriesName}={?SeriesName@select Distinct SeriesName from NNM1)&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Nagarajan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617005#M149768</guid>
      <dc:creator>kothandaraman_nagarajan</dc:creator>
      <dc:date>2018-02-12T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter for all Invoice CR layout</title>
      <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617006#M149769</link>
      <description>&lt;P&gt;I need to put 'AND' after this?&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;{NNM1.SeriesName}={?SeriesName@select Distinct SeriesName from NNM1 where SeriesName in ('CAN18', 'DMM18', 'JED18','SER18')}&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;That formula is for the selection of the series.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617006#M149769</guid>
      <dc:creator>former_member351438</dc:creator>
      <dc:date>2018-02-12T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter for all Invoice CR layout</title>
      <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617007#M149770</link>
      <description>&lt;P&gt;I just re-read your question and I had misunderstood it in my previous response. You're going to change it to something like this:&lt;/P&gt;
  &lt;P&gt;(&lt;BR /&gt; ({?SeriesName@Select "*All" union select Distinct SeriesName from NNM1 where SeriesName in ('CAN18','DMM18','JED18','SER18')} = '*All') or&lt;/P&gt;
  &lt;P&gt; ({NNM1.SeriesName}={?SeriesName@Select "All" union select Distinct SeriesName from NNM1 where SeriesName in ('CAN18','DMM18','JED18','SER18')})&lt;/P&gt;
  &lt;P&gt;)&lt;/P&gt;
  &lt;P&gt;I use "*All" instead of just the word "All" because the * makes it sort to the top of the list.&lt;/P&gt;
  &lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617007#M149770</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2018-02-12T14:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter for all Invoice CR layout</title>
      <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617008#M149771</link>
      <description>&lt;P&gt;I've got error..&lt;/P&gt;
  &lt;P&gt;Its said.. That this field "({NNM1.SeriesName}={?SeriesName@select Distinct SeriesName from NNM1)" is not known.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 05:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617008#M149771</guid>
      <dc:creator>former_member351438</dc:creator>
      <dc:date>2018-02-13T05:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter for all Invoice CR layout</title>
      <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617009#M149772</link>
      <description>&lt;P&gt;Got an error.&lt;/P&gt;
  &lt;P&gt;It says Field is not known&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 05:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617009#M149772</guid>
      <dc:creator>former_member351438</dc:creator>
      <dc:date>2018-02-13T05:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter for all Invoice CR layout</title>
      <link>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617010#M149773</link>
      <description>&lt;P&gt;Some of this syntax may be dependent on what type of database you're connecting to. You're going to have to tweak the "Select" statement based on that. Here are a couple of other ideas to try for that:&lt;/P&gt;
  &lt;P&gt;{?SeriesName@Select "*All" as SeriesName union select Distinct SeriesName from NNM1 where SeriesName in ('CAN18','DMM18','JED18','SER18')}&lt;/P&gt;
  &lt;P&gt;or&lt;/P&gt;
  &lt;P&gt;{?SeriesName@Select distinct "*All" as SeriesName from NNM1 union select Distinct SeriesName from NNM1 where SeriesName in ('CAN18','DMM18','JED18','SER18')}&lt;/P&gt;
  &lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/parameter-for-all-invoice-cr-layout/qaa-p/617010#M149773</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2018-02-13T19:11:19Z</dc:date>
    </item>
  </channel>
</rss>

