<?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: comparing dates in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475876#M557304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;You can see the date format in the entries of A017. The Function Module CONVERSION_EXIT_PDATE_OUTPUT would not help in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to convert the dates  to match with the format of A017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further help, do not hesitate to mail me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 10:24:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T10:24:46Z</dc:date>
    <item>
      <title>comparing dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475873#M557301</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 am working with promotion transaction WAK1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to select the condition record number from the table A017 by comparing the all the primary key fields.&lt;/P&gt;&lt;P&gt;in that i have date fields valid to date and valid end date .&lt;/P&gt;&lt;P&gt;i want to select the condition record number which will fall between the valid to date and from date of header promotion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using DATBI GE lv_vkdbi&lt;/P&gt;&lt;P&gt;AND DATAB LE lv_vkdab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_vkdbi and lv_vkdab are dates that i converted using CONVERSION_EXIT_PDATE_OUTPUT' of the header wakhd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting the condition record number if i remove the dates comparison.&lt;/P&gt;&lt;P&gt;Please help me in getting with dates comparison&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regdards&lt;/P&gt;&lt;P&gt;pavee.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475873#M557301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: comparing dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475874#M557302</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;check out the following link it might help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3509358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3509358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;STRONG&gt;please reward points if the infromation is helpful to you&lt;/STRONG&gt;***********&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 12:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475874#M557302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T12:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: comparing dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475875#M557303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comparing Dates is similar to the comparison of remaining data types.&lt;/P&gt;&lt;P&gt;An example code can be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Parameters: a type D, b type D.&lt;/P&gt;&lt;P&gt;    if a EQ b.&lt;/P&gt;&lt;P&gt;    Write 'EQUAL'.&lt;/P&gt;&lt;P&gt;    elseif a GT b.&lt;/P&gt;&lt;P&gt;    Write 'a is GREATER THAN b'.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;    Write 'a is LESSER THAN b'.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The format of the Date field may vary from system to system. For ex. YYYYMMDD or DDMMYYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475875#M557303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: comparing dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475876#M557304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;You can see the date format in the entries of A017. The Function Module CONVERSION_EXIT_PDATE_OUTPUT would not help in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to convert the dates  to match with the format of A017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further help, do not hesitate to mail me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475876#M557304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: comparing dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475877#M557305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi praveen_g,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try adding a condition in WHERE in ur SQL  "and U_date between St_Date&lt;/P&gt;&lt;P&gt;and End_Date" where U_date is the date u want to compare and St_Date is starting date and End_Date is the ending date or last date....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 15:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-dates/m-p/2475877#M557305</guid>
      <dc:creator>anand_goenka</dc:creator>
      <dc:date>2007-07-16T15:40:45Z</dc:date>
    </item>
  </channel>
</rss>

