<?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: Order time ranges in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554347#M1857496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Updated&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;If you are using CACS_TIMESTAMP_GET_DATE (FM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if e_time between '000000' and '180000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif e_time between '180100' and '193000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif e_time between '193100' and '235900'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that new slot will be considered 1min after previous slot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vidyasagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 06:17:51 GMT</pubDate>
    <dc:creator>former_member212124</dc:creator>
    <dc:date>2014-09-02T06:17:51Z</dc:date>
    <item>
      <title>Order time ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554343#M1857492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Group,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its regarding Order delivery day and time , I have requirement to check time of order to decide on the route.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting order day time YYYYMMDDHHMMSS and processing time, and I have to check whether this falling in the below order processing time slot or not: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slot1 : Midnight to 18:00&lt;/P&gt;&lt;P&gt;slot2 : End of Slot1 to 19:30&lt;/P&gt;&lt;P&gt;slot3 : End of slot2 to 23:59&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;when order date = today and processing time is slot1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; then code = 1&lt;/P&gt;&lt;P&gt;when order date = today and processing time is slot2 and order time(hhmm) is after 18:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then code =2&lt;/P&gt;&lt;P&gt;when order date =&amp;nbsp; today and processing time is slot3 and order time(hhmm) is before 18:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then code = 3&lt;/P&gt;&lt;P&gt;when Order date = yesterday and processing time is slot 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; then code = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body sugget how I can write above code effectively in ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 04:17:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554343#M1857492</guid>
      <dc:creator>former_member188791</dc:creator>
      <dc:date>2014-09-02T04:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Order time ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554344#M1857493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajiv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convert the time stamp to date and time separately( Using FM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use Case/IF statement&amp;nbsp; to code according to condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vidyasagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 04:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554344#M1857493</guid>
      <dc:creator>former_member212124</dc:creator>
      <dc:date>2014-09-02T04:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Order time ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554345#M1857494</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;Check the following to convert timestamp to date and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCONVERT_TIME-STAMP.htm#&amp;amp;ABAP_ONE_ADD@1@"&gt;http://help.sap.com/abapdocu_70/en/ABAPCONVERT_TIME-STAMP.htm#&amp;amp;ABAP_ONE_ADD@1@&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it is converted you can use this and compare with the date and time slot and provide the necessary output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 04:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554345#M1857494</guid>
      <dc:creator>mayur_priyan</dc:creator>
      <dc:date>2014-09-02T04:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Order time ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554346#M1857495</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;Thank you for your response , my query is how I can define the mentioned slots time ranges in ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 06:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554346#M1857495</guid>
      <dc:creator>former_member188791</dc:creator>
      <dc:date>2014-09-02T06:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Order time ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554347#M1857496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Updated&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;If you are using CACS_TIMESTAMP_GET_DATE (FM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if e_time between '000000' and '180000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif e_time between '180100' and '193000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif e_time between '193100' and '235900'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that new slot will be considered 1min after previous slot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vidyasagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 06:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-time-ranges/m-p/10554347#M1857496</guid>
      <dc:creator>former_member212124</dc:creator>
      <dc:date>2014-09-02T06:17:51Z</dc:date>
    </item>
  </channel>
</rss>

