Number ranges of purchasing documents

hi
i need some sample coding for user exit  MM06E003 to set number range.
thanks!!.

Check the sample number range source code (Not for Purchasing) :
http://www.erpgenie.com/sap/abap/code/abap33.htm
Thanks
Seshu

Similar Messages

  • Alphanumeric number range in purchase documents

    Hi,
    Is it possible to create alphanumeric number ranges in purchase documents? For exemple (A000001 to A99999).
    If so, it's standard or do I need a enhancement?
    Thanks!

    Hi,
    Yes its very much possible
    Go for external number range assignment
    Take interval as A000001 to A99999 and check box - for external number assignment
    Regards,
    Uzair

  • Number Range for Purchase Document

    For example we have a document type for PR, PO, RFQ .
    Lets say PO, we have a document type for service PO as ZSER (customized) where the document range is maintained as
    460000000 - 469999999, now for last 3 years Po is being created and 1 lakh service PO has been created. One of the companies is using this PO range.
    Now one more company in our group is planning to implement SAP. The company code different.
    But the main issue is the server would be same. so we have to be careful while configuration.
    Now this new company will also create Service PO. So instead of creating new PO document type for Service PO, can i use the same document type but give a separate Number range  like  470000000 - 479999999.
    Can the above be achieved by some user exit.
    Please suggest.

    Hi,
    Go for User Exit MM06E003 & M06B0004 for PO number range based on Comp. Code.
    For more check the linkS:
    User exit for number range
    PO number range
    Regards,
    Biju K

  • Number Ranges for Purchasing Info Record

    Dear Guru's
    Number range  interval for Purchase info record  can be  created and assign to group and there are two group for Stock and Non Stock materials.
    Now my query is how the system pick the number range ??? Since we don't have any assignment like PR,PO
      My requirement is we have 3 company code - I need to have different number ranges for purchase Info  record for each company . Guide me to achieve ...
    Thanks in advance
    Regards
    Anand

    SAP has provided only Two standard document Types for Pur. Info Records.
    IL for Stock Material ( with matl No.)
    IN For material Group (w/o MMR).
    By default, if you enter Matl No. in the initial screen, system automatically picks the doc. type IL and the no. range assigned to it.
    If you're not entered matl. no. in the initial screen, and proceed the Transaction further, system picks the doc. type IN and prompts you to enter Matl Group.
    In the second case, the system picks up the no. range as per assignment.
    Here in your case, you want create a new no. range and assign to your IL/ IN.
    For this, you go to the transaction Define No. Ranges in Inforecord, from menu bar, choose Group-> maintain. Here you maintain your new no. range with a name. Now your new group is created with your required no. range.
    Then select your new group ( Check box), select, IL, and click assign button and save.. Your IL is assigned to your new group and system picks the new No. Range when you are creating a Inforecord with Mat No. Similarly, you can change No. range for IN also.
    or one more option you have.
    In the first screen of No. Ranges Transaction, select change intervals tab button, you'll be goto intervals screen. There, from Menu bar, choose Interval-> change current No. Then you reset your current no. to Zero, save it. The again choose Change Interval, then in that screen, change the Interval with your new no. range.
    Here in the second case, u need not maintain new groups. Just changing the Interval for the existing group.
    You can adopt any one of these options.

  • Is it possible to define a seperate number range for purchase requisitions

    Hi Experts,
    Is it possible to define a seperate number range for purchase requisitions that come from Forecast vs normal MRP requisitions so that our purchasing department can identify the origin of the document?
    Thanks
    for the thoughts
    Sreeni

    You'd need to figure out manually how forecast PR's are different from MRP PR's (the field from PR tables ) and then in the user exit I mentioned the program looks at the table T161 and field NUMKI, and if the PR getting created is from forecast change that NUMKI in the program to a different one else keep it as it is. If you're know abap programming it won't take long to figure out the logic else work with your developer to implement it.

  • Number ranges for purchase order in SUS- why?

    Dear Gurus,
    In SPRO settings, I have seen the option for defining the number range for purchase order in supplier self service system. similarly, there is an option for defining the number range for purchase order response.
    Why do we need to define the number range for purchase order and its response in SUS system? In SUS system, the purchasing documents from SRM and MM system create corresponding Sales Order and its follow-on document. So, we need to define the number range for sales order not purchase order.
    In spro documents, it says you need to define the number range only if you create purchase order locally in SUS.
    What does it mean?
    regards,
    Ranjan

    Hi Ranjan,
    Unfortunately in SUS, Sales orders are referred to as Purchase orders only. Hence any PO with a number say 450000000 that comes into SUS will have a corresponding number in SUS as 19000000.
    Sam has already explained the PO response part.
    Regards,
    Nikhil

  • Number Range for Purchasing Groups

    Dear All,
    I need to assign different number range for purchase order for different purchasing groups of same dosument type. In fact we want to distinguish purchase document depending on number range for different purchasing groups.
    Regards,
    Vikas

    Hi,
    Document type concept is used when your procurement process is differ from standard procurement processes , that time you can go for u201CNew document typeu201D. For example: Standard procurement document type is u201CNBu201D when you have procurement processes like sub-contracting and formal order, that time you used different document type other then u201CStandard document typeu201D with new respective number ranges.
    Also you have a way to keep different document type with number ranges if two company code there &  your business required to have PO document type with number range W.R.T. Company Code then can use User Exit M06B0003 ,MM06E003 & M06B0004 where you have option to have PO number range based on Company Code.
    But as you required different number range for purchase order for different purchasing groups, You can use centralized  & decentralized purchasing groups  & can have centralized  & decentralized PO document types and can control all authorization in basis side.
    Regards,
    Biju K

  • Po number range as per document type

    Hi All,
    How to configure PO number range as per document type? Like i want my service POs (doc type FO) with different number range than with document type NB.
    Regards,
    Shailendra

    Define document types.  Method
    Transaction: SPRO
    Menupath -> Materials Management -> Purchasing -> Purchase Order -> Define document types
    Select document types:
    Enter - Document type (NB) , Type description (Std PO with delivery) , Item interval (1) , NR rng as. (Number range assignment) as 01, Field selection (NB).
    Save the details entered.
    Then go to Define Number range (OMH6) or menu path Materials Management -> Purchasing -> Purchase Order -> Define number range
    Select Interval
    Define NO as 01 (Number range assignment already maintained in document types), then give from range, to range.  Current number is 0
    Hope you have understood and now you can link with number range with document types.
    Any clarifications, please revert back.
    Thanks,
    Ravi

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

  • Number range of  accounting document for different plants

    whenever a billing document is created in SD (using the T-code VF01); an accounting document will be simultaneously created in the FI module. one document type(TS,number range---60:1 to 9999 ) have four  plants .different plants have own number range and sequential document number .
    eg: doc. type   num.range    fr       to           plant cty       co code
             TS           61            1        1000       PLANT_1      3100
                            62           1001    2000       PLANT_2      3100
                            63           2001    3000       PLANT_3      3100
                            64           3001    4000       PLANT_4      3100
    How can that carry out this function ?
    thank you for your help !

    Hi leung,
      As Mr.Rohit has mentioned it has to be done with the z table and the available user exit.
    Wht we have done is.we have created no ranges in obj rv_beleg.Eg
    AA   0000000001 to 0000099999
    AB   0000100000 to 0000199999
    AC   0000200000 to 0000 299999.
    Using the user exit we have created a Z table.And assignd for this ombination in the Ztable.
    Plant X   Billing type A   AA
    Plant Y   Billing Type A  AB
    Plant Z    Billing type A  AC
    Once this combination matches the appropriate invoice no range gets picked up.
    Regards,
    K.Vivek

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

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

  • Internal number ranges  for accounting documents are not updating

    Dear Experts,
    We are existing user of SAP 4.6 C , are facing probelm while posting accounting document , the accounting document number ranges are not getting updated.
    When I post first document it got alloted first number from the interval when i post another document the system showing message Document Number XXXXXXX is already assigned to other document.
    And we have checked through T.C FBN1 and checked the number ranges where first document didn't showing in the alloted number range status.
    Early reply can be highly appreciated.
    thanking you.
    Regards,
    Y.Kiran Babu.

    hi Rajesh,
    check if any document exists with that number in table BKPF. Also check: the number (current number) you see in FBN1 should be the highest existing document number in BKPF (inside the range).
    ec

  • Billing Number Range problem ( accounting document not generated)

    Hi All,
    I have created some billing types and for them I have assigned some internal number ranges. Now when I create a billing document it is getting saved with the proper number range but no accounting document is getting generated.
    Also when I try to release the invoice I am getting an error which says " *Incorrect doc.no.: 10000009. Select document number between 0090000000 and 0099999999* "
    K I N D L Y     suggest  as U R G E N T.
    Regards,
    Danny.

    Dear,
              Billing Number Range problem ( accounting document not generated) is not an error because when you create billing document then accounting document not generated. Accounting done after posting of that billing document with VFX3 or VF02 T.Code by account department.
               And for second issue you had define number range between 0090000000 and 0099999999 for invoice so thats why it happen.
    Regards,
    Sandip Shaktavat

  • Different number range for Purchase requistion

    Hi,
    While converting Planned order to Purchase requisition (Manual Run), i need different number range for Purchase requistion for different plant.
    I maintained different number ranges in OPPQ, and maintained number range in OMI3, the number range which i ahve maintained as per the plant are seems to be not working.
    Can somebody help me in this..
    Kariya...

    hi,
    Please define the number ranges with respect to the MRP group OPPR,OM12 and OM13 with respect to the plant and try hope it helps
    Regaards
    sravanthi
    Edited by: Sravanthi683 on Jul 10, 2009 8:58 AM
    Edited by: Sravanthi683 on Jul 10, 2009 9:00 AM

Maybe you are looking for

  • My iPod Touch is not automatically recognised when I connect to my laptop

    I used to get an auto prompt when plugging in my iPod to my laptop with an option to download only the latest photo's. Now I do not have a prompt, I have to locate the iPod through Explorer and can only find an option to download all my photo's again

  • XML errors message (Product key not found/Invalid) in SNC5.1

    Hi, I am working on SNC project which includes POC scenario.I have completed all the required configuration in R/3 4.6c and SNC5.1 system. The master data (mat, plant,vendor and Info records) are CIFed from R/3 to SNC, BP and MoT created in SNC. All

  • IMovie clips freezing and lagging

    I created an announcement video with music, multiple clips, and sound effects in it. When I preview and when I export it, the movie freezes in several locations no matter what I do. Is there a fix for this yet?

  • How to change to new storage space?

    On www.apple.com/icloud i have seen that the icloud storage plans are changing. From pay by year to pay by month. Also it will be mutch cheaper. In the past for 5 + 10GB you have to pay 16€ per Year. For 5 + 20GB you have to pay 32€ per Year. For 5 +

  • Using SQL Server 2012 FileTables

    I like to know how to use SQL 2012 SP1 File Tables with SharePoint 2013 SP1