Archiving object for batch deletion

Hi   ,
Please let me know the archiving object for batch date deletion from table MCHA.
MM_SPSTOCK is for archiving batch date from table MCHB.
Thanks in advance,
Vinayak

MM_SPSTOCK - is for archiving all the Batch related data including speical stocks. This will take care of your Batch Tables MCH1, MCHA, MCHB(own stock) and also all of the special stock tables like MSKA, MKOL, MSKU, MKOP, MSLB .....(if used in your company)etc. You should be fine just using this object

Similar Messages

  • Can you please give me the details of Archiving object for Reservations

    Hi All,
    Could you please give me the details of Archiving object for Reservation documents. If there is no standard object can you please give me the details, for which program we are using.
    Regards,
    Ram

    Hi,
    You do not need to configure the tables to be deleted for any archive object through AOBJ. SAP would have maintained the list of tables from which data will be deleted if you archive a particular object. In case of archiving MM_EKKO, data will be deleted from many other tables apart from EKKO and EKPO. Here is the list of tables from which data will be delete if you archive PO using MM_EKKO.
    A068
    A081
    A082
    A215
    ADR10
    ADR11
    ADR12
    ADR13
    ADR2
    ADR3
    ADR4
    ADR5
    ADR6
    ADR7
    ADR8
    ADR9
    ADRCOMC
    ADRCT
    ADRG
    ADRGP
    ADRT
    ADRU
    ADRV
    ADRVP
    AUSP
    CDCLS
    CDHDR
    CDPOS_STR
    CDPOS_UID
    CMFK
    CMFP
    DJEST
    EIKP
    EIPO
    EKAB
    EKBE
    EKBEH
    EKBZ
    EKBZH
    EKEH
    EKEK
    EKES
    EKET
    EKETH
    EKKN
    EKKO
    EKPA
    EKPO
    EKPV
    EKUB
    EREV
    ESKL
    ESKN
    ESLH
    ESLL
    ESSR
    ESUC
    ESUH
    IBADDR
    IBIB
    IBIBOBS
    IBIBT
    IBIN
    IBINDOMAINS
    IBINOBS
    IBINOWN
    IBINT
    IBINTX
    IBINVALUES
    IBSP
    IBST
    IBSTREF
    IBSYMBOL
    INOB
    JCDO
    JCDS
    JEST
    JSTO
    KAPOL
    KOCLU
    KONH
    KONM
    KONP
    KONW
    KSSK
    MLBE
    MLBECR
    MLWERE
    NAST
    RESB
    STXB
    STXH
    STXL
    WRF_PSCD_DLHD
    WRF_PSCD_DLIT
    WRF_PSCD_DLIT_SH
    Hope this helps
    Cheers!
    Samanjay

  • Archiving object for tables GLPCC and GLPCO

    Hi All,
      GLPCA table stores the actual line items in PCA and GLPCT table stores the totals records of PCA.
    What are the transactions which get affected in regular course by these tables?
       GLPCC - EC-PCA: Transaction Attributes
       GLPCO - EC-PCA: Object Table for Account Assignment
    There is no archiving object for the tables GLPCC and GLPCO when checked in DB15. What is the alternative for archiving the entries in those tables?
    Thanks in advance
    Regards
    Anupama

    Hello Anupama,
    The standard archiving objects for PCA are EC_PCA_ITM & EC_PCA_SUM. Most of the data is archived with above two objects.  Hence it would be better to use given archiving object. About 80% of data can be archived through standard archiving objects.
    For more information you may read SAP Data Management Guide.
    Regds
    Ambadas

  • Customised archiving object for archiving a Y table

    Hi Guys,
    I am trying to create a customize archiving object for archiving a Y table.
    BC_SBOOK is one archiving object which i am using as the template. IT has no archiving calss defined in AOBJ tcode
    Could you please let  me know if it is necessary to create the archiving class.
    Also if i can get any reference document for the same.
    Thanks & reards,
    Jack

    Hi Jack,
    Please refer the below link for more infor on Archiving Classes
    [https://cw.sdn.sap.com/cw/docs/DOC-14096]
    Regards
    Abhii

  • Archiving object for the tables

    Hi,
    I want to archive the tables.But some of the tables I did not find the archiving object.What should be done on this.Pls guide.
    Tables w/o archiving object which i want to archive
    APQD,ARFCSDATA,DYNPSOURCE,WBBP,REPOLOAD,REPOSRC,BDCP,BDCPS
    Thanks

    Hi Rajesh,
    Not all tables can be archived. For some tables there may be option available for plainly deleting the contents without archiving. Please check the Data Management Guide available at the service marketplace for further information. You may also refer to SAP note 706478.
    Word of caution: Not all tables are meant to be archived / deleted. Some tables maybe required for proper functioning of the SAP system (however big the table is). So please proceed with caution if you are trying to develop a custom program to delete contents from a standard SAP table, you may end up deleting some data which was required. Even when deleting using standard SAP programs, proper due diligence and testing is necessary
    Hope this helps,
    Naveen

  • Custom Object 1 - Batch Deletion

    Hello,
    I am trying to delete all records using Batch Delete option from a Custom Object. The option is not present in CRMOD even when I am the Admin of CRMOD. I have checked the Access Profile and everything seems alright.
    Please suggest me some alternatives?
    Thank you.
    Regards,
    Rohit Dassani

    Hello,
    you have only one alternative. You could write a program (Java, .Net, etc.) for delete records from Custom Object(s) by using CRMOD Web Service.
    Certainly you can find some samples in the Net.
    Regards

  • Max record limit for Batch delete

    Hi,
    Is there a limit on the maximum number of records that can be deleted using the batch delete functionality?
    If I select an Account list which has more than 200 records, so it covers more than one page of the list view. When I select batch delete, does that delete all the records or just the 100 records on the first page?
    Regards,

    The batch delete will delete all the records in the list. There is no upper limit on batch delete.
    Edited by: bobb on May 4, 2011 7:30 AM

  • Searching for Archiving Object for table COMH PP-PI messages header

    Hallo,
    i am faced to archive records from table COMH (PP-PI message headers).
    And searched SMP, SDN, Dataguides but i could not find any objects or delete-reports for this table.
    Could anyone give input on how to get rid of the records in COMH?
    with regards
    ingo

    Hello Ute,
    thanks for your informations.
    We are going to start RCOCB009 as batchjob periodical, once per month, to get rid of elder messages.
    with regrads
    ingo

  • Archiving process for batch and handling unit

    Hi Guru,
       Need your help in achiving process. I would like to achive batch and handling unit information in SAP. Is it possible that, I can just achive these information without archiving sales order, inbound delivery, outbound delivery and etc document ?
    If there are 3 line item in sales order document, only 2 line item are shipped and 1 still open, for this scenario can the batch and handling unit information be archive. Or all the line item for that sales order line must completed then only can be archive.
      Pls advise.
      Any information will be appreciate.
      Rgds,
      LH.

    unfortunaltey to archive boms you have to archive alle predecessing documents before you can start this one.
    go to transaction SARA for object MM_SPSTOCK and click the button for 'Network Graphic'. it will tell you very colourfull what you have to do before attempting to archive boms.
    same goes for handling units, object LE_HU. Check in SARA.

  • Z program for batch deletion request

    Hello I am a consultant mm inexperienced, need to help guide a abap so you can make a program where you can make the Z deletion request batch, in the transaction principle "MSC2N."
    Please someone can help me? Bapi there is a standard or something?

    Hi Chandrashekhar,
    You can do so using RSBDCSUB.
    Please refer below link :-
    [http://help.sap.com/saphelp_40b/helpdata/pt/fa/09714d543b11d1898e0000e8322d00/content.htm]
    Regards
    Abhii

  • Archiving Objects  for sales docuements in document flow

    i want to be able to from the sales document flow ,i.e sales order, billling document be able to find the arciving objects?  were do i need to look to find the archving objects?
    cheers

    Hi,
    Try with report S3VBAKAU. You can check it in tcode AOBJ for object SD_VBAK.
    Regards,
    Eduardo

  • Script for batch delet redundant layer

    I have thousands files in the different folders, each file has same layer named “Job Info”. Can someone help me to write a script for del this layer folder by folder?
    I expected the script tells me that I have to select a folder, then it can automatically open the files, del “job info” layer then save file, rewrite, close file

    Hi Ashram,
    Sorry, I misunderstood your question. Please try the below.
    var folder = Folder.selectDialog ("Select the root folder");
    var myfiles = [];
    var _layers = ["test1", "test2", "test3"];
    getsubfolderfiles(folder);
    for(var i =0;i<myfiles.length;i++)
            var doc = app.open(myfiles[i],false);
            for(var j=0;j<_layers.length;j++)
                try
                    app.activeDocument.layers.add({name:_layers[j]})
                catch(e){}
            doc.save();
            doc.close();
    function getsubfolderfiles(folder)
        var filelist = folder.getFiles();
        for(var i =0;i<filelist.length;i++)
            if(filelist[i] instanceof Folder)
                getsubfolderfiles (filelist[i]);
            else if(filelist[i] instanceof File)
                if(filelist[i].name.indexOf(".indd") > -1){
                    myfiles.push(filelist[i]);
    Hi HarveyLiu,
    Try this,
    var folder = Folder.selectDialog ("Select the root folder");
    var myfiles = [];
    getsubfolderfiles(folder);
    for(var i =0;i<myfiles.length;i++)
            var doc = app.open(myfiles[i],false);
            try{
                var _layer = doc.layers.item("Job Info");
                _layer.remove();
                var link, image, frame,
                links = doc.links, counter = 0;
                for (var i = links.length-1; i >= 0; i--) {
                    if (links[i].status == LinkStatus.LINK_MISSING) {
                        try {
                            link = links[i];
                            image = link.parent;
                            frame = image.parent;
                            frame.remove();
                            counter++;
                        catch (err) {
                            $.writeln(i + " - " + err);
            catch(e){}
            doc.save();
            doc.close();
    function getsubfolderfiles(folder)
        var filelist = folder.getFiles();
        for(var i =0;i<filelist.length;i++)
            if(filelist[i] instanceof Folder)
                getsubfolderfiles (filelist[i]);
            else if(filelist[i] instanceof File)
                if(filelist[i].name.indexOf(".indd") > -1){
                    myfiles.push(filelist[i]);
    Regards,
    Chinna

  • Mass deletion of batches - SAP Archiving Object MM_SPSTOCK

    __SAP Archiving Object MM_SPSTOCK (Batches and Special Stocks)__
    Would like to know if there is any standard program or report available through which the batches (to be deleted) can be set with a deletion flag. We are in the process of implementing the archiving object MM_SPSTOCK and the batches have not been flagged. There is no pre-processing job for MM_SPSTOCK that can be used to set the deletion flag for all eligible batches.
    This object MM_SPSTOCK does not have any date or selection criteria for the write job. All batches with set deletion flag will be archived/deleted.
    We are in the process of implementing LO_CHVW (Batch where-used data) for which imlementing MM_SPSTOCK is a pre-requisite.
    Would appreciate any leads around this. Any other suggestions around the MM_SPSTOCK & LO_CHVW will be great.
    Thanks
    Sam

    I am basically looking for a method (program / report) through which mass deletion flag can be set for eligible batches prior to using MM_SPSTOCK archiving object to archving / deleting the batches.
    Thanks
    Sam

  • Create Object for archiving Custom Table

    Hi guru!!
    I have a problem, I must create a archiving object for custom table..
    I must create a report for READ, DELETE and ARCHIVING this type of table..
    colud you help me?
    thanks a lot guru!!!

    Hi,
    Steps..
    GO TO SE11
    Give the table name
    Press change..
    In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR.
    GIve the authorization group &NC&
    Choose the single step radio button..
    Give the screen number 1.
    Give the function group..Give the table name itself as the function group.
    Press create. button.
    Now the screen is generated..go to sm30 and maintain the table entries..
    Thanks,
    Naren

  • How to create infostructure for my own archiving object?

    We created our own archiving objects.
    Could you help tell how to create infostructure for each of them?
    Any info would be appreciated.

    Hi,
    Infostructure creation:
    1. Create Field Catalog
    2. Create Infostructure and assign Field catalog created
    3. Activate Infostructure
    4. Fill Infostructure
    >> Retrieve archived data
    Path to create Field Catalog:
    Goto SARI >> Customizing >> Environment >> Create Filed catalog
    Note: 1. During creation of Field catalog make use of field name from SE11 transaction.
    2. Target field and Reference filed should be same and Source table from which you are considering the filed name
    3. Key filed name should be Indicated
    Path to create Infostructure
    Goto SARI >> Customizing >> Environment >> Create Infostructure
    Assign Archiving object for which this infostructure is created and assign filed catalog
    Activate it.
    Path to Fill structure
    Goto SARI >> Status >> Select Archiving object and consider option Fill per Infostructure
    In Archiving explorer you can retrieve archiving data.
    -Thanks,
    Ajay

Maybe you are looking for