Daan Schattenberg
Read all my blogsYeah I know it sounds boring, but it’s not! Well at least I hope you agree with me when you have read this blog 😉
OK, what is Archiving?
Archiving is moving data from the online database via an archive file, and storing it on the file system or an external storage system so that it remains accessible to the users and auditors.
So why would you, as a SAP CRM guru, want to archive?
Basically it comes down to two answers;
- Performance; a decrease in your online database results in a better performance thus user experience.
- Money; a system can only handle a certain amount of data, when this amount is reached new database space has to be bought.
The problem is not in why we SAP CRM guys and technical guys want to archive, because of the benefits! But you have to convince the business/ the users that archiving is good for them. They often don’t see the need.
I think the Performance improvement is the best argument to get them aboard, because the money part is more an IT thing; it does not “hurt” them directly.
Taking away the fear of the business/users
- Will archived data remain in our SAP BW reports?
- Can we check archived data in the SAP CRM WebUI?
- Can we archive documents only when the complete process flow is completed (including R/3?)
Good questions if you would ask me; I would not want to archive anything if it means that the BW reports are affected!
- Will archived data remain in our SAP BW reports?
- Yes, archived data will remain in the existing SAP BW reports. But in new BW reports archived data is not taken into account.
- Can we check archived data in the SAP CRM WebUI?
- Yes, as of SAP CRM 7.0 you have access to the wonderful feature called “Archived Search”. More on that later…..
- Can we archive documents only when the complete process flow is completed (including R/3?).
- No, SAP does take item statuses, preceding documents and follow-up documents into account, but not a complete business process flow including R/3 data.
OK and now the system stuff
A. Prerequisites:
- Technical customizing in SARA (Filename incl. directory, Max. filesize, Variants of deletion reports).
- Customizing of the Residence Times for all business transactions.
- Customizing of Pre-Processing job.
B. Archiving steps:
- Pre-Processing job.
- Writing job.
- Deletion job.
C. Display of archived data:
- Activating structures.
- Filling structures.
You have to figure out some part yourself (or call Acorel ;-)) but I will give you A.2, C.1 and C.2. You will need a Basis colleagues for all the B points anyway!
A.2. Residence Time Customizing
IMG: Customer Relationship Management > Transactions > Basic Settings > Define Residence Times (or via SARA).
C.1. Activating structures
IMG: Cross-Application Components > General Application Functions > Correspondence > Archiving > Activate Archive Info Structure for Correspondence Archive
Lot of the Archiving Structures has “PC UI” in their name. Don’t get confused, but these are the correct ones!
C.2. Filling structures
IMG: Cross-Application Components > General Application Functions > Correspondence > Archiving > Activate Archive Info Structure for Correspondence Archive and the from top-menu Environment > Fill structure.
Summary of Archiving Structures to be activated:
- SAP_CRM_ACT
- SAP_CRM_SRV
- SAP_CRM_LEA
- SAP_CRM_SAL
- SAP_CRM_OPP
- SAP_CRM_CFM
- SAP_CRM_SRC
- SAP_CRM_CPL
Lessons learned
- You are never too old to learn, so my lessons learned about SAP CRM archiving are
- Archiving is really important (cost-wise and performance-wise).
- Business needs to be really convinced (what is the advantage for them of data being gone?!).
- Historical data in CRM is much more important to the business/users than in R/3.
- Archived date yes/no in BW reports, hot topic.
- Make it a project; do not do in “on the side”!
- From a technical point of view not super complex.