Multiple BP number ranges

Hi,
I have to maintain multiple number ranges (per location). How is it possible to assign a specific number range based on the user who creates a BP. Scenario is to create a BP with grouping selected based on the user sales org.
Thanks.
Jacob.

Hi Jacob,
You need to write some Z code to achieve this functionality.
Go to transaction BUPA_EVENTS, and register your module under event BPNUM. In your module, you need to wirte the code to generate the number / choose the number range.
E.g :
You can use some 'memory get' module such as BUP_BUPA_BUT100_GET to get the info about which role is being created. Now,depending on the role, your code has to fetch a number. Or : use the relevant GET module to get user's sales area. Now, depending on the sales area, your Z module will choose a BP number range.
Your Z module will get called from within the standard FM BUP_NUMBER_GET, which assigns a number to a BP.THe Z module will override any default number the system chooses.
This will solve your problem.
Regards,
Rishu.

Similar Messages

  • Multiple Number Ranges for AP Document Type not getting triggered

    Hi all,
    We are posting receivables in the system using BAPI_CTRACDOCUMENT_CREATE. We have huge data of 3.9 million records for which receivables has to be posted. So multiple number ranges has been configured in the system for AP document type.
    The issue is even though multiple number ranges for mass processing are configured in the below location in SPRO, none of them are getting triggered. The number range at the first level on the screen is only getting triggered, due to this it is taking lot of time to post documents. Any help on this?
    Financial Accounting(new)
         Contracts Accounts Receivable and Payables
         BasicFunctions
         Postings and Documents
         Document
         Maintain Document Assignments
         Document Types
         Maintain Document Types and Assign Number Ranges
    Regards,
    Karthick.

    Karthick:
    Mass ranges are only used for FICA parallel mass activities.  For your situation, you can define and assign multiple ranges for individual processing in the same IMG activity.  Those would then be chosen for your mass postings.
    regards,
    bill.

  • Single Trip number range for multiple personal areas

    Hi,
    Can any expert suggest me whether can we use single trip number range for multiple personal areas.
    Thanks
    Srinivas

    Dear Srinivas,
    This can be done. Please follow the below logic.
    Create a new implementation (enhancement) in BADI  =TRIP_WEB_NUMBER
    Method = USER_EXIT_NUMBER_INTERNAL
    with the below codes.
    DATA:        LV_ZZTRIPTYPE TYPE PTRV_HEAD-ZZTRIPTYPE,
                         LV_CCLAND TYPE BUKRS,
                         LV_LAND TYPE T001-LAND1.
    Fetch the company code from the data inputed.
          SELECT SINGLE LAND1
           FROM     T001
           INTO     LV_CCLAND
           WHERE    BUKRS = ORGANIZATIONAL_ASSIGNMENT-BUKRS.
    IMPORT TRIP_HEADER-ZZTRIPTYPE  TO  LV_ZZTRIPTYPE FROM MEMORY ID 'ABC'.
      CASE ORGANIZATIONAL_ASSIGNMENT-BUKRS+0(2).
             CONCATENATE ORGANIZATIONAL_ASSIGNMENT-BUKRS+0(2) '01' INTO NUMBER_SUBOBJECT .
      ENDCASE.
    NUMBER_RANGE = 'Pass the number range'.
    This is an example on how this will work. Please modify accordingly for your company.
    Edited by: Rajagopalan Kannan on Jun 6, 2011 3:08 PM
    Edited by: Rajagopalan Kannan on Jun 6, 2011 3:11 PM

  • Multiple number range for planned order

    Hi,
    I want maintain different number range for MRP related planned order and manual creation planned orders. I have checked OPPQ and OMI2 transaction but i could not get any clue to create different number range for same plant. Let me know is how we can create.
    Regards / US

    Hi Uma,
    number range is dependent on plant alone and I don't think there is an user exit or badi to change number range at planned order creation.
    I guess the alternative is an enhancement or using some other field to determine what planned orders are manual.
    regards,
    Edgar

  • Creating Multiple Number Range

    Hi
    I am required to create strings of the following format: XXXXYYYYY. A customized program will read in a string of 4 characters (XXXX) and generate a running number (YYYYY) for it. Every unique XXXX has its own running number range. The strings XXXX are stored in the database. More XXXX could be added to the database in the future.
    For example,
    TA0100001,TA0100002....
    SB0200001...
    SB0300001...
    Is there a function to create the number ranges? Any advice on how I should approach this problem? Thanks!

    Hi,
         I will suggest two idea's for the same.
    Create one number range object for YYYYY and then append it to XXXX that is there in database, but here the number of strings that you can generate are limited.
    Another Idea is to create say 5 Nmber range objects.
    And have it like if XXXX is in range1 to range 2 use Number range object1 to get YYYYY.
    And if XXXX is in range 2 to range 3 then use number range object2 (Or interval 2 of the same number range object 1 that is if you want only one number range object and have 5 intervals instead of 5 number range objects.) to get YYYYY. With this you will more options for generating the required XXXXYYYYY.
    Transaction for creating number ranges is SNRO.
    Regards,
    Sesh

  • CRM ISA R/3 Edition on AP 7.0  Pricing Routine Number range error

    Hi Experts,
    For our R/3 ISA Secenerio I have developed a Pricing Prepare Routine (PRP). I have uploaded this routine into AP 7.0 ( which runs my IPC 5.0). Now when I try to register my PRP routine I'm not able to do so because of Number range not defined for Application V Scenerio A and Routine Type PRP.
    My question are:
    <b>1)</b> For a PRP type Routine( Multiple Implementation) is it important to assign a
        routine number?    ***( according to pricinguserexit manual dummy routine no
                                      has to be assigned)******
    <b>2)</b> If yes then how can i assign Number range for this combination.
    NOTE: AP 7.0 has SP 7 ( So it fullfills requirment for Special scenerio)
    I have never recieved a reply for my query from this forum... hope someone helps this time. <b>:)</b>
    Regards,
    Dipender Singh

    go to http://www.configuration-workgroup.com/ and find technical doc about IPC 5.0 that i presented at Marco Island in 2006.

  • Number Range in Excise Invoice

    Hi All,
    Is it possible to have different number range for the object J_1IEXCEXP(Export Excise Invoice).
    Currently we are having one excise group and one series group for one plant.
    According to the Material used in the document we need to change the number range.
    Please help
    Sthen
    Message was edited by:
            sthen

    Dear sthen
    To my knowledge, excise rule says that you can have different series groups per plant (one each for domestic, export and rejection).  So you should maintain only one series group for exports and hence maintaining multiple number ranges for export invoice is ruled out.
    Thanks
    G. Lakshmipathi

  • Number range of BP in the Organizational Model

    Hi
    I created in the transaction PPOCA_CRM my Org.Model when i save de data the system assign a number of BP to the unit, but i have two different Number Range; one to create BP's type 3 that is internal range and the second one i want to use for de Organizational Model but when i save de data the system assign the first one. (Note that the second one is internal too)
    Do you know any transaction where i could configure what number range the system have to take when i create the Organizational Model??
    Thanks in advanced
    :P

    Hi Susana,
    Unfortunately there is no unique transaction that allows the system to distinguish between CRM Organizational Unit and Business Partner assignments. Transaction BUCF is the transaction that you would go to create the number range assignments to busines partners. Whatever range you designate as the Internal Standard Grouping will be used to assign Org Unit BP Numbers as well as other business partners that utilize internal number assignment. What happens is that once you designate an internal standard group assignment in CRM that number range will be used for all assignments whether that is for Business Partners, Org Units, etc. You do not have the option to create multiple Internal Standard Group references.
    If you have a requirement to assign a unique number range to an Organizational Unit different than the business partners you create, some development will be necessary. I'm not sure how complex this will be, but I can imagine it won't be easy as you are restricted to only one internal standard grouping. Hope this helps.
    Gil

  • Best practice for Number range buffering in SAP BI for FI Cubes

    Hello Experts,
    I have a question regarding Number range buffering. What i have observed is if we use more number of background processes while loading data, it for sure creaets locks with NRIV table bcoz of more calls for bufffered numbers with multiple processes.
    But there is a clause in SNRO while we buffer 'Main Memory' that it should not be used for Financial documents. I understand that this is for serial assignment of numbers for Documents and acoounts on the backend ECC, but does this even stand true for DIM ID's which we are buffering while loading data into a FI Cube?
    I have looked up a SAP note 1398444, which talks about NRIVSHADOW and parallel buffering and different use case scenarios.
    Which one of those should be used if I need to buffer my Dimension while loading a FI Cube in BI with maximun background processes?
    Please help me understand the difference?

    hi,
    well the message is just like a warning to signify that  incase you load more number of new records then your existing limit of buffer then you will have to increase accordingly if no then you can ignore
    if you want to understand the reason it like this....
    if there is not sufficent buffers space available and then process would be rollback and the existing numbers will get lost resulting gaps between the document numbers and for applications like finance this is not desirable .
    see doc more details
    http://help.sap.com/saphelp_nw04/helpdata/en/95/3d5540b8cdcd01e10000000a155106/frameset.htm
    Also if you are not sure you ask your basis team for Early watch alert report in their you can easily see whether number range buffering is really required or not, if yes then for which object/dimensions
    Also check below SAP Note:449030 and 62077
    hope it helps
    regards
    laksh

  • In search of a 'special' number range of validator

    Hi,
    I am developing a JSF based web page with a text field that can hold numbers.
    I want to add number range to this text field so that user does not enter more than a allowed range of numbers.
    I am aware of multiple options JSF and its various flavors provide and below is the option I am considering -
    Add a validator which will be called upon typing the numbers and the validators returns with an error message shown on the UI.
    However, I was wondering if there was any validation any of the JSF flavors provide that can validate number range on typing and automatically truncate the number to the range provided.
    As an example, if the range is 0.0 to 99.00, as soon as the user types 100, the validation truncates the value to 10 by removing the leading 0. A error message would be even great but not mandatory. Similarly,upon typing 99.999, the leading 9 would be truncated making the value 99.99.
    The reason I am looking for such a feature is because I have a editable datatable with the date split into multiple pages with a richfaces scroller in between.
    I am using a doublerangevalidator facelet which does validation and shows error message alright. But I want the error message to persist even after going to the next page in the scroller, which is not happening right now.
    The idea is to have the user see all text fields that violate the number range as a comprehensive list of errors on the page.
    Since I am not able to achieve this using any of the validators provided by JSF RI or Richfaces, I am looking to atleast prevent the user from typing invalid data.
    Thanks for the help.

    anand_sridhar wrote:
    As an example, if the range is 0.0 to 99.00, as soon as the user types 100, the validation truncates the value to 10 by removing the leading 0. A error message would be even great but not mandatory. Similarly,upon typing 99.999, the leading 9 would be truncated making the value 99.99. Sounds like you need a converter instead of a validator. A validator is meant to validate the data, not to change the data.
    Have you looked in the converters corner anyway? Implementing one yourself isn't that hard.

  • Account group with Internal Number Range

    Hello Gurus,
    With Internal number range assignment to the Customer Account Group, I am unable to extend the customer from one sales area to another sales area with the same Customer number.
    If I am not it is a standard feature that irrespective of the number range (internal or external), with the same customer number, customer can be extended to multiple sales area.
    Please correct me if I am wrong and suggest a solution.
    Thanks in Advance

    Hello friends,
    No error message but the next number is getting allocated.
    in VD01 or XD01
    the following steps r followed.
    1. Enter the Account Group
    2. Sales Area (New Sales Area for the customer)
    3. Reference Customer.
    4. Reference Sales Area.
    Rather than going to the sales area directly, General area screens are appearing.
    Upon saving saving the details New customer number is getting allocated.
    I have no clue where I have gone wrong...
    looking forward for suggestions.
    Regards

  • Recurring Vendor Invoice- Number range problem

    I am trying to setup recurring invoice entry through FBD1 for my company code abcd. I entered KR as document type. I have already set up number range which is 03 for KR. after entering all field data on the first screen when I click on "first entry data entry" or "account assignment model", I get an error message"saying "in company code abcd, the number range x1 is missing for the year". 
    I am not sure what I am doing wrong.  My number range for KR is 03 and it is assigned to my company code abcd. Where is the 'X1" coming from? How i can resolve this?. Thank you for your advice.
    Rashid

    Hi Rashid,
    In FBD1, you only create a recurring document and this document is only saved in the system, not posted. This recurring document will be used to post multiple documents later on when you run recurring documents through F.14
    So logic is
    FBD1 document - Only saved. Never posted. Recurring documents use X1 number range in standard system and you need to maintain X1 range in FBN1.
    F.14 - When you run the above recurring document , document is posted and document type will be whatever you specify while creating recurring document in FBD1(KR in your case). System uses number range 03 when it posts a document from F.14
    Assign points if useful
    Thanks, Ashok

  • Number Range object skipping numbers SAP

    Hi All,
    Number Range object skipping numbers SAP "EINKBELEG" . While creating Purchase order with transaction code me21n, the purchase order is skipping odd numbers. I have checked the transaction code "SNRO" there is no buferring set on the object.
    Please help

    Are multiple users creating Purchase Orders at the same time?
    If yes then this is possible. Because Number Range (unique Number) is assigned to Purchase Order at the start of the Transaction (ME21N).
    Thus if multiple users are creating Purchase Orders at the same time & some of these users may have not saved the Purchase Order after partially creating it... This may lead to particular Number Range to be skipped as the following number is already assigned to some other Purchase Order.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • 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

  • RV_BELEG - Number Range Buffering

    Hi All:  I implemented parallel number range buffering for my client via transaction SNUM for object RV_BELEG which includes orders, deliveries, invoices, contracts, etc.  We did this because with the amount of users they have, when entering orders, they were getting short dumps upon saving orders and losing data.  Changing to parallel buffering was suggested from SAP.  It assigns a buffer of numbers to users as they log on or open sessions.  The user groups entering orders, deliveries and invoices had no issues with these documents being out of sequence.
    After we implemented this, the user group that enters contracts started to noticed that their document numbers were no longer sequencial and this is causing issues for them.
    I have searched OSS and the web to find a solution so that you can stop a single number range, in our case, for the contracts, from buffering.  All I have found is instructions on how to set up another number range for the same document type for certain sales orgs and then add the logic for this new number range and a custom talble in USEREXIT_NUMBER_RANGE.  This does not apply where you have all contracts types being entered by multiple users accross multple sales orgs.
    If anyone has any ideas, suggestions, solutions, please contact me.
    Thanks,
    Pam

    Hi Pam,
    As a suggestion, can you not make the buffer zero? I have made the buffer zero since the client was not particular on the buffer but they were very particular on the number range being sequential. They were ok with having the buffer as zero.
    So perhaps you can try talking to your client on the same lines and convince them to have a zero buffer if possible.
    Regards,
    Rohan Gudavalli

Maybe you are looking for