<?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: logic needed in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed-in-selection-screen/m-p/3728660#M897447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check whether the Achive date lies between the range.&lt;/P&gt;&lt;P&gt;If it does, then create 2 records in the select-option table&lt;/P&gt;&lt;P&gt;1) from s_budat-low to arcive date&lt;/P&gt;&lt;P&gt;2) from archive date to s_budat-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can do 2 selects 1 on archived tables , other on R/3 data using these 2 date ranges.&lt;/P&gt;&lt;P&gt;For the 2nd select , you can use the "appending" addition in the select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 05:05:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T05:05:17Z</dc:date>
    <item>
      <title>logic needed in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed-in-selection-screen/m-p/3728659#M897446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   in  a selection screen i have one field S_budat ( it contains the range ) the user enters the date in it .the problum is we need to check the following condition .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-datum&amp;gt; s_budat+13 months if it is ok we need get the values from the archive db else r/3 data .but in the mean while we have to check residency limit ( for ex: the data is archived till 22-03-2007. but in the selection screen  the user entered the range 20-2-2006 to 24-5-2007 this falls in the both .so for this how to write the logic .till 22-03-2007 we have to take the data from the archive DB after thatwe have to take online data )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be reworded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 04:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed-in-selection-screen/m-p/3728659#M897446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T04:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed-in-selection-screen/m-p/3728660#M897447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check whether the Achive date lies between the range.&lt;/P&gt;&lt;P&gt;If it does, then create 2 records in the select-option table&lt;/P&gt;&lt;P&gt;1) from s_budat-low to arcive date&lt;/P&gt;&lt;P&gt;2) from archive date to s_budat-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can do 2 selects 1 on archived tables , other on R/3 data using these 2 date ranges.&lt;/P&gt;&lt;P&gt;For the 2nd select , you can use the "appending" addition in the select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 05:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed-in-selection-screen/m-p/3728660#M897447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T05:05:17Z</dc:date>
    </item>
  </channel>
</rss>

