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: 

Upon saving, assign sales order to different number range...

aris_hidalgo
Contributor
0 Kudos

Hello Experts,

We have a new requirement wherein upon saving the sales order, I have to check its company code and

sales document type and if it has a record in a customized table, then I have to use another number range instead

of its default number range...

For example, the default number range for sales orders for company code 1000 with a document type of ZAOR

has a default number range of 3011000000 to 3011999999. I need to change it to 3021000000 to 3021999999.

Hope you can help me guys. Thank you and take care!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

A new numner range can be created via SNRO.

Also, you can use the following exit to assign this new numbe rrange to the order -> USEREXIT_NUMBER_RANGE

For more info; refer

Neeraj

1 REPLY 1

Former Member
0 Kudos

A new numner range can be created via SNRO.

Also, you can use the following exit to assign this new numbe rrange to the order -> USEREXIT_NUMBER_RANGE

For more info; refer

Neeraj