<?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: How to Compare DateTime Fields to Date Value Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099847#M1616256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain a bit more about your scenario? You want to compare records or fields means columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aabha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Aug 2011 03:14:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-01T03:14:08Z</dc:date>
    <item>
      <title>How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099846#M1616255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Colleagues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Local table with Period as one the structure in it and it holds StartDate, EndDate with GDT APC_S_UP_LOCALNORM_DAT_TIM_PER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to compare the rows in the table based on a date field that I have of type APC_V_DATE. however it looks like it is not able to compare these two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;period-start_date_time-content le low_date or  period-start_date_time-content ge high_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 02:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099846#M1616255</guid>
      <dc:creator>former_member51918</dc:creator>
      <dc:date>2011-08-01T02:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099847#M1616256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain a bit more about your scenario? You want to compare records or fields means columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aabha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 03:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099847#M1616256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-01T03:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099848#M1616257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GoodMorning Aabha,&lt;/P&gt;&lt;P&gt;I have an internal table (of 10 Columns) in which I have a Column Period. Period is of structure and Has Start Date and Endate.&lt;/P&gt;&lt;P&gt;Now I want to get records from this table comparing the date fields with another variable of type APC_V_DATE&lt;/P&gt;&lt;P&gt;Now I am facing problem in comparing it because of Different Data Types.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 03:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099848#M1616257</guid>
      <dc:creator>former_member51918</dc:creator>
      <dc:date>2011-08-01T03:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099849#M1616258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very Good morning Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before comparing these fields convert them in same date formart. Then you can retreive the values by comparing both the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aabha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 03:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099849#M1616258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-01T03:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099850#M1616259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, Now in order to convert my Date value to a Datetime Value I need to get some method from ISDT class...Which I can't see&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 05:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099850#M1616259</guid>
      <dc:creator>former_member51918</dc:creator>
      <dc:date>2011-08-01T05:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099851#M1616260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There are many function Modules available which can convert Date Formats, Ex: CONVERSION_EXIT_SDATE_INPUT.&lt;/P&gt;&lt;P&gt;You can also search with &lt;STRONG&gt;convert&lt;/STRONG&gt;date* in tcode SE37, you will many FM, find the one suitable to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shweta Soragavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 07:34:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099851#M1616260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-02T07:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099852#M1616261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: lv_date type "of your start date type".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write APC_V_DATE to lv_date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 07:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099852#M1616261</guid>
      <dc:creator>Shahid</dc:creator>
      <dc:date>2011-08-02T07:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare DateTime Fields to Date Value Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099853#M1616262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot colleagues for your help, I used the above suggestions from all and was able to achieve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 04:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-datetime-fields-to-date-value-fields/m-p/8099853#M1616262</guid>
      <dc:creator>former_member51918</dc:creator>
      <dc:date>2011-08-19T04:47:05Z</dc:date>
    </item>
  </channel>
</rss>

