Deletion of Purchase Requisition when PM order is TECO

When a Purchase Requisition (PR) is created from PM order using control key PM03, after approval of PR, Purchase Order (PO) is issued. After completion of maintenance job and acquiring services or material procured against PR which has been created from PM order, PM order is Technically completed. When order status is set as TECO, PR got deleted. This behaviour of deletion of PR when order is TECO is not normal and not required. Does any body can have reason for this deletion of PR and solution to fix this problem.

This is standard behavious in the PM/CS order.
To stop the MM guys getting "confused" (poor things...), maybe you need a warning message when TECOing an order to say that there are open PRs without PO (see user-exit link at the top of this forum).
PeteA

Similar Messages

  • Unable to delete the Purchase Requisition line item

    Hello MM sapperu2019s,
    I am unable to delete one of the line item in Purchase Requisition. Please let me know how to delete this Purchase Requisition line item.
    When I tried to delete the line item in ME52N the delete button is gryed out hence I could not able to do it.
    The purchase requirement has reference of network in the account assignment.
    Please let me know if you need more clarification.
    Cheers,
    Kumar.S

    Hi,
    You are experiencing the stnadrad behavior
    When the Preq is automatically created from either
    a production, plant maintenance, or network, order, what you can change
    in the PReq is very limited.
    This is to ensure no conflicts arises between the PReq and the source
    application of the PReq (be it PP, PM/CS or PS).
    The technical explanation is due to the recorded value in EBAN-ESTKZ
    (Creation indicator).  The value stored here (automatically by the
    system) controls what you can or can't change in ME52/N.
    We cannot delete the line item in this case
    regards,
    Lalita

  • Make item to create Purchase Requisition and Work Order

    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? Thanks

    Ajith_Kz; Consultant wrote:
    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? ThanksI guess it can't be done..when u say u created a purchase req?i was just wondering how did the system let u to create a POR when you say it is a make item?
    HTH
    Mahendra

  • Deletion of Purchase requisitions

    Hi all,
    I have to use the BAPI  BAPI_REQUISITION_DELETE  to delete the Purchase requisitions.
    Please tell me how to use this BAPI and what are the parameters to be given or if possible please give the Sample program
    Regards
    Ajay

    hi there
    report Z_REQUISITION_DELETE.
    tables: eban.
    data: gt_BAPIEBAND type BAPIEBAND occurs 0 with header line,
          gt_return type bapiret2 occurs 0 with header line,
          error_occured.
    PARAMETERS: p_banfn  like eban-banfn.
    start-of-selection.
      select * from eban where banfn eq p_banfn.
         move: eban-bnfpo to gt_BAPIEBAND-PREQ_ITEM,
               'X'        to gt_BAPIEBAND-DELETE_IND,
               'X'        to gt_BAPIEBAND-CLOSED.
         append gt_BAPIEBAND.
      endselect.
    end-of-selection.
      CALL FUNCTION 'BAPI_REQUISITION_DELETE'
        EXPORTING
          NUMBER                            = p_banfn
        TABLES
          REQUISITION_ITEMS_TO_DELETE       = gt_BAPIEBAND
          RETURN                            = gt_return.
      if gt_return[] is not initial.
        loop at gt_return.
          MESSAGE
             ID      gt_return-id
             TYPE    gt_return-type
             NUMBER  gt_return-number
             WITH    gt_return-message_v1
                     gt_return-message_v2
                     gt_return-message_v3
                     gt_return-message_v4.
          case gt_return-type.
            when 'E' or 'A'.
              exit.
          endcase.
        endloop.
      endif.
      call function 'BAPI_TRANSACTION_COMMIT'.

  • Create purchase requisition form  sales order

    What are all the settings required for autiomatic creation of Purchase requisition from sales order. I am new to this topic

    Hi,
    When the material is trading / externally procured, then the requirement in the Sale order generates PR. This is because the material is required in the sale order & seperate manual data entry for generating material requirement is avoided.
    Regards,
    Prashant Kolhatkar

  • Mass Deletion of Purchase Requisitions

    Hello Gurus,
    I have a unique issue. Our SAP system creates multiple MRP generated purchase requisitions on a daily basis and we do not have the manpower to delete each single PR using the ME52N transaction. I checked the MEMASSRQ transaction which is used for mass changes of PRs. However, in MEMASSRQ, there isn't any field mentioned particularly for deletion or blocking of purchase requisition. I found a BAPI, BAPI_REQUISITION_DELETE, but even this BAPI is used to delete the PRs one by one. Not for mass deletion.
    Right now, there are around 4000 PRs in our system which are lying and we have to delete them all. So, I want your help in finding out whether there is a transaction/report available for mass deletion of purchase requisitions.
    Your suggestions would be very much helpful for us.
    Thanks and Regards,
    Umakanth

    Hi,
    Perhaps you can try to archive them. Check archiving object MM_EBAN. See not Note 123900 - Archiving purchasing documents/purchase requisitns for futher information.
    I hope this helps you
    Regards
    Eduardo

  • Update Purchase Requisition from Sales Order

    Hi,
    My requirement is to Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    I have used Userexit         :- MV45AFZB
                     Customerexit :- EXIT_SAPFV45E_002
                     BADI             :- ME_REQ_OI_EXT, ME_REQ_POSTED
    for my requirement, but in vain.
    Of these Userexit  MV45AFZB, Customerexit EXIT_SAPFV45E_002, BADI ME_REQ_OI_EXT are getting triggered in Sales order creation but, Purchase requisition is not yet triggered and we dont have the VENDOR value with which i need to do perform some checks and update the Purchase requisition.
    After I SAVE sales order, BADI ME_REQ_POSTED is getting triggered.Here, the purchase requisition is created ( not yet inserted into the database ) .I also have required VENDOR value, but in the given
    BADI ME_REQ_POSTED I can make checks according to my requirement but not able to update the new values into purchase requisition.
    Literally speaking, Iam struck up..Dont know what to do.....
    Please let me know any Userexit/BADI/BTE where I can  Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    Thanks,
    Shivaa..

    Hi Max,
    It just struck to me...
    As suggested by you, I thought of calling BAPI BAPI_REQUISITION_CHANGE  from user exit USEREXIT_SAVE_DOCUMENT in MV45AFZZ .
    I f I give PReq no. , BAPI BAPI_REQUISITION_CHANGE  will take the particular PReq no., from database and then change it according to our requirements...
    But, in our scenario I am calling the BAPI BAPI_REQUISITION_CHANGE  and passing a PReq no..which doesnt exist in the d/b itself.....
    Anyways, let me try......
    Meanwhile ,please suggest any other options for resolving the issue in question......

  • Multiple Document Types For Purchase Requisition For Different Order Types

    Dear SAP Gurus,
    I want to have different document types of Purchase Requisition for different Order types.
    For Example:
    for Order Type ZT01- Document Type used should be YR01
    for Order Type YA01- Document Type used should be ZR01
    How could this be achieved?
    Regards.

    hi
    Kindly check the user exit for the same
    COZF0001 or COZF0002
    regards
    thyagarajan

  • How to restrict to unrelease the purchase requisition when po is released.

    Hi Expert's,
    please suggest me how can I restrict to unrelease the purchase requisition when Po is released.
    Pls guide me .
    Regards,
    Sanjay

    Hi,
    I don't think there is standard settings where u can restrict PR changes when the PO corresponding to this is released.
    You have 2 options: One is to restrict all the changes once the PR is released. This can be done in the release indicator (Changeability - 1). Once this is set, PR cannot be changed after release irrespective of whether PO is created or released.
    Second option is to go for an enhancement (You may use ME_PROCESS_REQ_CUST) and write a logic to see the release indicator of corresponding PO and restrict the changes.
    Regards,
    Sudeep.

  • Deletion OF Purchase Requisition at TECO

    DEAR ALL,
    My requirement is very simple
    I do not want to set Deletion flag on PR after it is becomes TECO when ever there is PO in the Work order
    When ever there is no PO no problem
    This is MM business requirement
    We had alot of discussion on this already in the topics
    But I could not found the solution how we can res
    Is anybody has done this particular change in work order TECO
    please let me know how to do this ?
    Regards
    chandrashekhar Ingole

    Chandrasekhar,
       This is standard functionality when you TECO the work order, all open requisitions that are tied through the reservation tables are set a deletion indicator.This makes sense since the PR is considered a internal document and there is no legal binding associated to this document and hence the necessary house keeping being done automatically.
       You can overcome this by doing some custom development and having some  authorization cecks. You would need to set "never create requisition" for the order type/Plant combination (Prevent users from being able to change this setting through Auth or hiding the field and Function code). You would need to make sure that all the necessary details are captured on the Non stock item screen of the maintenance order. Then have a custom program,Triggerred on a nightly basis or on SAVE of Maintenance order or other means,  that creates a requisition based on the non stock item entered in the Order and assigning the same work order number as the cost assignment. Now when the order is set to TECO this PR will not be set a deletion indicator since there is no reservation tied to this request. This would solve your problem but be aware of the issues that may arise, if for some reasons the planner would like to cancel the work order by TECO of the job, then you would need to do proper house keeping and delete the PR line item or intimate the purchasing team as appropriate.
      The other way to do this to make a modification to standard program which might be complicated and hence is not advisable to do so.
    Regards
    Narasimhan

  • Creation of Purchase Requisition with Sale order

    Hi,
    I have a scenario where I need to create a Purchase requisiton for the requirement from the sale order (like the Third party sale order).
    I have done the required configurations to create the Purchase requisition.
    My Sale order has three line items and each line item has different Item category and schedule line category.
    I have configured different Purchase requisition document types for every schedule line.
    When sales order is saved, I need seperate Purchase requisition since the PR document type are different for every schedule line.
    But system creates only 1 PR with multiple lines. It picks the PR doucment type assigned to the schedule line category of 1st line item in the sale order.
    How can I get different PR for different doucment type in a single Sale order?
    Regards

    This can is happening b'coz at your sale order only one I cat is determining by default.
    So, determine diff I cat with diff desired the sch lines cat in the doc.
    Say,
    maintain, I Cat determination(VOV4)
    Sales Order(VOV8) - I Cat Group(material- MM02) - I Cat(VOV7)
    ZTPS - ZTA1 - ZTA1
    ZTPS - ZTA2 - ZTA2
    ZTPS - ZTA3 - ZTA3
    and also check.
    I Cat (VOV7) - Sch Line Cat (VOV6)
    ZTA1 - Z1
    ZTA2 - Z2
    ZTA3 - Z3
    Hope this can assist you in understanding.
    Thanks & Regards
    JP

  • Creation of Purchase requisition in Maintainance order

    Hi
    I have a external operation in maintenance order , i have set the indicator in control key
    I assign service order in the maintainance order
    When i save the order system creates a purchase requisition
    Please let me know where is the setting which controls the creation of this purchase requisition
    Thanks

    Hi
    Check for Path
    SPRO>Plant Maintenance and Customer Service>Maintenance and Service Processing>General Data>Define Account Assignment Cat. and Document Type for Purchase Requisitions
    You will get Document Type for PR.
    Details of this document type are maintained in MM
    SPRO>Materials Management>Purchasing>Purchase Requisition>Define Document Types
    Hope this helps
    Regards
    Manish

  • Block Plan Order and Purchase Requisition in Sales order creation.

    Please tell me, how to block Plan Order and Purchase Requisition while creating Sales Order. When we create a sales order, plan order and purchase requisitions are also created by their own, please tell me, how can we block them while creating sales order. Please do let me know as soon as possible.

    hi,
    generally thy wil not be created automatically.
    may be som configuration or exit is used in ur system.
    check in debugging mode while saving ur salesorder.

  • Conversion of purchase requisition to purcashe order

    Hi Experts,
    I am running MRP by reading the Planned independent requirements.
    After saving the MRP results, planned order are created,
    These plannned orders are then converted to purchase requisitions and purchase orders are created by referncing to the requisition.
    I have few questions regarding the creation of purchase orders.
    1. I create the purchase orders by ME21N and copy the requisition for referencing
    2. How can i see the list of all requisitions with its details so that i may know which requisition has to be converted now
    3. Once a requisition is converted, it still appears in the list and can be used again for conversion which should not be.
    Regards
    SAPXPT

    Hi,
    ***As you creates purchase orders in ME21N  WRT Purchase requisitions
    ***Use t.code:ME5A & execute by entering u201CProcessing status u2013 B u201Cin dynamic selection--> Purchase requisition.
    ***As you needed restrict PO creation with more than PR Quantity and set error message follow path: 
    SPRO->Materials Management->Purchasing->Environment Data-->Define Attributes of System Messages
    06 076 as Error messages.
    when all the PR quantity already converts to PO, system will not allow to create a another PO from that same PR again.
    Regards,
    Biju K

  • Thard party Purchase requisition From Production order

    Hi ,
    We have a Concept like third party PR ( Purchase Requisation) should raise Thorugh Production order
    Normally We are raising the PR based on Sales Order and Item category is TAS,
    But my clint Want some of the material in Production BOM After running the MRP it become a third party material,
    It meens Some small components are third party material
    Please let me know how shall i do this process.
    Regards,
    Gangi Reddy.

    Hello,
    As Silvia says, what we want to know is if it is possible in a standard SAP to assign different account assignments depending on the plant.
    In the two scenarios we have, the account assignment would be different:
    1. Modify the production order: in one operation we change the control key from PP01 to PP02 so a purchase requisition is created ACCOUNT ASSIGNMENT F (PRODUCTION ORDER)
    2. One of the components in the BOM is purchased, so when the MPS is execute, a planned order is generate for the finished product and a purchase requisition for the component. ACCOUNT ASSIGNMENT C (SALES ORDER).
    Is it possible to have in transaction OPJP account assignment C and then via  user exit COZF0001 Change purchase req for externally processed operation determine account assignment F for case one?
    Thanks so much for your help,
    Ana

Maybe you are looking for

  • How to disable "Open, Save and Save As" prompt

    I'm using IE 10. I'd like to disable the prompt "Open, Save or Save as". Each time I tried to any document (ex. DOC or PDF file), IE will popup the follow prompt: "What do you want to do with ..."  I saw there are some similar threads, but they are p

  • WHEN TURNING ON IT READS THE MESSAGE

    can some one please help out with this prob: WHEN TURNING ON THE IPOD IT READS THE MESSAGE www.apple.com/support/ipod AND WONT LOAD UP FOR SOME REASON.HELP..........Me :(:( Apple 4GB iPOD Nano   Other OS  

  • How to enable bonjour?

    i went to control panel>Administrative tools>services>bonjour     right click on it but all the options it povided me were blanked. i mean they were fixed can't be changed.....................help me!!!!!!!!!1

  • Hello Google translate camera not work At apple

    hi why Google translation don't work camera other division have photo and camera translation pls hellp

  • High CAPWAP traffic when locally switched

    Hello all, We're seeing an ongoing issue where several APs accross multiple sites log the error, "%CAPWAP-3-ERRORLOG: Retransmission count for packet exceeded max(CAPWAP_WTP_EVENT_REQUEST., 12)", then disassociates from the controller, and reassociat