Archiving Materials - MM_MATNR

People,
I have a situation with Archiving Materials:
If a material is deleted (logical deletion), the archiving process must delete this material if there is no active purchasing document for it.
We can see, if we have a purchase order with this material, the archiving process does not delete it.
Now, when we have a Maintenance Order (PM) with this material, for instance, for next 3 months, when archiving process runs, it deletes this material.
I think this process it is not checking the Maintenance Orders. Is it possible? What can I check?
Thanks a lot!

How is this material entered as component?
you probably had never a quantity maintained.
Once you have had a quantity, then you have a reservation, and with a reservation you cannot archive the material.
I get message:  & reservation / dependent requirements exist

Similar Messages

  • Archiving Materials MM_MATNR- set parameters?

    I am customizing the settings in SARA to Archive Materials (MM_MATNR) and I want to set logic so the system doesn't archive Materials that are less than 1 year old.  So if I create an item, have no transaction against it, and run the archiving program, how do I make sure it doesn't archive this new materials?

    There is no provision within SAP to set residence time for Material master records (MM_MATNR). Hence it is not possible to set the kind of logic you require in SARA. What you can possibly do is this.
    1. Flag the material master record which are older than 1 year for deletion
    2. In the archive variant uncheck the "Consider matls w/o del. flag"
    Refer the following link for flagging material master records for deletion
    http://help.sap.com/saphelp_470/helpdata/en/8b/8e963466880c30e10000009b38f83b/frameset.htm
    Regards,
    Samanjay

  • Using instruction for creating field catalog to archive object "MM_MATNR"

    Hi all,
    I need a using instruction for creating a new field catalog to archive object "MM_MATNR". I'd like to create a field catalog using some fields of tables mara, makt, mvke and marc.
    Thanks for your help!

    Hi,
    Go to following link;
    [Material Master Archiving|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f75a80-867f-2d10-7aa6-ac164e43e89f?quicklink=index&overridelayout=true]

  • Archiving materials

    Hi,
    I'm trying to archive some materials but at the end of the job something went wrong and the log file shows the following:
    Job started
    Step 001 started (program MMREO050N, variant TEST, user ID
    Inizio dell'elaborazione dati.
    Logical file name or logical path name incorrectly defined
    2 di 2 materiali ( 100 %) sono stati elaborati
    Job finished
    Don't understand what is the problem

    Hi,
    this is what I read in the spool:
    Summary
    Archiving Session Number                                  000015
    Number of Written Data Objects                                0
    Size of Archiving Session in MB                           0,000
    Proportion of Header Data in %                              0,0
      Log (Summary) for MM_MATNR
        Message                                                                           Obj. Disp. Object (Example)
        Note: no input data was found - processing is cancelled                                    1
      Detail Log for MM_MATNR
    Object                                   Message
                                              Note: no input data was found - processing is cancelled

  • Archiving materials - Arquiving selection empty

    Hi Gurus,
    To archive a list of materials (without PO's, stock, etc) I do the following:
    - Flag materials for deletion (t-code MM06);
    - Create archive file (t-code MM71), or at least I try to do so (the jobs have status finished).
    But when I'm going to MM72 or SARA - Delete, the arquiving selection is empty. I also runned program MMREO050 and I receive the following message: BA248 "Archive file c:\temp\MMO cannot be opened for write program".
    Does anyone know what should I do to have the archive file in MM72 or SARA?
    Thanks in advance!
    Best regards,

    Thanks for your answer Jurgen,
    Job Log:
    Job Started;
    Step001 started (program RSARDISP, variant, user ID PMARIANO);
    Write job ARV_MM_MATNR_WRI20090923123516 with ID 12351700;
    Job Finished;
    The problem appeard in the spool file. It says that can't open the C:
    temp\xxxx file to write.
    How can I overcome this problem?
    Best regards,
    Pedro Mariano

  • Archiving MM_MATNR - dependent objects

    Experts
    Im trying to archive MM_MATNR (Material master)  and I understand that all dependent objects need to be archived before material master can be archived.
    My question is what is the most effective way of identifying and archiving dependent objects collectively or individually??
    Any assistant will me much apreaciated  but please dont post the following links or anythin from the following links(I have read thier contents n want more than they offer)
    A step by step process will be much apreciated....
    [http://www.sap-img.com/bc003.htm]
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f75a80-867f-2d10-7aa6-ac164e43e89f?quicklink=index&overridelayout=true]
    Regards
    Sylvester
    Edited by: Sylvester Mokgwe on Jan 11, 2011 5:16 AM

    you really have a lucky hand in finding poor documentation.  Why dont you directly search in help.sap.com
    The technical archiving process is well doucmented there, step by step.
    further you should search OSS notes with key "MM_MATNR", there are plenty, make sure you are current with notes before you start. But more intresting in the beginning are the consultant notes there, explaining the errors  you may discover when archiving materials.
    of course you have to do this for any object that you need to archive before.
    Which objects this can be in theory can be seen in the network graphics, this answer was already given.
    But you have such a network graphic for any object that you need to archive before.....
    of course you do not need to archive any object there, just objects you use, and only those records from the object that are relevant to the materials you want to archive.
    Usually you set up a archving project, defining residence times for all potential archiving objects, then you do customizing and finally you start testing and then real archiving. this is explained in much more detail in help.sap.com and service.sap.com/plm
    And do not underestimate the effort. you need consultants from any module, and people from the business, and good to have auditors as well in the project. you will certaiinly face possible error, any process that is not defined and excuted clean from beginning to the end will give you headaches.
    I had a 50 day project (just my time),  to get familiar with the object, doing its customizing and execution (this can be different from object to object, even you start everything from SARA) and of course documentation. I have already spend more than 70 days in 3 years (it is not a high priority project) and I have not really archived materials that were in use yet.
    if a material was never used in dependent objects, then you can archive it right away.
    SAP does extensive checks (and you many have to add own addtional checks in user exits to avoid screwing up your production system (most archived data cannot be retrieved into the database). My system takes between 1 and 3 minutes to archive 1 material (or finally fail because of an error)

  • MM_MATNR archiving for article-site

    Dear Experts,
         I have a requirement to archive Materials based on article - site combination. I have discontinued the articles using "Article Discontinuation for Sites" option in "WRF_DIS_SEL" TCODE. The field, "LVORM" is set to 'X' in MARC table for the specified articles. Then i archived the articles by giving the article numbers in SARA->Write.  Is this the right process to do article-site arching or did i miss anything? I dont want the articles to be removed from MARA table but as some stores are closed, want to remove the articles from them.
    Thanks in advance
    Regards,
    Shanth

    Did you find and read Archiving of MARC Table Entries (and  543279 - MM_MATNR: Execution for specific organizational levels) before posting ?
    Regards,
    Raymond

  • Archiving    MM_MATNR

    I am trying to use SARA to Archive material master data records, and I want to know what checks are used to determine if a record is archivable. For example, does it check all transactional sales data to validate that the material is not on any sales orders (both open and closed SOs).   How can I figure out what checks are used to determine archivability?
    Thanks for your help!

    see the help
    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record. 
    You have to Flag the material master record for deletion. This is known as logical deletion. 
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.
    Some of the archive error log message :-
    Costing data exists
    Use in routing
    Use in sales and distribution
    Use in bill of material
    Delivery exists
    Costing data exists
    Info record exists
    Purchase order exists
    The Archiving steps :- 
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.

  • Archiving MM_MATNR: dependencies check report available?

    Archiving MM_MATNR (Material master) requires all dependent objects to be archived in advance. If I do a test run for MM_MATNR it shows me why a material cannot be archived, e.g. because it is used in a BOM (SAP Note 900537). The problem is, that the test run log just investigates if the material is USED in a BOM, it does not check if this BOM already has a deletion flag (and therefore would be gone when doing "real" archiving).
    This means that after having archived and deleted BOMs, routings, ... and finally trying to archive the material master, I then will find that I have forgot set deletion flag on some BOMs and therefore cannot archive the material unless setting DF on the BOM and archiving BOMs again.
    I want to avoid that by ensuring that if a material has a deletion flag, all dependencies have a deletion flag as well.
    So my question is: does anybody know a report / query to check for a material number if all dependencies are flagged for deletion as well?
    Best regards
    Martin

    Archiving the Material Master
    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record. 
    You have to Flag the material master record for deletion. This is known as logical deletion. 
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.
    Some of the archive error log message :-
    Costing data exists
    Use in routing
    Use in sales and distribution
    Use in bill of material
    Delivery exists
    Costing data exists
    Info record exists
    Purchase order exists
    The Archiving steps :- 
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.

  • Archiving MM documents

    Hi Gurus,
    I need help in archiving SAP documents. By T.Code ABOJ, I am directed to Archiving object MM_EKPO. After that, how will I archive POS and STOs? I need to extract them from SAP database and put those documents as flat files in the computer. Is this possible? If yes, then how?
    Thanks,
    Kumar

    Hi,
    SARA is a general transaction where you can archive all types of records using respective archiving object
    Go through the follow steps to archive the material master.
    Archiving the Material Master
    Before Archiving the Material Master the materials need to be flagged for deletion in T Code MM06/MM16.
    Archiving the materials is done thro T Code SARA. All the SAP archive functions are shown in SARA. Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.
    When a material is no longer required in a company or plant, you can archive and delete the material master record.
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    Archiving object MM_MATNR for archiving material master records.
    To archive the material master, first go to transaction SARA
    Type in a variant name and click Maintain. (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Go to Job Overview to check the archive status.
    To do a permanent delete, click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Go to Job Overview to check the delete status.
    This need to be done carefully and better to first do it in testing client.
    After archiving those materials will not be displayed in reports unless categorically selected

  • How to view archived material master

    Hi,
    I need to view the archived master master.
    When I checked in forum I found out it can be done through tcode SARA
    and object MM_MATNR. But I cant find archived material master in it.
    Please guide me.
    regards
    sathya

    Hi Sathya,
    The set of files which you are getting are the archive files. All your archived materials will be contained in those files. If you know the date when the material you are looking for was archived, you can select the archive file which was created on that date. Or as Juergen mentioned, if there is a proper note for the archiving session, it will be easier to find. In case you dont know the archiving date / there is no archiving note, then you may have to run MM72 on the archive files one by one till you get your material.
    Thanks,
    Naveen

  • Archiving issue in material master

    Hi
    I am trying to delete the material master through SARA t.code
    1.enter the  archiving object  MM_MATNR
    2. then click write button enter the varient name(zarc..)click maintain
         then enter the materials ...tick the radio button production mode..save the varent
    3.then come back click the starttime  click time immediatly
    4.come back click spool parameters
    5. then comeback click deletion button  then enter user name
    6. then click select archive files..her popupscreen displayed but there are no files.....
    i have faced issue thre ..so next step how can i proceed..pls guide me any one...
    when i am go to job overview ... my job ststus is finished and cancelled ..it has ahoes both status ...than i goto joblogs..error displas like ...........
    Virus scan profile /SARC/ARCHIVING_ADK does not exist
    Message no. VSCAN032
    Diagnosis
    The virus scan profile /SARC/ARCHIVING_ADK was requested, but is not entered in the configuration of the virus scan profiles.
    System Response
    The virus scan profile cannot be retrieved.
    Procedure for System Administration
    Check the configuration of the virus scan profiles.
    regards
    Sesidhar

    HI,
    ADK-based archiving relies on two main elements, which are used for the development and administration of archiving solutions: Archive Development Kit (ADK) and Archive Administration (transaction SARA).
    ADK and SARA are part of the standard SAP Web Application Server. ADK is the Application Programming Interface used by the applications to develop archiving solutions, while Archive Administration (transaction SARA) is used mainly by data archiving administrators to manage all tasks related to data archiving, including job scheduling and management, writing, reading and deletion of data, as well as Customizing.
    Pls check the link:http://help.sap.com/erp2005_ehp_03/helpdata/EN/ed/18cc38e6df4741a264bddcd4f98ae2/frameset.htm
    This issue is to be solved with the ABAP consultant, dealing with the Web based applicaitions...
    Regards
    Priyanka.P

  • MATERIAL MASTER DATA ARCHIVING

    Dear Experts,
    I have archive material master data from the data base.
    As a prerequisite for material master data archive,
    Purchase orders for the materials are archived already.
    Invoices documents are archived already
    Material documents are archived already
    No material stocks exists for these materials.
    Please tell me deletion flag is to be set for the material at client level ?
    Table MARA
    Field LVORM

    you can delete and archive a material master at any level.
    If you want archive the full material master, then you have to set the deletion indicator in MM06 on top level. if you just want archvie a storage location view, then you set your deletion indicator at this level only, as well in MM06.
    In general MM06 is not necessary, as the SARA MM_MATNR write program allows to archive materials without having a deletion flag.

  • Archiving the Material Master

    Dear All,
    I am trying to delete (Archiving) the materials using MM71 and SARA but I am not able to execute the same.
    what is correct step by step procedure.
    Thanks and Regards.
    Prakash.

    The Archiving steps :-
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    1. To archive the material master, first goto transaction MM71.
    2. Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    3. Save the variant.
    4. Maintain the Start date and Spool parameters and click execute.
    5. Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    1. Maintain the Archive Selection, Start date and Spool parameters.
    2. Click Test Session for testing or click execute to start the deletion program.
    3. Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.
    Hope this will help you
    Enjoyyyyyyyyyy
    Akshit

  • Delete MM materials after MM06

    Hi gurus,
    I've used MM06 transaction to check for deletion several MM materials. How can I delete them finally? Which is the transaction or program I can use to do this? Have I to archive them?
    Thanks a lot!
    Best regards,
    Iván.

    archiving with transaction SARA for object MM_MATNR is the only way to delete material master from a production system.
    This is a process that requires customizing, and usually a archiving strategy.
    you an only archive materials that do not have quantities in any period of current year and in previous year.
    Further you can only archive materials that have to reference in other documents such as bill of material, purchase orders , sales orders, deliveries, source lists, info records ........
    if the material has references, then you have to archive those objects first.
    the sequence can be obtained in SARA. enter object MM_MATNR then click the network button

Maybe you are looking for

  • After installing SP3 for BO XI R1 - Crystal Reports taking forever to run.

    Hello, We are running BO XI R1 SP3.  Ever since installing SP3 a number of our scheduled Crystal Reports are taking forever to run.  The Business Objects server resources are okay, CPU never really gets above 50% so I figure perhaps it's our SQL Serv

  • How can I use a variable as an array's name?

    Ok I have several arrays in my code (lets call them "array1", "array2" etc) and I want to load them based on the users input. So if the user enters array1, I want the first array to be loaded, and the same with the other arrays. I tried saving the us

  • 3d Acceleration on two monitors with nvidia?

    Is there any way to get two monitors that are running on the same pc and kernel BOTH be 3d accelerated in X? Like two instances of X or two instances of the WM...or...something?  I have an nvidia card for both of my monitors and would like both accel

  • Keyboard function Key issues

    So my Keyboard on my Macbook has had some issues over the past 6 months, so about 6 months ago it started muting the sound on my computer when I pressed certain keys like : enter, esc, P, /, \, 0 or ) and a few others, to fix it though i need to hold

  • Search terms not highlighted

    When I search, the page moves down, but the search term is usually not highlighted. If I continue to search down, some results are highlighted. This is described by this message: http://forums.adobe.com/message/4010198#4010198. I would have commented