07-11-2006 12:43 PM
Hi,
In the Sales order, while I try to remove the delivery block "MFG USE ONLYNO DATE and try to sales order, it goes to short dump.
When I went to ST22 and try to analyze, it goes to function Module ' CX_OPERATION_GET ' and goes till line 66 where it goes till raise exception ' DATE_OUT_OF_PIT_RANGE ' and then it goes to dump. Any ideas why this happens..
Regards
Venu
07-11-2006 1:03 PM
Hey,
The function DATE_TIME_CONVERT which is called inside CX_OPERATION_GET sets the subrc to 15. If the subrc is 15 then CX_OPERATION_GET raises the exception you have mentioned.
Set a breakpoint at the function module DATE_TIME_CONVERT and debug the Sales order application.
-Kiran
07-11-2006 1:24 PM
Hi kiran,
I could see the subrc value to 15, but I need to know if it's supposed to get 15 or 0, and if exception is raised, then is it supposed to go to dump?
Regads
venu
07-11-2006 1:41 PM
Get the where used list of the function CX_OPERATION_GET and see if the exceptions raised by this function are handled in the calling program. If the exceptions are not handled then you will get a short dump.
You need to debug the function DATE_TIME_CONVERT to fine out why subrc is being set to 15. Looks like your program is not passing correct Start and Finish dates.
-Kiran
*Please reward useful answers
07-11-2006 2:22 PM
Look at OSS notes 434453 and 323312. If they don't help, you should open an OSS message. This looks like an SAP problem, so they should be the people to help.
rob