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

Similar Messages

  • 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

  • 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

  • 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]

  • 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

  • User exit for VA01 - No range for sales document type

    Dear Experts,
    In our project, we have 8 sales organizations and these are assigned to 8 different company codes. Actually our client doesnt want to maintain different document types for each Sales Organization. We need to maintain one document type for all the sales organizations and different No ranges for each sales organization. So can any one guide me on User exit available for this purpose.
    Thanks & Regards,
    Rahul

    hi,
    pls refer to the following user exit.
    Include prog : 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.
    reg
    Deepak

  • How to setup number range for Material Documents created by goods movement

    Hi Experts,
    Good day!
    Would you know what table or transaction code we could setup or configure the number range for Material Documents number created by goods movement?
    Thanks. Have a wonderful day!
    Rockz

    Hi,
    Tcode - OMBT
    Regards,
    Vivek

  • How to determine number range for billing document based on company code ..

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...plz help me!!

    Hi Amit,
    1. Define different Billing Document number ranges in  SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
    e.g.
    NO.  From number To Number    Current number  Ext
    A1   0930000000    0930999999
    A2   0940000000    0940999999
    A3   0950000000    0950999999
    2. Define a Ztable ZNUMB_RANGE as follows
    Comp. Code | Tax departure country | Billing Doc Type | Number Range
    100                IN                               F2                      A1
    200                IN                               F2                      A2
    200                US                              F2                     A3
    3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
    Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
    If found pass this number range value to us_range_intern.
    us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
    Let me know if you are clear.
    Thanks,
    Mandar

  • Urgent : Unable to maintain the Number ranges for Excise Groups

    Hi CIN experts............
    In Development server I created 3 excise Groups (E2,E3 and E4), the same I was transported to Production.
    J_1IRG23A1, J_1IRG23A2 object number ranges are Excise Group specific.
    When I go to Tools - Number Ranges to maintain number range for J_1IRG23A1, J_1IRG23A2 objects I didn't find these excise groups.
    Im able to see these Excise groups in Tools - Number ranges in Development server, but not in Production.
    Can any one guide me something to resolving the issue ?
    regards
    Durga Ram

    Hello Nagaraju,
    Can you please tell me the customozing path for maintaining the number ranges for PM log entries.
    I require to mention customizing path in my document.
    Puneet

  • Number ranges for material document (migo) and inventory  documents

    Hi Gurus,
    We need a different number ranges for goods receipt documents  and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
    If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it  is the single transaction code used by different companies and how to give different number ranges.
    Regards,
    Sri........

    Hi,
    I think number ranges of inventory documents are on client level not on company code wise . because even though  your creating new document and assigned different number ranges for the documents but  these while assigning  ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level  not at company code level.

  • OMX4 - FBN1 - Number range for Material document and FI document

    47 - is for FI document number range in Material ledger FBN1.  OMX4 gives number range for Material document.  My question is how big the number range must be?  Since thousands of Materials involved, I couldn't imagin this?
    Anybody knows, how to determine the size of no. ranges in Material Ledger configuration?  SAP simply says, check no. ranges whether it meets the requirement....
    I don't expect an answer again, just check your business, how many transactions would be in a period, which is not quantifiable now?
    I would like to understand this from somebody's experience of using insufficient or excessive no. ranges, especially in this area.
    Cheers,
    Ashok

    What is the number range you are using? Year Dependent or Independent?
    When you don't know the document number consumption pattern you should use Year dependent number range in both OMX4 & FBN1. Observing this for a month will give a rough Idea and observing for a Quarter will give you a fair Idea and the result for a year gives almost near to accurate consumption of number ranges.
    The generation of documents is dependent on the number of materials and Profit centers involved. As much as possibe use Summarization at profit center level when posting to FI. This will reduce the number of documents and line items that are getting generated.

  • Number Range for Logistic Documents For Different Company Codes

    Hi all..
    I need to numbered the logistic documents for diferent company codes (#60) but the number ranges for al those documents should be generated separately according to each CC.
    I've read in other thread that I could use the user exit MM06E003, but it seems that only works for PO. There is also a tweak for GR/GI, but..  any idea for all the other documents?
    Thanks in advance.
    Guillermo (Willy)

    Hi
    using the User exit you can change the Numbers Rnage for the LIV Documents based on the Compnay Code
    LMR1M003 Number assignment in Logistics Invoice Verification
    Thanks & Regards
    Kishore

  • Define a number range for settlement documents

    Hello,
    We are getting below error while doing T-code AIBU asset settlement.
    Define a number range for settlement documents
    Message no. KD 522
    Diagnosis
    No number range for settlement documents defined in controlling area ACA2.
    The settlement document is a document type in its own right, which is used for cancelling settlements and repeating month-end closes.
    Procedure
    Define a number range for settlement documents. Choose Maintain number ranges for settlement documents.
    Thanks,
    Ratnam

    Hi......
    Try to use the following T.code : SNUM,
    1. Group -> Maintain and Group -> Insert
    2. Give your number range a description.
    3. Specify one interval for the number range. If you use up this range, you can add more intervals.
    4. Select one or more of the controlling areas listed in the block "Not assigned".
    5. Place the cursor on the number range to which you want to assign the selected controlling areas.
    6. Use Assign element group to assign the controlling area(s) to the appropriate number range and save your entries.
    Note that all intervals for the selected number range object are deleted in the target system first. After the import, only the intervals you export are present. The number statuses are imported with their values at the time of export.
    Dependent tables are not transported or converted. Note that the appropriate application table is also transported for number range objects used for group maintenance.
    And use :OKG6
    I hope you will get some idea.
    Regards
    vamsi

Maybe you are looking for

  • Reg: copying standard message mapping

    Hi, Can any one suggest me how to copy the standard message mapping.. I have copied it in normal way...but its not getting executed... when i try to execute the standard map with same payload, then it works fine... << Moderator message - Please do no

  • CS6 apps not updating through creative cloud app

    Notifed that I have bug fixes available for my CS 6 applications, the fixes fail to install, even though they look like they downloaded ok. Console messages not that clear about problem Mac OSX 10.8.5. Steve

  • 'Photoshop has stopped working' (branched)

    I am working with a new system running win 7 pro with all the latest updates.  I just purchased CS5.5 Web Premium and installed it.  DW and AI are working but I cannot get PS to stay up long enough to do anything at all before I get the "Photoshop ha

  • Download assistant with no products and can't login

    What is the download assistant using for username and password when it tries to sign in ? How can one change what it uses if it is in error ?

  • 9i client installation program "hangs up"

    Hope some one can help with a problem I encountered while trying to install the version 9 client on my windows machine. I downloaded the version 9 client for windows (twice to be sure it was not a corruption issue). When install it using the oracle i