Trasaction code for mass delete of open Pur req.

I was looking for is a way to perform a mass delete of open PRu2019s prior to running MRP.  My reasoning is if a PR has not been converted to a PO by the time the next MRP runs we  want to delete all open PRu2019s so items are re-planned based on the most current data.
Is there a mass delete transaction code for PRu2019s?
Thanks

The blw are the options'
1- Try with MEMASSPR for PR
2- You cannot directly delete PRs, You can only mark them as "deleted". To delete them physically from DB you have to "archive" them via transaction SARA.
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 (Thrash) icon.
3 - Try with LSMW

Similar Messages

  • Transaction code for mass creation of physical Inventory document

    what is the transaction code for mass creation of physical Inventory document.

    MI31 is the transaction to create hundreds of physical inventory documents for annual inventory at a time.
    MICN can create several documents at a time for cycle count.
    Just look in the menu of phyiscal inventory into the knot Sessions, there are even more e.g. for counting of own stock a customer and vendor location, for vendor stock at own location etc.

  • T. Code for Mass reversal of IV documents

    hi,
    We use the T. Code MR8M for IV document reversal. what is the T. Code for Mass reversal of IV documents.
    Tx

    Hi ,
    MR8M is the only T code for reversal of IV documents.
    You can use LSMW of MR8M for temporary requirement , in case if your frequency of requirement is high then use a BDC programme for the same .
    Hope this helps .
    Regards ,
    Dewang T.

  • Scripts for adding/deleting/modifying Open Directory accounts?

    I think I have searched high and low for an answer to this question, but if I missed it please point me in the right direction. Where can I find information on scripts for adding/deleting/modifying open directory accounts? At the very least, a command line utility with some syntax guidelines! Any help would be greatly appreciated.

    Hi
    I personally don't know if any scripts although you can use the command line to do pretty much anything you want with the Open Directory. Consult the manual: man dscl. If you launch terminal and issue dscl you should see something like this:
    my-Laptop:~ me$ dscl
    dscl (v20.4)
    usage: dscl [options] [<datasource> [<command>]]
    datasource:
    localhost (default) or
    <hostname> (requires DS proxy support, >= DS-158) or
    <nodename> (Directory Service style node name) or
    <domainname> (NetInfo style domain name)
    options:
    -u <user> authenticate as user (required when using DS Proxy)
    -P <password> authentication password
    -p prompt for password
    -raw don't strip off prefix from DS constants
    -url print record attribute values in URL-style encoding
    -q quiet - no interactive prompt
    commands:
    -read <path> [<key>...]
    -create <record path> [<key> [<val>...]]
    -delete <path> [<key> [<val>...]]
    -list <path> [<key>]
    -append <record path> <key> <val>...
    -merge <record path> <key> <val>...
    -change <record path> <key> <old value> <new value>
    -changei <record path> <key> <value index> <new value>
    -search <path> <key> <val>
    -auth [<user> [<password>]]
    -authonly [<user> [<password>]]
    -passwd <user path> [<new password> | <old password> <new password>]
    Entering interactive mode...
    The above is for 10.4 and should server equally as well for 10.5.
    Hope this helps, Tony

  • Mass Deletion of Open Sale Orders

    Hi,
       I want to implement Dynamic Credit Check in my Organisation, for that I want to delete all open sale orders. Is transaction code MASS suitable for deleting only <b>OPEN SALE ORDERS</b> or it deletes all sale orders. Can anyone help me out please.
    Regrds,
    Binayak

    Hi Binayak,
    The sales order deletion process would be updating many tables and hence I wouldnt recommend [MASS]. I feel it's better to use CATT. Check out the following link and let me know if you need any clarification on how to go about it.
    <a href="http://www.sap-img.com/sap-catt.htm">CATT - Intro</a>
    Also have a look at a CATT procedure explained, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
    Regards
    Pratheb Nadarajah

  • Transaction for Mass deletion of Listing/ Exclusions   ???

    Hi
    Is there a transaction i can use to mass delete Listings which exist ?
    I wish to delete them all from our development client only
    thanks
    Tony

    Hi
    KIndly create the LSMW as per the below source fields for t code VB02
    KSCHL                          C(004)    Material listing/exclusion type
    SELKZ_01                       C(001)    Selection indicator for list screens
    KUNNR                          C(010)    Customer number
    DATAB                          C(010)    Validity start date of the condition record
    DATBI                          C(010)    Validity end date of the condition record
    MATNR_01                       C(018)    Material Number
    REgards
    Damu

  • Mass deletion of open PR & PO

    hai all MM gurus,
    How to delete the open or pending PR's & PO's which are created on duration of any periods like 1.1.2008 to 31.3.2008?.

    Hi,
    Deletion of PR & PO will be done by archiving process.
    Archiving of Purchase Requisition (PR) with Archiving object MM_EBAN
    Purchase Order MM_EKKO.
    Archiving process is done in transaction SARA
    Pre-requisites for archiving of PR & PO are
    1. PR or PO should be completed.
    2. It should be marked for deletion
    Solution to achive the pre-requisites
    1. If there are open item then manually flag it for deletion.
    2. Marking for deletion: Residence period Time one should be defined and during the preprocessing of PO and Write job processing of PR will set the corresponding document for deletion indicator.
    Archiving Process:
    Customizing:
    1. Basic customizing of Archiving development tool should be configured. Example File system customizing, Archiving object specific configuration should be done.
    2. Residence period should be configured. This is an important step in setting the deletion indicator. Consider Residence Time 1 as 1 day for testing your archiving process.
    Archiving:
    1. Preprocessing Process: Preprocessing process will be there for PO after 4.7version. This will help in setting the deletion indicator for the purchase orders.
    2. Write Job: Variant should be created by selecting all the required PO or PR for archiving. Consider one step procedure
    3. Schedule the job and execute it.
    4. Deletion Job: Deletion job should be scheduled and executed based on the archive session no of Archive Write job.
    This process will help in deleting PR & PO.
    Reward if it benifits.
    -Thanks,
    Ajay

  • Best Practice for Mass Deleting Transactions

    Hi Gurus
    Can you please guide on this - We need to mass delete Leads from the system. I can use Crm_Order_Delete FM. But want to know if there are any best practices to follow, or anything else that i should consider before deleting these transactions from the system.
    We have our archiving policy under discussion which may take some time, but due to large volume of reduntatn data we have some performance issues. For example when searching for leads and using ACE, the system goes through all the lead data.
    That is the reason we are plannign to delete those old records. My concerns is that using CRM_ORDER_DELETE, would it clear all the tables for those deleted transactions and if there are any best practices to follow.
    Thanks in Advance.
    Regards.
    -MP
    Edited by: Mohanpreet Singh on Apr 15, 2010 5:18 PM

    Hi,
    Please go through the AppModel application which is available at: http://developers.sun.com/prodtech/javatools/jscreator/reference/codesamples/sampleapps.html
    The OnePage Table Based example shows exactly how to use deleting multiple rows from a datatable...
    Hope this helps.
    Thanks,
    RK.

  • T. Code for Cancelling / Deleting the Payment Run in F110

    Hi Gurus,
    Can anybody please tell me the transaction code for deleting the payment run (before taking print out) in F110.
    I tried to do it from F110 itself and is working fine.
    I want to know if there is any separate T.Code available.
    Regards.
    Vikas

    Hi Chintan
    If there is no concept of Deleting Output then why SAP provided Delete Output Option in F110.
    Vikas you are right We can Delete the Payment Run in F110 itself.
    And as you mentioned you did not make the printout form so there is no Check Printed, you go to Transaction FBRA and Reset & Reverse the Payment Document(Clearing Document).
    If the Check is printed then you need to use FCH8 , Cancel the Check and then Reverse the Document as said Above by Zubin.
    Regards
    Venkat

  • Code for updating/deleting in R/3 from WD java

    Hi All,
    Please provide me the code for deleting/updating seleected row of a table of which data is coming from SAP R/3. (Webdynpro java) The changes should reflect in R/3. I want to put the selected row values in a value node and then updated in the backend.
    Regards
    Shilpa Bhanot

    hi
      get the size of the model node that you have bind to the table
    int n= wdcontext.nodeModeNode.size();
      for(int i=0;i<n;i++)
      fetch the data from the row of the table on LeadSelection
    String name= wdcontext.nodeModelNode.getElementNameatindex(i).getName();
      String age= wdcontext.nodeModelNode.getElementNameatindex(i).getAge();
      String ID= wdcontext.nodeModelNode.getElementNameatindex(i).getID();
      String Salary= wdcontext.nodeModelNode.getElementNameatindex(i).getSAL();
      here after fetching the data from the table to update to the R/3 table ,
    you have to set the data to the RFC
      ZRFCCclass name = new ZRFCClassname();
    name.set(name);
    name.set(age);
    name.setId(id);
    name.set(slary)
    and then bind or the add  the strucute node and in the same way delete operation
      create a value node called Employee , and attributes name , id , age , sal
      adding the data to the value node node ;
       IprivateViewname.IEmployeeElement element  = wdcontext.nodeEmployee.createemployeeelement();
      element.setname(name);
    element.setname(age);
    element.setid(id);
    element.setsalary(salary);
    wdcontext.nodeemployee.addelement(element);

  • Tool for Mass deletion Idoc

    Hello everybody,
    We have a little problem with our ALE....We have generated 2 000 000 idoc by error in our Sender System..all the idoc have the statut 30 (generated)...
    We're looking for a programm or a transaction to edit or delete these idocs...(we didn't find it)
    Is it possible ?
    We are in 4.6C version
    Thansk for your help

    If you do not want the IDocs, which I am guessing is the case based on your question, you could use transaction code SARA to archive the IDocs.  If you are not familiar with SARA, there are some steps you will need to complete to setup variants for the Archive run.
    1. Go to WE47 and check whether you have status code 30 setup for archiving possible or not.  When you double click the status code it brings up the details for the status.  There is a section for "Archiving"; it should be set to "Poss.".
    2. Go to transaction code SARA, enter Object Name = IDOC and enter.
    3. You will need to go to the Customizing section of Archive Management and setup the Test run variant and Production run variant for the Delete Program (RSEXARCD) .
    4. When you click Archive, you will be able to create a variant for the Archive program run (RSEXARCA).  At this point you can specify "Do not create archive file" if you do not want the IDocs archived to a file.
    Hope this helps.  Best of luck.
    Regards,
    Stan

  • Transaction code for mass cancelation of delievry document and sales docume

    Dear All,
    Is there any transaction for mass cancellation of delievry document and sales docume.
    any suggestion
    Thanks with Regards
    Subrat
    Edited by: subu sd on Jul 15, 2009 7:49 AM

    Hi ,
    Adding to Eduarodo's Point, if you dont want to Archive the documents and just wanted to cancel then you can do this by LSMW or eCATT.
    First cancel all the subsequent document and then Sales order . In sales order put Reason for rejection.
    Thanks,
    Raja

  • Transaction code for Mass reprint of PO's

    Hi ALL,
    Please suggest me any SAP Standard Code for reprinting thousands of PO's for certain vendors.I know ME9F & ME99,other than these tcodes.
    Thanks & Regards,
    Manjula

    Hello Manjula,
    Do you have specific business requirement?
    If it is just reprinting the purchase order then ME9F is the best transaction you can use. Why you are looking for other transaction codes?
    Regards
    Arif Mansuri

  • Mass deletion of open orders

    Dear Experts,
    I have more than 1000 open orders in system, and i found VKM3 ll be good option to close the orders even at item level & orders partially delilvered , is it right way to do it?
    or do i have any other easier option?
    thanks & regards

    Dear Jitesh,
    VKM3 is for releasing the orders which are blocked for delivery due to credit check.
    You can try MASS and give reason for rejection as advised above.
    But if i were in your place, i will go for a Zprogam which will call a BDC.
    In the program i will call all the orders which do not have a delivery.
    If you need to close the orders which are partially delivered, then you can write another condition to check the orders with delivery but delivery qty less than order qty and if so, edit the order delivery qty with the actual delivered qty.
    The program will call the BDC (in which delete the sales order in case 1 and edit the qty field in case 2)
    By writing a Z program, the advantage is i will be able to use this Zprogram in future, (i can even include the order type / order date etc as selection criteria in the Zprogram.)
    Thanks & Regards,
    Hegal K Charles
    Edited by: Hegal . K . Charles on Nov 21, 2011 9:34 AM

  • Creation of New T-Code for mass maintenance of SA

    SAP currently does not have a facility to mass-maintain schedule agreements.  The business alone has over 16,000 schedule agreement lines.  Manual maintenance is very time consuming.
    There are some key items of data that can require amendent for a particular vendor.  The new program would permit the maintenance of:
    Planned delivery time                EKPO-PLIFZ
    GR proc Time                           EKPO-WEBAZ
    Firm Zone                                EKPO-ETFZ1
    Trade off Zone                          EKPO-ETFZ2
    Binding Grp                             EKPO-KZSTU
    Conf Control Key                     EKPO-BSTAE
    Vendor Material number           EKPO-IDNLF
    Stock type                              EKPO-INSMK
    Creation profile                        EKPO-ABUEB
    approach  from my functional consultant:
    basically i want to update the fileds on a  screen of   tcode : memasspo (mass maintenance of purchase orders )
    if i select pur ord item in the initial screen,
    it allows me to enter pur doc values and item values
    after that
    if i select fields symbol button on left side
    and i can select  fields which i have to be updated  in the right side in the Popup screen
    if i choose fields they will come along with pur doc and item in the screen
    My question is :
    pur doc and item values  with additional fields data is available in the flat file that should be updated
    pl let me know the approach to upload whether i go for eigther BDC or BAPI
    Note :
    i can update for newly added fields  in the  user defined SAP Screen  itself for porders
    but if i enter the purchasing doc as scheduling agreement no it wont allow you  to update
    i need to update for Scheduling agreements ?
    <removed_by_moderator>
    Thanks in advance
    Edited by: Julius Bussche on Sep 3, 2008 9:56 AM

    Hi Hariprasad,
    If restricting certain fields using field selection option is not suitable for you, you can go ahead with the option Screen Variend
    Also refer the link
    [https://wiki.sdn.sap.com/wiki/display/Snippets/Transaction%20Variant%20-%20A%20Step%20by%20Step%20Guide%20for%20Creation]

Maybe you are looking for

  • Report Template dependant of PLSQLEXPRESSION

    I have written a report template to vary a column format depending on a PLSQL Expression. I want to have an expression like this in the 'Column Template 1 Expression' box. MY_LIB.fIndicatorStateChange(1,#COLUMN_VALUE#) or MY_LIB.fIndicatorStateChange

  • Ipod touch comes up in itunes but i have no tabs?! Help!

    When i plug my ipod into itunes, it comes up on the side but the only thing that comes up when i click on it is ipod! Thats all it says ipod! Plz help!

  • Insert video question

    Hi. I have inserted video no problem, and am now trying to get the first frame to show an image I made (the current first frame is black on pageload, which looks bad). Can anyone tell me how I might do this? Thanks! -Derek CEO, Shimano Fishing

  • How do I transfer my Adobe CC software to my new computer?

    Hi there, I am switching from from my current MacBook to a new MacBook and I would like a step by step guide as to how to transfer my Adobe CC software to my new computer? Regards, Natalia

  • Error when trying to download Adobe Edge Animate trial

    I've been trying to download a trial for Adobe Edge Animate for the last two days and keep getting an error message saying "there is a problem, please try again later."  Can't find a way to contact Adobe directly to see if there is a problem or if/wh