Skip to Content
avatar image
Former Member

Delete P.R.permanantly from the system

I s there any programme Or t-code available in sap mm that will delete the all the purchase requisitions (P.R) for selecting certain criteria.

In other words,how to delete all the P.R. in sap mm with certain criteria so that they can not be displyed in the system

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 12, 2011 at 03:35 PM

    GO to transaction code ME52N, select the line item mark deletion flag for the line item.

    If you want to archieve the requisition number from SAP, please use transaction code SARA.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 12, 2011 at 03:51 PM

    Hi,

    Use transaction Mass for the same, select object type as Purchase requition,here you can delete Multiple PRs also. use deletion Indicator-L

    Hope this will resolve your Issue.

    Regards,

    Sandesh Sawant

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi Sandesh,

      I was trying the deletion of pr using MASS, but in the new values to be changed column, i did not find

      deletion Indicator-L to proceed further.

      more over mass tcode to update or change the data of pr, one cannot delete from this tcode.

      plz clarify

      i have around 500 pr with xple line of items (max 20) to delete .

      please suggest how to carry out.

      Regards,

      Preeti.PG

  • avatar image
    Former Member
    Sep 13, 2011 at 03:53 AM

    Hi,

    Deletion of PR can be done using ME52N .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

    You cannot directly delete PRs (as most of other SAP documents). You can only mark them as "deleted". To delete them phisically from DB you have to "archive" them via transaction SARA.

    The MRP RELAVENT PR deletion discussed in below link. please have a look. I hope this will resolve your issue. Thanking you.

    http://www.sap-img.com/materials/how-can-we-delete-purchase-requisition.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 22, 2012 at 08:59 AM

    Three ways of deleting PR's.

    Use MASS and select deletion indicator for the PR under consideration.

    Use ME52 to individually delete each line item.

    Use SARA to permanently archive the PR.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 22, 2012 at 09:19 AM

    You can mass delete PurReqs by trx MEMASSRQ + field EBAN-LOEKZ. If this field is not in field list of the mentioned transaction you cann add it to table MASSFLDLST (SM30+MASSFLDLST).

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 22, 2012 at 10:16 AM

    Alternative to deletion indicator is PR completion indicator.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I added Closed Indicator in MASSOBJ but its not reflecting.

      so i want to create new application exit with object type BUS2105

      i want to add

      Object type     Char 20          Func module

      BUS2105     Bapi_Deletion     BAPI_Requisition_Deletion

      Now i don know where to create char 20=Bapi_deletion

      i tried available char20  but closed indicator is not flowing in New values for MASS Change option.

      its indeed visible in PReq selection criteria in MASS tcode.

      Plz respond..its urgent!!

      Regards,

      Preeti.PG

  • Aug 05, 2014 at 09:45 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded