SAP Archiving Process-Simple Steps: Application
SAP Archiving Process-Simple Steps: Application
SAP Archiving Process-Simple Steps: Application
Actions
Share 5 0
Like 5
Login Register
Application:
Archiving can be done in different objects of PP/MM/FI/CO/PM etc.
The example is with a MM object, but it can be applicable equally to any PP object (PR_ORDER-
Process order)
This document demonstrates the process of archiving in different objects. Though this is a archiving
process, this is a general way of archiving. Archiving is required to have a faster and clean system. It
is also possible to get the data once these are archived.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Incoming Links
There are 4 Main steps in SAP Archiving are:
Re: Comparison between Informatica ILM
Nearline and SAP data archiving tools
Step 1 – Pre processing Re: Display Archived production orders (CO78)
Deletion indicators will be set in this step
Re: Archiving in SAP ISU Meter reading
Applicable for some objects
Re: Costs stuck in WIP for deleted Production
Order
Step 2 – Write
Re: Regarding Archiving
Records chosen for Archiving will be written in Archiving file system in Unix server (Path:
/Volumes/Archiving/<Object name>/…) Re: How to Clear stock from closed stores (table
MARD, MARH...)
Applicable for all objects
Step 3 – Delete
Written records will be deleted
Applicable for all objects
To ensure that the Archiving file system back up is taken for written records, at least 2 days gap
to be maintained before performing Delete step.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Object: MM_EKKO (Purchase order)
Enter the New Variant name and click on ‘Maintain’ button. Maintain “Purchasing Documents” information and
“Restrictions” as required.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Save Variant.
Execute the variant. Check the jobs.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Open the spool.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Create and save variant for the selection (should be same as maintained in Pre processing step).
Execute the variant. Check the Jobs.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Write step successfully completed.
3. DELETE Step:
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Click on “Archive Selection”. Select the files to be deleted.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
File is successfully deleted.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
We can see a Green signal light for the last archiving session. This means that the Info structure is updated
successfully.
If the signal is Yellow or Red, Please Click in .It will fill the info structure once again.
After every archiving run this should be checked. Otherwise, reading data from archived files will not work for
the users, which leads to raising a ticket.
5. STATISTICS:
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
This option shows the details of archiving sessions. The details include,
Number of objects (header records) Written, Deleted
Number of Delete jobs
Write and Delete Job durations
Etc.
6. LOGS:
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
If Job log is clicked for the Write step job, the following log is displayed.
We can see the Program name, variant used, User id, Archiving session number, How many number of
documents processed,
Path of the system where the written file is stored .
Name of the Archive file created in the file system, etc., can be seen in the log.
7. READ:
Execute
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Execute
We can see the archived Purchasing documents. For further documents, refer to User document for this
object.
( SPEED_MM_Display_archived_Purchase_Order_v1.pdf)
8. MANAGEMENT:
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
It shows the status of archiving session. (Complete or Incomplete).
Double clicking on the session will lead to the following screen where the archived file related details can be
seen.
44342 View s
(10 ratings)
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Share 5 0
33 Comments
Hello Krishnedu,
Thanks for sharing this. But can you please confirm whether we need to wait for 2 days really before
performing Step 3 mentioned in the Archive process.
We have used SARA for my client but we never waited for 2 days to perform the Step 3 after Step 2
mentioned above. Please clarify and let me know whether my understanding is correct or wrong.
Thanks.
Like (0)
Hi Aditya,
Not necessary. Actually we are having a setting for data backup. So we have considered a
cushion time. The job of Write and Delete is dependent job. Hence 2 days wait time is just
to confirm the data backup.
Krishnendu.
Like (0)
Hi Krishnendu,
Like (0)
Hello Krishnedu,
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Very usefull info...
Regards
Sesha...
Like (0)
Thanks Sesha.
Regards,
Krish.
Like (0)
Keeping archives in the file system is actually not a safe place, as data are not unchangeable in file
system.
Hence you often have another step called storing to move the archives from the file system to a
content server.
What makes me always a kind of angry is that all those archiving documents completely ignore to do
at least the test runs with a detailed log. Nobody is talking about checking joblogs and detailed lists.
That this is actually 95% of the whole archiving activity, and probably as well 95% of the questions
asked in the forums are because the people do not know about logs.
If I comment that a document is just basic, then I often get the answer, it is for beginners.
But especially beginners should then be educated with the difficulties and the most important
settings. This is the advantage of documenting and blogging in SCN, to be different from the
standard help documentation. This is just an illustrated best case walk through.
If you have archived, then you could explain the hundred different error cases that you have seen.
Like (5)
Actually we are taking the backup in memory tape everyday in a specific time. That's the
reason I have mentioned a gap of 2 days between Write and Delete process.
Regards,
Krish.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Like (0)
Like (0)
Hello Everybody..
I have just gone through the document as we got a requirement for SAP archiving ..i hope its quite
clear for begginners....
Thanks alot..:-)
Naresh Gollapelly
Like (0)
Krishnendu Das Mar 10, 2014 4:45 PM (in response to Vamshi Krishna Menaka)
Hi Vamshi,
Thanks a lot.
Regards,
Krishnendu.
Like (0)
Dear Krishnendu,
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Like (0)
Vivek Mahendran Mar 14, 2014 1:15 PM (in response to ßhģ Ġǿw dâ)
Hi,
Post processing process in FI_DOCUMNT is used to delete (not to archive) the data entries
from the secondary index tables like BSAS, BSIS, BSAD, BSAK etc...
These tables entries are just the duplicate entries of BKPF and BSEG table entries which
are stored in these secondary index tables for fast retrieval purpose. So post-processing is
used to delete these entries once after archiving WRITE, STORE and DELETE jobs are
completed for FI_DOCUMNT object.
Like (1)
Krishnendu Das Mar 17, 2014 7:22 AM (in response to ßhģ Ġǿw dâ)
Hi Bhagya,
Regards,
Krishnendu.
Like (1)
Good information..
So clear and informative...
Like (0)
Krishnendu Das Mar 19, 2014 5:59 PM (in response to Dibyendu Patra)
Hi Dev,
Thanks.
Regards,
Krishnendu.
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Like (0)
Hi Krish,
Thank you for a simple, concise and comprehensive document. Very helpful for first timers.
Thank You,
Gajendra.
Like (0)
Krishnendu Das Apr 29, 2014 2:41 PM (in response to Gajendra N Koka)
Thanks Gajendra.
Regards,
Krishnendu.
Like (0)
Hello Krish,
Indeed a nice concise document which explains all the important steps in archiving.
We run all of our archiving automatically using an external job controller. That way, immediately
following the completion of the write phase, we perform a backup on the files on the unix server
followed by the sap program for deleting "RSARCHD" to control the deletion phase.
Following that we also run a reorg of the indexes of the tables that were archived.
Regards,
Sam
Like (0)
Hi every body,
i need small help from experts, like in archiving object if we dont have any reload program in SARA ,
then how we reload the archived data from other system to ECC system (back), please help me ...
the object is BC_SBAL ...its contain only write and delete jobs only, it doesn't have any reload
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
program.. please help on this
Like (0)
Hi Raj,
If the reload program is not available for an archive object, that means it is not supported for
reloading. Why would you need to reload BC_SBAL? The archived data is accessible via
SLG1.
Best Regards,
Karin Tillotson
Like (0)
Hi Karin,
1) the purpose of reload for this is , we ran the write , delete program to this object is 2014 date
instead of 2013(need to read before 2013 data only). so i need to revert back the 2014 data into ECC
. how i can reload the deleted data .
2) can you help me to know what configration required to store the deleted data into table as file .( if
we want to read archived data then we read data from that stored table right).
Thanks
Rajashekar
Like (0)
Karin Tillotson Aug 13, 2014 9:47 PM (in response to raj reddy)
Hi Raj,
Like I stated before, you cannot reload the archived BC_SBAL data, but, you can read it if
you activate field catalog SAP_SBAL_002 and Infostructure SAP_BC_SBAL01 in SARI and
fill the archive information structure with the relevant BC_SBAL archive files. You can then
read this data via transaction SLG1 by selecting the Format Completely from Archive radio
button.
Best Regards,
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Best Regards,
Karin Tillotson
Like (0)
Like (0)
Thanks Douglas.
Regards,
Krishnendu.
Like (0)
Hi Krishnendu
The Customer wants to delete de Central Intance from the Logon Group of the Archiving. Did you
know how to do it ?
Thanks in Advance
Best Regards.
Like (0)
Krishnendu Das Sep 26, 2014 8:35 AM (in response to Carlos Trujillo)
No
Regards,
Krishnendu.
Like (0)
Hi,
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Tnx
Krishnan
Like (0)
SAP has Fiori applications which could be interesting if you are involved in archiving -
Understanding SAP ILM Archiving Fiori applications in 5 questions . The applications provide
options to monitor jobs, logs and also take corrective action (not covered in this blog)
Like (0)
Thanks,
Reshma Patil.
Like (0)
Hello,
what happens with the roles and authorization? If I want to see the information that was archived, the
activitiy validate my authorization?
thanks
regards
Like (0)
Like (0)
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Hi,
Nice Document. Now I have some problem on archived data like Some documents are archived but
not deleted from database. what can I do for delete those document from data base. Can you please
share me your idea ? It will be great helpful to me.
Like (1)
Just a suggestion:
Also explain all the errors faced by you and it's resolution step so that other person can take
preventive steps.
Regards,
Ashish
Like (0)
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com