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

Missing orders in Number Range

0 Likes
382

Hi Friends,

We are facing an issue in our production systems where once in a while we find some orders missing in the number range provided. We have a custom report which tells us whenever a particular number on a sales document number range is skipped. Usually when this report identifies a missing order we will be able to find some error information from ST22 or SM13 logs and from that we identify the user who was trying to create this order and we contact them to re-enter the order. In most cases they are unaware that there has been an error since they get a success message when they save orders. But in some cases no information is available in these transactions and we are unable to identify who was creating this missing order and Business team fears that we are missing some legitimate orders which the customer thinks was created. I read thorugh lot of messages in the SDN forums and lot of similar issues were due to number range buffering but we do not have number range buffering set in our systems for sales documents. Have any of you faced this issue before and do you have a suggestion to prevent this?

Regards,

Praveen

1 REPLY 1
Read only

Clemenss
Active Contributor
0 Likes
353

Hi Praveen,

I remember that the module pool drwas a numer from the number range before the order is actually saved. If the creation process is cancelled, the number has been used.

You could try to check that by setting a break-point at function module NUMBER_GET_NEXT and then manually create an order, play around with the different tabs and views, create and delete items and check when the number is drawn.

If it is drawn as it should be in update task, you may find update fails in the update monitor and the users responsible should have received an express mail.

Regards,

Clemens