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.

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.

  • Multiple account assignment in purchase requisition

    hi,
    when we are using multiple account assignment in purchase requisition we are getting following messege:
    error 1 : "Distr. ind. and partial invoice ind. must be set for multi acct. assgt."
    error 2 : "Multi acct. assgt. not allowed for ind. cust. req. or engineer-to-order"
    please suggest if i need to change configuration...
    thanks,
    shreya

    hi,
    error 1 : "Distr. ind. and partial invoice ind. must be set for multi acct. assgt."
    OME9- change the options other than nil, in distribution and partial invoice option, according to the requirement
    error 2 : "Multi acct. assgt. not allowed for ind. cust. req. or engineer-to-order"
    -can u check the system messages.
    (seems u r using M account assignment)
    OME9- activating the multiple account setting, and other fields depends on your business requirement.
    Edited by: Suresh Shenoy on Jan 29, 2008 6:27 AM

  • 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

  • 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

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

  • Wrong WBS assigned in Purchase Requisition

    Hi Gurus !
    I was creating Purchase Requisition for a Project but by mistake took the WBS of another project in CJ20N ( Project Builder ) , and the PO has been made , even the GRN is also over . When Iam trying to open any S_ALR report it is showing 2 networks with different activities in one project.
    I.R. ,Invoicing and GRN can't be reversed as booking period is already closed .
    Please tell me how to correct it ? ?

    Hi Dhruv!
    Only Solution of this Problem is Pass The Journal Voucher. Becase every step is not in your hand ..and for that you have to take the permission from your RPO Head (Mr. Sreevastva and Mr. Nahar)..So dont think about whole process anly try to close current issue with Passing the JV.
    Definetly this will not hit your JSR margin.
    Rewards Point because this is  the best Answer.
    Regards
    Dr. SMITH

  • 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

  • Material Number mandatory for PR exceptP for Service Purchase Requisition

    Hi All,
         Our client's new requirement is we need to give material number mandatory for Purchase Requisition. But it should not affect for Service Purchase Requisition (as we don't have material number with material type DIEN. Till now, we were using Acc Assignment Category K and Item Category D with only Short Text description). We have separate document type for Service Purchase Requisition(ZSRV).
        In order to make Material number mandatory, in PR, we need to give in "Define Screen Layout  at Document Level for PR",right? Is there any way to give, "Material Number Mandatory at Document Type Level"?
    Please suggest.
    Regards,
    rosh

    hi sridhar,
      Thank you for your answer. So as you said, there is no possibility to make material number as mandatory at DOCUMENT TYPE level through Customzining, right?
    Regards,
    Rosh

  • ME52N: Purchase Requisition Change GL Account Number

    Requirement: ABAP auto-change the GL Account field number in a Purchase Requisition after the Material Group is changed.
    Background: This custom logic has been successfully applied to all types of Purchase Requisitions using  BADI ME_PROC_REQ_CUST, with the exception of a Purchase Requisition type that is called a 'Service Limits'. There are differences that are important to note between a 'Service Limits' Purchase Requisition and the other Purchase Requisitions that had custom code added without any problems.
    1)This type of Purchase Requisition uses a item category of 'B', and the logic has a tendency to flow through SAP differently.
    2)This type of Purchase Requisition's GL Account number is under-intensified on the 'item' subscreen, and cannot be changed manually on that screen like the others..
    3)In order for the GL Account to be changed manually, or for the GL Account to be changed once my code has changed the GL Account Number, the user must select the 'Limits' tab and select the Account Assignment arrow, then a popup appears where the GL Account can be changed manually, or, my coded GL Account number change then occurs.
    Problem: I want the custom code to be able to change the GL Account NUmber without having to go into thge 'Limits' tab, where the icon has to be selected. I believe the problem is that the field is protected, because it displays as under-intensified, thus, preventing my new GL Account NUmber from displaying. I also have the subsequent SAP code below that appears to reject set_exkn because protect is set to 'X'.
    CODE1: Is my custom code.
    CODE2: Is the SAP code that my will flow into where this field appears to be unchangeable.
    My question:
    I am thinking that this GL Account field is protected and cannot be changed because it is under-intensified on the subscreen on the Purchase Requisition. Can it be changed with custom code, a way to 'unprotect it'? Or, are there settings that should be changed in SPRO for the Purchase Requisition to allow this functionality to change the GL Account number.
       Thank-You
    (CODE1)
    METHOD IF_EX_ME_PROCESS_REQ_CUST~PROCESS_HEADER.
    *Purchase Requisition Item Declarations
      DATA: LT_ITEMS        TYPE MMPUR_REQUISITION_ITEMS.
      DATA: LS_ITEM         TYPE MEREQ_ITEM.
      FIELD-SYMBOLS: <FS_ITEM> TYPE LINE OF MMPUR_REQUISITION_ITEMS.
    *Purchase Requisition Accounting Declarations.
      DATA: LT_ACCT         TYPE MMPUR_ACCOUNTING_LIST.
      DATA: LS_ACCT         TYPE EXKN.
      DATA: LS_SETX          TYPE MEPOACCOUNTING_DATAX.
      FIELD-SYMBOLS: <FS_ACCT> TYPE LINE OF MMPUR_ACCOUNTING_LIST.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = LT_ITEMS.
      LOOP AT LT_ITEMS ASSIGNING <FS_ITEM>.
        LS_ITEM = <FS_ITEM>-ITEM->GET_DATA( ).
        LT_ACCT = <FS_ITEM>-ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ).
        LOOP AT LT_ACCT  ASSIGNING <FS_ACCT>.
          LS_ACCT =  <FS_ACCT>-MODEL->GET_EXKN( ).
          LS_ACCT-SAKTO = 'N500300   '.
          LS_SETX-SAKTO = 'X'.
          <FS_ACCT>-MODEL->SET_EXKN( LS_ACCT ).
          <FS_ACCT>-MODEL->SET_EXKNX( LS_SETX ).
        ENDLOOP.
      ENDLOOP.
    ENDMETHOD.
    (CODE2)
    METHOD if_accounting_model_mm~set_exkn.
      DATA: ls_buffer     LIKE LINE OF my_data_input_buffer,
            ls_bufferx    LIKE LINE OF my_data_input_bufferx,
            l_buffered    TYPE sy-subrc,
            l_data_old    TYPE exkn,
            l_data_oldx   TYPE mepoaccounting_datax,
            l_data_newx   TYPE mepoaccounting_datax,
            l_indx        TYPE sy-tabix.      "1478013
      *PROTECT EQ 'X'
      CHECK my_state->protect EQ mmpur_no.
    Edited by: Tom Matys on Dec 12, 2011 10:55 AM

    Your PO release strategy must have been based on Cost Center as one of characteristics.
    Pl check & confirm.
    Regards
    Bhavesh Mistry

  • Number range purchase requisitions at storage location level

    How can I define a number range for purchase requisitions at storage location level? I have one plant with several storage locations and I want a number range for purchase requisitions per storage location.

    what is the background to this request?
    I guess that the requestor can easily identify their own requisitions among many.
    I dont think that this is necessary with SAP, do not put to much importance in numbers, there are many other options to meet the users requirements.

  • Purchase Requisition & Production Order

    Hi all,
    in my system, MRP create automatically Purchase Requisition.
    I would like to know if it is possible to connect Purchase Requisition to number of Purchase Order that have generated MRP requirement.
    For instance, in Transaction Me57, i have a list of Purchare Requisition that can be converted in Purchase Order (Assign & Process Purchase Requisition).
    Can i see in it the Production Order that have generated them???
    Or in another transaction?
    The purchasing office have the need to see which Purchase Requisition are from Production order 1 and which for Production order 2.. and so on..
    Thanks  a lot
    Best regards
    Alba

    HI...
    go to COOIs,
    Give the plant.. and execute.. In the resulting screen of production order, Go to change layout and include Purchase requisition in the list..
    This will feed your requirement..
    karthick

  • Project system: Purchase requisition coming from PS

    Dear Experts,
    I have a tricky problem. I want to exclude a specific number range for purchase requisition coming from the Project system.
    The current number range I have for the purchase requisition is let say: 10000000 - 19999999.
    I want to use another number range (50000000-59999999) for the purchase requisitions as an impact of material components of an network activity.
    What I've tried but it is not working properly:
    1. TC: OMH7 - I created a new number range as I mentioned above
    2. TC: OMEB - I've copied the document type NB to a new document type ZNB (NB = ZNB)
    3. TC: OPTT - as last step I've assigned the document type ZNB to the order category 20 (network)
    Please advice ASAP
    Thanks a lot in advance

    It should work as it works fine for me.
    1. You create the Internal number range (50000000-59999999) first and number it with an ID.
    2. Create the ZNB document type and assign the number range number (i.e., two-character ID)
    3. Assign this ZNB in OPTT
    If I've repeated what ever you've done/said, check the settings once again. It should work.
    Regards
    Sreenivas

  • Project system: Purchase requisition coming from Networks

    Dear Experts,
    I have a tricky problem. I want to exclude a specific number range for purchase requisition coming from the Project system.
    The current number range I have for the purchase requisition is let say: 10000000 - 19999999.
    I want to use another number range (50000000-59999999) for the purchase requisitions as an impact of material components of an network activity.
    What I've tried but it is not working properly:
    1. TC: OMH7 - I created a new number range as I mentioned above
    2. TC: OMEB - I've copied the document type NB to a new document type ZNB (NB = ZNB)
    3. TC: OPTT - as last step I've assigned the document type ZNB to the order category 20 (network)
    Please advice ASAP
    Thanks a lot in advance

    It should work as it works fine for me.
    1. You create the Internal number range (50000000-59999999) first and number it with an ID.
    2. Create the ZNB document type and assign the number range number (i.e., two-character ID)
    3. Assign this ZNB in OPTT
    If I've repeated what ever you've done/said, check the settings once again. It should work.
    Regards
    Sreenivas

  • Purchase Requisition & Purchase Order!!

    Hi.
    How can we add Personal number field in Purchase Requisition and Purchase Order?

    Hi,
    It is possible to use the field AFNAM of purchase requision table EBAN to save the personnel number from HR module.
    Once the personnel id is stored in the PR, through zreport you can bring the name of the person responsible for the PR.
    To make this possible, first step is to add the search help 'PREM' in the structure of PR 'MEREQ3211GRID' by taking access key through OSS. 
    Please inform if you really want to go ahead with this solution.
    Thanks and Regards
    Hari.

Maybe you are looking for