<?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: Time Format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091792#M100950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;           Thanks i have done this way&lt;/P&gt;&lt;P&gt;REPLACE ':' WITH '' INTO str_if-begzt.&lt;/P&gt;&lt;P&gt; CONDENSE str_if-begzt NO-GAPS.&lt;/P&gt;&lt;P&gt;but now i have one more problem i have a field that gives me a total time i am a bit confused wat data type should i declare at Dictionary ...&lt;/P&gt;&lt;P&gt;luk at the record &lt;/P&gt;&lt;P&gt;total begtime endtime &lt;/P&gt;&lt;P&gt;0.98  08:59   09:58&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2005 14:34:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-28T14:34:48Z</dc:date>
    <item>
      <title>Time Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091787#M100945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Every one ,&lt;/P&gt;&lt;P&gt;Could any one say me how could i convert the time format &lt;/P&gt;&lt;P&gt;for ex: i am getting a .txt file and the time defined is &lt;/P&gt;&lt;P&gt;09:57 and internally system is taking as &amp;lt;b&amp;gt;9::57&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 14:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091787#M100945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Time Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091788#M100946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The time format is hhmmss.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 14:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091788#M100946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T14:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Time Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091789#M100947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes at my database level i have taken data type as TIM of 6 char but when i am uploading data from a .txt file system  is also taking ':' as a charecter and storing as &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;9::57&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 14:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091789#M100947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T14:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Time Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091790#M100948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is some code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

data: time_from_file(10) type c value '9:57'.
data: internal_time type sy-uzeit.


data: hours(2) type c.
data: minutes(2) type c.

split time_from_file at ':' into hours minutes.

if hours &amp;lt; 10.
  shift hours right deleting trailing space.
  hours+0(1) = 0.
endif.

concatenate hours minutes '00' into internal_time.


write:/ internal_time.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 14:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091790#M100948</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-28T14:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091791#M100949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ot try that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA time TYPE sy-uzeit.
DATA time4(4).
DATA txt(10).
txt = '9::57'.

WHILE txt CA ':'.
  REPLACE ':' WITH space INTO txt.
ENDWHILE.
CONDENSE txt NO-GAPS.
UNPACK txt TO time4.
MOVE time4 TO time.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 14:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091791#M100949</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-11-28T14:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Time Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091792#M100950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;           Thanks i have done this way&lt;/P&gt;&lt;P&gt;REPLACE ':' WITH '' INTO str_if-begzt.&lt;/P&gt;&lt;P&gt; CONDENSE str_if-begzt NO-GAPS.&lt;/P&gt;&lt;P&gt;but now i have one more problem i have a field that gives me a total time i am a bit confused wat data type should i declare at Dictionary ...&lt;/P&gt;&lt;P&gt;luk at the record &lt;/P&gt;&lt;P&gt;total begtime endtime &lt;/P&gt;&lt;P&gt;0.98  08:59   09:58&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 14:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091792#M100950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Time Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091793#M100951</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;use a variable type p decimals 2 for total (qty)&lt;/P&gt;&lt;P&gt;e.g. : TISTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unit =  hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 14:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format/m-p/1091793#M100951</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-11-28T14:50:55Z</dc:date>
    </item>
  </channel>
</rss>

