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.