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

number range assignment(urgent)

Former Member
0 Likes
411

hi abap'rs

I have a problem related to number range assignment with billing document ,I have to assign three series to the billing document,like first series will be 01 - 50,second will be 51 - 100 and third will be 101 - 151 .How we can do this.

for one billing doccument i have to assign a number range in three sub ranges.

Regards

Edited by: pardeep kumar on Jan 31, 2008 5:28 PM

Edited by: pardeep kumar on Feb 4, 2008 1:41 PM

1 ACCEPTED SOLUTION
Read only

martin_schlegel
Explorer
0 Likes
388

Hello Pardeep, if you ask about SD billing documents, you can use the user exit USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)

"The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created."

In this user exit, you can assign a new number range number.

That means that you should define your number ranges in the SD customizing (VN01). Each number range is identified by his own number. The billing document gets the next free number from the number range identified by the field US_RANGE_INTERN in USEREXIT_NUMBER_RANGE.

Please be aware that US_RANGE_INTERN can be CHAR.

Good luck.

Martin

hi abap'rs

I have a problem related to number range assignment with billing document ,I have to assign three series to the billing document,like first series will be 01 - 50,second will be 51 - 100 and third will be 101 - 151 .How we can do this.

for one billing doccument i have to assign a number range in three sub ranges.

Regards

Edited by: pardeep kumar on Jan 31, 2008 5:28 PM

Edited by: pardeep kumar on Feb 4, 2008 1:41 PM

1 REPLY 1
Read only

martin_schlegel
Explorer
0 Likes
389

Hello Pardeep, if you ask about SD billing documents, you can use the user exit USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)

"The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created."

In this user exit, you can assign a new number range number.

That means that you should define your number ranges in the SD customizing (VN01). Each number range is identified by his own number. The billing document gets the next free number from the number range identified by the field US_RANGE_INTERN in USEREXIT_NUMBER_RANGE.

Please be aware that US_RANGE_INTERN can be CHAR.

Good luck.

Martin