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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Billing Document number saved as $000000003

former_member206153
Participant
0 Kudos
261

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

8 REPLIES 8

former_member205060
Active Participant
0 Kudos
214

Hi,

Have you applied any enhancement in the number ranges. Please also tell the error raised during cancellation.

Regards,

Rahul SIngh

0 Kudos
214

Hi,

The same can saved only if someone was debugging on production server and has changed the values of system variable.

Regards,

Rahul Singh

0 Kudos
214

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

0 Kudos
214

Hi Rahul,

Debugging is not possible in Production Server here.

0 Kudos
214

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


0 Kudos
214

Please make a scenario in development server and debug.

Regards,

Rahul Singh

raymond_giuseppi
Active Contributor
0 Kudos
214

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

manukapur
Active Participant
0 Kudos
214

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