Mass Deleting Supporting Documents

Hi,
We have over 6000 WMF loaded as supporting documents. We had problem in displaying those WMFs and had to convert them to JPGs and loaded all those JPGs to PLM. Since we don't need all of those WMFs now, how can we delete them in mass.

Hi
The function of mass deleting supporting documents is not available. But you can generate scripts to get mass deleting done.
Due to that I don’t know the exact objects you want to delete, only valuable scripts can be supplied.
Suppose you want to delete supporting documents, whose pkid starts with 1014, you need to generate following scripts:
delete DrlAttachmentReference where fkOwner in (select a0.pkid from attachments a0 where a0.fkSpec = '1014351bc57a-1c92-4bd3-ad8f-e9d0ee4e594d');
delete attachments where fkSpec = '1014351bc57a-1c92-4bd3-ad8f-e9d0ee4e594d';
delete gsmProductFactSheet where fkSupportingDocument = '1014351bc57a-1c92-4bd3-ad8f-e9d0ee4e594d';
delete from gsmSupportingDocAttributes where fkAttrParentID = '1014351bc57a-1c92-4bd3-ad8f-e9d0ee4e594d';
delete SupportingDocuments where pkid = '1014351bc57a-1c92-4bd3-ad8f-e9d0ee4e594d';
Note: 1014351bc57a-1c92-4bd3-ad8f-e9d0ee4e594d is a sample pkid in my local server. In your case, it should be replaced by the supporting document’s pkid you want to delete.
With current spec, you can get all supporting documents’ info easily from table SupportingDocuments:
select * from SupportingDocuments
where fkSpec='CurrentSpecPKID '
Please backup your DB before you run any script.
Thanks,
Sherry

Similar Messages

  • Mass deletion of document number ranges intervals for several company codes

    Dear experts,
    We are running version ECC6 and are about to go-live a lot of company codes simultaneously. We would like to delete satndard number ranges intervals for these company codes.
    Is there a way to delete the number ranges intervals (which have not been used) for several company codes at the same time ? I'm looking for a transaction or a program similar to OBH1 (used for the creation of number ranges ).
    Thanks in advance for your help.
    Best Regards,
    Steven

    Hi
    I am also not aware of such T.code to delete number ranges for a company code.
    Alternatively, you can go to FBN1 in change intervals mode.
    From the Menu Select all and Press Shift + F2 (Delete interval).
    Ofcourse, this have to be done individually for each co. code.
    Regards

  • Mass Deletion of Parked Document

    Hi,
    Can someone please let me know how to delete parked documents in MASS, using FBV0, we can delete one by one.
    If not mass deletion, is there any other option of mass archiving or not releasing kind of stuff?
    Thanks
    Balla

    HELLO,
    You do not have the option to mass delete. One option I can think of is LSMW if you know the documents to be deleted.
    However, you have the option to mass post the documents. Batch (SM35)
    Regards,
    Ravi

  • Mass Delete of Solution Manager Documents

    Hi
    We have a requirement in our project to mass delete documents ( some 4000+ ) . Is it possible
    Ideally I would like to filter them with SOLAR_EVAL based on attributes and then do mass delete.
    Any pointers will really be appreciated and rewarded
    Regards
    Jag

    Hi Jagmohan,
    Sorry I dont have a direct answer myself.
    However, all I can say is there is no such direct facility available in SolMan.
    The procedure for mass document deletion should be much similar to the need for mass upload and perhaps met only by ABAP development.
    [This|Mass Upload documents to Solution Manager; thread could help you to some extent.
    Best regards,
    Srini

  • Physical Inventory documents mass delete and reference in material document

    Dear Experts,
    I have 3 questions,
    1. Is there any option to mass delete physical Inv documents
    2. How can i know if the physical inventory documents are posted  (MI07) or not yet
    3. If i see any material document of mov type 701 or 702, there is no reference of physical Inv Doc # in it. How can i know that this material document is created as a result of which physicl Inv document.
    Appreciate your help
    SAPXPT

    Hi,
    "1. Is there any option to mass delete physical Inv documents"
    Yes You can delete the Physical Inv Documents with MIAD but for that you need to maintain one variant with it and copy all the Document no. in TEXT file paste in the in Archiving Selection's.
    "2. How can i know if the physical inventory documents are posted (MI07) or not yet"
    Please check ISEG table and provide the time Period as search menu so that you can see all the Doc's posted on today's date.
    "3. If i see any material document of mov type 701 or 702, there is no reference of physical Inv Doc # in it. How can i know that this material document is created as a result of which physical Inv document."
    go to MB59 and check the Material documents with respect to Movement type and date. and the difference you will see in MMBE as per the movement used.
    Regards,
    Ninad Kshirsagar

  • Mass deletion of parked LIV invoices

    Hey Guys:
    I want to Mass delete the parked EDI LIV invoices. I have implemented note <b>971193 - FIPP: Mass deletion of parked documents</b> which is pulling data from FBV0...which is not the place where parked EDI LIV invoices are in.
    I have found a table RBKP which is having my parked LIV invoices document numbers.
    Can some of you give me a solution from where exactly we can mass delete these parked LIV invoices which have not touched the F1 yet.
    Thanks
    Gitaa

    hi Gita,
    If you want to Mass reversal then go to Tcode F.80.
    Thanks
    Ranjit

  • MASS Deleting of Parked Invoices Urgent Urgent

    Hello,
    How to delete the Parked Invoices.
    Is there any transaction for mass delete??
    Regards,
    Kumar

    hi,
    MR8M --> cancel invoice document
    MRA1 -->  create archive
    MRA2 -->   delete documents
    MRA4 -->  manage archive
    first you archive the parked invoices and using MRA2 you can delete all archived invoice documents.
    hope this may help you,
    regards,
    srinivas

  • Deletion of Parked Invoices - Mass deletion

    Can any one please guide the T.code for the Mass deletion of parked IRs.
    With regards,
    Gokul.

    Mass Archived/Deletion of Parked Invoice Document:
    T.code : MRA2 -Delete Documents/Archiving Invoice
    You can excute the standard program for invoice deletetion RM08RADE  the invoice documents from Invoice Verification that were archived with program RM08RARC (object MM_REBEL) from the database. Also this will execute in Test mode But its Records are deleted from the following tables:
    RBKP: Document Header: Invoice Receipt
    RBTX: Taxes: Incoming Invoice
    RSEG: Document Item: Incoming Invoice
    RBCO: Account Assignments
    RBWS: Withholding Tax Data, Incoming Invoice
    KONV: Conditions in the Incoming Invoice
    NAST: Message Status
    RBVS: Splitting the Vendor Line Item
    CDHDR/CDPOS: Change Documents
    Prerequisites :
    Documents that have reached the end of the retention period set in Customizing. For the retention period, the posting date in the invoice document header is relevant. If no retention period is set in Customizing, the system uses 9999 days as the minimum retention period.
    Procedure
    1. If the program is only for testing purposes, that is you do not want it to actually delete any data, select the option Test run.
    The variant entered in the Archive Customizing (Environment -> Customizing) under Settings for the deletion program in the field Test run variant, is used in this case.
    (If the test run option is not flagged, then the system will use the variant which is specified in  Archive Customizing in the field Productive run variant.)
    2. Specify which data should be deleted with the pushbutton Archive selection.
    3. Specify when the job should run with the pushbutton Start time.

  • 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

  • How do you delete a document in Pages?

    How do you delete a document in Pages? I keep trying to and it's still there...very annoying. Any help would be great. Thanks!

    Where have you saved the document, or are you talking about a template?
    You do not delete any documents inside Pages. You must locate them in Finder (probably in the Documents folder) and then drag them to the Trash.
    If you need basic help with using a Mac, Apple has helpful videos and tips in their Support section of their website.
    Peter

  • Hi,I have problem with my mac's storage. I deleted some documents,but the storage involves 34Gb other,what does the other consist of? how can I do my mac's storage specially other free?

    Hi,I have problem with my mac's storage. I deleted some documents,but the storage involves 34Gb other,what does the other consist of? how can I do my mac's storage specially other free?

    1. Empty Trash.
        http://support.apple.com/kb/PH10677
    2. Delete "Recovered Messages", if any.
        Hold the option key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
        Library > Mail > V2 > Mailboxes
        Delete "Recovered Messages", if any.
        Empty Trash. Restart.
    3. Repair Disk
        Steps 1 through 7
        http://support.apple.com/kb/PH5836
    4. Disk space / Time Machine ?/ Local Snapshots
       http://support.apple.com/kb/ht4878
    5. Re-index Macintosh HD
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409

  • I can no longer mass delete mail because the pop-up "delete" at the bottom of the screen has disappeared. How do I get that functionality back?

    I somehow lost the ability to mass delete mail using the "edit" and check off function. The "delete" option no longer pops up at the bottom of the screen. Has Apple done away with this option in the latest software update or what?

    look here how to back up:
    http://support.apple.com/kb/HT1766

  • Mass-deletion of PR-items

    Hello gurus,
    I would like to delete up to 5000 purchase request items (i.e. set the deletion flag, EBAN-LOEKZ).
    Unfortunatelly this is not possible using MEMASSRQ.
    In another forum I found a message saying the deletion cannot be set using MEMASSRQ because there was no check wether a PO item was created for that PR item. So setting the deletion flag would lead to an inconsitency. This made sense to me, until I found out that it IS possible to set the deletion flag for PO items using MEMASSPO!
    So, does anyone have an idea on how to do this without having to manually edit every singe PR?
    Thanks in advance
    Alicia

    Hi Alicia
    It's not possible to use EBAN-LOEKZ in the mass maintenance transaction. The MASS transactions simply update the tables EBAN, EKKO, EKPO,... without proofing things. Behind setting the deletion flag LOEKZ functionality exists. Not all requisitions or purchase orders can be deleted, if references exists. So it is not possible to set the deletion flags by MASS.
    A possible workaround would be to create your own ABAP report to perform the mass deletion on your requisitions but this would not be supported by SAP in regard to data integrity issues etc.
    Best Regards
    Mark

  • Mass deletion of Parked doucments

    hi all,
    is there a tran code we could use to delete parked documents in mass.
    thank you
    nagesh

    Hi,
    You can write one BDC program with the help of an Abaper and delete it using t-code: FBV0 - Post/Delete .
    It will not take much of a time.
    Regards,
    Amit

  • Mass delete the parked EDI LIV invoices

    Hey Guys:
    I want to Mass delete the parked EDI LIV invoices. I have implemented note <b>971193 - FIPP: Mass deletion of parked documents</b> which is pulling data from FBV0...which is not the place where parked EDI LIV invoices are in.
    I have found a table RBKP which is having my parked LIV invoices document numbers.
    Can some of you give me a solution from where exactly we can mass delete these parked LIV invoices which have not touched the F1 yet.
    Thanks
    Gitaa

    Have you tried Mir4

Maybe you are looking for