<?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 Invalid date error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690717#M1576874</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;&lt;/P&gt;&lt;P&gt;The sales order scenario is this the requested delivery date is todays date, the system confirms the goods the next day for example. Requested delivery date 15.02.2011 confirmed date is 16.02.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sales order non standard Cash Sale and when I create and save the sales order then go to the output the system throws the following dump: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" A RAISE statement in the program "SAPL3HKC" raised the exception  condition "INVALID_DATES_SPECIFIED".&lt;/P&gt;&lt;P&gt; Since the exception was not intercepted by a superior  program, processing was terminated."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception is thrown in  the module "HR_HK_DIFF_BT_2_DATES" .&lt;/P&gt;&lt;P&gt;             if date2 &amp;gt; date1.&lt;/P&gt;&lt;P&gt;                 raise invalid_dates_specified.&lt;/P&gt;&lt;P&gt;           endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date2 is delivery date in future whereas date1 is current date (sy-datum).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is, how I prevent the system comparing date1 and date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 05:43:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-15T05:43:37Z</dc:date>
    <item>
      <title>Invalid date error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690717#M1576874</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;&lt;/P&gt;&lt;P&gt;The sales order scenario is this the requested delivery date is todays date, the system confirms the goods the next day for example. Requested delivery date 15.02.2011 confirmed date is 16.02.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sales order non standard Cash Sale and when I create and save the sales order then go to the output the system throws the following dump: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" A RAISE statement in the program "SAPL3HKC" raised the exception  condition "INVALID_DATES_SPECIFIED".&lt;/P&gt;&lt;P&gt; Since the exception was not intercepted by a superior  program, processing was terminated."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception is thrown in  the module "HR_HK_DIFF_BT_2_DATES" .&lt;/P&gt;&lt;P&gt;             if date2 &amp;gt; date1.&lt;/P&gt;&lt;P&gt;                 raise invalid_dates_specified.&lt;/P&gt;&lt;P&gt;           endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date2 is delivery date in future whereas date1 is current date (sy-datum).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is, how I prevent the system comparing date1 and date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 05:43:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690717#M1576874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T05:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid date error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690718#M1576875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE1 - enddate&lt;/P&gt;&lt;P&gt;DATE2 - begindate&lt;/P&gt;&lt;P&gt;So for correct work you need to pass '15.02.2011' to DATE2 and '16.02.2011' to DATE1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 05:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690718#M1576875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T05:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid date error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690719#M1576876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not assigning delivery date to date2, but the system. Further the code is in SAP name space, so I cant edit it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 06:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690719#M1576876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T06:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid date error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690720#M1576877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this OSS note : 1096741&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 06:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690720#M1576877</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2011-02-15T06:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid date error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690721#M1576878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 12:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-date-error/m-p/7690721#M1576878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T12:34:17Z</dc:date>
    </item>
  </channel>
</rss>

