<?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: Date Range Table loop from start day to last in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742053#M2021150</link>
    <description>&lt;P&gt;NB: I see the same question many times in the forum:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2229592-image.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 07:55:47 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2023-11-10T07:55:47Z</dc:date>
    <item>
      <title>Date Range Table loop from start day to last</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742049#M2021146</link>
      <description>&lt;P&gt;I have a range table I got from a Select-Option that is filled with dates &lt;/P&gt;
  &lt;P&gt;I would like to get all days individually so I can make a selection with them individually ( I am aware I can use Select IN) maybe loop them somehow if its possible or turn the dates into an internal table with dates.&lt;/P&gt;
  &lt;P&gt;Is there a way this is possible &lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 14:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742049#M2021146</guid>
      <dc:creator>warcsi</dc:creator>
      <dc:date>2023-11-09T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Table loop from start day to last</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742050#M2021147</link>
      <description>&lt;P&gt;AFAIK there is no avalaible database table of days from which a select coulm be performed., &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;So process a I/BT/low/high select-options recorde with a DO / LOOP incrementing date from low to high by increment of 1 (only process low value record in case of I/EQ)&lt;/LI&gt;&lt;LI&gt;You should also prevernt multiple records with &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapselect-options_screen.htm#!ABAP_ADDITION_4@4@"&gt;NO-EXTENSION&lt;/A&gt; option&lt;/LI&gt;&lt;LI&gt;You could also restrcit the select-options to single values (I/EQ/low ) and single range (I/BT/low/high) with FM &lt;A href="https://me.sap.com/servicessupport/search/%7B%22q%22%3A%22SELECT_OPTIONS_RESTRICT%22%2C%22tab%22%3A%22All%22%2C%22f%22%3A%7B%22documenttype%22%3A%5B%22SAP%20Community%20Blog%22%5D%7D%7D"&gt;SELECT_OPTIONS_RESTRICT&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 09 Nov 2023 14:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742050#M2021147</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-11-09T14:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Table loop from start day to last</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742051#M2021148</link>
      <description>&lt;P&gt;Do you want to include off days too? (Saturday, Sunday)&lt;/P&gt;&lt;P&gt;Is that just to practice ABAP, or real scenario? In that case, could you explain more?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 17:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742051#M2021148</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-11-09T17:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Table loop from start day to last</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742052#M2021149</link>
      <description>&lt;P&gt;Thank you this is really helpfull&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 06:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742052#M2021149</guid>
      <dc:creator>warcsi</dc:creator>
      <dc:date>2023-11-10T06:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Table loop from start day to last</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742053#M2021150</link>
      <description>&lt;P&gt;NB: I see the same question many times in the forum:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2229592-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 07:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742053#M2021150</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-11-10T07:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Table loop from start day to last</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742054#M2021151</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;warcsi&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;I suggest you peruse my blog here: &lt;A href="https://blogs.sap.com/2014/02/07/dates-and-select-options/" target="test_blank"&gt;https://blogs.sap.com/2014/02/07/dates-and-select-options/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The point is that you'll often see in standard SAP programs something that looks like a standard date select option, but is actually made up of two parameters. In this way, you always have the low and high date and you don't need NO-EXTENSION and you don't need SELECT_OPTIONS_RESTRICT.&lt;/P&gt;&lt;P&gt;It really is the simplest way to achieve your goal.&lt;/P&gt;&lt;P&gt;It's what SAP do.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 08:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-table-loop-from-start-day-to-last/m-p/12742054#M2021151</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2023-11-10T08:06:31Z</dc:date>
    </item>
  </channel>
</rss>

