Regarding billing document number ranges

hi friends
       my requirement is with in one company code i am using 2 billing document types and i want the number ranges should start with the same number range
ex : 1st doc type is f1 and no range is  900000
        2nd doc type is f2 and no range is 900000
   in the above example if i generate the billing doc with f1 the no range should start with 900000 and after that if i generate billing doc with f2 i should get the no range should start with 900000 only
this is the requirement so is there any user exit for this requirement pls help me in this regard
thank tou
raghu

<b>USEREXIT_NUMBER_RANGE , (Module pool SAPLV60A, program RV60AFZZ)</b> is used for the internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
The way you can do is create a z-table, and using the document type assign the number range and increment numbers when the billing document.
Regards,
Gauravjit.
Reward Points if helpful

Similar Messages

  • Gaps in billing document number range

    Dear all,
    Our SAP system is getting gaps in number range for billing document. I have checked the buffering status for number range its status is "No buffering".
    SAMUNDER SINGH

    Dear Customer,
    In SD module, the gaps in invoice number may be caused normally due to         
    two reasons:                                                                               
    - update interruptions - the number is set in to the invoice at the            
    beggining of the program . If an interruption of the process happens          
    after the assignation of this number, the number has run in the range         
    and cannot be recovered. Update terminations in transaction VF01 and          
    VF04. The billing document number is reserved prior to the update.            
    After a possible update termination, it cannot be used again.                 
    Update terminations are displayed in transaction SM13. At present,            
    is no possible solution.                                                                               
    - Object RV_BELEG  is buffered. In this case the performace is improved        
      but this gaps are produced.                                                                               
    I am sorry to tell you that there is no way to solve the gaps or to            
    'refill' the missing invoice numbers.                                          
    There is a report RFBNUM00 that shows the gaps regarding the FI-               
    document numbers.                                                              
    But for the SD invoice numbers you could do a hardcopy of the update           
    termination that caused the invoice number gap; this termination can           
    be seen in the syslog.                                                                               
    We know that in different countries you have to explain document gaps     
    to Legal Authorities.                                                     
    For this reason there is report RFVBER00 to document gaps occured due     
    to an update termination. The report RFVBER00 does only list update       
    terminations that are not older than 50 days (or according to what time   
    is maintained in your system).                                            
    So it could be that this log has already been cleaned up.                 
    It is necessary that these update terminations are documented  before     
    the 50 days expire.                                                       
    Or a second possibility is that the gaps occured NOT due to an update     
    termination.                                                              
    Gaps without update terminations cannot be (easily) explained.            
    They can be (only) detected via report RFBNUM00.                          
    Report RFBNUM00 displays these document number gaps for the number range  
    object RF_BELEG.                                                                               
    The only thing I can offer to you is to monitor the  VBRK numbers         
    carefully.            
    To fulfill the legal requirements I would recommend to document the       
    number gaps but not to add any invoice numbers manually.    
    regards
    Claudia

  • Reservation of billing document number range

    Hi,
    it ios necessary for our project to have the delivery note number equals to the billing document number (as the invoice given to the customer is based on delivery).
    Is there any user exit in order to perform this ?
    Regards.

    Hi,
    As fas as i know there is no such exit,it is only left to user to maintain the discpline and keep a track of all the invoices cancelled as he has to delete a delivery also.
    I dont understand the business logic behind this requirement.

  • Billing document number range

    Dear All,
    With the same billing type how to maintain different number ranges for different branches?
    Advance Thanks.
    Thanks with Regards,
    Srinivasan

    You can use user exit as under:
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified
    in the billing type table and can be changed in this user exit. This
    user exit is only called when the billing documents is created.
    You will have to maintain a Z table to seggregate the number range & provide the logic to Abaper on what basis the numbers are to be seggregated, like in your case it is Branch. You will have to maintain relevant fields in Z table.
    Regards,
    Rajesh Banka

  • SD Billing Document Number Ranges exhausted

    hi,
    we have used separate number range for billing document for each plant. further within each plant uses five ranges - separate for Invoice, Sales Return, Credit Note, Debit Note & cancellation. we have used all possible combinations in FBN1. now there are no options available to define new intervals.
    requesting for help
    thnx in advance
    Regards,
    Sujata

    hi Hegal,
    thnx for the feed back. 
    the issue is with the avaiable options. we have used all possible combinations from 0 - zz
    there are no numbers available to define new intervals
    ======================================================================================================
    NO        From          TO         Current No
    00
    01               
    02
    |
    |
    ZZ
    Regards,
    Sujata

  • Reg: Billing Document Number Range Missing

    Dear all,
    in the system some billing documents are missing, when i try it to display it is showing no billing documents exsists.
    if it is deleted, it  should have shown cancellation docs atleast.
    also no auto-archiving is active in the system.
    pl help to trace those missing numbers.
    Thanx

    Hi,
    Please check the OSS notes 24279 - Missing billing document numbers in VBRK and reasoning for the issue in Note 19050 - Gaps in document number sequence for billing docmts.
    They might be of help to resolve your issue. The below thread also addresses similar issue.
    http://scn.sap.com/thread/3257408
    Thanks,

  • Profit Center Wise document number ranges

    Dear friends
    At our client place ECC 6.0 is implemented. The org structure is : One Company Code and 6 profit centers.
    Now the requirement is document number ranges at profit center level and not at Company Code level.
    Can we assign the number ranges at profit center level?
    Thanks in advance.
    Regards
    Kiran A

    Hi
    If you have new GL and PCA active, it would be very difficult to have Document Types assigned at profit center level. The document types are assigned at company code level and not profit center. There would be many transactions which would have multiple profit centers. How would you seggregate them, even if you use different document types as suggested for various profit centers?? Morever, most of the posting in FI come from other modules and are posted by the system because of the transactions in other modules. So it is practically not feasible to have profit center wise document numbers.
    However, for Indian Scenario, you can have SD Tax Invoices for every plant, where billing is done. Secondly, SAP has delivered excise documents to be numbered differently for every excise registration.This is to meet the Indian Reporting requirements.
    Regards
    Sanil Bhandari

  • Billing document number based on plant

    Hi friends, I have new requirement from customer
    Billing document number should be based on plant
    Ex: Range start from 900000 u2013 for plant ABC1
          Range start from 800000 u2013 for plant  ABC2
    How to achive this
    regards
    Satish

    Create a zee table say ZV_NUMRANGE for the combination of plant, billing type & number range object.  There maintain some objects according to plant and save.
    Next go to VN01 and maintain number ranges according to requirement and save.
    Finally apply USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ) and trigger the above table as and when VF01 or VF04 is executed.
    thanks
    G. Lakshmipathi

  • Credit Memo request with reference to Billing Document number via IDoc

    Hi,
    I want to create credit memo request with reference to billing document number via IDocs.
    I have tried through ORDERS05, but when I process I saw that it is only processing with reference to contract  number or quotation.
    So is any other way of creating credit memo request creation with reference to Billing document number via IDocs?
    Thank you in advance.
    Regards,
    Santhi

    Please Help... it is Urgent...  Thank you

  • Document number ranges changes

    Dear friends,
    While creating the document number ranges for current year, user wrongly changed the previous year number ranges, now it is giving new number ranges for new documents which are posted in previous year, how to reset the previous number ranges with out effecting the documents which are already posted.
    regards,

    Dear,
    It is the only way to insert a correct number rang to the current year, and change the document No which posted to previous year wrong  to the correct fiscal year. then correct the "current number" to the last one posted in previous year.
    But these corrections need necesary authorizations and ABAP knowledge.
    With Best Regards,
    Gladys xing

  • Document number ranges in entry view and in General Ledger view

    What is the difference between Document number ranges in entry view and in General Ledger view ?
    We have new GL activated in our system , and  found that the  GL Document types ( SA) are assigned to document number ranges in entry view . What is the need to define document number ranges in General Ledger view ?

    Hi,
    Document Number Range in entry view is the document numbers which are posting in your leading ledger. You cant achieve the same document number range to the general ledger view. A General ledger view can have both Leading ledger view and non leading ledger view therefore document number range should not be kept same for both ledgers as your running document number gets skipped.
    That to some times you can only post documents to only Non Leading ledgers. Therefore a separate number ranges needs to be created for general ledger view
    Hope u understood.
    regards
    srikanth
    Edited by: boddupalli srikanth on May 21, 2009 9:28 PM

  • Document number ranging

    How to do document number ranging in B1.How to see full details of G/L document.

    Hi,
    Go to Administration > System Initialization > Document Numbering > Here you can define numbering range for default series.
    Can you explain what type of detail you want.
    Regards,
    /Siddiq

  • Document number range - per fiscal year  and continuous

    Hi Experts,
    In document number ranges,  generally the FI dox have number ranges which start afresh every year whereas MM and SD dox have continuous number ranges over the years.  It is possible to have continuous number range for FI dox also, but not many people use this.
    Why this differenciation between FI and SD/MM? Why SD/MM also do not have fiscal year based number ranges?
    Also, where do we define that doc range will be year specific or not? or is it SAP standard that FI will be year specific and SD/MM will be continuous?
    Thanks and Regards,
    Sadhana

    HI Sadhana
    You have the option to have document rumber ranges either on fiscal year based or upto 9999 year.
    This can be done in FBN1.
    for posting material documents also above situation applies.
    normally everybody prefer to have fiscal year based number range as FI documents are more in number.
    You can go through other forum members  solution also
    Regards
    A Chandrasekaran

  • How to fetch Billing Document Number

    Hi All,
    i have Sold to party (kunnr), from this i need to find Billing document number and the corresponding Ship to party.
    i have used
          SELECT vbeln FROM vbpa INTO TABLE gt_vbeln
                                  WHERE PARVW = 'WE' AND
                                        kunnr = p_kunnr.
          if gt_vbeln is NOT INITIAL.
            SELECT KUNNR FROM vbpa
                                 INTO TABLE gt_kunnr
                                 FOR ALL ENTRIES IN gt_vbeln
                                 WHERE vbeln = gt_vbeln-vbeln AND
                                       PARVW = 'AG'.
            DELETE ADJACENT DUPLICATES FROM gt_kunnr COMPARING ALL FIELDS.
          ENDIF.
    the first select query is taking long time n it is going for dump, please suggest me the solution.
    Regards,
    Kumar

    Hi Kumar,
    I will recommend with the below solution:
    1. Select vbeln from vbrk...gt_vbeln
           where kunag = sold-to-party.
    2. if gt_vbeln[] is not initial.
       Select from vbpa...
           for all entries in gt_vbeln
           where vbeln = gt_vbeln-vbeln
                and parvw = 'WE'.  "Ship to party
        endif.
    If you have any qn / concern on the above soln, please let me know.
    Regards,
    Selva K.
    Edited by: Selvakumar Krishnan on Jul 20, 2010 9:21 PM

  • Create document number range 22 using internal number assignment

    Hi friends,
    now i am working upgradation project from 4.7 to 6.0. sandbox i created one Asset, After that i posed amount to that asset by using f-90.now i run depreceation in ABAF T code the bellow issue is comming
    Create document number range 22 using internal number assignment
         Message no. AA776
    Diagnosis
         Processing terminated because the document number range 22 for year 2011
         was set up with external number assignment.
    System Response
         For periodic posting of depreciation, you have to create a document
         number range with internal number assignment, since the document numbers
         are assigned from Financial Accounting.
    Procedure
         Change the number assignment for the number range 22 from external to
         internal in Customizing for Asset Accounting. See SAP Note 890976 for
         more information.
    But no ranges for that particular year having, if any changing that one it s not come edit or deleating
    ple any one help me
    Regards
    Gangadhar reddy

    Hi Gangadhar,
    after 4.6C the Internal Number Range was changed into external Number Range due to technical requirements.                                                                               
    As the error messages due to posting manual into the affected  number ranges could not be hindered in this case with ERP2005 the desicion was made to rechange to internal number range. Note 890976 describe what to do here.                             
    regards Bernhard

Maybe you are looking for