Download presentation
1
Sheila Schedlbauer Program Manager Microsoft Corporation
SAP SD/MM ARCHIVING Session Code: 107 Sheila Schedlbauer Program Manager Microsoft Corporation
2
Agenda SAP Architecture Archive History Build a Successful Archive Run
Project plan Objects, Data extract & SARA Metrics Archive Again or Upgrade Q&A
3
SAP Architecture SAP Global Instance
Single database & 9 application servers SQL Server 2000 & Windows Server 2003 Version 4.5B, Hot pack 57 Modules SD, MM, FI, CO, HR, AM, RE 2000 named users in 68 countries 39,000 worldwide users Heavy EDI and web based usage 99.9% availability
4
Archive History 95 96 97 98 99 00 Core Config Subsidiaries
Large & Med Subsidiaries Small & Med Subsidiaries Small & New Subsidiaries OEM Software OEM H/W Packaged Product, Etc. Archive Project Begins
5
Archive History Phased Approach IDOC (Monthly) FI (Yearly)
Started July 99 (2 GB/month) FI (Yearly) Started December 99 (50 GB/year) SD/MM (Yearly to quarterly basis) Started September 00 (25 GB/quarter)
6
Archive History Growth = 6 GB/WK Total, 2 GB/WK SDMM
7
Agenda SAP Architecture Archive History Build a Successful Archive Run
Project plan Objects, Data extract & SARA Metrics Archive Again or Upgrade Q&A
8
Build a Successful Archive Run
Project Plan Archive jobs can run for a long time! Per 600 MB file, VBAK = 12 hours write, 16 hours delete, typical 4 files/quarter Items to consider Need 2 plans: Test and Production Resources: 2 wks/qrtr testing, 2 wks/qrtr executing Preplanned system down times Month end processing – system performance Other projects Contingency
9
Build a Successful Archive Run
Areas of Coordination Basis, Business, Finance Small window in which archive jobs can run
10
Build a Successful Archive Run
Objects MM_EKKO Purchasing documents RV_LIKP Deliveries MM_MATBEL Material documents SD_VBAK Sales documents SD_VBRK Billing documents SD_COND Sales pricing records ZZINVTABLE For billing related custom tables BALM SAP supplied delete program
11
Build a Successful Archive Run
One step archiving Write and delete jobs run subsequently SD_COND Two step archiving Write and delete jobs run separately ZZINVTABLE, MM_EKKO, MM_MATBEL, RV_LIKP, SD_VBRK, SD_VBAK Simple delete BALM
12
Build a Successful Archive Run
Data Extract Write Extract Delete SAP R/3 SQL 2000 Data Warehouse Excel Reports
13
Build a Successful Archive Run
SARA Technical Settings Archive file size = 600 MB Commit counter set to 10 “Start automat.” not selected (except SD_COND) “Make index” selected Files written and retained on a network share 4.7 improvement – Interrupt settings, Data archiving monitor
14
Build a Successful Archive Run
Archiving Control Residence time 365 days SD_COND - expired validity date Excluded specific business streams (9999) SD_VBRK - “check account doc is cleared” selected in the customization Variant Settings Max # of records per table = (SD_COND) “Check FI document” “Check flow documents residence”
15
Build a Successful Archive Run
ZZINVTABLE – Custom object Archive Write and Delete programs ADK Function modules Documentation – SARA/Help, SE37 Specific requirements AOBJ New Entry – create the object - ZZINVTABLE Assign the programs to the object Assign the tables to the object (ZINVHDR, ZINVDET) SARA Run the new object
16
Build a Successful Archive Run
BALM OSS Note Removes entries from tables related to the flow of data between APO and SAP Need to only keep one month of data Run as a batch job on a weekly schedule In Available as an object BC_SBAL
17
Build a Successful Archive Run
Metrics 2 Metrics of interest Database recovery Job performance
18
Build a Successful Archive Run
Determine the tables to measure Total = 340 tables for our objects DB02 - to determine the largest 100 tables SARA - to list the tables included in the objects Compare the DB02 results and the SARA information Pick header and detail pairs 30 tables
19
Build a Successful Archive Run
ADR2 ADR5 ADRC ADRCOMC ADRCT ADRV CDCLS CDHDR EKKO EKPO KONP LIKP LIPS MKPF MSEG NAST STXH STXL VBAK VBAP VBEP VBFA VBKD VBPA VBRK VBRP VBUK VBUP ZINVDET ZINVHDR
20
Build a Successful Archive Run
Measure the Database DB02 - Run “updateusage” on selected archive tables Collect table size information and store the data in a reporting database Run delete jobs Run “updateusage” again on archive tables Collect post-delete table size information and store in reporting database Run delta report
21
Build a Successful Archive Run
SIZE (MB) ADRC CDHDR LIPS MSEG NAST STXH VBAK Before 19816 45219 6468 9255 17342 7422 2642 After 19013 44357 5481 8233 14912 6689 2252 Reclaimed 803 862 987 1022 2430 753 390 VBAP VBEP VBFA VBPA VBRK VBRP VBUK 17734 4971 20131 25955 3648 13986 3044 16089 4223 18272 22427 3120 11973 2608 1645 748 1859 3528 528 2013 436 Total Database Reclaimed = Megabytes (23.5 GB)
22
Build a Successful Archive Run
Object Job Hours # Files Total MB (compressed) MM_EKKO Write 0.5 Delete 0.25 1 11 MM_MATBEL 0.75 2.25 165 RV_LIKP 5.75 6 575 SD_VBAK 22 45 4 2270 SD_VBRK 31 2129 SD_COND 2 81 ZZINVTABLE 14 0.15 88 TOTAL 66 Hrs 85 Hrs 5319 ALL Extract 13 Hrs COMPLETE RUN = 164 Hrs (7 Days)
23
Build a Successful Archive Run
Metrics – 4.7 New Functionality 4.7 offers new functionality Data Archiving Monitor Display Statistics
24
Build a Successful Archive Run
Tcode: RZ20 View across objects Progress of archive jobs Need for action Start time, run time, etc.
25
Build a Successful Archive Run
Date Run time DB statistics
26
Agenda SAP Architecture Archive History Build a Successful Archive Run
Project Plan Objects, Data extract & SARA Metrics Archive Again or Upgrade Q&A
27
Archive Again or Upgrade
Review the Process Keep a core team together (functional, basis, business) New business requirements Performance improvements Retest after hot pack applications
28
Archive Again or Upgrade
Some Challenges SD_VBAK & SD_VBRK - Memory errors preventing completion of write phase MM_EKKO - Error in ABAP application program in write phase - perform not found. RV_LIKP – Custom read job for extract step ends in ABAP error
29
Archive Again or Upgrade
OSS Notes Check OSS regularly! Best way to search for notes “SARA”, “AOBJ” Error message Object name (ex SD_VBAK or VBAK) Program name (S3VBAKWR) “archive”, “archiving” Note gives application areas for each archive object
30
Summary Use a project plan
Right balance between performance and document flow integrity Small data set Review the process regularly
31
Questions
32
Thank you for attending!
Please remember to complete and return your evaluation form following this session. Session Code:107
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.