cancel
Showing results for 
Search instead for 
Did you mean: 

Number range for sales document type

Former Member
0 Kudos

Hi,

I am having 1 client under that 5 company codes, ade according to that 5 plants & 5 sales organization.

so for one comapany code including all there are 15 sales document types same for other also

my question is

How can I assign number range for all that?

If i am going to maintain seperate document type it goes to 75

which userexit will help me out for this?

without userexit what is the otherway?

regards,

Rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Not only at order level, you will have to use exits at delivery and billing document level also.

For sales documents:

Exit USEREXIT_NUMBER_RANGE in MV45AFZZ

For delivery documents:

Exit USEREXIT_NUMBER_RANGE in MV50AFZ1

For billing documents:

Exit USEREXIT_NUMBER_RANGE in RV60AFZZ

You need to give tables for maintaining numbers for sales, delivery and billing documents. In the exit a select query can be written to fetch the data based on the parameters like sale orgainzation, company code etc.

Regards,

GSL.

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Dear Rahul

User exits in the program MV45AFZZ - 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.

thanks

G. Lakshmipathi