cancel
Showing results for 
Search instead for 
Did you mean: 

Sales org Related Number Ranges

Former Member
0 Kudos

Hi guru's,

i have a problem with number ranges, i want assign sales org related number ranges, is there any standard user exits for that please help me.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi

Your requirement can be fulfilled with the help of user exit.

Maintain the number ranges in VN01 as per the sales organization.

Now in the user exit you can add the logic as

if VBAK-VKORG=1000

then get the number range interval as 01

regards

Prashanth

Former Member
0 Kudos

hi,

we are having around two solutions:

1. create a Ztable for it with maintaince views in the combination of

sales orgn no. range from no range to current no.

1000 0 1000 0

when ever for sales organization one document gets generated then write a logic 01 =1 and updates the same number with in current no. range column and if the user creates one more sales order with reference to sales orgn 1000 then it calculates as 11 and updates 2 in the current number range column.

Please maintain maintainence view for the above and give authorization for the top user.

2. use the user exit in MV45AFZZ program named USEREXIT_NUMBER_RANGE:

write if sales orgn is 1000 then FM = NO_GET_NEXT.

if you have 2nd sales orgn 2000 then FM = NO_GET_NEXT.

before that we have to define an object class in SNRO.

hope this helps

regards,

balajia

reazuddin_md
Active Contributor
0 Kudos

Std exits available while creating sales documents.

i.e. USEREXIT_NUMBER_RANGE will be used to trigger our own number ranges with piece of coding.

check in Include: MV45AFZZ from Se38

regards,

Reazuddin MD