While creating billing documents, we faced a peculiar problem that the numbers are missing. We missed some numbers in order. Can you please help in finding out the reason? There is no buffer maintained in the number range also. |
Answer:
There are a number of reasons why gaps in invoice numbers may occur: 1. Number range object is buffered. Please refer to note 62077 for details. 2. Update terminate/short dump occurs while billing document update. - the number is set in to the invoice at the beginning of the program. If an interruption of the process happens after the assignation of this number, the number has run in the range and cannot be recovered. Update terminations in transaction
VF01 and VF04. The billing document number is reserved prior to the update.
After a possible update termination, it cannot be used again. Update terminations
are displayed in transaction SM13. At present, there is no possible
3. Incorrect user exit, e.g. in Program RV60AFZZ, USEREXIT_NUMBER_RANGE. If there is an FI/CO validation/substitution or any program modification (user exit, custom formula, custom print program) causing a commit, then this error can occur. Notice the commit can be implicit or explicit. An implicit 'COMMIT' can really only be triggered online. Implicit commits on the database are always triggered if the work process would have to wait. This includes the following: - The sending of a SAP screen.
You have the following options to improve the situation: - check in customer coding (user
exit, validation, substitution etc.) for eventual statement causing commit.
This can be get by setting the flag
Posting block = [x] in transaction VOFA.
|
|
Get help for your SAP SD problems
SAP Sales and Distribution Books
Delivery Hints
SAP Sales and Distribution Tips
Best regards,
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|