<?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: Problem using SY-DATUM in (SQL) BETWEEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-sy-datum-in-sql-between/m-p/650617#M27990</link>
    <description>&lt;P&gt;Hi, you can not use sy-datum in SQL.&lt;/P&gt;
  &lt;P&gt;check this post&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://archive.sap.com/discussions/thread/1044301" target="test_blank"&gt;https://archive.sap.com/discussions/thread/1044301&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Miguel&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2018 18:14:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-06-07T18:14:56Z</dc:date>
    <item>
      <title>Problem using SY-DATUM in (SQL) BETWEEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-sy-datum-in-sql-between/m-p/650616#M27989</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;Have the following (pseudo) code:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SELECT myfile~field1 FROM myfile INTO (w_field1) WHERE sy-datum between myfile~begda and myfile~endda&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I get a syntax error that states that sy-datum is unknown. &lt;/P&gt;
  &lt;P&gt;Any ideas?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Luis Rodríguez&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 17:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-sy-datum-in-sql-between/m-p/650616#M27989</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2018-06-07T17:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using SY-DATUM in (SQL) BETWEEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-sy-datum-in-sql-between/m-p/650617#M27990</link>
      <description>&lt;P&gt;Hi, you can not use sy-datum in SQL.&lt;/P&gt;
  &lt;P&gt;check this post&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://archive.sap.com/discussions/thread/1044301" target="test_blank"&gt;https://archive.sap.com/discussions/thread/1044301&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Miguel&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 18:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-sy-datum-in-sql-between/m-p/650617#M27990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-06-07T18:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using SY-DATUM in (SQL) BETWEEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-sy-datum-in-sql-between/m-p/650618#M27991</link>
      <description>&lt;P&gt;Miguel,&lt;/P&gt;
  &lt;P&gt;Thanks for the info. It seems a silly limitation. Sigh... Already coded the workaround (not the most elegant of solutions, though).&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks again,&lt;/P&gt;
  &lt;P&gt;Luis&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 18:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-sy-datum-in-sql-between/m-p/650618#M27991</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2018-06-07T18:20:55Z</dc:date>
    </item>
  </channel>
</rss>

