cancel
Showing results for 
Search instead for 
Did you mean: 

Number ranges per sales org for various SD-documents

Former Member
0 Kudos

Hi everybody,

I captured a requirement from my customer. He wants to be able to recognize the sales organization from the document number. The doc# ranges he wants to have are as follows:

Scheduling Agreement: 1….

Standard Order: 2…

Delivery: 3…:

Invoice: 4….

Credit memo: 5.…

Debit memo: 6.…

Return: 8…

The 2nd and 3rd digits of the document should then identify the sales organization.

Example 1: Sales Org 0020 creates a scheduling agreement. The document# that comes out should look like: <b>120</b>0000001

Example 2: Sales Org 0050 creates a return order. Doc# = <b>850</b>0000001

I found the user-exit RV60AFZ to fulfill my needs for invoices, but I can't find anything for the other types. Any help appreciated!

Thanks & regards,

Bobby

P.S.: I DO NOT want to create/copy all these document types for all available sales organizations, as this means an enormous workload if my customer expands business (e.g. by creating new sales organizations).

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

User-Exit USEREXIT_NUMBER_RANGE

The user exit is called up in the FORM routine BELEG_SICHERN

Refer below link on sdn

Former Member
0 Kudos

This message was moderated.

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks everybody!

Manoj_Mahajan78
Active Contributor
0 Kudos

Hi..

Try..

MV45AFZZ user exit

FORM USEREXIT_NUMBER_RANGE

REWARD IF UF INDS THIS AS HELPFUL..

Regds

MM

Former Member
0 Kudos

HI,

use MV45AFZZ user exit

FORM USEREXIT_NUMBER_RANGE

Reward points pls.

Regards,

Govind.

former_member183879
Active Contributor
0 Kudos

Hi

Pls try the user exit USEREXIT_NUMBER_RANGE in the end of the routine BELEG_SICHERN. This will solve your purpose.

NB: To use this user exit, I think you should be using internal number range assignment.

Reward if this helps you

Message was edited by:

Navaneetha Krishnan