Gaps in customer number range

Hi SAP Gurus
We have been reviewing our customer master data and noticed that a series of GAP in our customer number range.
Please could anyone advise on what is reponsible for this and how it can be fixed.
Thanks, Felix

Hello Felix,
There are a number of reasons why gaps in invoice numbers may occur:
1. Object RV_BELEG  is buffered. In this case the performace is improved
   but this gaps are produced.
2. Update terminate/shortdump occures while billing document update.
   - 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,  there is no possible
   solution.
3. Incorrect userexit, eg.in Program RV60AFZZ,  USEREXIT_NUMBER_RANGE.
Please check the following notes in order to solve this incidence:
175047  Causes for FI document number gaps (RF_BELEG)
19050   Gaps in document number sequence for billing docmt
23835   Buffering RV_BELEG / Number assignment in SD
As you might need to answer to the auditor on the gap of the invoices,
report RFBNUM00 from note 175047 will help you to display
document number gaps to the auditor if in your country the FI document
numbers must be assigned continuously. You use this report to document
the number gaps and the auditor will accept it.
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.
As I already stated above 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 be (easily) explained.
They can be (only) detected via report RFBNUM00. Report RFBNUM00 display
these document number gaps for the number range object RF_BELEG.
Thanks,
Alex

Similar Messages

  • Customer Master data creation with customized number range

    Dear all,
    Can somebody know how to create the customized number range for customers like first 2 digits represents Sales organization and next 2 digit should represent circle,next 2 distribution chaneel and last 4 digits shold be the running number.
    Looking for solution..
    Thanks & Regards,
    Murali.

    Hi,
    In your case you need to define as following
    Step No: 01.
    01.Sales Orgination with 0001 to 0099.
    02.Regions with 00 to 99.
    03.Distribustion Channel with 00 to 99
    Step No:02.
    Define PDP with the diffrent account groups defined for diffrent Sales Org, Regions & DC's.
    Step : No: 03.
    As per the above configs go to TCode for Number range for accounts groups in  XDN1. Say Example as
    XX--- From:1010100000 to: 1010109999. Note the possiable numbers are 0000 to 9999 only.
    10 is sales Org, 10 is Region & 10 is DC's.
    This is one of the way to do. The other way is to develo Z table and to use the user exit / new progarme to identify the requried number range with reference to Sales Org, Regions & DC's
    Hope this is fine with your requrment.
    Bye & enjoy SAP.
    Koganti.

  • Customer number range

    Hi
    I have following requirment in customer number range,
    While doing conversion from legacy to SAP, Sold to number is 1234 and bill to number is  B1234, how can we do this, are there any user exit for this. let me know the solution please
    regards
    Satish

    Hi,
    suggestion -1
    I guess in standard SAP its not Possible,
    Actually the internal number are assigned through Number Range Objects defined through tcodes SNRO and SNUM.
    You have to change the number range assignments SNUM, but remember these number ranges defined are not transportable. They have to manually defined in each client/system.
    Check transaction VN01
    suggestion -2
    Even if I would not recommend that you implement such process, you can still have a look to BAdI CUSTOMER_ADD_DATA.
    There is a method to implement your own numbering.
    Regards,
    Raj

  • Gaps in vendor number range

    Hi SAP Gurus,
    I need your help in understanding the gaps in vendor number range,
    I have created an internal number range for a vendor account group and created many vendor for the same.
    However when I see the sequence of the vendors for that account group, I found gaps, can you please advise me why this gaps are generated by the system and where I can see the corresponding gap numbers in SAP.
    Thanks,
    Ramesh.

    Hi,
    Thanks for your quick reply,
    Can you please advise me in which SAP table I can find all gaps whcih occured due to deletion.
    Thanks,
    Ramesh,.

  • Custom number ranges

    hi
    i have one problem regarding creating custom number ranges. i want to create custom number range . i know that number_get_next is used for that but i dont know which tcodes are used for updating objects and number ranges in(NRIV ) table

    Hi,
    you can maintain number ranges in transaction SNRO. But maybe you should start with [SAP documentation|http://help.sap.com/saphelp_nw04/helpdata/en/1f/8310df4bc511d189750000e8322d00/frameset.htm].
    Cheers

  • Custom number range to sales orders

    HI Gurus
       I have a requirement to keep a custom number range to sales orders. The number range should start with X.The next two characters should be based on the user name. The remaning part is the sequence number. Please advice the best way to do it.

    HI Seshu
      If we need to use that user exit we should assign the number range as internal. From here you can select a number range but not the number. If we assign any number in the user exit then the vbeln is refreshed. I am thinking of creating externel number range and write some code in the field exit of vbak-vbelen. Will it have any side effects. And is there any number range object in SAP. I know in oracle we can create a number (counter). Please advice

  • Customer number range enhancement

    hi all,
    i have a problem on customer no. range.
    in sap we have int or ext no. range of 10 digits only.
    if we want a 11 digit no. range EXT and i.e DEFH0000034 THEN HOW TO DO THIS ENHANCEMENT.
    PL SUGGEST.
    BADLY NEED A SOLUTION FOR IT
    REGARDS

    2.1.1     Account Group
    2.1.1.1       Maintain Number Range for Account Group
    Use
    The purpose of this activity is to control number range of Account Group.
    Procedure
    Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparations for Creating Customer Master Data --> Create Number Ranges for Customer Accounts --> Select the Icon to maintain Number Range
    Transaction Code: SPRO
    Data to be maintained:
    No | From      | To | Current No | Ext (Tick in Check Box)
    01 | 0000000001 | 0000099999 | 0 | No
    02 | 0000100000 | 0000299999 | 0 | No
    XX | A | ZZZZZZZZZZ |      Yes
    2.1.1.2       Assign Number Range to Account Group
    Use
    The purpose of this activity is to maintain number range of Account Group.
    Procedure
    Access the activity using one of the following navigation options:
    IMG > Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Assign Number Ranges to Customer Account Groups
    Transaction Code     : SPRO
    Data to be maintained:
    Group | Name | Number Range
    0001 | Sold-to party | XX
    0002 | Goods recipient | XX
    0003 | Payer | XX
    0004 | Bill-to party | XX
    2.1.1.3       Define Account Groups with Screen Layout (Customers)
    Use
    In this step, you determine the account group of the customer.
    Procedure
    Access the activity using one of the following navigation options:
    IMG > Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Define Account Groups with Screen Layout (Customers)
    Transaction Code     : SPRO
    The groups indicated below are a few examples. There are many groups in Standard SAP & if we require additional Group, it can be copied from appropriate group & maintained.
    Group | Name
    0001 | Sold-to party
    0002 | Goods recipient
    0003 | Payer
    0004 | Bill-to party
    0005 | Prospective customer
    0006 | Competitor
    Select Sold-to-party > go to Details > Double Click on General data / Company code data / Sales data. It will take to next screen which details Tab Pages of General data / Company code data / Sales data. Double Click on Tab Page for example: Address, Control, Marketing & so on. Here you can maintain whether the field is to be Suppress, Req. Entry, Opt. entry or Display
    Regards,
    Rajesh Banka

  • Transporting Custom Number range Objects

    Dear SRMers
    System Information: ECC 6.0,
    We created Z Number range objects for Eforms in ECC system A , created a Transport Request with the tasks containing the individual Number range objects and, released the transports in SE10 and transported them to ECC System B (with  Basis Admin help).
    After the moving the transports, we see the individual custom  objects in System B, but the number ranges defined  are missing for each object. The Basis admin tried couple of approaches but was not successful.
    If any one has come across, this problem, please advice.
    Points will be rewarded for answers.
    Thanks in advance,
    Best Regards,
    Bob

    Hi,
    In transaction SNRO enter the Z number range.
    Press the "Number Range" button (F7)
    Press Interval-->Transport.
    That should create a transport for you.
    Cheers
    Rob

  • /RPM/ITEM_MODIFY is not taking custom number range for external ID during creation

    Hi Experts,
    I face an issue in trying to create projects through file using /RPM/ITEM_MODIFY.
    I have been successfully able to create both item and project but it somehow is not taking the external number range for project ID that we had defined for the item type. It takes the SAP standard number for Project ID (external ID). I want the FM to create using the external number range that we use.
    Can someone help me with this?
    Regards,
    Amit

    It is not through PS project. No linkage as we have not integrated this with PS. It is through item.. check the code. This is just to check how to create from backend. This is where we don't get our custom project id. it takes sap project id.
    DATA : ls_item_context type /RPM/TS_ITEM_CONTEXT.
    DATA : ls_attributes type /rpm/ts_item_d_api.
    data : ls_GUID Type /RPM/TT_GUID .
    data : ls_detail_guid type /RPM/TT_GUID.
    data : l_rc type i.
    data : lT_ATTRIBUTES TYPE  /RPM/TT_ITEM_D_API.
    data : LV_NRLEVEL type NRLEVEL.
    data : Lv_NRLEV type char20.
    ls_item_context-CREATE_CPROJECT = 'X'.
    ls_item_context-CPRO_TEMPLATE = '45A24B95FB43010200000000837FF54C'.
    ls_attributes-portfolio_GUID = '456C418E3AED018800000000837FF54C'.
    *ls_attributes-EXTERNAL_ID = '102680'.
    *ls_attributes-parent_GUID = '4576F8DCF90B01F800000000837FF54C'.
    ls_attributes-parent_GUID = '4717C6437A8D010A00000000837FF54C'.
    ls_attributes-Proj_description = 'NEW TEST'.
    ls_attributes-item_type = 'ZPEP_PT_31'.
    *Select single NRLEVEL into lv_nrlevel from NRIV where OBJECT = 'ZPEP_NPO'.
    *lv_NRLEVEL = Lv_NRLEVEL + 1.
    *lv_NRLEV = lv_NRLEVEL.
    *ls_attributes-EXTERNAL_ID =  lv_NRLEV.
    APPEND ls_attributes to lt_attributes.
    CALL FUNCTION '/RPM/ITEM_MODIFY'
      EXPORTING
        IV_LANGUAGE             = 'EN'
        IV_CHANGE_MODE          = 'C'
    *   IV_COMMENTS             =
    *   IV_SHORT_TEXTS          =
       IS_MODIFY_CONTEXT       = ls_item_context
    IMPORTING
       EV_RC                   = l_rc
      TABLES
        IT_ATTRIBUTES           = lt_attributes
    *   IT_ACLS                 =
    *   ET_MSG                  =
        ET_GUID                 = ls_GUID
        ET_DETAIL_GUID          = ls_detail_guid
    If sy-subrc = 0.
      CALL FUNCTION '/RPM/SAVE_CHANGES'
    *   EXPORTING
    *     IV_CHECK_ONLY           = /RPM/CL_CO=>SC_FALSE
    *     IV_REMOVE_OBJECTS       =
    *   IMPORTING
    *     EV_RC                   =
    *     ET_MSG                  =
        if sy-subrc = 0.
        endif.
      endif.

  • Custom number range

    Hi All,
    When ever i create a service order,i want the system to give the number with the year and serial number.
    i.e lets say i am creating a service order in the year 2009 or 2010,then the number of the order should be
    92009001 , 92010001.
    9 should be unique to all service orders.
    Please let me know how do i achive this requirement.
    thanks
    Sam

    Hi Sam
    Try this:
    Tcode: SNRO
    Object: CRM_SERVIC
    There is a checkbox for "To-year flag" which has the following help text:
    Flag, whether number range object is to-year relevant
    ID determining whether the number range intervals are distinguished according to To-fiscals.
    Hopefully this flag might give you an option to select the validity of your number range. Also you'll need a 10 digit number range since your format 92009001 will only allow you 999 service orders in one year.
    Hope this helps
    Rupesh

  • 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

  • Gaps in number range

    Hi All,
    Iam generating batch numbers in my enhancement using number range. If I exit from the application there are gaps in the number range. Is there any alternative for this?
    Thanks&Regards,
    Manjula.S

    Hi,
    I need to generate the batches in the middle of my application.
    Thanks&Regards,
    Manjula.S

  • Sequential numbers in non-buffered number range object

    I need some help pointing in the right direction to analyze and prevent a problem with a NON-BUFFERED custom number range object.
    This process works well.  Once or twice however, sequences have been created with an apparent delay and are out of order.  I don't know why, or where to look to diagnose the timing, etc.  It's very difficult to recreate.
    We have a custom number range object; ZFSEQ in SNRO that is responsible for assigning a sequential number to a series of flat files produced by number of different interfaces.  Those interfaces all use the FM  'NUMBER_GET_NEXT' and then they build a file name with that sequence number.  That object is not buffered.
    During heavy volume of updates (where lots of these sequences are being called and created by different interfaces, the table NRIV is locked and released by each interface.  During this time of heavy updates, we have an infrequent problem that has occurred where a standard sales order create created a sequence number that is greater than the sequence number generated by the delivery create.  (The delivery was created a couple of minutes later than the order, yet the order created a flat file sequence number greater than that of the delivery.
    I hypothesize that the flat file call for the order (using the  FM  'NUMBER_GET_NEXT') was somehow delayed(because of heavy lock/usage of NRIV).  The actual order document and delivery document were created normally.  I also am thinking that buffering on the object would prevent this.  I cannot at this time implement buffering on the object, but we are working towards that.
    The order create originates from our e-commerce system through a webserive, and in SAP, flows like this:
    Main webservice RFC:     Z_ORDER_CREATE
              Call Z_create_order_bgd  IN BACKGROUND TASK
                                      Call BAPI_SALESORDER_CREATEFROMDAT2 )
                                       MV45AFZZ--> userexit_save_document.
                                            call Z_FUNCTION_TO_GET_SEQUENCE
                                                      CALL FM  'NUMBER_GET_NEXT'    <---- order create sequential file created
              commit work.
    The delivery sequential file is created in
         MV50AFZ1  (the Delivery User Exit)
    Where can I look to conclusively see what happened to delay our sales order sequence?  What could be done to prevent it?
    Thanks
    Jeremy H.

    Just want to post the answer that we found to this issue and close it, though more comments are always welcome!
    We are going to move forward with buffering the Z object for the range as studies have shown and all other consulting input seems to be that buffering will solve this problem.

  • Number Range for Contact persons in SAP CRM

    Hi Experts,
    Can anyone brief me about the contact persons concept in CRM and ERP?
    How and where the the no. ranges are maintained , config settings, link between ERP and CRM?
    Standard Account group for contact persons in ERP and CRM?
    I would appreciate and points would be awarded .
    Best Regards
    Suchhi

    Contact persons can be maintained on both sides. In our case, we mantain contact persons mainly for needs of sales department, so we set master on CRM.
    How and where the the no. ranges are maintained , config settings, link between ERP and CRM?
    To define number ranges on crm side go to IMG>Cross-Application Components>SAP Business Partner>Business Partner> Basic Settings>Number Ranges and Groupings>Define Number Ranges
    For number range created you have to create grouping. This grouping has to be assigned manually or automatically when creating a business partner. The business partner gets a number from the number range that is assigned to the grouping.
    This can be defined under IMG>Cross-Application Components>SAP Business Partner >Business Partner>Basic Settings> Number Ranges and Groupings>Define Grouping and Assign Number Ranges
    For number range created inCRM system you have to define a corresponding number range in the ERP. This is necessary to ensure that business partners created in CRM system get the same ID when they are replicated to ERP.
    Go to IMG>Logistics>General >Business Partner>Customers>Control>Define and Assign Customer Number Ranges
    Next define account groups under IMG>Logistics>General>Business Partner>Customers>Control>Define Account Groups and Field Selection for Customer
    For each of CRM business partner classifications you have to define a mapping to an ERP account group. Run transaction code PIDE and do the mapping.
    And of course your middleware settings must also be in order.
    Standard Account group for contact persons in ERP and CRM?
    There are no predelivered account groups for contact persons.
    Regards.

  • Number Range Object maintained programatically

    Hi,
    I have custom number range object. I need to maintain this by programatically and NOT using transaction code SNRO. (ie create new instance, maintain Maximum number , delete instance etc)
    Anybody having a piece of code or info on this ?
    Your help will be appreciated.
    Thanks
    Sa_R

    hi Sa_R,
    u can try using the "ABAP Debugger",
    this transaction use the program "SAPMSNUM", go to SE80 and Display the Program, it's using the Function to show / edit the range's.
         CALL FUNCTION 'NUMBER_RANGE_UPDATE_INIT'
              EXPORTING
                 OBJECT           = OBJECT
              EXCEPTIONS
                 OBJECT_NOT_FOUND = 1.
         IF SY-SUBRC NE 0.
            MESSAGE A010 WITH OBJECT.
    maybe it can help u.
    Regards
    Allan Cristian

Maybe you are looking for

  • How to create a roadmap ui element dynamically in webdynpro abap?

    Dear  team iam new for webdynpro my question is how to create the road map programme dynamically using webdynpro could you tell me what are the steps i have to take, what are the elements i have to bind? and what code & where i have to write the code

  • Function types for Balance Sheet Planning missing in SEM-BPS 6.0

    Hi BPS experts, After upgrading our BI-system from SEM 4.0 to SEM 6.0 (level 10) as part of the upgrade from BW 3.5 to BI 7.0 (level 15), the BPS function types for balance sheet planning are not available in the planning environment (Transaction cod

  • Java.io.IOException: Server returned HTTP response code: 500

    Hi, I am connecting to a servlet from an applet to send and receive data using the following code. try URL servletURL = new URL("http://www.progressivecoding.com/servlet/gatesqlang");                URLConnection servletConnection = null;            

  • FI Substitution Routine (OBBH) - error in formula

    Hello FI Experts, I am an ABAPer. My requirement is to write a Subst routine(OBBH) using  call point 3 which checks for a given range of co codes (BUKRS) and reason codes(BSEG-RSTGR)  NOT equal to '   ' (space) at <b>document item level.</b> But i am

  • Movies shot with my Canon T2i playback in iPhoto '11 is jerkey

    Movies shot with my Canon T2i DSLR playback seems very jerkey. It seems like it plays a few frames and suddenly skips one, then the process repeats. Anyone know of a way to resolve this? I downloaded the same movie from my camera to my PC (running Wi