cancel
Showing results for 
Search instead for 
Did you mean: 

Change SD Billing document number range.

former_member273995
Participant
0 Kudos

Dear Gurrus,

I need your recommendation regarding "Is it safe to change the number range of SD Billing Document".

Current Scenario:

I have 2 sales organization 1000 & 9000, both are using "F2" as billing document type so its obvious that number range is shared between them as well. This scenario is running for last 2 years

Now I have a requirement to separate "Billing docuemnt number" for both sales organization.

My question, Is it safe to change the Billing document number ranges now? and what are the things that I should consider while doing it ?

Accepted Solutions (0)

Answers (6)

Answers (6)

sarthak_mohantysd
Active Contributor
0 Kudos

Hello Shadab,

I have 2 sales organization 1000 & 9000, both are using "F2" 
as billing document type so its obvious that number range is shared 
between them as well. This scenario is running for last 2 years
Now I have a requirement to separate "Billing docuemnt number" for 
both sales organization. My question, Is it safe to change the Billing 
document number ranges now? and what are the 
things that I should consider while doing it ?

For your business requirement, please use any one of the following USER EXIT. Please reach out to your Technical consultant and ask to put up code here such that Sales Org 1000 and Sales Org 9000 which is using same Billing type F2 will have different number.

u2022USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)

u2022USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)

Regards,

Sarthak

gomatheeswaran_palaniappa
Active Contributor
0 Kudos

Hi,

Yes you can change as suggested by experts above through user exit. Please consider the following things.

1. No range for cancellation documents - Needs to be changed as well

2. Accounting documents w.r.t to the billing docs.

3. Any Z reports / programs which uses the number range

Regards,

P Gomatheeswaran

Former Member
0 Kudos

Hi,

If your client is fine with changing the number ranges in middle then you can proceed further.

You can code in program RV60AFZZ as mentioned below:

----


  • FORM USEREXIT_NUMBER_RANGE *

----


  • This userexit can be used to determine the numberranges for *

  • the internal document number. *

  • US_RANGE_INTERN - internal number range *

  • This form is called from form LV60AU02 *

----


FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.

IF vbrk-vkorg = '1000'.

US_RANGE_INTERN = 'Z1'.

endif.

IF vbrk-vkorg = '9000'.

US_RANGE_INTERN = 'Z2'.

endif.

Tcode:SNRO

**Number Range Object "RV_BELEG"

Create Z1 - 0015000000 to 0019999999

Create Z2- 0020500000 to 0020599999

Create the number ranges directly in Live System.

Regards,

Saju.S

Former Member
0 Kudos

hello Ali,

Yes it is safe to change the number range now with user exits.

Apart from number range in billing document, you have to consider the number range of accounting documents as well.

Also you have check the system for any Z development based on number range of your billing documents, like some Z reports and their varinats.

Former Member
0 Kudos

Hi Shadab Ali,

Yes you can assign the different number ranges for both sales organization as per your client requirement by using USER EXITS

Check this link it would be helpful

Let me know if your problem is solved

Regards

Pradeep

former_member217082
Active Contributor
0 Kudos

Hi

If you are using the same number range for both sales orgns. then there wont be any problem.But if this is your client requirement then only you change the number range

As per the sales orgn,as the number range has to change,so you have to go with USEREXIT_NUMBER_RANGE.So you have

to take your ABAP team help to solve your number range issue.

Regards

Srinath