Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Error while Saving Sales Order

Former Member
0 Kudos


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..




Former Member
0 Kudos


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.


0 Kudos

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?



0 Kudos

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.


*Please reward useful answers

Former Member
0 Kudos

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.