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

Similar Messages

  • 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 Purchase order

    Hi MM Masters,
    Kindly give the solution in SAP for the following scenario.
    The organisation consists of 5 company codes and 16 plants.
    How to maintain the Number ranges for the Purchase orders Plantwise?
    This requirement is for easy identification of Purchase orders on the basis of plants.
    Like for Plant 1 - 4500000000 to 4500050000
               Plant 2 -  4500050001 to 4500060000
               Plant 3 -  4500060001 to 4500070000 etc.
    Kindly guide me. This requirement is urgent.
    Regards
    Yoganarasimha

    Hello Raj,
    You need to define number range as usual, but when using the user exit at that time you need to give logic as per your requirement. Purchase order will allow to create two different line item for two different plant under the same company code so you need to consider that also (if using company specific or multi plant assignment for one purchase organization).
    Work with developer for coding and expain him/her the logic, I am not technical expert so regret for not helping on coding.
    Hope this helps.
    Arif Mansuri

  • Number Range for Purchase Orders

    Hello All,
    We need to Assign the Number Range of the PO's based on the Document Type & Plant.
    This is as per the Client's Requirement.
    I am using ECC 6.0 and looking in the Exit MM06E003. The Include ZXM06U17 does have the Structure EKKO but nothing is given for the Plant. Plant is at the Item Level but this Exit does not has any structure related to EKPO.
    Please guide.
    Thanks in Advance.
    Regards,
    Pankaj Agarwal

    Hi Pankaj,
    First of all determining the Number Range of PO on the basis of Plant is not a good idea. This is because a PO may have multiple line items and line items can have different pllants assigned to them. In this condition the determination of Number Range of PO would be partially satisfied or would fail.
    But if you still need the Plant details then you can try using the method CHECK of BADI ME_PROCESS_PO_CUST to retrieve the Plant (or any line item/ Header/ Account assignment details). Then the Plant value can be exported to Exit MM06E003 for further processing.
    The method CHECK is invoked while checking a PO or while saving a PO.
    Hope this helps.
    Regards,
    Abhisek.

  • Modify Number Range for Purchase Order

    Hi All,
    We have created a new transaction type 'ECPO' for Shopping carts in SRM.We have
    given it a new number range. While creating a shopping cart and based upon a
    condition how do i ensure that my shopping carts get created with this
    transaction type?  Is there any attribute which controls this ?
    I tried changing the attribute BE_DOC_TYPE = 'ECPO' when the condition is met
    in DOC_CHANGE_BADI for shopping cart, but it didn't create the PO with the
    new number range.
    We are using Extended classic scenario and so the purchase order is created in
    the SRM system and not at the backend.
    Please do let me know if there is any way to achieve this.
    Points will be updated for valuable solutions.
    Thanks in Advance,
    Raj
    Edited by: Prasanna Ram on Oct 13, 2008 10:27 PM

    Prasanna,
    Did you assigned the attribute called BSA (Transaction type for shopping cart and Follow-on documents) in the org structure? Herewith you need to define the backnend and the transaction type (eg: PRDCLNT500\ECPO).
    Please note that same transtion type should available in the backend system too..
    Kind Regards,
    NMK

  • External number range for purchase order response?

    Hi all,
    is it possible to use an external number range when creating purchase order responses (BUS2209, PCO, POR) manually?
    If I transfer the POR from an external system like SUS via XML, can I use an external number range?
    I'm using SRM 4.0 (EBP 5.0) in standalone scenario with Business Connector 4.7 as XML interface.
    Any help is appreciated,
    Karsten

    Hi
    No need to maintian Internal number range.. Yes you need to use an external number range
    Only the PO, RQ & RS are sync and therefore must correspond with the R/3 number ranges.
    The rest, Shop Cart (SC), Local PO (EBP), Confirmation, Invoice, Bid Inv and Bid, aren't synced and can be assigned to any number range. (FYI- using ECS)
    Re: Extended Classic - Purchase Order Number Ranges
    http://help.sap.com/saphelp_srm50/helpdata/en/87/7cc73cee4fb55be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6d/0f343e47fd6b2ee10000000a114084/frameset.htm
    Re: Number range config
    Re: config for Number Ranges ? :-(
    Re: PO Creation with external PO number
    Purchase Order Response BUS2232
    PO number range Issue
    Re: Defining the number range
    Regards
    - Atul

  • How to find the Invoice available for Purchase orders

    Hi friends,
    How to find the Invoice available for PO. Please give me the tcodes also.
    Is one PO can have multiple Invoice, then what is the relation between those PO and Invoices.
    Thanks,
    Veerendra.

    Hi,
    Goto ME23N and in the line item choose the PO History tab..
      There you can check if there is any invoice created for that PO..
      Yes one PO can have multiple invoices...
      Check the table RSEG where it has references to a PO and PO line items..
    THanks,
    Naren

  • How to see the changed output for purchase order

    Hi..
    I have zmedruck. i need to increse item text lengh. i done this in editor. how to see the changed output now...I increased the length of text to be displayed. I checked the print preview in me23n. i cant see the increased length. Guide me where i am wrong.
    Edited by: Meena 303 on May 1, 2008 6:24 PM

    Hi
      In ME22N go to message -
    > select old message -
    >click change OutPut button -
    > Save
    then see print priview  through ME9F or ME22N it sself.
    regards
    Sachin

  • 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

  • Number range for different order types

    hi
    pl tell me how to create the number ranges for production order s and how to assign this number ranges to different order types in production server.
    thanks and regards

    Dear ,
    Goto CO82 ,
    1.Frist you should review in the Overview Screen (Hit the Orview in CO82) wether you have option to create the group as per required number ranges for two order type
    2.Hit the Pencil Button of the Group : It will take you "Maintain Number Ranges Group" and Select Group on the top -
    Insert.It will pop up with Inser Group Window .Enter the Text , Enter Number Ranges (From no /To No) and then hot the insert button (+ sign) .You have to create two number ranges group as per your requirement
    3.Now select you order type and hit the Select Eelement (Nip symbol) , select the resepctive group , then Hit Element/Group Tab .Once you follow this steps , you will find your Oredr type assigned to respective number ranges group.
    4.To cross check , you select the number ranges group and hit the Spec button to see the correct number ranges .
    5.MAKE SURE THAT YOU HAVE ORDER TYPE CREATED BEFORE YOU CREATE THEIR NUMBER RANGES -OPJH
    Revery back if u need any help
    Regards
    JH

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

  • How to find next number range for project definition in tcode CJ20N

    Hai Experts,
          Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
    Note: I searched in forum before posting, but couldn't find the solution.
    Thanks
    Regards,
    Prabu S.

    Hi,
    For project defination internal number is assigned by system.
    When you saves's project then system allocate one number to project defination, you can view it,
    SE11 >>> table  PROJ >> Click on contents >>> execute,
    here you will get your project defination & number is assigned to project defination.
    kapil

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

  • 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

  • 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

Maybe you are looking for

  • Updation of n95-8gb to 30.0.1.15 version

    I want to update my n95 firmware to 30.0.1.15 but while doing so i sometime get error no device found when i want to update phone from my company network and wheni try to update phone at home then also its not updating saying tht phone cannot be upda

  • How can you change your iPhone purchase to be shipped to a place other than your billing address?

    There is an "edit shipping" option, but the hyperlink is disabled. I'm purchasing the new iPhone 4S, and there seems to be no option to change the shipping address. Is this true for everyone? Thanks!

  • Pages don't print in Netscape but print in IE

    I am having the strangest problem I have ever seen. We are running WebLogic           Commerce 2.0.1 on NT. We have two JSP's that show items in an online           catalog. The pages take a single category ID to determine what category to           

  • Problem in muse cc 2014

    Hello I have encountered a problem in the program muse cc 2014 problem appear as in the picture http://prntscr.com/43xkd9 Knowing that I used Windows 8.1 I hope that solved the problem for me please and there are other problems I've encountered such

  • Next Years Meeting Dates

    Been toying with different thoughts, SQL and Functions but haven't come up with the right plan of action. We have a monthly meeting, typically on the 1st Monday of the Month. Occasionally it needs to be different. The date needs to be saved to a Tabl