About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

Similar documents
DB Connect with Delta Mechanism

MDM Syndicator: Custom Items Tab

Process Chain Log Deletion

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

Easy Lookup in Process Integration 7.1

Graphical Mapping Technique in SAP NetWeaver Process Integration

Standalone BW System Refresh

POWL: Infoset Generation with Web Dynpro ABAP

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

Step by Step Procedure for DSO Creation

Limitation in BAPI Scheduling Agreement (SA) Create or Change

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

Database Statistics During ODS Activation

Solution to the Challenges in Pivoting

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

Using Radio Buttons in Web Template

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

Linking Documents with Web Templates

Load Info Cube in SCM 5.0 (BI 7.0)

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

Server Connectivity and Data Load from Non SAP System to BW

List of Values in BusinessObjects Web Intelligence Prompts

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

Replacement Path: Explained with an Illustrated Example

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

How to Configure User Status in mysap SRM

Data Flow During Different Update Mode in LO Cockpit

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

Step By Step Procedure to Implement Soap to JDBC Scenario

Data Extraction & DS Enhancement in SAP BI Step by Step

Generate Export Data Source

ABAP HR: Standard Info Type Enhancement

Developing Crystal Reports on SAP BW

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

Step by Step Method for File Archival in BW

Data Inconsistency in the Cube and Aggregate

How to Create and Schedule Publications from Crystal Reports

Material Master Archiving in Simple Method

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

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

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

Triggering the Process Chains at Particular Date using Events

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

ecatt Part 6 System Data Container

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

Creation of Key Figures with Higher Decimal Place Precision

Reporting Duplicate Entries

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

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

Table Row Popup in Web Dynpro Component

How to Work with F4 Input Help Effectively in BEX

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

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

Web Dynpro ABAP: Dynamic Table

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

Material Listing and Exclusion

Download SAP Query Output to Local/ Network Folders in Background

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

Data Mining: Scoring (Linear Regression)

Internationalization in WebDynpro ABAP Applications

Financial Statement Version into PDF Reader

SDN Community Contribution

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers

Routines in SAP BI 7.0 Transformations

Printer Landscape Made Easy!!

SUP: Personalization Keys and Synchronize Parameter

Implementing Customer Exit Reporting Variables as Methods

Hierarchy in Business Objects with Expanded Hierarchy Logic

Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports

Loading the Data for Time Dependent Hierarchy in SAP BI

Displaying SAP Transaction as Internet Application in Portal

Creating, Configuring and Testing a Web Service Based on a Function Module

Performance Management in Data Loading: an Overview

All about Compression

Web Dynpro: Coloring Table Conditionally

Using Nested Exception Aggregation in BEx Reports- Scenario

Recreating BIA Indexes to Address the Growth of Fact Index Table

BAPI Execution in offline Adobe Form

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

Customizing Characteristic Relationships in BW-BPS with Function Modules

Reading Enhanced DataSource fields for the Remote Cube

Currency Translation in SAP BI Step by step Guide

Step by Step Guide for PI Server Start and Stop Procedure

Real Time Data Acquisition (RDA) Overview and Step-by-Step Guide (SAPI and Web Services)

Exception Handling in Web Services exposed from an R/3 System

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

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

SDN Community Contribution

Customized Transaction to Trigger Process Chain from Failed Step

How to Transfer Data from AS400 to BW using DB Connect

SAP BI Analysis Authorization (Customer Exit Variables)

E-Sourcing System Copy [System refresh from Production to existing Development]

Purpose of Goods Receipt Message indicator in Purchase Orders

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

Fetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal

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

Validity Table in SAP BW/BI

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

Information Broadcasting Part 3 Scheduling the First Report

How to Display Traffic Lights for Exceptions in BI Web Reports

Transcription:

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error Applies to: SAP NetWeaver BW 3.x.For more information, visit the Business Intelligence homepage. Summary This article explains about the Runtime Error ITAB_DUPLICATE_KEY which occurs when an old client system connection has been removed where some unused objects are still remaining, failing to be cleaned up properly; this causes duplicates in RSISOSMAP table resulting in several entries with the same transfer structure and correction program RSAR_RSISOSMAP_REPAIR to resolve it. Author: Rudra Pradeep Reddy Neelapu Company: Mahindra Satyam Created on: 15 August 2009 Author Bio Working as a SAP Technical consultant with Mahindra Satyam. Skill set includes SAP Business Intelligence, ABAP and Business Objects. 2009 SAP AG 1

Table of Contents Introduction... 3 About ITAB_DUPLICATE_KEY... 3 About Report Program RSAR_RSISOSMAP_REPAIR... 3 Procedure... 6 Related Content... 10 Disclaimer and Liability Notice... 11 2009 SAP AG 2

Introduction In a system landscape where a BW Client is pointed by different Logical Source System connections(say DV1CLI130,NDEVCLI100) which can be added and removed on a regular basis, leads to inconsistency within the servers; especially after transporting objects. This results in failure of data loading activity, resulting in ABAP Dump with runtime error ITAB_DUPLICATE_KEY. This article explains about the Runtime Error ITAB_DUPLICATE_KEY which occurs when an old client system connection has been removed where some unused objects are still remaining, failing to be cleaned up properly, this causes duplicates in RSISOSMAP table resulting in several entries with the same transfer structure and hence the ABAP dump with Runtime Error ITAB_DUPLICATE _KEY when loading the data and about Report Program RSAR_RSISOSMAP_REPAIR to resolve the runtime error. About ITAB_DUPLICATE_KEY Runtime error ITAB_DUPLICATE_KEY in the Function Pool SAPLRSAODS program results while Performing the following actions: Searching the Info Source tree in the AWB Deleting objects in the AWB Activating ODS data Duplicate entries for same Transfer Structure About Report Program RSAR_RSISOSMAP_REPAIR RSAR_RSISOSMAP_REPAIR is correction report which In the test mode (repair indicator is not set), searches the table RSISOSMAP for entries with the same transfer structure. These entries are displayed if available. In repair mode (the repair indicator is set), the program first checks the RSISOSMAP table and corrects any incorrect entries found. A log is then written for the mappings that were corrected. Activate the transfer rules named in the log after you execute the program again. After you exit the program, you can display the written logs in transaction SLG1 using Object = 'RSAR'; Subobject = 'METADATA'; and External ID = 'RSAR_RSISOSMAP_REPAIR'. Below are the Screen shots of Application Log for reference. 2009 SAP AG 3

Application Log With Duplicate Transfer Structures form different Logical Systems, results in the ABAP dump when loading the data from the Source System. Below is the Error Dump Screen shot. 2009 SAP AG 4

We can find the Runtime Error ITAB_DUPLICATE _KEY in the Function Pool SAPLRSAODS program which results in load termination. 2009 SAP AG 5

Procedure Runtime Error ITAB_DUPLICATE _KEY is resulted because of Duplicate Transfer Structures from different Logical Systems. You can find the corresponding entries in the table RSISOSMAP. Go To SE11, Going with display we can look into the Transperent Table Structure. On executing,we have the option to give the InfoSource name(isource) for wich the data load got failed with Runtime Error ITAB_DUPLICATE_KEY. 2009 SAP AG 6

On executing, you can find the duplicate entries for Transfer Structure ZPMI_CAL_DD from Logical Systems DV1CLI130 and NDEVCLI100 in below case for InfoSource ZIS_PMI_CAL. Now to eliminate the runtime error we need to run the Report Program RSAR_RSISOSMAP_REPAIR for Correction of Entries in table RSISOMAP. Go To SE38, 2009 SAP AG 7

On executing the Report Program, We will be having the option to run the program in Test Mode or Repair Mode. In the test mode (repair indicator is not set), searches the table RSISOSMAP for entries with the same transfer structure. These entries are displayed if available. 2009 SAP AG 8

In repair mode (the repair indicator is set), the program first checks the RSISOSMAP table and corrects any incorrect entries found. A log is then written for the mappings that were corrected. Activate the transfer rules named in the log after you execute the program again. On Successful execution of the correction program RSAR_RSISOSMAP_REPAIR, error resulted of Duplicate Transfer Structures get resolved and data gets loaded. 2009 SAP AG 9

Related Content Taken most of the inputs from sap help in preparing this Article. SAP Note Number: 613449 https://forums.sdn.sap.com/thread.jspa?messageid=7609103#7609103 https://forums.sdn.sap.com/thread.jspa?messageid=7803065#7803065 For more information, visit the Business Intelligence homepage. 2009 SAP AG 10

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. 2009 SAP AG 11