Deletion of Purchase requisition thru tcode MEMASSRQ

Hi experts,
In table MASSFLDLST I have done the following modification thru tcode sm30
Create : -
object type = BUS2105
Table name = EBAN
field name = LOEKZ
The field LOEKZ is now appearing in the tcode MEMASSRQ.  But when we execute it, the square box for selecting mass PRs is not appearing.
Please clarify.
Regards,
( Rajneesh Gulati )

Hello Pankaj,
In status tab deletion indicator is not shown.  In fact it is not shown on the Line item as well. 
For closing PRs as suggested by you, I have configured field EBAKZ in table MassfldLST. But still it is not showing in the tcode MEMASSRQ.
Please suggest.
Regards,
( Rajneesh Gulati )

Similar Messages

  • 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

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

  • 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

  • Mass Deletion Of Purchase Requisitions Without Using LSMW

    Hi,
    We would like to delete huge volume of PR generated through MRP. Deleting PR will be a frequent activity in our business scenario. Since the person responsible for MRP is not very much conversant with LSMW, we want to avoid using LSMW.
    I tried with MEMASSQR. But 'deletion indicator' field is not available in the field list.
    Is there any method through which I can carry out mass deletion of PR?

    Hi,
    I've tryed this from Manish Kumar Agarwal :
    Go to SM30 enter the table MASSFLDLST
    then create the new entry object type = BUS2105
    Table name = EBAN Field:- "EBAKZ" (Purchase requisition closed)
    Then run MEMASSRQ and select this field and then PRs after tnat on next page you will get option like film:- carry out mass changes go ahead with it.
    But strangelly, it doesnt appear in the memassrq... any idea?

  • 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

  • Deleting the Purchase Requisition

    Hello All,
    We want to delete the purchase requision from the syetm.
    Is there any way we can delete those requisition.
    If it is not possible to delete can we block/delete the line item from those equisitions so that PO should not be generated against those PR line items.
    If user tries to create the PO with reference to the deleted PR line item then system should give the error message saying PR line item has been deleted.
    Pl. guide.
    Best regards,
    SP

    Hi,
    This is only possible provided that no purchase order have been assigned.  If po has been created, you can only Flag for Deletion.
    To delete the pr, select the line(s) you wish to delete and then click on the dustbin icon.
    Hope this will be helpful for you.
    Thanks,
    Nisha

  • 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

  • Deletion of Purchase Requisition

    Hello All;
      I would like to permanently remove the PR's that are marked for deletion. We are not going to archive them, but would like to have those data removed from Database tables. I have tried out MEMASSRQ, but didnt help.
    Any light thrown on this would be greatly appreciated!
    Thanks!!

    normally, I think this would happen during reorg of the database table, which is usually undertaken from time to time by Basis or DBA staff members.   We don't usually forcibly delete rows from db tables outside of the reorg process.

  • Delete purchase requisition with item category Subcontracting

    Hi all,
    I need to delete a purchase requisition with item category = L (subcontracting).
    I am using already BAPI_REQUISITION_DELETE to delete other purchase requisitions but for the subcontracting it doest not work. In fact in the BAPI code you can see:
    Requisitions with dependent reservations won't be processed
        IF xeban-pstyp EQ 3 AND xeban-rsnum NE space.
    So I am looking for other BAPI but I don't find any to delete this kind of requisitions. Do you know any way to do that or I have to do a batch input?
    Thx,
    Manel

    Hi Manel,
    I am using BAPI_PO_CHANGE to set EBAN_EBAKZ, however in most of the cases error thrown as "Instance PO Number of object type  could not be changed".
    Could you please help on this?
    Thanks,
    Murali

  • Purchase Requisition created from Maintenance Order can not deleted

    Hi Gurus,
    I've create a Maintenance Order for External Service (Control Key: PM02) and Purchase Requisition already created related to this Maintenance Order.
    But when I want to cancel/delete the Purchase Requisition, there is error message "This item is only deletable via the associated production order". So II can not delete the PR.
    Any solution for this problem ?
    Regards,
    Tri W

    Hi,
    If the PR has not been approved and no PO has been created yet, you have to delete the external service operation (PM02) in the work order. This should delete the Pruchase Requisitions.
    Regards,
    Joey

  • Deletion Purchase requisition created by sales orders

    Hi gurus,
    in my SAP system there are purchase requisition created by schedule line from sales orders. For different reasons the sales orders were deliveried and billed with stock free and not with customer stock.
    When I try delete de purchase requisition, because the sales order is completed, the system alarms a message that is not posible to delete in purchase requisition else in sales order. But the sales order is completed and we don't touch it.
    Any idea to delete this purchase requisitions?
    Thank you, I will revvard all answers..

    Hi ,
    We can not delete the purchase requisition if there is any subsequesnt documents created against this.
    If you want to delete the same then reverse the delivery then delete the delivery and then delete the purchase requisition by using the guide lines given in below path.
    www.passhe.edu/.../ME52N%20-%20Delete%20a%20Purchase%20Requisition.pdf
    Hope it helps.
    Regards,
    Pasapula.

  • Deletion purchase requisition linked to sales orders

    Hi gurus,
    in my SAP system there are purchase requisition created by schedule line from sales orders. For different reasons the sales orders were deliveried and billed with stock free and not with customer stock.
    When I try delete de purchase requisition, because the sales order is completed, the system alarms a message that is not posible to delete in purchase requisition else in sales order. But the sales order is completed and we don't touch it.
    Any idea to delete this purchase requisitions?
    Thank you, I will revvard all answers..

    Hi Mancho ,
    Try to run the program BANF_OHNE_KDAUF in Transaction SE38 and delete the PR.
    The other way would be to change the item category in Sales Order - Line Item so that no PR is generated.But in this case i doubt whether system permits u to change the Item category as u had completed the subsequent process.Just check it.
    Unfortunately currently i am not at my system to check the same.
    Regards
    Ramesh Ch

  • Deleting or Closing Purchase Requisitions

    Dear All,
    I need to know as to how we could delete or close purchase  requisitions.
    Ideally we use ME52 recording and delete bulk purchase requisitions, is there any other way we could do it via standard SAP.
    SAP has recommended to use ME57, i tried but i am not sure as to how to delete using transaction ME57.
    Please advice how it could be done
    In the meantime, what is the difference between deleting a purchase requisition and closing a purchase requisition.And if i need to close a purchase requisition how can i do the same. In standard ME52 there are no fields to activiate the close, but i noticed in a BAPI there is a way of closing the open purchase requisitions.
    Shall await eapert advice
    Thanks & Regards
    Shabeen Buhary

    Hi All,
       I have the same requirement to delete MRP generated PRs. But the issue is our MRP transfers to SRM sourcing was not functioning until recently. Only the PRs in the EPRTRANS table were transferred to SRM. But the Buyer deleted the PRs that came to Sourcing(since they were old ones). So what happens to the PRs that are still open in ECC that were created by MRP ? How do I get rid of them.
    Please advise.
    Thank you
    Rao

  • Deletion of Multiple Purchase Requisitions

    How to delete multiple Purchase Requisitions at a time?
    Thanks
    Madhavan

    Hi
    SAP does not support mass deletion of PR. But you've got the option of performing this task through LSMW or BDC.
    Hope this helps.
    Rgards
    Sidd

Maybe you are looking for

  • Error while installing Oracle Ultra Search on DB for IDM

    Dear All, I need to install IDM-101401 on HPUX B.11.31 Itanium machine. i installed database (10201) and applied Patchset_10204. as a pre-requisite now i am trying to install Oracle Ultra Search (on the same oracle_home) from companion directory of D

  • What is the standard transaction code to see price for a material

    can anyone tell me what is the stadard t code to display price of a material for different customers the input contains sales organization distribution channel material valid on and end date Urgent thanks

  • JDeveloper IDE: Developer Mode Error

    Hi All, I am facing an issue after launcing JDEV through /jdevbin/NT/1223_db2dbg_17007206 (JDeveloper IDE for Release 12.2.3 Dev Build 2). I am getting developer mode error after launcing my application. For the error to perish, we need to disable th

  • MaxL Export

    I can successfully export data using ESSCMD but get a network timeout error in MaxL. Both are initiated from an NT workstation and both write to the c drive on the workstation.

  • Robot.class commands ignored by program

    Hi, I wrote a program that uses Robot.class to control some client application. It worked fine under windows XP. That was a while back and now I've tried it again and it doesn't work. Two things changes since then: I am using windows 7 now. I have a