<?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: Issue with TIME.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216208#M1627846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just used type integer and type time as suggested and ABAP took care of the rest of the conversion.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sume on Sep 22, 2011 6:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 16:29:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-22T16:29:09Z</dc:date>
    <item>
      <title>Issue with TIME..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216205#M1627843</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;As we know that the integer value fo the full day is 86400, which is converted into integer.&lt;/P&gt;&lt;P&gt;Like this, I want to convert the time to integer value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example 09:52:52. I want to convert it into integer value.&lt;/P&gt;&lt;P&gt;and then convert it back to HH:MM:SS format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Later I want to use this integer value as part of index along with date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not a ABAP champion so please advice if I am going in to wrong direction.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216205#M1627843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-22T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with TIME..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216206#M1627844</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;Try below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: v_time type i,
      v_stime type sy-uzeit.

parameters:     p_stime type sy-uzeit default sy-uzeit.

v_time = p_stime.

v_stime = v_time.


write : v_time, v_stime.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 15:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216206#M1627844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-22T15:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with TIME..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216207#M1627845</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;The date can be converted into integer number, because it can calculate the number of days from an initial date (I'm not sure, but I think it's 01/01/0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this concept is not valid for the time, because the values are cyclical: they are repeated for every day, from 0 to 24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you need to create an unique index it's enough you concatenate the date and time together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interger value of the time will be the time, I mean the integer of 09:52:52 will be 95252&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can use the time without to convert it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 15:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216207#M1627845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-22T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with TIME..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216208#M1627846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just used type integer and type time as suggested and ABAP took care of the rest of the conversion.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sume on Sep 22, 2011 6:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-time/m-p/8216208#M1627846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-22T16:29:09Z</dc:date>
    </item>
  </channel>
</rss>

