<?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: Retrieving milli or microseconds? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761411#M37011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank everyone how replied.&lt;/P&gt;&lt;P&gt;Malgorzata, I tried your trick and it seem to work.&lt;/P&gt;&lt;P&gt;See dump below.  It looks like the mircroseconds are&lt;/P&gt;&lt;P&gt;to the right of the decimal.  Thanks again!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIMESTAMPL -&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt; sy-datum -- sy-uzeit&lt;/P&gt;&lt;P&gt;======================================&lt;/P&gt;&lt;P&gt;20,040,909,160,856.7075290  2004.09.09 10:08:56&lt;/P&gt;&lt;P&gt;20,040,909,160,857.4794180  2004.09.09 10:08:57&lt;/P&gt;&lt;P&gt;20,040,909,160,858.2537190  2004.09.09 10:08:58&lt;/P&gt;&lt;P&gt;20,040,909,160,859.0396030  2004.09.09 10:08:59&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Sep 2004 16:16:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-09-09T16:16:44Z</dc:date>
    <item>
      <title>Retrieving milli or microseconds?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761406#M37006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a time stamp question in ABAP.&lt;/P&gt;&lt;P&gt;I can retrieve the current time in HHMMSS with SY-UZEIT or SY-TIMLO, but how do I retrieve a smaller increment than SS (seconds).  i.e. milli or microseconds?&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2004 20:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761406#M37006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-08T20:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving milli or microseconds?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761407#M37007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to evaluate the processing time between 2 actions. Look at GET RUN TIME FIELD f where field f is an integer. The number is in microseconds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2004 21:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761407#M37007</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-09-08T21:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving milli or microseconds?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761408#M37008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nablan&lt;/P&gt;&lt;P&gt;Thanks for the reply.  &lt;/P&gt;&lt;P&gt;No, I am not trying to measure the time between 2 actions.  I would like to know how (if possible) to get the current milli or microseconds.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: if a process updates a table with a timestamp, I would like to get an increment smaller than seconds.  As sometimes 2 independent processes might have the same timestamp using HHMMSS and I would like to see which really happened first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look at GET RUN TIME FIELD to see if it can help.&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2004 21:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761408#M37008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-08T21:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving milli or microseconds?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761409#M37009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter, I can only thing in a case where you need this:&lt;/P&gt;&lt;P&gt;- you hare having 2 processes who are inserting data in the same table, with the same key at the same time, and you were using the timestamp to differ them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working with a Z table, just add one more field to the primary key called "program" or "transaction" and put the name of the program/transaction there. Your programs could put data in the same second, but the primary key will be different.&lt;/P&gt;&lt;P&gt;You can do this using a hard-coded number, in example&lt;/P&gt;&lt;P&gt;- report ZINSERT_A and ZINSERT_B are your programs&lt;/P&gt;&lt;P&gt;- create a new field in your table "report_id type c long 1"&lt;/P&gt;&lt;P&gt;- modify your reports to change the append instruction to put "A" and "B" in the table (changing the internal tables or so)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't like these kind of hard-coding, just define the field a longer string and use sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps if you are not able to use milliseconds,&lt;/P&gt;&lt;P&gt;Vicenç&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2004 08:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761409#M37009</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2004-09-09T08:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving milli or microseconds?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761410#M37010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you can use a field type TIMESTAMPL ( not just TIMESTAMP !!! ) and fill it using statement GET TIME STAMP FIELD ... and store this value in a table during update.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Malgorzata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Malgorzata Jaworek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2004 11:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761410#M37010</guid>
      <dc:creator>MalaGo</dc:creator>
      <dc:date>2004-09-09T11:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving milli or microseconds?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761411#M37011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank everyone how replied.&lt;/P&gt;&lt;P&gt;Malgorzata, I tried your trick and it seem to work.&lt;/P&gt;&lt;P&gt;See dump below.  It looks like the mircroseconds are&lt;/P&gt;&lt;P&gt;to the right of the decimal.  Thanks again!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIMESTAMPL -&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt; sy-datum -- sy-uzeit&lt;/P&gt;&lt;P&gt;======================================&lt;/P&gt;&lt;P&gt;20,040,909,160,856.7075290  2004.09.09 10:08:56&lt;/P&gt;&lt;P&gt;20,040,909,160,857.4794180  2004.09.09 10:08:57&lt;/P&gt;&lt;P&gt;20,040,909,160,858.2537190  2004.09.09 10:08:58&lt;/P&gt;&lt;P&gt;20,040,909,160,859.0396030  2004.09.09 10:08:59&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2004 16:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-milli-or-microseconds/m-p/761411#M37011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-09T16:16:44Z</dc:date>
    </item>
  </channel>
</rss>

