cancel
Showing results for 
Search instead for 
Did you mean: 

different numbers for the sales document (OR) raised in different regions

Former Member
0 Kudos

hi,

Help in this regard.

The requirement is such that the client would want to have different numbers for the sales document (OR) raised in different regions. For ex. the numbers fro orders raised in AP should be different from the ones raised in Tamilnadu.

Thanking you

chan

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Just give the accurate logic to Abaper, so that user exit works as per requirement.

Regards,

Rajesh Banka

Reward suitable points.

  • How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

Former Member
0 Kudos

Hi,

Nagesh have given a very good solution. Through user exit the number range can be controlled in any manner. You must assure that number range object field is left blank, if we want to use user exit for it, else you will have to create that many sales order type & assign separate number range object in each.

Regards,

Rajesh Banka

Reward suitable points.

  • How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

Former Member
0 Kudos

Hari Sri,

Since you would like to use only one sales document type OR for all the Regions it is obvious that you can use only one number Range. For that document however you can use different no. ranges for different sales organizations by using the following User exit.

USEREXIT_NUMBER_RANGE

Use this user exit to define the number ranges for internal document number assignment depending on the required fields. For example, if you want to define the number range depending on the sales organization (VKORG) or on the selling company (VKBUR), use this user exit.

The user exit is called up in the FORM routine BELEG_SICHERN.

Reward Points if Helpful.

Regards,

Nagesh Murthy

Former Member
0 Kudos

Copy standard order OR and create different order types like AOR-Andhra pradesh, TOR - tamilnadu, BOR- Bihar etc. And assign unique number ranges to each document type. So if the sales office in chennai raises a sales order they will use order type TOR, in hyderabad it will AOR and in Patna BOR and so on.

This way the funcionality can be mapped.

Hope my answer was useful.

Regards

AK

Please reward points if helpful