<?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 Timestamp in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985124#M952027</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;i have to select data according to the date and time from a z-table,there are no date and time fields in that z-table,i have no idea about timestamp,can i use that one ?if yes then how can i use it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 04:33:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-13T04:33:05Z</dc:date>
    <item>
      <title>Timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985124#M952027</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;i have to select data according to the date and time from a z-table,there are no date and time fields in that z-table,i have no idea about timestamp,can i use that one ?if yes then how can i use it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 04:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985124#M952027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T04:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985125#M952028</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;No you can't as you don't have the date and time in Ztable, Can't select from the table using date &amp;amp; time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need date and time in the Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds.&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 04:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985125#M952028</guid>
      <dc:creator>SumanPoddar</dc:creator>
      <dc:date>2008-06-13T04:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985126#M952029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If it is a Z table then you can add two fields say for e.g.&lt;/P&gt;&lt;P&gt; ZZDATE of component type SYDATUM,&lt;/P&gt;&lt;P&gt;ZZTIME of component type SYUZEIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So each time through any program when you will insert some data or update the table just pass SY-DATUM to ZZDATE and SY-UZEIT to ZZTIME. &lt;/P&gt;&lt;P&gt;So, each update or insertion of data will have the time stamp with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 04:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985126#M952029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T04:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985127#M952030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so,can i add timestamp field in my table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 04:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985127#M952030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T04:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985128#M952031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Z Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert two more fields called &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ZDATE&lt;/STRONG&gt; of data type &lt;STRONG&gt;DATS&lt;/STRONG&gt; and &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ZTIME&lt;/STRONG&gt; of  data type &lt;STRONG&gt;TIMS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your Z programs which r &lt;STRONG&gt;inserting/updating&lt;/STRONG&gt; this Z Tables... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in &lt;STRONG&gt;insert or update statement&lt;/STRONG&gt; include these 2 fileds as well ZDATE and ZTIME...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can get the current system &lt;STRONG&gt;time&lt;/STRONG&gt; at runtime from variable &lt;STRONG&gt;sy-uzeit&lt;/STRONG&gt; and current system &lt;STRONG&gt;date&lt;/STRONG&gt; from variable &lt;STRONG&gt;sy-datum&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in ur Final Z report where u wanna give the date and time in selection screen ... write the select condittion with keeping ZDATE and ZTIME fields in where condition...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if useful..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 04:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985128#M952031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T04:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985129#M952032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two fields in the Ztable&lt;/P&gt;&lt;P&gt;field1 as type &lt;STRONG&gt;sy-datum&lt;/STRONG&gt; and field2 as &lt;STRONG&gt;sy-uzeit.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then during the first execution extract all the data you want based on the data and time from the ztable. for the first execution all the data till date will be coming, because the ztable values are blank. So after first execution update Ztable with current execution time and date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From next execution onwards, read the date and time from Ztable and use it for ur selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 05:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp/m-p/3985129#M952032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T05:11:59Z</dc:date>
    </item>
  </channel>
</rss>

