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).

View Entire Topic
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.