Skip to Content
avatar image
Former Member

Billing number range

Hi,

I have scenario sequence like Order type: ZES1, Sales area (1001-10-11) & plant 1002 and another Order type is ZES1, Sales area (1001-10-12) & plant 1002.Different of two sales area : 11 is defined for Hand pump division & 12 is defined for Drip division.Client requirement is they will be same Pricing procedure "ZINIMP" both for Order type ZES1 and when they will raise Billing document at that time it should be picked up different number range, e.g, 21108001 & 41311001 but it is picking up 21108001 & 21108002. How system differentiate the No.range and where ? request for quick response.

Regards

Jibanjyoti

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    May 21, 2011 at 09:14 AM

    Hi,

    You need to use USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ) to achieve this. Normally you define the number ranges in a Z-Table based on the plant code. Take the help of an ABAPer for this.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 20, 2011 at 09:46 AM

    Hi

    The number range will be maintained in billing document type(eg.F2) in VOFA.

    You can have 2 billing types for two Sales area still having same pricing procedure. Create one more billing type or copy from the existing one and Assign diff number ranges in billing document types.Number range can be maintained in VN01.

    Do revert for if you have any doubts

    Edited by: ta.adithya on May 20, 2011 11:47 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 20, 2011 at 09:54 AM

    you need to define 2 number ranges as your requirment and assign in VOFA billing type one, next one will pick when division is "12" You can change billing document number range in your billing user exit, take abap help in development.

    USEREXIT_NUMBER_RANGE, Module pool SAPLV60A, program RV60AFZZ

    check this llink for more infor

    http://saptechsolutions.com/pdf/SDDocumentNumberRangeEnhancements.pdf

    Edited by: ram ki on May 20, 2011 11:54 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 20, 2011 at 10:22 AM

    3 steps

    1. Create the number ranges

    2. Define a table with the sales area and assign the number range as per the created number ranges.

    3. Write the code in USEREXIT_NUMBER_RANGE to pick up the designated number range while invoicing by passing the sale area.

    Thanks

    Indranil

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 21, 2011 at 04:23 AM

    Hi Jyoti,

    Use the enhancement USEREXIT_NUMBER_RANGE, Module pool SAPLV60A, program RV60AFZZ. Maintain a Ztable and get from there.

    Regards,

    Madhu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 21, 2011 at 07:41 AM

    Hi,

    This is possible with the help of a user exit & maintaining a Z-Table on the basis of your combination. This can be done for sales order, billing & delivery documents.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 01, 2013 at 11:12 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded