2013 Apr 16 7:42 AM
Hi All,
I have come across a issue in the invoice generated for a Credit Memo.
The Billing Document Number generated has the number $000000003 , it is not converted to the Document Number defined in the Number Ranges.
This has happened in Production.
Now, the next step is how to cancel this billing document. I am not able to cancel it sing VF11.
Invoice numbers are getting created with the correct numbers after this document was created.
Please guide me , as its in production and needs to be taken care of immediately.
Thanks & Regards
Bhavika
2013 Apr 16 10:05 AM
Hi,
Have you applied any enhancement in the number ranges. Please also tell the error raised during cancellation.
Regards,
Rahul SIngh
2013 Apr 16 10:19 AM
Hi,
The same can saved only if someone was debugging on production server and has changed the values of system variable.
Regards,
Rahul Singh
2013 Apr 16 11:05 AM
The Error Raised is "$000000003 does not exist", but its entry is there in the Tables VBRK and VBRP. There is an enhancement where the number range is picked from a Ztable depending on company code and Billing type.
Thanks
Bhavika
2013 Apr 16 11:17 AM
Hi Rahul,
Debugging is not possible in Production Server here.
2013 Apr 16 11:25 AM
Hi,
Check the Tcode SM13 for any failure updates. If you have made the enhancement in that case you cannot raise this to SAP. You have to check your enhancement code. I hope the error is also coming due to your code in the enhancement. The same can be bypass but this is not recommended for production server.
First you need to fix your code in development server. Create a test in development server and make the corrections.
Regards,
Rahul Singh
2013 Apr 16 12:43 PM
Please make a scenario in development server and debug.
Regards,
Rahul Singh
2013 Apr 16 10:28 AM
Look at SM21 for debug trace and in enhancements/exits/BAdIs for mischievous commits, then consider raising an OSS message (http://service.sap.com/message) as there are inconsistencies now in your database and no (released) standard tool like report RVV05IVB will be able to correct it,
Regards,
Raymond
2013 Apr 16 4:45 PM
Check the Number range Object RV_BELEG in the T Code SNRO. Check for inconsistencies there.
Also check if there is some modification done in the standard program RV60AFZZ. If you use a different object/ number range for different company codes, something must be wrong here. $000000003 sort of numbers gets generated before the actual number range is picked up and assigned.
Also check if you process has been aborted before saving the invoice.
Regards,
Manu