<?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 Date Condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340854#M515908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi :&lt;/P&gt;&lt;P&gt;I am working on Plant Maintenance module, i extracted work orders ( aufnr ) from AUFK based on some conditions, i am wondering to know how to code date condition for these.In the selection screen i have s_date option where the user can give any date range .my question is ...after selecting all the work orders i want only those work orders whose status is conformed and date condition is " For the calender week X, work order actual end date ( getri ) should not be later than the week ending of sunday night 11:59pm " .&lt;/P&gt;&lt;P&gt;I am able to extract work orders whose status is conformed , but i need logic for tha date condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be rewarded ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 15:21:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-18T15:21:27Z</dc:date>
    <item>
      <title>Date Condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340854#M515908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi :&lt;/P&gt;&lt;P&gt;I am working on Plant Maintenance module, i extracted work orders ( aufnr ) from AUFK based on some conditions, i am wondering to know how to code date condition for these.In the selection screen i have s_date option where the user can give any date range .my question is ...after selecting all the work orders i want only those work orders whose status is conformed and date condition is " For the calender week X, work order actual end date ( getri ) should not be later than the week ending of sunday night 11:59pm " .&lt;/P&gt;&lt;P&gt;I am able to extract work orders whose status is conformed , but i need logic for tha date condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be rewarded ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 15:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340854#M515908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T15:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date Condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340855#M515909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For selecting records between date range,  s_date-low and s_date-high for a record which contains begin date field as begda and end date field as endda (This is for HR tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We give date conditions as endda &amp;gt;= s_date-low AND begda &amp;lt;= s_date-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user clicks on the checkbox, change the s_date-high to the appropriate date and you can filter records accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 15:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340855#M515909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T15:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date Condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340856#M515910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My question is , how to calculate date condition where date should not be later than some time say 11:59p.m&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 15:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340856#M515910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T15:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date Condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340857#M515911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;You can use the FM 'DATE_COMPUTE_DAY' to get the day. The value 7 means sunday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After 11:59PM, the next day starts. So, give the end date condition to less than that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;18/6/2007 will give you some value x (1) with FM. Add 7 - X to get Sunday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 15:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-condition/m-p/2340857#M515911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T15:59:43Z</dc:date>
    </item>
  </channel>
</rss>

