Skip to Content
author's profile photo Former Member
Former Member

number range

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2007 at 05:01 AM

    Use include MV45AFZZ in SAPMV45A Program

    FORM USEREXIT_NUMBER_RANGE

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.