Change netpr in purchase requisition

Hi all,
does anybody know how to change the item field 'netpr' in the purchase requisition?
Regards
Joachim

Please see KBA 1976282 - Valuation Price in Purchase Requisitions
It explains how the field is filled and that you shall use BAdI "ME_PROCESS_REQ_CUST
to built your own logic.
However, I am not sure when this BAdI is actually executed. Looking into the info records means that you need a successful source determination, which is not the easiest part either  having all the SCN questions about the source determination issues in mind.

Similar Messages

  • How to change an Existing  Purchase Requisition Document in MM.

    Hi Folks,
    I want to write a program to change a existing  Purchase Requisition in MM.
    I found two BAPI's BAPI_PR_CHANGE and BAPI_REQUISITION_CHANGE , which could be used to change PR document in  ECC.
    I have following question:
    1) why we have two seprate BAPI's for changing PR.
    2) Do we need to use both BAPI's to change PR, depending on what value we are trying to change.
    3) Is it optional to use any of these two BAPI's
    Or do we have any other way to implement this PR change process.( Bcoz of when i tried to debug standard PR change process, none of these two BAPI's has been called)
    Which FM or method is called when, we try to change and save PR document manually.
    I would appriciate, if some one has any sample code to implement this PR change process.
    Regards
    PG
    Edited by: PG on Aug 23, 2010 3:10 PM

    >
    PG wrote:
    > I have following question:
    > 1) why we have two seprate BAPI's for changing PR.
    BAPI_REQUISITION_CHANGE is the older BAPI, the one based on the older ERP transaction (ME5x family), while BAPI_PR_CHANGE is the newest one, referring to the "recent" Enjoy transaction (ME5xN family).
    They both satisfy you task probably, but if you can chose, I'd go for BAPI_PR_CHANGE.
    >
    PG wrote:
    > 2) Do we need to use both BAPI's to change PR, depending on what value we are trying to change.
    > 3) Is it optional to use any of these two BAPI's
    You can use the first or the second one, it's indifferent. The newest one will also trigger user exits from ME5xN family. Which transactions are used by the users on the ERP? Choose with regards to the transactions used during the normal activity.
    >
    PG wrote:
    > Or do we have any other way to implement this PR change process.( Bcoz of when i tried to debug standard PR change process, none of these two BAPI's has been called)
    Normal PR change operativity doesn't use BAPI. BAPIs are used to create/modify docs from "external" systems (it's not properly true, but let assume it), they provide a simple interface to populate with PR data and the process of creation/modification will trigger every check/userexit already defined for the standard transactions on the ERP.
    In example, suppose that in ME51N you defined a custom check in a specific userexit which don't allow an user to create a material item which have odd quantity (odd example, I know ). Then using BAPI_PR_CREATE you will not be able to create a PR with items with odd quantity, because the same check will be executed.

  • Changes in approved Purchase Requisition

    Hi all,
    After a purchase requisition has been released the person that created it can still make changes. If changes are made the altered requisition does not have to be released anymore.
    Is is possible to prevent users from changing a released purchase requisition? (How?)
    Is it possible to require another release after changing an released purchase requisition? (How?)
    Thanks!
    Regards,
    Victor

    Hi Victor,
    Below are the possible settings for Release Indicator for PR which may work for your requirements.
    If the changeability value -
    Blank  --- Changeable, new release in case of new Strategy, 
    1---- Can not be changed
    2---- Changeable, no new release in case of new strategy.
    Confirm if it works for you.
    Thanks,
    PNR.

  • Changing quantities from purchase requisition to purchase order

    Hi MM friends,
    I've created a purchase requisition with some materials and quantities.
    When I create a purchase orer in reference to this purchase requisition, SAP modifies quantities for some materials.
    Why ?
    Regards,
    Bahia.

    Hi,
    This is standard functionality of SAP...If you create PR for say 100 qty, then while creating PO w.r.t. PR you can change quantity to 70....
    The same will be replicated in PR history.....
    Coming to your point If you do not want to make any changes in the quantity in the PO, then you have to make sure that your all PO's are only getting generated by PR....
    Spro-Materials Management-Purchasing-Purchase Order-Define Screen Layout at Document Level..Select ME21N...Quantity and Price--Make quantity as DISPLAY..SAve and come out..
    Now try, it will work..
    Also Be sure this will only work out if you are making your all PO's wrt PR...If you try to create PO manual (w/o any ref) then Quantity field will be in suppress mode.
    Utsav

  • Exit to change customer in purchase requisition

    Hello,
    I need an exit (user-exit/BADI) that can change the customer field (CMMDA-KUNNR) in purchase requisition.
    Can somebody please help?
    Sincerely,
    Ice

    SAPLMEWQ : Customer exit for processing of requisitions via BAPIs
    MEREQ001 Customers' Own Data in Purchase Requisition
    regds,
    kiran

  • Change customer for purchase requisition

    Hi gurus,
    i'm trying to change customer number for purchase requisition.
    i tried to enter this code in badi ME_PROCESS_REQ_CUST~PROCESS_ITEM but KUNNR is not changed:
      DATA : ls_item_data   TYPE mereq_item,
             ls_item_datax  TYPE mereq_itemx,
             lv_obj         TYPE REF TO object,
             lv_attr        TYPE string,
             lv_aktyp       TYPE aktyp,
             lv_kunnr       TYPE ekunnr.
      FIELD-SYMBOLS : <fs_lcl> TYPE any,
                     <fs_source> TYPE any.
      IF im_count EQ 1.  " to avoid infinate Loop"
    Access Attributes value of Local Class
    for getting the transaction mode of Line item
    H-> Create
        lv_obj ?= im_item.
        MOVE 'MY_STATE->AKTYP' TO lv_attr.
        ASSIGN lv_obj->(lv_attr) TO <fs_lcl>.
        lv_aktyp = <fs_lcl>.
        IF lv_aktyp EQ 'H' OR lv_aktyp EQ 'V'.        "While creating line item"
    Extracting existing Item Data and Modify the fields
    Requestor Name (AFNAM) & Source of supply details
          CLEAR : ls_item_data.
          ls_item_data = im_item->get_data( ).
         ls_item_datax = im_item->get_datax( ).
         MOVE ls_item_data-ernam TO ls_item_data-afnam.
          lv_kunnr = '0000100000'.
          ls_item_data-kunnr = lv_kunnr.
             ls_item_datax-kunnr = 'X'.
         im_item->set_datax(
         EXPORTING
         im_datax = ls_item_datax ).
          im_item->set_data(
          EXPORTING
          im_data = ls_item_data ).
        ENDIF.
      ENDIF.
    when trying changing other fields like AFNAM for example, the data is changed.
    the customer number exists in KNA1.
    any ideas?
    Thanks,
    Sagit.

    SEARCH  SEARCH  SEARCH  SEARCH  SEARCH  SEARCH  SEARCH
    Good work

  • Change Data of Purchase Requisition or PO

    Hello techies,
    I'm trying to find an user-exit or BADI in order to change the Purchase Requisition item line. If possible it's also fine to change the item line of the Purchase order.
    I want to change the material number.
    Best Regards,
    Frederik

    Hi,
    Check the BADi
    ME_PROCESS_PO.
    Hope it helps.
    Regards,
    Shashank

  • PM orders change already existing purchase requisitions

    How can we avoid that changes to an existing work order, e.g. adding a new service or component will reset already reased purchase orders. The system does not recognize if requisitions are already converted to purchase orders or approval steps have already been performed.
    The external procurement settings need to be on "collective creation of purchase requisitions".  Maybe there is a user exit available that anybody knows more about, within that we can control the status of requisitions and avoid above described behaviour?
    Many thanks for your help and replies,
    Heiko

    Hi,
    Yes, It is possible to change plant on existing PO's provided the particular PO line item is not doing GRN and MIRO.
    If not done GRN and MIRO, the particular PO opened in ME22N T-code and selected particular line item deleted and then you have to create new line item give input data material code,plant,quantity,gross price, storage location and SAVE the PO.
    Hope, it is very useful for you.
    Regards,
    K.Rajendran

  • Changing price from purchase requisition to purchase order

    Hi MM gurus,
    I've created a purchase requisition and I've maitained manually a valuation price (ME51N).
    Then, I've tried to create a purchase order in reference to this purchase requisition (ME59N or ME21N).
    I've noticed that system brings a net price completely different from the valuation price I've maitained in PR AND from the price maitained in the info record.
    What's wrong ?
    Regards,
    Bahia.
    Edited by: Bahia M. on Oct 6, 2009 10:23 AM

    Hi,
    First of all PR price will never fetch in PO....Prices which comes in PR are valuation prices....same u can check in MM03 in accounting view...
    Now coming to your next query..Why Prices are not fetching from info record...Reason may be...you have created enough PO's with combination of material ,vendor ,plant and  p.org...So the prices will get updated in order price history...Same you can check in ME1P...
    what i will suggest is, create new material, and plant, then create frsh Info record and PO..def it will work.
    Utsav

  • ME52n change Plant in Purchase Requisition

    Dear MM gurus,
    Documentation is mentioning everywhere that I can change the Plant in my Purch. Req.
    However, in ME52(n) Plant is greyed out, and in MEMASSRQ I cannot select the Plant.
    Is there a reason you can think of?
    Thank you for your time....
    Sandeep

    Jürgen,
    It is definitely a requisition for stock.
    And yes: there is account assignment! M
    My sales order is triggering the Purchase Req.
    Do you know a way to have my PR's plant changed? Or...
    Thanks you for your time.
    Sandeep

  • Getting date changes in Purchase Requisition

    Hi all,
    Does anybody know how to find the date of change status in purchase requisition (transaction ME53N, menu "Environment/Item changes") ?
    Maybe the solution is in the "change document", but I don't know how to find this.
    Thanks for your help,
    BT

    Hi,
    U can find the changes done in 2 table:cdhdr, cdpos.
    In CDPOS table, 1)give tabname as table name ie. eban in your case,
                             2)give objectclas as 'BANF',
                             3)object id - pr no
                             4)fname- field name
    you wil get the change details-item level.
    As for header,
    In CDHDR ,give 1)give objectclas as 'BANF',
                            2)object id - pr no
                            3)USERNAME- User who changed it(if known)
                            4)UDATE -Change Date
    you wil get the change details-HEADER
    Hope this solves your proble,
    Viji

  • Currency change in Purchase Requisition

    Hi All,
    1 Compnay code - currency "INR"
    2 Plants assigned to same company code (Plant A & Plant B)
    1 Material created in both the plants. Inmaterial master -Accounting view-currecny "INR"
    While creating Purchase Requisition for plant A, currency cannot be changed from INR (Company code) to USD, system give error "Currency cannot be changed". But I am able to change currency for Plant B with same material code.
    Why currecny change differes in the plants which belong to same company code
    Waiting for your reply..
    Regards

    see this thread:
    [Changing currency in Purchase Requisitions;

  • Problems with event when changing Purchase Requisition. (BO:BUS2009)

    Hi experts,
    I have a doubt with this. When i erase a position in the Purchase Requisition (ME52N), the event SIGNIFICANTLYCHANGED of BUS2009 is raised.
    When I try to modify the  Purchase Requisition not erasign the position but changing the Material group the event is not raised. Can i customize the system to define that changing the Material group is a significantly change for my system? If not, can i raise another event when this happens?
    Thanks!!
    Artur.

    Hi,
    Simply create a custom event called CHANGED in the BO.
    Create a entry for this event in SWEC tcode. Select the radio button on change.
    This should do the job.
    Note : This event will be raised for any kind of changes in this purchase requisition.
    Regards,
    Raj

  • Restrict changes in purchase requisition if it is released.

    hi experts.
    I tried to restrict changes in released purchase requisitions using exit - cozf0001( for externally processed operation) and cozf0002(for externally procured component). I am displaying an error message if somebody tries to change a Pur. Req. and save it.
    It is working fine in case of cozf0001.
    But in case of cozf0002 after my message statement execution is going to a subroutine - 'SAVE_NEW_OBJECT' called by main program SAPLCOMD. In that subroutine
    code is like-
      message id sy-msgid type 'I'      number sy-msgno
       with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    as a result my message eis coming as a warning even if I have my message type is 'E'. Please give me some solution so that my message can be error but not a warning or information.
    Thanx in advance.
    Partha

    Hi,
    In release procedure for PR under rellease indicators the changebility indicator might have set as 2 or 3 or 4. Hence the system is allowing to change the PR after release. The changeability indicator function to allow changes of PR after completion of release PR. There are 4 indicators pertaining to PR. According to the requirement can set. If you set 1 indicator system won't allow to change the PR. I hope this will resolve your issue. Thanking you.

  • How to de-activate Qty and Price fields for Service purchase requisition

    Dear all,
    We have a request to de-activate (leave it as "Display") the fields of quantity and gross price when changing a service purchase requisition of a specific document type.
    In example: We want that purchase requisition type NB, allows in change mode (ME52 or ME52N) to change the quantity and gross price of the services. On the other hand, these two fields must be only visible for order type ZNB. Besides this must be happening only for services.
    Changing PT9 or PT9B will affect also the creation, and if we only configure based on transacction and document type does not work.
    Any help will be highly appreciatted.
    Cheers

    Hi,
    You may have to write a output requirement routine and assign the same to the output type in NACE.
    But i don't think you will get the old and new data of Purchase order in requirement routine (program : SAPLV61B).  You may have to export the data into memory from either a BADI method or User exit and then import the same in requirement routine.
    Regards
    Vinod

Maybe you are looking for