‎2011 Feb 15 5:43 AM
Hi,
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.
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:
" A RAISE statement in the program "SAPL3HKC" raised the exception condition "INVALID_DATES_SPECIFIED".
Since the exception was not intercepted by a superior program, processing was terminated."
The exception is thrown in the module "HR_HK_DIFF_BT_2_DATES" .
if date2 > date1.
raise invalid_dates_specified.
endif.
Date2 is delivery date in future whereas date1 is current date (sy-datum).
Now my question is, how I prevent the system comparing date1 and date2.
Cheers
A.
‎2011 Feb 15 5:50 AM
Hello
DATE1 - enddate
DATE2 - begindate
So for correct work you need to pass '15.02.2011' to DATE2 and '16.02.2011' to DATE1.
‎2011 Feb 15 6:03 AM
Hello,
I am not assigning delivery date to date2, but the system. Further the code is in SAP name space, so I cant edit it.
‎2011 Feb 15 12:34 PM
‎2011 Feb 15 6:42 AM