Skip to Content
avatar image
Former Member

number range

How can I define plant wise number range in sales order and billing .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 01, 2007 at 05:01 AM

    Use include MV45AFZZ in SAPMV45A Program

    FORM USEREXIT_NUMBER_RANGE

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 01, 2007 at 05:36 AM

    hi

    'u have to use user exits for plant wise billing and for order

    this is for billing

    Different Billing Document Number range based on Company code / Plant Code for the same billing type.

    The Following are the example for different invoice number based on Plant.

    Use the Exit RV60AFZZ.

    FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.

    if (

    xvbrk-fkart = 'ZF3' or xvbrk-fkart = 'ZF2' )

    and xvbrk-vkorg = '1000'.

    case xvbrp-werks.

    when 'AGR'.

    us_range_intern = '22'.

    when 'AHD'.

    us_range_intern = '28'.

    Endif.

    ENDFORM.

    USEREXIT_NUMBER_RANGE includes in MV45AFZZ

    for sales order i think u have to use MV45Afzz

    Add comment
    10|10000 characters needed characters exceeded