Skip to Content
author's profile photo
Former Member

Number ranges per sales org for various SD-documents

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    author's profile photo
    Former Member
    Oct 12, 2007 at 04:19 AM

    Hi

    User-Exit USEREXIT_NUMBER_RANGE

    The user exit is called up in the FORM routine BELEG_SICHERN

    Refer below link on sdn

    number-ranges

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 12, 2007 at 07:32 AM

    Hi..

    Try..

    MV45AFZZ user exit

    FORM USEREXIT_NUMBER_RANGE

    REWARD IF UF INDS THIS AS HELPFUL..

    Regds

    MM

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 12, 2007 at 06:59 AM

    HI,

    use MV45AFZZ user exit

    FORM USEREXIT_NUMBER_RANGE

    Reward points pls.

    Regards,

    Govind.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 12, 2007 at 03:02 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Mar 11, 2011 at 12:01 PM

    Thanks everybody!

    Add comment
    10|10000 characters needed characters exceeded