Diferent Number Range to Purchase Requisition

Hi Everybody:
I 've 2 kind of Purchase Requisition, one to Subcontracting [ZNB] and the another one to Import [ZNBI] and I've 2 number range for each one, as well I've the same kind to my Purchase Oder.
When i'm in TCode MD04 and get a Planned Order I want to convert this into a Purchase Requisition, but how can I get that the Planned Order become in a Subcontracting Purchase Order and the another  Planned Order to Import get the same, each one in their respective number range and kind of Purchase Requisition.
Please help me w this, I'll be appreciate.
Regards
OP

Hi Omar,
IN Tx: OPPZ you can define for the MRP Group which type of document you create for each type of PR
SPO = doc.type purchase requisitions for standard purchase ord
SC = MRP: Document type purchase requisition for subcontracting
ST = MRP: purchase requisition for stock transfer - document type
Then you have to assign the MRP Group to the material, so when you create a PR for a Material which has special procurement (Subcontracting) the system will create a PR for SC.
Let me know if it is Ok.
Kind regards,
Federico

Similar Messages

  • 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 Range for Purchase Requisition

    Dear Experts,
    While saving the PR, based on the plant i need to control the number range. Eg. if plant is '1000', the range should be 'Z1'.
    i found a User exit EXIT_SAPLMEREQ_009 for PR but i dont know whether i can achive the above with this.
    Please advise.
    Thanks in advance,
    Chintu

    Hi
    I've tried this in my system and it works fine
    DATA PR_HEADER TYPE MEREQ_HEADER.
    DATA PR_ITEMS  TYPE MMPUR_REQUISITION_ITEMS.
    DATA PR_ITEM   TYPE MMPUR_REQUISITION_ITEM.
    DATA: L_ITEM   TYPE MEREQ_ITEM.
    DATA: L_T161    TYPE T161.
    CALL METHOD IM_REQ_HEADER->GET_ITEMS
      RECEIVING
        RE_ITEMS = PR_ITEMS.
    READ TABLE PR_ITEMS INTO PR_ITEM INDEX 1.
    CALL METHOD PR_ITEM-ITEM->GET_DATA
      RECEIVING
        RE_DATA = L_ITEM.
    CHECK L_ITEM-WERKS = '1000'.
    CALL METHOD IM_REQ_HEADER->GET_DATA
      RECEIVING
        RE_DATA = PR_HEADER.
    SELECT SINGLE * INTO L_T161
       FROM T161
       WHERE BSART = PR_HEADER-BSART
            AND BSTYP = PR_HEADER-BSTYP.
    IF L_T161-NUMKI NE 'Z1'.
      EX_RANGE = 'Z1'.
    ENDIF.
    Max

  • 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

  • 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

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

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

  • Number assignment in Purchase Requisition

    Hi,
         I want to use my own custom number range say, PR/2010/0001 in Purchase Requisition document. How do i configure the same in SAP IDES as in the demo client (800), already predefined number range is there. I want my new number range to take effect in the future purchase requisitions i make.

    >
    manu m wrote:
    > Spro-mm-pur-PR-define number range.
    >
    > change tab ,  add ur no range
    You need to enable the check external besides your number range for your number ranges to work. I havent tried / in number ranges, dont know whether it will work or not.

  • Fetch Sales Order number VBELN from Purchase requisition number BANFN

    Hi,
    I'm not able to find a suitable method to fetch the sales order number(VBELN) from the purchase requisition number(BANFN).
    I tried using VBEP table to fetch the data, but it is giving serious performance issues, as in for fetching one record it is taking approx 20 seconds!!!
    Kindly suggest a suitable method for this.
    I've used the query as folllows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    Scenario in brief described below:
    Whenever a direct delivery sales order is created on a supply chain plant, a dummy purchase requisition without source of supply is created automatically at preferred supplying plant for the customer in the sales order. Direct Delivery Sales Orders which are still in Open status and for the associated dummy purchase requisitions with these sales order, the deletion flag set has to be unchecked.
    in this case, only one sales order is created corresponding to a preq..
    BAPI: BAPI_PR_GETDETAIL is not giving entries for the table as this is a special case of direct delivery from the production plant directly to the customer, bypassing the warehouse / distribution center...
    selection screen has input fields preq, matnr(product) and plant. we fetch entries depending on the data filled in selection screen and also they should be of document type(BSART in EBAN table) ZDD1 and deletion indicator is set(LOEKZ in EBAN).
    then we check if the sales order corresponding to the preq is in open status...
    for this i need to programmatically fetch the sales order number corresponding to the preq...
    this is causing a performance issue as i could find only one way -- fetching sales order number from VBEP table corresponding to BANFN... indexing for easier also didnt work...
    no other way i could find to fetch sales order number corresponding to the preq number....
    there is a bapi: BAPI_PR_GETDETAIL, but this is not fetching entries to the changing tables related to sales order...
    also EBKN table doesnt have any entries as this is a special case of direct delivery preq..
    Guess i couldnt find anyother way...
    Thanks.

    I'm not sure as to why the select query was still throwing performance issues. I could see that the index had been created on only BANFN in the DB. Prior to creating the index, it was taking approx 20 seconds per entry, but after creating the index, it took 13seconds approx.
    I used the select query as follows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    I tried a few other combinations also, but  those also didnt work effectively:
    select vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    without using SINGLE in the select query as the select query would implicitly pickup only a single record,
    select vbeln banfn
    from vbep
    into wa_vbep
    where banfn eq wa_eban_zdd1_x-banfn.
    and another query where the INTO statement was directed directly to a workarea.
    But unfortunately, nothing seemed to be working.
    The index i had created was on BANFN alone in the VBEP table.

  • 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

  • General ledger Number (Field) In purchase requisition

    Dear Group Members Warm Greeting
    In purchase requisition my users changes the general ledger number which come by default by entering the material number as the field is not in gray ( suppress )
    Expert advice needed to fix the issue not to change by the user & the field should be suppressed
    let me know the configuration  
    Regards
    Shamulheq

    Hi
    Go to OME9 and make general ledger account in display mode for your account assignment
    Regards
    Antony

  • 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

  • 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

Maybe you are looking for

  • Set sidebar width of (Finder window 1) to 0 - (no longer working for me)

    on script_title() Filename : finderwindowprops.scpt (Script Debugger) Author : Bill Hernandez Version : 1.0.0 Updated : Thursday, December 14, 2006 ( 6:01 PM ) end script_title -- ---------+---------+---------+---------+--------- on script_notes( ) S

  • Calculating local currency using document date

    Hi, In some company codes we had local currency calculated automatically by document date exch rate. After upgrading to ECC 6.0. this stopped working. I have gone through the settings in non upgraded system (5.0) and in the upgraded one and I cannot

  • Lrcat files much smaller in LR6???

    Should I be worried? My LR preview files are substantially smaller after the LR update/conversion. Just flipping through them, I can't find any problem but is this size reduction "normal" and are you all seeing it? Just fyi, I have about 160k files a

  • RFC_MODIFY_R3_DESTINATION error while reconfiguring STMS

    Hello All,    Yesterday we got an error while reconfiguring STMS. We were getting RFC_MODIFY_R3_DESTINATION error for TMS self RFC. Everything tried, like reconfiguring STMS with SAP_ALL user, assign SAP_ALL profile to TMSADM but nothing help. Finall

  • EXPORT at schema level, but exclude some tables within the export

    I have been searching, but had no luck in finding the correct syntax for my situation. I'm simply trying to export at the schema level, but I want to omit certain tables from the export. exp cltest/cltest01@clprod file=exp_CLPROD092508.dmp log=exp_CL