Process Chain Log Deletion

Similar documents
Customized Transaction to Trigger Process Chain from Failed Step

Step by Step Method for File Archival in BW

Database Statistics During ODS Activation

Standalone BW System Refresh

Using Radio Buttons in Web Template

Replacement Path: Explained with an Illustrated Example

DB Connect with Delta Mechanism

How to use Boolean Operations in the Formula as Subsidiary for IF Condition

Step By Step: the Process of Selective Deletion from a DSO

Step by Step Procedure for DSO Creation

How to Create View on Different Tables and Load Data through Generic Datasource based on that View

MDM Syndicator: Custom Items Tab

Extraction of Hierarchy into Flat File from R/3 and Loading in BW System

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

Implying Security on Business Object XI 3.1 Universe having SAP BW as Source

Information Broadcasting Part 3 Scheduling the First Report

Recreating BIA Indexes to Address the Growth of Fact Index Table

Linking Documents with Web Templates

Data Source Replication and Activation of Transfer Structures

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

How to Default Variant Created for Report Developed In Report Painter/Writer

Triggering the Process Chains at Particular Date using Events

Data Mining: Scoring (Linear Regression)

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

SAP Net Weaver 400s BI 7.0For more information, visit the Business Intelligence homepage.

Performance Management in Data Loading: an Overview

Table Row Popup in Web Dynpro Component

Step-By-Step guide to Virtual InfoCube Implementation

Material Master Archiving in Simple Method

Reading Enhanced DataSource fields for the Remote Cube

Cut Over Activities Specific for LIS* Data Sources

SAP BI BO Unit/Currency Logic for Unknown Units Case Study

How to Display Result Row in One Line While Reporting On Multiproviderer

Errors while Sending Packages from OLTP to BI (One of Error at the Time of Data Loads through Process Chains)

ecatt Part 6 System Data Container

How to Broadcast BEx Workbooks using BW Pre-calculation Server and through Process Chains

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

Step by Step Guide on How to Use Cell Definition in BEx Query

Using Nested Exception Aggregation in BEx Reports- Scenario

Currency Translation in SAP BI Step by step Guide

Reporting Duplicate Entries

Easy Lookup in Process Integration 7.1

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP

Material Listing and Exclusion

POWL: Infoset Generation with Web Dynpro ABAP

Developing Crystal Reports on SAP BW

Explore to the Update Tab of Data Transfer Process in SAP BI 7.0

How to Configure User Status in mysap SRM

Methods of Selecting BOM Variant Parts in Variant Configuration

Creation of Key Figures with Higher Decimal Place Precision

Data Mining: Decision Trees

Setting up Connection between BW and R/3 for Data Load

Procedure to Trigger Events in Remote System Using an ABAP Program

Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling

Generate Export Data Source

SAP BI Analysis Authorization (Customer Exit Variables)

Common Queries/Errors while working with Adobe Print PDF Forms

BW Reconciliation. Applies to: Summary. Author Bio

Validity Table in SAP BW/BI

List of Values in BusinessObjects Web Intelligence Prompts

Printer Landscape Made Easy!!

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3

Hierarchy in Business Objects with Expanded Hierarchy Logic

Download SAP Query Output to Local/ Network Folders in Background

How to Check BW system Before Go-Live

SDN Community Contribution

SAP BW vs. SAP BusinessObjects Web Intelligence Functionalities

Custom Process types Remote Trigger and End Time

Steps to Activate ALE Delta for Custom Master Datasource Created on ZTable

How to Create and Schedule Publications from Crystal Reports

Managing Transports in SAP BW 3.5 and BI 7.0

Financial Statement Version into PDF Reader

Data Extraction & DS Enhancement in SAP BI Step by Step

Displaying SAP Transaction as Internet Application in Portal

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

All about Compression

Add /Remove Links on ESS Home Page in Business Package 1.5

Limitation in BAPI Scheduling Agreement (SA) Create or Change

Data Inconsistency in the Cube and Aggregate

Data Flow During Different Update Mode in LO Cockpit

Using Rule Group in SAP-BI. Part - 1

Web Dynpro: Coloring Table Conditionally

Freely Programmed Help- Web Dynpro

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose

Message Prioritization in Advanced Adapter Engine

Graphical Mapping Technique in SAP NetWeaver Process Integration

Xcelsius Tricks Part 5 Create a Loading Bar in SAP Crystal Dashboard and Presentation Design (Xcelsius 2008)

Information Broadcasting Part 1 System Parameter Setting

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed

Solution to the Challenges in Pivoting

Step by Step Guide How to Use BI Queries in Visual Composer

SAP BW Copy Existing DTP for Data Targets

Administrating ABAP+JAVA and SLD Problems of SAP PI 7.1

Step By Step Procedure to Implement Soap to JDBC Scenario

Step by Step Guide for PI Server Start and Stop Procedure

How to Work with F4 Input Help Effectively in BEX

Transfer Material Attributes (Material Type) from R/3 to SAP GRC Global Trade Services (GTS)

Transcription:

Applies to: SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the EDW homepage Summary Process chains are used in BW landscape to automate the loading sequence. There are multiple process chains running in the production system at a given time. Log of each execution are stored in database. These logs are required for analysis. However, storing older log may use up the disk space. Hence, it is required to delete the older process chain execution log. The document explains the step to delete the old process chain execution log from the system to free the database space and basic strategy for the log deletion. Author: Shakir Iqbal Kapdi Company: Infosys Technologies LTD Created on: 01 th September 2011 Author Bio Shakir Kapdi has more than 4 years of experince in SAP. He has worked on various project like implementation, Upgarde, Application support and Enhancment. He has experince in SAP BI 3.X and 7.0. He is currently working in Infosys Technologies LTD. 2011 SAP AG 1

Table of Contents Process Chain Details an Overview... 3 Process Chain Log Deletion... 3 Process Chain Instance Deletion... 5 General Strategy for Log Deletion... 6 Related Content... 7 Disclaimer and Liability Notice... 8 2011 SAP AG 2

Process Chain Details an Overview Process chain is sequence of process defined to load the data in BW system. There are number of process chains executing in the BI system to make the latest data available for reporting and analysis. Depending on various requirements the process chains can be executed at following different frequencies Daily single execution Daily multiple execution Weekly Monthly On specific calendar day ETC Log of each execution of the process chain are stored in system and can be used for runtime analysis of the process chain Tables RSPCLOGCHAIN (cross-table log ID to chain ID) and RSPCPROCESSLOG (chain process logs) hold information about the process chains logs. Tables RSPCINSTANCE (Generic Instance Storage) and RSPCINSTANCET (Texts for Generic Instance- Storage) holds the information of the instance of the chain. Since there are multiple executions taking place in a production system each day these table sizes grow thus utilizing the data base space. Although these logs are required for analysis it is necessary to clear the old logs from the system to maintain the table space at desired level. Process Chain Log Deletion To delete the process chain log we can use report RSPC_LOG_DELETE Deletion of Process Chain Logs and Assigned Process Logs. Detail steps and significance of the each entry filed are explained as below Go to Transaction se38 and execute report RSPC_LOG_DELETE The initial screen of the program is as shown below 2011 SAP AG 3

Process Chain (ID) Provide the ID of the process chain for which the loads are to be deleted Delete from date Start date from which the logs needs to be deleted Up to and including date Date until which the logs needs to be deleted. The date entered is included for log deletion Log-ID of a process chain You can either provide the above details or delete the log for a process chain via log ID. The log-id is determined during the runtime (by the start-process). It holds the chain run together. We can retrieve the log ID of a process chain run via table RSPCPROCESSLOG or can be checked in the logs of process chain. Ignore Errors If the flag is set, the errors in deletion of logs are ignored and the logs are deleted. 2011 SAP AG 4

Enter the details as per the requirement and execute the program. A success message is displayed showing which all logs are deleted. Process Chain Instance Deletion An Instance is generated for each process chain execution (as shown below) and is stored in tables RSPCINSTANCE and RSPCINSTANCET. 2011 SAP AG 5

We can use the report RSPC_INSTANCE_CLEANUP to delete entries in tables RSPCINSTANCE and RSPCINSTANCET. Go to transaction se38 and execute the report RSPC_INSTANCE_CLEANUP as shown below. Provide the date before which you want to delete the entries in this tables. Select without corresponding chain run option to delete the variant entry without execution of chain run. Select delete log option to delete the logs. Execute the report with the details to delete the entries from the data base tables. Thus using reports RSPC_LOG_DELETE and RSPC_INSTANCE_CLEANUP, we are able to clean up older logs for execution of process chain from the data base table. General Strategy for Log Deletion There are process chains executing at different frequency in the system. A general strategy that should be followed for deletion of log is as follows. Frequency of Execution Log to be deleted Daily Weekly Monthly Quarterly Other s (calendar day specific etc) Older than 3 Months Older than 3 Months Older than 6 Months Older than 6 Months As per requirement The strategy depends upon various factors, like system data base size, frequency of chains, number of chain executing in the system etc, and should be decided/changed based on above factors. 2011 SAP AG 6

Related Content http://www.sdn.sap.com For more information, visit the EDW homepage 2011 SAP AG 7

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2011 SAP AG 8