Change status Purchase Requisition

Hi - I have to use the following enhancement to change the status of a purchase requisition depending on the valuation price.
MEREQ001- EXIT_SAPLMEREQ_008.
Is it posible to change here the field IM_EBAN_CHANGES-FRGKZ of any row??
Any help would be greatly appreciated.
Thanks in advance !

I'm trying to use some methods to change EBAN-FRGKZ but the following code doesn't work fine as it's said in some post.
Does anyone knows why it s not working?
DATA: i_items TYPE mmpur_requisition_items.
  DATA: wa_item LIKE LINE OF i_items,
        lv_if_item TYPE REF TO if_purchase_requisition_item,
        lt_itm_data TYPE mereq_item,
        lx_itm_data TYPE mereq_itemx.
  CALL METHOD im_req_header->get_items
  RECEIVING  re_items = i_items.
  LOOP AT i_items INTO wa_item.
    lv_if_item = wa_item-item.
    CALL METHOD lv_if_item->get_data
    RECEIVING  re_data = lt_itm_data.
    CALL METHOD lv_if_item->get_datax
    RECEIVING  re_datax = lx_itm_data.
    lx_itm_data-frgkz = 'X'.
    lt_itm_data-frgkz = 'Z'.
    CALL METHOD lv_if_item->set_datax
    EXPORTING
    im_datax = lx_itm_data.
    CALL METHOD lv_if_item->set_data
    EXPORTING
    im_data = lt_itm_data.
  ENDLOOP.
Regards

Similar Messages

  • Should user be allowed to change the Purchase requisition

    Dear Group Members
    Should User be allowed to change the Purchase Requisition for which Purchase order is made
    Regards
    Shamulheq

    Ideally NO but yes if your business need ask for it,
    you should have release str in place. and Value should be one of your characteristics in Rel str
    PR should be changed only on higher side
    notification should be triggered to Buyer in case PR gets approved so that Buyer can take appropriate action on earlier created PO with ref to PR
    If there is NO release str, then look for some enhancement which will trigger notification to buyer so that Buyer can take appropriate action on earlier created PO with ref to PR
    If you donot want user to change the PR , then put validation
    if PR status (EBAN-STATU) = B , then give POP- UP message as Error so that it will restrict user to make the changes in PR
    Hope this helps you

  • User Exit/BADI to change the Purchase Requisition date,creating threw MD02

    Hi,
    I've a requirement to change the Purchase Requisition creation date.
    I'm using MD02 to create Purchase Requisition.
    Based on the requirement if the available qty is less than the required quantity,we can change Purchase requisition date.
    Please let me know if any BADI's/User Exits we can use for this purpose.
    I've checked EXIT_SAPLMEREQ_010. I've kept debugging point nad i run MD02, but it is not stopping in the exit.
    we are using SAP 4.6c.
    Thanks,
    Adi.

    Hi Experts,
    Could you please give me a suggestion for the above problem???
    Thanks,
    Adi.

  • How to change the Purchase requisition when control key is PP02

    Hi Exports:
      I want to change the  purchase requisition which was created after  production order was  released . The  control key is  pp02.
      I  changed the purchase requisition in OPJP .but I got an error .
      the error message is
      " Acct. assign. cat. "Q" for purchase req. Project Stock does not exist. "
      I don't know what should I do . would you like to give me some advice? thank you  very much.

    Hi, Umesh:
         Picture1 is  my OPJP initial screen ,I want to change to be Picture B . but I got an error .
         In fact , I  don't have project stock . but I have sales order stock.
         I try to change 'Q' to other option . but I got the same error.
    picture 1
    picture 2

  • Fast change of Purchase Requisitions

    Hi all out there
    Some of "my users" ask for the possibility for doing "Fast Change" for Purchase Requisitions - just like it is for Purchase Orders.
    I can't find out to enabele this feature, but think it might be possible
    I SAP help I found this:
    The new design of the purchase requisition focuses on the needs of the user and provides greater support to those responsible for processing requisitions.
    Features
    The following additional functions are available to users processing Enjoy purchase requisitions:
    Fast Change
    The fast change function enables you to change data such as the plant and storage location in several items simultaneously.
    Never the less, I have looked everywhere in the IMG, without finding out how to enable this funktion.
    Do any og you know wher to look, or how to do?
    Look forward for your response
    Kim

    Hi,
    You can try following;
    MEMASSPO - Mass Maintenance of PO
    MEMASSRQ - Mass Maintenance of PR
    And When you go to ME22N, there is a list of Icons b/w Item Overview and Item Details, there you get the button of "Fast Change" whereas in case of PR, it is not there.

  • IDOC to notify changes in Purchase Requisition

    Hi,
    I have a requirement where I would like to generate an IDOC whenever there is a change in Purchase Requisition therough SAP Screen. Is there any idoc available for the same?
    Regards,
    Venkatesh

    Hello Venkatesh,
    I do not think what you are looking for is available readily. SAP provides the following:
    PREQCR01
    PREQCR02
    PREQCR03
    PREQDL01
    What you could do is create a ZPREQCHG IDOC by copying PREQDL01, so you are covered for closing and deletion as well.
    In the header segment  E1PREQDL, create a z segment and include all the fields that you want here.

  • 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

  • Valuation Price Change in Purchase Requisition

    Hello,
    I have a business requirement to go for financial approval at the purchase requisition stage. However many purchase requsisitions will be created from work orders via plant maintanence. For work orders created in this way the valuation price on a purchase requisition is greyed out.
    I need to be able to change this price per business requirement. Any input or help would be greatly appreciated.

    Hi
    For the the approval there is release strategy in purchase requistion ( with classifiaction .You can make use of this to put the approval .Now coming to ur Purchase requistion which are cretaed thru Mainatnace odere you need to cjheck the Field status for the document there you will the field valution price i just forgot the field status group.
    you can try this way
    regards
    sunny

  • Commitment Item Change in Purchase Requisition

    Hi All ,
    I want to change the commitment Item in the Purchase Requisition at the change of Material Group in the PR .
    I tried all the Exits and BADI but its not working  .
    Can any body suggest some  , how to do this ???
    Thanks n Regards
    Manik L Dhakate

    Hi,
    check this BADI is working or not..
    ME_COMMITMNT_PARKING                    BAdI for Redefining Commitment Interface When Parking
    Arunima

  • Initiating re-approval on price change durin purchase requisition approval

    Hello everyone,
    Must be a basic requirement for most people...can you please help us here?
    We have a requisition approval hierarchy (defined in AME). We want the functionality that whenever an approver updates the price (through the "Open Document" in notification), the purchase requisition should be sent for re-approval starting with the requestor. Is there any profile option or workflow attribute which can be used for this purpose? I believe PO has some such option for setting the tolerance percentage, but don't know whether iprocurement has similar one.
    Btw, we are using 11.5.10.2
    thanks in advance,
    abbas

    Hi
    For the the approval there is release strategy in purchase requistion ( with classifiaction .You can make use of this to put the approval .Now coming to ur Purchase requistion which are cretaed thru Mainatnace odere you need to cjheck the Field status for the document there you will the field valution price i just forgot the field status group.
    you can try this way
    regards
    sunny

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

  • Regarding changes in Purchase Requisition

    Hi,
    when i make purchase requisition in me51n for a material and then go to me54n to release that purchase requisition, but after release of purchase requisition when i again go to same pr by using me52n and change the material and plant and save the system allows to save.
    if i have already released the pr with particular material and plant then why is the systeem allowing to change the same pr no again with different material and plant.
    the changed material is shown as released in me54n.
    please guide me how to solve this problem
    Regards

    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.

  • Requirement to detect change in Purchase Requisitions

    Hi
       We have a requirement - whenever a purchase requisition is created / changed in R3, we need to send a snapshot of that PR ( with header and line item details ) to an external system.
    We have XI in our landscape and we are thinking of sending a proxy message whenever a new PR or change to an existing PR is done. Is there a BADI - business add in that we can use and implement a class within which we can send this proxy message call to XI ?

    Hello,
    I think, as per standard, there is no output for Purchase Requisitions. So you may have to develop a custom program to accomplish the same.  
    Since you have XI/PI, please look at the Database adapter which can detect field level changes in table EBAN and thereby it can pull the data.
    Thanks,
    Venu

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

  • Purchase Requisitions Change after create existing document.

    Hi,
    We want to restrict System not allow to change the Purchase Requisition Quantity after create the existing document RFQ & PO with reference of PR.
    Regards
    Aamir

    Dear Amir,
    We had also faced same problem in our organization 2 years back. Then I have change the screenlayout of ME52N as follows.
    SPRO -> Materials Management -> Purchasing - > Purchase Requistion -> Define screeen layout at document level -> Create new entry ME52N by coping ME52. Then goto qty & price field, tick the Qty field as display.
    Due to this changes in PR Qty in ME52N will not be possible. If any change in PR QTY before creation of PO has to be done then user has to delete that line item in ME52N & create new line item in same PR.
    This development is successful at our end.
    Regards,
    Shekhar Gaikwad.
    SAP MM Consultant

Maybe you are looking for

  • IMac - external DVD drive crashes Aimersoft DVD Ripping program

    I am using Aimersoft DVD ripping software (legal version) to make mp4 files out of DVDs. It works fine on the IMac internal DVD drive. But when I try and use an external DVD drive using FW800/400 conversion cable, Aimersoft program keeps crashing. An

  • XML Report comes up as blank when a very large sequence is run

    Forum, We have multiple test sequences which me mix and match to do testing on different producst in our product line. We have no issues when we are working with small sequences ( small sequences : Which generate reports upto 12-50MB ). However when

  • Stand-Alone Application including ocx, dll and Word template folder

    Hi, I try to create an Stand-Alone Application with labview 2011. My problem is how i can include ocx and dll file in my executable to be run by others computers (the other computer don't have the dll and the ocx using in the application). My program

  • My monitor went black???

    I had to have a new hard drive installed in my G4. When I first started up, I noticed the screen resolution was different than it had been. I went to the monitors settings, and mistakenly clicked on a resolution that evidently was not an allowable on

  • Group file already exists

    Can someone please explain what causes this error: OCA-30023: error fetching result set [POL-3253] group file already exists I am using Oracle Lite 8. I have created a view that returns all records from a table with the related data from other tables