Automatic Deletion of Similar/Identical Requests from InfoCube after Update

Similar documents
Duet Enterprise: Tracing Reports in SAP, SCL, and SharePoint

Visual Composer Modeling: Data Validation in the UI

SAP AddOn Quantity Distribution. by Oliver Köhler, SAP Germany

Single Sign-on For SAP NetWeaver Mobile PDA Client

How to Handle the System Message in SAP NetWeaver Mobile 7.1

Duplicate Check and Fuzzy Search for Accounts and Contacts. Configuration with SAP NetWeaver Search and Classification (TREX) in SAP CRM WebClient UI

SAP NetWeaver Identity Management Identity Center Minimum System Requirements

Visual Composer for SAP NetWeaver Composition Environment - Connectors

Configuring relay server in Sybase Control Center

BW Text Variables of Type Replacement Path

SAP BusinessObjects Predictive Analysis 1.0 Supported Platforms

BW310. BW - Enterprise Data Warehousing COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

How to Enable Single Sign-On for Mobile Devices?

EWM125. Labor Management in SAP EWM COURSE OUTLINE. Course Version: 16 Course Duration: 4 Hours

BIT460. SAP Process Integration Message Mapping COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

BC100. Introduction to Programming with ABAP COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

AC507. Additional Functions of Product Cost Planning COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

LO Extraction - Part 6 Implementation Methodology

Quick View Insider Microblog: Why Is There No Inbox?

How to Find Suitable Enhancements in SAP Standard Applications

PLM210. Master Data Configuration in SAP Project System COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Visual Composer Modeling: Migrating Models from 7.1.X to 7.2.0

Enterprise Search Extension for SAP Master Data Governance

DS50. Managing Data Quality with SAP Information Steward COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

SAP Afaria Post- Installation Part 1

BC430 ABAP Dictionary

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Quick View Insider: Understanding Quick View Configuration

Crystal Reports 2008 FixPack 2.4 Known Issues and Limitations

MDG100 Master Data Governance

BC410. Programming User Dialogs with Classical Screens (Dynpros) COURSE OUTLINE. Course Version: 10 Course Duration: 3 Day(s)

Manual Activities of SAP Note Globalization Services, 2012/06/05

How to Download Software and Address Directories in SAP Service Marketplace

BOCE20. SAP Crystal Reports for Enterprise: Advanced Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

How to reuse BRFplus Functions Similar to R/3 Function Modules using BRF+ Expression Type Function Call

Using JournalEntries and JournalVouchers Objects in SAP Business One 6.5

DEV523 Customizing and Extending PowerDesigner

BC405 Programming ABAP Reports

Visual Composer s Control Types

Installing SAP NetWeaver Mobile Client (eswt) on a Storage Card

TBW30 SAP BW Modeling & Implementation

How to Check or Derive an Attribute Value in MDG using BRFPlus

BOC320. SAP Crystal Reports - Business Reporting and Report Processing Strategies COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

Testing Your New Generated SAP NetWeaver Gateway Service

HA150 SQL Basics for SAP HANA

ADM900 SAP System Security Fundamentals

Web Dynpro: Column Coloring in ALV

BOC310. SAP Crystal Reports: Fundamentals of Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA

ADM100 AS ABAP - Administration

Quick View Insider: How Can I Change the Colors? (SNC 7.0)

How to Guide to create Sample Application in IOS using SUP ODP 2.2

BC400 Introduction to the ABAP Workbench

BC490 ABAP Performance Tuning

EDB785 SAP IQ Administration

Message Alerting for SAP NetWeaver PI Advanced Adapter Engine Extended

BC400. ABAP Workbench Foundations COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

BC480 PDF-Based Print Forms

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Using Default Values in Backend Adapter

AFA461 SAP Afaria 7.0 System Administration (SP03)

SAP BusinessObjects Dashboards 4.0 SAP Crystal Dashboard Design 2011 SAP Crystal Presentation Design 2011

TBIT44 PI Mapping and ccbpm

GRC100. GRC Principles and Harmonization COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

EDB367. Powering Up with SAP Adaptative Server Enterprise 15.7 COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

Personalizing SAP BusinessObjects Explorer Information Spaces

Quick View Insider: How Do I Set Quick View as SNC s Entry Screen?

EP350. Innovated Content Management and Collaboration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

How to Integrate Google Maps into a Web Dynpro ABAP Application Using the Page Builder

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How to Work with Analytical Portal

Extending DME Transfer Files According to Spanish Banking Control Council to Support Non- Euro Payments

Business Objects Integration Scenario 2

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day

How can a Reference Query Be used?

Working with Data Sources in the SAP Business One UI API

What s New / Release Notes SAP Strategy Management 10.1

TBW60. BW: Operations and Performance COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

ADM920 SAP Identity Management

Building a Real-time Dashboard using Xcelsius and Data Integrator

Upgrade MS SQL 2005 to MS SQL 2008 (R2) for Non-High-Availability NW Mobile ABAP System

Remote Monitoring User for IBM DB2 for LUW

SMP541. SAP Mobile Platform 3.0 Native and Hybrid Application Development COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

Overview of Caffeine ABAP to Go

LO Extraction Part 4 Update Methods

What are Specifics Concerning the Creation of New Master Data?

BC401. ABAP Objects COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How to Access Images of SAP Netweaver Demo Model JAVA

SMP521. SAP Mobile Platform - Native and Hybrid Application Development COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

EDB377. Fast Track to SAP Replication Server Administration COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

EP200. SAP NetWeaver Portal: System Administration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

SAP ME Build Tool 6.1

How to Integrate Microsoft Bing Maps into SAP EHS Management

Learning Series: SAP NetWeaver Process Orchestration, business to business add-on 2g Archiver Module and Archiver Mapping

Upgrading to CR 2008 V1 / SP1

How to Setup a Simple Scenario Using SAP Records Management

Transcription:

Automatic Deletion of Similar/Identical Requests from InfoCube after Update Applies to: SAP BW 3.5/Business Intelligence 7.0 Summary This document explains the concept of automatic deletion of the overlapping requests from an InfoCube after update with a step by step solution. Author: Company: Ramakrishna Gattikoppula. Infosys Technologies Limited Created on: 21 October 2009 Author Bio Ramakrishna Gattikoppula is a Software Engineer at Infosys Technologies Limited. He has been involved in SAP BW Implementation Projects. 2009 SAP AG 1

Table of Contents Overview... 3 Scenario... 3 Step by Step solution for the above mentioned scenario... 4 List of Conditions & Exceptions available for deleting the overlapping requests from an InfoCube... 7 Conditions... 8 Exceptions... 10 Related Content... 11 Copyright... 12 2009 SAP AG 2

Overview We come across some situations where we need to load data using data sources which doesn t support delta mechanism and every time we end up in doing a full load with some selection conditions. Sometimes this data load will be on daily basis; this happens mostly in FI and CO data loads. Due to these full loads we would need to manually delete the previous requests to remove the redundant data from the InfoCube. For Example; Take a financial planning scenario where the actual data is being updated using delta mechanism and plan data being updated using full load, in case there are some changes in the plan version and a second full load is done then we would need to delete the previous request to avoid duplicate data. In order to avoid manual intervention in deleting the previous requests from the data targets every time we can use the option Automatic Loading of Similar/Identical Requests from InfoCube available at InfoPackage level or a process variant Delete Overlapping Requests from InfoCube available in Process Chains. (For BI 7.0 this is achievable only through DTPs using Process Chains) This document explains the concept of automatically deleting the overlapping requests from InfoCube with a step by step solution. Scenario Let us take a scenario where you will get data (Say employee time booking) in a flat file every day and the probability of changing the Time booking records which are older than 6 months (Last 5 months and current month as of today) is very low. Thus, the Time booking records more than 6 months old can be assumed as frozen and those records need not be loaded into BW. i.e. we need to load the data for last 6 months (for e.g. On 02 Aug 2009 we need to load data from 01 March 2009 till 01 Aug 2009) every day. This can be achieved by the using Automation Loading of Similar/Identical Request from the InfoCube option in the Data Target tab of InfoPackage. 2009 SAP AG 3

Step by Step solution for the above mentioned scenario Following is snapshot of the data loads for cube. Request1, Request2 and Request3 are loaded on 31 st July, 1 st August and 2 nd August respectively for the above scenario: Step1: Create an InfoPackage for loading the data target. You can define a routine under Data Selection tab to automatically set the selection for last 6 months. You can use the following link as reference for writing a routine to define selection conditions in InfoPackage. Data Selection Types In InfoPackage Step2: Under Data Targets Tab click the push button under Automation Loading of Similar/Identical Request from the InfoCube column. This will pop up a dialog box where you can define the conditions and exceptions to delete the existing requests from the cube. 2009 SAP AG 4

Step 3: Make the settings in the popup screen as shown in the following screenshot. Once you have configured the above setting you can manually load the data into InfoCube and see the automatic deletion happening based on the selection in InfoPackage. If you want to use this option while loading the data through process chains, you would need to make the following settings in the process chain. Add a Process Variant Delete Overlapping Request From InfoCube to the process chain, position of this variant will be after the data load (Execute InfoPackage). 2009 SAP AG 5

After including the Process Variant in the chain, double click on the variant. Here you need to insert the InfoPackages in which you have made the configuration for deletion of requests. Here I have used different infopackages to load data for previous months. Now click on the button Deletion Selections, here you need to make the same configurations as in the first screenshot in Step3. Similarly you can also include DTP in the process chain by selecting the object type as Data Transfer Process. This option to be used when you have BI 7.0 Data Flow. 2009 SAP AG 6

In the similar way we can use the following options to automatically delete the similar/identical requests from the Infocube. List of Conditions & Exceptions available for deleting the overlapping requests from an InfoCube As mentioned in the step by step solution there are other conditions and exception which you can use for automatic deletion of overlapping requests from an Infocube. Following is the detail explanation of all the conditions and exceptions. Do not delete existing requests: This is the default setting for the Automatic deletion of requests in cube after update. This setting would not delete any request from the cube even though there is an Overlapping requests or the requests with same selection criteria in the InfoCube. Delete Existing Requests: This setting is used to delete the overlapping request or the requests with the same selection criteria from the Infocube based on certain conditions and selections defined under this section. In order to use this functionality open the InfoPackage on the Data Target tab, click the push button under Automatic Deletion of Similar/Same Requests from InfoCube column. This will pop up a dialog box where you can define the conditions and exceptions to delete the existing requests from the cube. Following is the screenshot of the InfoPackage where you can make these settings. Dependencies: 1. This setting will delete the delta and repeat requests from the InfoCube. Therefore, this mode is not suitable for delta InfoSources. 2. The Automatic deletion and cancellation processes will take place only after the new request has been loaded to the InfoCube. 2009 SAP AG 7

3. Automatic deletion of the request will happen only if the previous requests are not compressed; deletion of a compressed request is not possible as the compressed request is no longer a transparent request. 4. Cancellation of a request will happen if all the InfoObjects in the InfoCube are updated with summation and no exception aggregation has been defined in the InfoCube or in the update rules. Conditions & Exceptions available for deleting the overlapping requests from the InfoCube: Conditions Existing requests are deleted from Infocube based on the conditions defined under this section if the selection criterion of the new and existing requests overlaps. Full or Initial Data Load: Deletes existing requests with full and initial runs. Selection of this check box will enable the deletion of existing requests from the InfoCube if the selection criterion of the request overlap during a full update or when the delta process is initialized to the InfoCube. InfoSources are the Same: Deletes existing requests if the new request is loaded from the same InfoSource. 2009 SAP AG 8

This condition should be set if you want to delete the existing requests from InfoCube if the new request and the request to be deleted were loaded using the same InfoSource. DataSources are the Same: Deletes existing requests if the new request is loaded from the same DataSource. This check box will enable deletion of the existing requests from InfoCube if the new request and the existing request were loaded using the same DataSource. Source Systems are the Same: Deletes existing requests if the new request is loaded from the same Source System. This condition should be set if you want to delete the existing requests from InfoCube if the new request and the request to be deleted were loaded from the same Source System. Selections Are: 1. Same or More Comprehensive: Deletes existing requests if the selection conditions of the new requests are same or more comprehensive. This radio button is to be marked if you want to delete the previous request when the selection criteria of the new request is the same or "bigger" than the previous request. 2. Overlapping: Deletes existing requests even if the selection conditions are partially or fully overlapping. If this radio button is marked, existing requests are deleted from the InfoCube when the selection criteria of the new request and request to be deleted overlap partially or fully. Don t Check Name Consistency of Flat File: Deletes the existing requests even though the name of the flat files for old and new requests doesn t match. This indicator is considered only for the data loads taking place from flat file. This should be used when you want to delete the existing requests from InfoCube and you don t want the system to do the comparison of the file names for new and existing requests. Request Date: This option can be used to delete the existing requests from the InfoCube based on the date the request to be deleted was loaded. You can select the exact time period from the three available indicators viz. current month, the last seven days, yesterday or today. 1. Is In the Current Month: Only those requests are deleted that were loaded in the current month. If you set this indicator, existing requests are deleted from the InfoCube if the new request and the request to be deleted were loaded to the cube in the same month. 2. Is in the Last 7 Days: Only the requests that were loaded in the last seven days are deleted. If you set this indicator, existing requests are deleted from the InfoCube if the new request and the request to be deleted were loaded to the cube in the last seven days. 2009 SAP AG 9

3. Is Yesterday or Today: Only delete requests from yesterday and today. If you set this indicator, existing requests are deleted from the InfoCube if the new request and the request to be deleted were loaded to the cube either Yesterday or Today. With this setting, the system takes the date the request was loaded to the InfoCube (table RSMONICDP) into account and not the date the request was first loaded to the BI system (table RSSELDONE). The RSSELDONE date is only used as a comparison, if the request to be checked in the InfoCube does not have a closing valuation in data package 999999 in table RSMONICDP. Therefore, if you delete a request from the InfoCube and then load the PSA to the InfoCube again, the loading date used for the comparison changes. Exceptions New Request Will be Loaded on.. An Exception can be used to specify the situations in which you don t want to delete the existing request even if the appropriate deletion conditions are in place. On using one of the options mentioned below we can cancel the automatic deletion of requests. 1. Day of Month: If you set this indicator, existing request are deleted from the InfoCube except for the day selected in the dropdown box. i.e. for the option used in above screenshot, no requests are deleted on every 7th (date) day of a month. 2. The Last Day of a Month: No requests will be deleted on the last day of a month if this option is checked. 3. Day of Week: No requests will be deleted if you load the data on a weekday specified in the drop down. 2009 SAP AG 10

I.e. for the option used in above screenshot, no requests are deleted on every Friday of the week. Request Selection through Routine: With this option we can select the requests to be deleted through a routine. Using a routine we select the InfoPackage and the Infocube for deletion of requests, we can also exclude or include additional requests for deletion in a deletion process. The routine is the last coding route before deletion (it only checks whether the request cannot be deleted because it is aggregated or compressed). Related Content Data Selection Types In InfoPackage SAP Community Network SAP Help Portal 2009 SAP AG 11

Copyright Copyright 2009 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Serv er, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this docume nt serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituti ng an additional warranty. 2009 SAP AG 12