<?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: Timestamp field selection using date field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516511#M2004393</link>
    <description>&lt;P&gt;You need to make sure of the time zone of values in VLCHISTORY-TSTMP. Usually it's UTC.&lt;/P&gt;&lt;P&gt;Usually, people will enter the date for their local time zone, so you should convert from user's time zone to VLCHISTORY-TSTMP time zone.&lt;/P&gt;&lt;P&gt;See Raymond answer for more details.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 15:18:35 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2021-11-25T15:18:35Z</dc:date>
    <item>
      <title>Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516506#M2004388</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I am fetching data from VLCHISTORY table ,&lt;/P&gt;
  &lt;P&gt;in which data has to be selected for todays date , for that TSTMP field has to be used,&lt;/P&gt;
  &lt;P&gt;and on ABAP report selection screen i have parameter field type of DATUM.&lt;/P&gt;
  &lt;P&gt;how datum field can be used with TSTMP field for data retrieval.&lt;/P&gt;
  &lt;P&gt;Please share the solution.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Vikash &lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 05:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516506#M2004388</guid>
      <dc:creator>vikash_pathak</dc:creator>
      <dc:date>2021-11-25T05:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516507#M2004389</link>
      <description>&lt;P&gt;Check the below thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://answers.sap.com/questions/13524415/timestamp-in-db-table-compare-with-select-options.html" target="test_blank"&gt;https://answers.sap.com/questions/13524415/timestamp-in-db-table-compare-with-select-options.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 05:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516507#M2004389</guid>
      <dc:creator>vijay_hariharan</dc:creator>
      <dc:date>2021-11-25T05:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516508#M2004390</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In this thread , at first data is being selected from DB table and then data is being deleted from internal table,&lt;/P&gt;&lt;P&gt;i have to filter data while selecting it from DB table itself. otherwise it will return all the record .&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 05:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516508#M2004390</guid>
      <dc:creator>vikash_pathak</dc:creator>
      <dc:date>2021-11-25T05:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516509#M2004391</link>
      <description>&lt;P&gt;Please check the second answer thread in the link:&lt;BR /&gt;&lt;A href="https://answers.sap.com/questions/8079633/select-query-on-time-stamp.html" target="test_blank"&gt;https://answers.sap.com/questions/8079633/select-query-on-time-stamp.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 05:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516509#M2004391</guid>
      <dc:creator>vijay_hariharan</dc:creator>
      <dc:date>2021-11-25T05:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516510#M2004392</link>
      <description>&lt;P&gt;Just &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapconvert_date_utclong.htm"&gt;convert&lt;/A&gt; the date into two timestamps (at 00:00:00 and 23:59:59) select with database timestamp field &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenwhere_logexp_interval.htm"&gt;between&lt;/A&gt; those values?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONVERT DATE p_date  TIME '000000'
   INTO TIME STAMP low_timestamp
   TIME ZONE sy-zonlo.

CONVERT DATE p_date  TIME '235959'
   INTO TIME STAMP high_timestamp
   TIME ZONE sy-zonlo.

SELECT COUNT(*) FROM vlchistory
   WHERE tstmp BETWEEN low_timestamp AND high_timestamp.&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Nov 2021 11:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516510#M2004392</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2021-11-25T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516511#M2004393</link>
      <description>&lt;P&gt;You need to make sure of the time zone of values in VLCHISTORY-TSTMP. Usually it's UTC.&lt;/P&gt;&lt;P&gt;Usually, people will enter the date for their local time zone, so you should convert from user's time zone to VLCHISTORY-TSTMP time zone.&lt;/P&gt;&lt;P&gt;See Raymond answer for more details.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 15:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516511#M2004393</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-11-25T15:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516512#M2004394</link>
      <description>&lt;P&gt;It was helpful .&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 04:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516512#M2004394</guid>
      <dc:creator>vikash_pathak</dc:creator>
      <dc:date>2021-11-26T04:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field selection using date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516513#M2004395</link>
      <description>&lt;P&gt;fyi typo in code (235859)&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 06:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-field-selection-using-date-field/m-p/12516513#M2004395</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-11-26T06:52:55Z</dc:date>
    </item>
  </channel>
</rss>

