<?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 SELECT Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/7949501#M1601611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to select a list of leavers from our HR system : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
  SELECT * 
    FROM pa0000 
   WHERE aedtm &amp;gt; begda         " Backdated leavers 
     AND massn = '54'.         " Leaver 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select people where the date entered on the system i.e. AEDTM &lt;/P&gt;&lt;P&gt;is greater than the actual leave date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, typing in the code above gives me the error &lt;/P&gt;&lt;P&gt;'Field "BEGDA" is unknown. It is neither in one of the specified tables' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it is expecting a user defined variable instead of another database &lt;/P&gt;&lt;P&gt;column name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how I can around this?? &lt;/P&gt;&lt;P&gt;i.e. compare one database field against another one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jun 2011 07:40:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-27T07:40:24Z</dc:date>
    <item>
      <title>SELECT Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/7949501#M1601611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to select a list of leavers from our HR system : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
  SELECT * 
    FROM pa0000 
   WHERE aedtm &amp;gt; begda         " Backdated leavers 
     AND massn = '54'.         " Leaver 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select people where the date entered on the system i.e. AEDTM &lt;/P&gt;&lt;P&gt;is greater than the actual leave date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, typing in the code above gives me the error &lt;/P&gt;&lt;P&gt;'Field "BEGDA" is unknown. It is neither in one of the specified tables' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it is expecting a user defined variable instead of another database &lt;/P&gt;&lt;P&gt;column name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how I can around this?? &lt;/P&gt;&lt;P&gt;i.e. compare one database field against another one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 07:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/7949501#M1601611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-27T07:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/7949502#M1601612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;WHERE pa0000~aedtm &amp;gt; pa0000~begda&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 07:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/7949502#M1601612</guid>
      <dc:creator>former_member182670</dc:creator>
      <dc:date>2011-06-27T07:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/7949503#M1601613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;doh !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Tomek, uch appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 07:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/7949503#M1601613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-27T07:47:40Z</dc:date>
    </item>
  </channel>
</rss>

