External number range for Sales Document

hi,
    I have a requirement to generate external number range for sales document. I tried this user exit (MV45AFZZ) to generate external number.
FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
Endform.
between these form and enform i written my logic and passing to US_RANGE_INTERN. But can one suggest where to write to generate external number range.
Can any one help me out.
Thanks and regards,
Vijay.

Hi
Here you can assign a different number range for your sales order.
The number range is linked to the order type (field VBAK-AUART), this link is done in customizing.
It usually uses this routine if it can't assign the range in customzing because (for example) for different sales area it need have different number ranges for the same order type.
So you should create an external range by trx SNRO and then assign the number before entering in the main screen of va01 or saving the document.
When you need to assign the number depends on how you want to manage your range.
If you assign the number in entering you has to make sure to not assign the same number document to severals order to be created in the same time by several useers.
Max

Similar Messages

  • External Number Range for Billing Documents

    Hi Friends,
    Can any pls tell me how to create external number ranges for billing documents. We are trying to Map the Invoice nos from POS system to create and match the billing nos in both the systems. Pls help on how can I do this.
    Thanks
    Raj

    Check this thread
    [Re: Customize Billing Number Format|Re: Customize Billing Number Format]
    thanks
    G. Lakshmipathi

  • External number range for billing document (Invoices)

    Hi guys,
    I have a requirement from one of client to implement external number range for billing documents.
    I can only see a provision for internal number range in customising for Billing document type.
    Please can you assist me with detailson how to set up external number range for billing documents (Invoices).
    Thanks, Felix

    Hi Felix
    I think the similar requirement is in Venezuela also.
    So pl. check the SAP Note 849438 . As per the note :-
    The solution is delivered in the indicated support packages. In case you can not implement the correspondin support package for your release immediately, please follow the procedure described below:
    1. In the Data Dictionary Editor (transaction SE11) please open the definition of domain J_1AOFFNREL, go to the fixed values and add value 'P' with description 'Number Assingment using Prenumbered Forms' in a position so that the possible values remain sorted alphabetically.
    2. In the Message Editor (transaction SE91) please go to message class ICC_CN and add the new message 837 with text '&1: Official doc. numbering is not available for delivery documents!'.
    3. If you are implementing the note in release 4.6C, please create the following function modules:
    o     OFF_NUMBER_LOCAL_ASSIGN_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_ASSIGN_TW
    o     OFF_NUMBER_LOCAL_NUMBERING_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_NUMBERING_TW
    o     XBLNR_BUILD_AND_SPLIT_VE in function group IDSDCNUTIL, and then copy the interface (all parameters and exceptions) of the function module XBLNR_BUILD_AND_SPLIT_PECL
    4. Implement the source code corrections as shown below.
    The following customizing actions should be also executed when the solution by delivered by the corresponding support package. If you applied the solution manually, then please use the IMG activities listed in the section Cross-Application Components -> General Application Functions -> Cross-Application Document Numbering -> Taiwan as a reference. After the installation of the corresponding support package the customizing node for Venezuela can be used.
    1. Enable the use of business place for country Venezuela as described in the OSS Note 726537.
    2. Define the necessary document classes and configure the document types you would like to get an official document number as relevant for official document numbering in the desired mode. Please check the OSS Note 571376 for some explanations about the meaning of the different settings.
    3. Define the necessary number ranges and intervals and assign them to the combination of company code, business place, document class and validity period. If you use the customizing activity for Taiwan, then please leave the prefix field empty.
    Regards
    Amitesh

  • External number range for GR document

    Hello,
    1.  Is it technically possible to create external number range for GR document (material document) - Note, PO is also having ext number range
    2.  Is it adviseable to create ext num range for material docs?
    Thanks
    Regards

    hi,
    1. it is possible to create external number ranges for GR document.
    in spro config settings:  use transaction OMBT and in that enter a number range and check that external number range check box.
    2. it is not advisable to have external number range for material docs --> because for every movement of the material end user has to giva an entry for material document.
    hope this may help you,
    regards,
    srinivas

  • Year wise Number Ranges for Sales Documents

    Hi,
    Can any body tell me how to reset number ranges of SD Documents when fiscal year chane.
    Thanks

    Hi Kapildev,
       In standard functionality this function is not there you need to look forward for user exit. 
       Check this:
       User exits in the program MV45AFZZ
    USEREXIT_NUMBER_RANGE 
    Use this user exit to define the number ranges for internal document number assignment
    depending on the required fields. For example, if you want to define the number range
    depending on the sales organization (VKORG) or on the selling company (VKBUR), use
    this user exit.
    The user exit is called up in the FORM routine BELEG_SICHERN.
    Thanks,
    Swamy H P

  • Exit for assigning external number range to sales document

    hello friends,
    can anyone help with this issue.in tcode 'vn01' we are assiging internal number range but we dont want that number range that is external number range rather than using internal number for sales document.i.e the number range should start with 'ufc'followed by some number range.
    plz reply as soon as possible .
    thanks and regards,
    siri

    Hi Sirisha,
    I believe you can assign external number range manually by using transaction SNRO and then assign the number range before entering into the main screen of  VA01 or saving the document.
    The number range is linked to the order type (VBAK-AUART), this is done in customizing.
    For different sales area it need to have different number ranges for the same order type.
    Please see that the same sales doument number should not be linked to several sales orders which are to be created,if I am not wrong
    Regards,
    Naresh
    ****Please do reward points if found useful

  • Number range for sales document type

    Hi,
    I am having 1 client under that 5 company codes, ade according to that 5 plants & 5 sales organization.
    so for one comapany code including all there are 15 sales document types same for other also
    my question is
    How can I assign number range for all that?
    If i am going to maintain seperate document type it goes to 75
    which userexit will help me out for this?
    without userexit what is the otherway?
    regards,
    Rahul

    Not only at order level, you will have to use exits at delivery and billing document level also.
    For sales documents:
    Exit USEREXIT_NUMBER_RANGE in MV45AFZZ
    For delivery documents:
    Exit USEREXIT_NUMBER_RANGE in MV50AFZ1
    For billing documents:
    Exit USEREXIT_NUMBER_RANGE in RV60AFZZ
    You need to give tables for maintaining numbers for sales, delivery and billing documents. In the exit a select query can be written to fetch the data based on the parameters like sale orgainzation, company code etc.
    Regards,
    GSL.

  • Number Ranges for sales document type

    Dear All,
    I have four company codes. I am assigning the same sales order type for all company codes.
    I want to have diffrent number ranges for diffrent company codes for same sales order type. Is this possible?
    Please advise
    Regards,
    Deepu Pillai

    Dear Deepu,
    A similar kind of requirement, has been stated in to the following thread:
    [Different S.O. No. Range|Re: User Exit No for assign a different internal document number to VA01;
    Include Program: MV45AFZZ
    User-Exit: USEREXIT_NUMBER_RANGE
    In the above thread, the routine has been modified as per the requirement "Different S.O. No. as per Sales Org."
    You may Discuss the same with ABAPer to modify Routine in FORM USEREXITNUMBER_RANGE_; as per the requirement: "Different S.O. No. as per Company Code"
    The user exit is called up in the FORM routine BELEG_SICHERN.
    You need define the number range depending on the selling company (VKBUR)
    Tabl
    Best Regards,
    Amit
    Note: For further assistance, if Reqd.:
    [SD Doc. No. Range Enhancement|http://www.saptechsolutions.com/pdf/SDDocumentNumberRangeEnhancements.pdf]

  • External number range for Billing Document

    Hi Gurus,
    Can you please let me know how to get the external number for the invoices? I know there is no standard way but if there is a way around to determine it. And the external number should be first 2 places are alphanumeric and dynamic and the next 2 places are also alphanumeric but constant and the rest of the digits should be a serial number of length 7. So, the total length of the number range should be 11. Please let me know if there is way to determine it this way.
    Example:
    AB + HY + 1000001
    CD + HY + 1000002
    Like wise.....
    Thanks in advance.
    Regards,
    Gangi

    hello, friend.
    you can define your number ranges using VN01.  in here, you can set up alpha numeric ranges and specify external.
    technically, you can assign this set to the billing type using VOFA. 
    however, it is not best practice to assign external number ranges to billing types, as it is possible to 'jump' the sequence of the numbering.  you do want to keep track of the sequence of billing docs.
    a possible exception is if you have an external billing software which generates a number, which you will then capture in SAP.  barring exceptions, it is best to retain internal assignment.
    regards.

  • External Number Range for Billing documents in CRM

    In CRM, billing document external number range can only be numeric or alpha, but NOT alphanumeric. Is this a bug or is there some legitimate reason to have this limitation.
    This question stems from a data conversion where the legacy system invoice numbers are alphanumeric. So when we try to convert those invoice numbers, CRM cannot handle the external alphanumeric number.

    Check this thread
    [Re: Customize Billing Number Format|Re: Customize Billing Number Format]
    thanks
    G. Lakshmipathi

  • The number range for sales documents

    Hi all,
    I have difined a new number range intervals, but the "current number" doesn't match with saved sales documents' number.
    I guess that's because there are old saved sales documents are remained in the system which had saved before I defined a new number range intervals.
    Is there any way to delete past saved sales orders so that newly defined numbers are going to be assigned?
    Thank you.

    To Lakshmipathi,
    Thank you for your prompt reply. very appreciated.
    ok, so now I understand that I can't delete saved sales orders from the system if these are important documents such as billings.
    so If it's impossible to delete old documents in the system, I still need sales documents' number to match the numbers which I have newly defined.
    For example, I recently defined a interval no. as below, 
    Interval No.      From Numer         To Number          Current Number
    Z1                    010000000          019999999          010000503
    I have assigned the interval no. "Z1" to a sales order type. and then created a sale order using the sales order type.
    The sales order No. showed "010000504" which looks fine. But when I go back to the customizing to see how the "Z1"'s current number has changed,(I expected it to be "010000504"),  I find the current number now became totally random number such as "010000913".
    From here, again when I create sales orders, it is "010000505", "010000506", "010000507",,,,,and so on.
    But the current number doesn't change at all from "010000913".
    I'm lost and need a kind help from SAP pro.
    Thank you very much,
    Best regard
    Misaki Nagaya

  • Regarding number ranges for sales documents.

    Dear Guru's,
    There are 2 number range fields in defining a sales document(i.e Int. &  Ext.).
    Actually we specify either internal or external ,but if we specify both what will happen.
    Thanks in advance,
    Cherukuri

    Hi,
    The number ranges can be either external or internal. If it is external internal you need to mark it in the VN01 and at the same time delete the internal assignment number in the VOV8. If the internal assignment field in VOV8 is not blank the system will keep generating internal numbers.
    If it is external no. range the current no. that is being used cannot be seen on the VN01 screen. And while creating the sales order itself the sytem will prompt you to enter a number between the available range. If you dont enter the same system will not allow you to proceed further.
    Kind Regards
    Chakradhar

  • Document Number Range for Sales Documents

    Hi,
    Can we maintain Same number range at company code level?
    eg. client 800
    company code:- X(Sales order no 1001)
    company code:- Y(Sales order no 1001)
    Regards,
    Amol.

    Hi,
    You need to develop a new table for intervals and for number ranges use standard table NRIV for from and to numbers.  The tabel structure as -
    Company Code      Billing Type          Interval No
           1000                     F2                      01
           2000                     F2                      02
    NRIV Table
        Interval No        From            To
             01            10000          20000
             02            11000          21000
    But as your requirement of same series will not happen in same client.
    Rewards if it helps
    Regards
    Goutham

  • External Number Range in SD Document

    Hi,
    I have created a external number range for SD documents & also updated the same in Std order type OR. But when I create any sales order system is not picking the no. from this Ext. No. Range Grp.
    Plz help me out in thie matter.
    Regards,
    Mahavir

    Dear Mahavir Patil,
    For this create the number range in VN01 with the number range object.
    Go to VOV8  select your order type and give the number range object to No. rage wxt assignment. save it.
    Go to va01 and give the number manually according to the range what you have created in VN01(starts with first number in the no.range)
    Please check and revert
    Thanks&Regards
    Raghu.k

  • EXTERNAL NUMBER RANGE FOR INVOICES

    Dear Gurus,
    Plz tell me how do we put external number range for billing documents.
    this option is not there in VOFA.

    Hi Anil,
    Hi,
    Number Ranges are maintained in T.Code: SM30.
    Provide the Table/ View, say Bill_Num for example.
    In Tab: Restrict data Range, Click Radio button: No restrictions and Click Tab: Maintain.
    In new window, maintain all the combinations for Columns: Sales Org, dist. Channel & Bill type and no values in IntNR.
    Save the data.
    I hope this will work.
    Regards,
    Amit

Maybe you are looking for

  • How to convert MDT scenario RPT0 to launchpad

    Hello, I'm trying to turn on the reporting launchpad in MSS.  I am trying to use the delivered scenario of RPT0 and I've added a new tcode function to it.  When I run the IMG step "Convert MDT Data to MSS Reporting Launch Pad" I get the message that

  • Is there a way to have last years Google calendar on my pc NOT show up on my ipad?

    Is there a way to have last years Google calendar on my pc NOT show up on my ipad? I need to keep a record of it for business purposes, but I need to free up some memory on my ipad.

  • Why can't I get a DVD to play through a projector via my SuperDrive?

    I have a brand new MacBook Air 13" with an external superdrive connected. I connect an external Epson projector to display my screen up on the wall. When I insert my DVD in the Superdrive I can run it on my MBA screen no problem but it will not proje

  • Remove header from a csv output in Bipublisher

    Hi All, I am generating a csv output from a Bipublisher report. The problem is I am getting the header (Column Names) in the extract. I hAve removed the column name header from the rtf template. Please let me know if we have to change any setting any

  • How to access survey and poll portal?

    hi, i got through the document and that say, this is the out of box facility. how can i make a portal link, by clicking that i can access the survey and poll facility? please give me steps? dhananjay