Copyright © 2003 Americas’ SAP Users’ Group Custom Archiving 101 Session Code 108 Karin...

29
Copyright © 2003 Americas’ SAP Users’ Group Custom Archiving 101 Session Code 108 Karin Tillotson Sr. Basis Administrator Tuesday, May 20 th , 2003
  • date post

    18-Dec-2015
  • Category

    Documents

  • view

    216
  • download

    2

Transcript of Copyright © 2003 Americas’ SAP Users’ Group Custom Archiving 101 Session Code 108 Karin...

Copyright © 2003 Americas’ SAP Users’ Group

Custom Archiving 101Session Code 108

Karin Tillotson Sr. Basis Administrator

Tuesday, May 20th, 2003

Custom Archiving

Agenda Background Concern and Solution Before You Begin Creating Custom Archive Objects via AOBJ

Examples:

1. Single Table

2. Multiple Tables

3. Custom Tables Added to a Standard Archive Object

Custom Archiving

Agenda

Examples of Custom Archiving via SARA

Creating Custom Field Catalogs in the AS

Creating Custom Info Structures in the AS

Viewing Custom Archive Objects in the AS

Examples:

1. Viewing Custom Archive Objects

2. Customizing the View of a Standard Archive Object

Background

Live on SAP since July 2001.

FI went live in October 1999 but had minimal volume.

Current Database size of 1.4 TB.

Prior to archiving, grew 95 GB a month.

After archiving, grows 35 GB a month.

Custom Subscription Module.

High volume custom tables.

Involved customizing areas in SD.

Concern and Solution

Concern SAP Release 4.5B Database – DB2 Version 7 4 K Memory Pages

This combination has a table limit size of 64 GB.

Solution SAP was brought in to develop custom archive

objects.

Before You Begin

Put Together Data Model

What tables are involved?

What business processes access this data?

Determine Selection Criteria for Write Job

Examples: Document number range Date Range

Before You Begin

Business Checks

What determines the data is business complete?

Residence time?

Retention time?

Subsequent Access Requirements

What fields need to be viewed?

What users will need access to view the archived data?

Before You Begin

Determine development requirements.

Separate development class? All of our objects related to custom

archiving are assigned to a development class of ZARCH.

Namespace: All our custom archive objects and

archive programs begin with “ZARC”.

Example 1

To begin, a new entry needs to be created via transaction AOBJ.

Example 1

Single Custom Table

Example 2

Multiple Custom Tables 1 archive table, 1 delete only table

* Note – this is theview from transactionDB15.

Example 2

Multiple Custom Tables (multiple archive tables, 1 no delete)

Example 3

Custom Tables Related to a Standard Archive Object – these tables are viewable within the AS for object SD_VBAK.

Examples of Custom Archive Objects in SARA

The customizing settings are configured the same as the standard archive objects.

Examples of Custom Archive Objects in SARA

The flow has been made to follow the format of the standard archive objects.

Examples of Custom Archive Objects in SARA

The write and delete programs have a counter which shows the progression of the job within the job log.

Examples of Custom Archive Objects in SARA

This custom archive object is related to SD_VBAK.

Clicking on thefile selection buttonbrings up the SD_VBAKmanagement data.

Examples of Custom Archive Objects in SARA

Only runs with the status of “complete” can be selected.

For performance reasons, these jobs are scheduled prior to the relevant SD_VBAK store job.

A security check against VBAK is performed so that data is only archived if the corresponding entryin VBAK is not in the database.

Creating Custom Field Catalogs

Within SARI, a custom field catalog must be created.

The following parameters need to be entered:•Field catalog name•Description•Archive Object•Whether it is a key or data field•Whether the offset is a key or data field

Creating Custom Field Catalogs

Then, the field selections need to be defined.

Creating Custom Archive Information Structures

Then, an archive information structure needs to be created.

Creating Custom Archive Information Structures

Based on the outcome of the subsequent access research, the fields for the archive information structure need to be defined and the info structure activated.

Viewing Custom Archive Objects in AS – Example 1

Viewing the custom archived data via the Archive Explorer.

Viewing Custom Archive Objects in AS – Example 1

Viewing the custom archived data via the Archive Explorer.

This examples shows a standard SAP table, KNVK, in which the relevant data was archived with the custom object, but not deleted out of KNVK.

Viewing Custom Archive Objects in AS – Example 2

Adding Custom Tables to the View of a Standard Archive Object.

Viewing Custom Archive Objects in AS – Example 2

Viewing the Custom Tables via Archive Explorer.

Note the custom optionIncl. West tables

Viewing Custom Archive Objects in AS – Example 2

Viewing the Custom Tables via Archive Explorer Continued.

Data from SD_VBAK and the custom archive object is combined and presented in the technical view.

This looks like the standardTechnical View option, butincludes the West specific tables.

This is the standard Technical View.

Custom Archiving

Questions?

Copyright © 2003 Americas’ SAP Users’ Group

Thank you for attending!

Please remember to complete and return your evaluation form following this session.

Session Code: [108]