<?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: Handling timestamp in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228121#M1524551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think get time will work.&lt;/P&gt;&lt;P&gt;because while debugging it takes time so time is updating. but if you run directly it run in a fraction of second so same time will update for all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check large number of data then you will see a updating time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Viru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Aug 2010 09:06:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-27T09:06:19Z</dc:date>
    <item>
      <title>Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228114#M1524544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where each row in the Flat file should have different timestamp..... (There will be different time stamps for each individual row in the report)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"This date input will be the value of the timestamp from when the scheduled job  was started"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is i had used sy-datum and sy-uzeit to get the timestamp.... as the format was to have 2010-05-27 19:48:25&lt;/P&gt;&lt;P&gt;so here i get just 1 time stamp for all the rows....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coded as below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the Loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE sy-datum+0(4) TO lv_year.&lt;/P&gt;&lt;P&gt;      MOVE sy-datum+4(2) TO lv_month.&lt;/P&gt;&lt;P&gt;      MOVE sy-datum+6(2) TO lv_day.&lt;/P&gt;&lt;P&gt;      CONCATENATE lv_year lv_month lv_day INTO lv_date SEPARATED BY c_colon.&lt;/P&gt;&lt;P&gt;      MOVE sy-uzeit+0(2) TO lv_hh.&lt;/P&gt;&lt;P&gt;      MOVE sy-uzeit+1(2) TO lv_mm.&lt;/P&gt;&lt;P&gt;      MOVE sy-uzeit+2(2) TO lv_ss.&lt;/P&gt;&lt;P&gt;      CONCATENATE lv_hh lv_mm lv_ss INTO lv_time SEPARATED BY c_colon.&lt;/P&gt;&lt;P&gt;      CONCATENATE lv_date lv_time INTO wa_final-timestamp SEPARATED BY space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 07:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228114#M1524544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T07:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228115#M1524545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to your spec: ""This date input will be the value of the timestamp from &lt;STRONG&gt;when the scheduled job was started&lt;/STRONG&gt;""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This implies that each row is to have the timestamp of the scheduled job. So they will be the same. If you need the timestamp the record was cut, then read the ABAP help on GET TIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 07:49:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228115#M1524545</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-08-27T07:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228116#M1524546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;cording to your spec: ""This date input will be the value of the timestamp from when the scheduled job was started""&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok if they are talking about when the scheduled job was started then the logic what i have written is fine or not??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 07:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228116#M1524546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T07:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228117#M1524547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks fine to me. Except your first c_colon needs to be c_hyphen. And of course the construction of the timestamp can be outside the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 08:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228117#M1524547</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-08-27T08:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228118#M1524548</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;You can use the statement like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT DATE sy-datum TIME sy-uzeit INTO TIME STAMP  l_timestamp TIME ZONE sy-zonlo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 08:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228118#M1524548</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2010-08-27T08:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228119#M1524549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok.. i did use get time... before using sy-datum and sy-uzeit.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess this will work.... it showing me different time when i debug... but when i see the output without debugging it shows all same value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 08:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228119#M1524549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T08:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228120#M1524550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting some error for this convert thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 08:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228120#M1524550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T08:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228121#M1524551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think get time will work.&lt;/P&gt;&lt;P&gt;because while debugging it takes time so time is updating. but if you run directly it run in a fraction of second so same time will update for all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check large number of data then you will see a updating time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Viru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 09:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228121#M1524551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T09:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Handling timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228122#M1524552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing the precise nature of the error, and without telepathy, it's hard to know precisely what you've done wrong, but you are aware, are you, that timestamp is a decimal fields - (type  length 8 or 11 with 7 dp ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you read the ABAP help on the statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET TIME is only accurate (for sy-uzeit) to 1 second. Your ABAP probably manages to process all your records rather quicker than that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Aug 27, 2010 11:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 09:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-timestamp/m-p/7228122#M1524552</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-08-27T09:37:42Z</dc:date>
    </item>
  </channel>
</rss>

