2008 Apr 25 7:49 AM
Hi,
How to archive the materials?. Please telll me the steps in archiving the materials.
Thanks.
Hi,
How to archive the materials?. Please telll me the steps in archiving the materials.
Thanks.
2008 Apr 25 8:01 AM
Hi,
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.
Regards,
Satish
2008 Apr 25 8:14 AM
Hi,
In the SARA T.code it is asking for the Archive Selection.
How to Create that.
If anyone has the scrrenshots please pass on to me.
Thanks.
2008 Apr 25 11:32 AM
Hi...You can archive the materials of any range or any selection criteria.
We have SARA (Archive administration) to archive the sap data.
We have an archiving object(collection of all or some sap tables belonging to a particular application area such MM or SD etc is called archiving object) such as MM_MATNR to archive materials.
An archiving object also has different programs such as write, delete, pre processing etc etc. Just you have to create the variants of these programs before running the archiving jobs.
Go to SARA..enter the object name as MM_MATNR
click on write..enter or maintain the variant name, start date and spool paramters.
Execute it...!
Archive files will be created.
Now, click on delete..select the archive files from the archive selection, enter the start date/spool paramters if any.
Execute it..!
Your job is done.
You can find out whether the sap data are archived or not. You can data from the tables which are archived such as MARA in se16.
Also, you can check the same in the archive explorer SARE..enter this object name, enter the info structure.
execute it..!
enter the selection criteria..Execute..!
If you get the data..that means these data are archived and are not present in the SAP r/3 database.
Hope this is resolved now..!
Thanks to reward points if it sounds helpdul.
Regards,
Shamim