SAP Landscape Transformation Replication Server

Similar documents
What's New in SAP Landscape Transformation Replication Server 2.0 SP13

What's New in SAP Landscape Transformation Replication Server 2.0 SP15

SAP Business One Upgrade Strategy Overview

SAP Business One Upgrade Strategy Overview

Trigger-Based Data Replication Using SAP Landscape Transformation Replication Server

Visual Business Configuration with SAP TM

SAP Landscape Transformation for SAP HANA (HA1)

Business Add-Ins (BAdIs) for SD Jam Integration Document Version:

Deleting SAP HANA Delivery Units and Products

SAP HANA Authorization (HA2)

SLT100. Real Time Replication with SAP LT Replication Server COURSE OUTLINE. Course Version: 13 Course Duration: 3 Day(s)

How To Protect your Intellectual Property

Automated Java System Post-Copy Configuration Using SAP Landscape Management 3.0, Enterprise Edition

SAP Business One, version for SAP HANA Platform Support Matrix

Security Information for SAP Asset Strategy and Performance Management

SAP Workforce Performance Builder 9.5

SAP Business One Hardware Requirements Guide

Software and Delivery Requirements

HA215 SAP HANA Monitoring and Performance Analysis

Standalone Retrofit. Required Steps when Upgrading to SAP Solution Manager 7.2, SP03

SAP Business One Hardware Requirements Guide

HA355. SAP HANA Smart Data Integration COURSE OUTLINE. Course Version: 12 Course Duration: 3 Day(s)

SAP Business One Hardware Requirements Guide

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment

SAP NetWeaver Master Data Management

Installing and Updating SAP HANA Products and Software Components

C4C30. SAP Cloud Applications Studio COURSE OUTLINE. Course Version: 21 Course Duration: 4 Day(s)

HA301. SAP HANA 2.0 SPS03 - Advanced Modeling COURSE OUTLINE. Course Version: 15 Course Duration:

SAP Plant Connectivity Configuration Guide for

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

Partition Wizard User s Guide SAP BusinessObjects Planning and Consolidation 10.0, version for the Microsoft platform

HA100 SAP HANA Introduction

SAP Business One Hardware Requirements Guide

BW362. SAP BW Powered by SAP HANA COURSE OUTLINE. Course Version: 11 Course Duration: 5 Day(s)

HA100 SAP HANA Introduction

Server Extension User s Guide SAP BusinessObjects Planning and Consolidation 10.0, version for the Microsoft platform

HA215 SAP HANA Monitoring and Performance Analysis

S4H01. Introduction to SAP S/4HANA COURSE OUTLINE. Course Version: 04 Course Duration: 2 Day(s)

BW462 SAP BW/4HANA COURSE OUTLINE. Course Version: 16 Course Duration: 5 Day(s)

SAP Workforce Performance Builder 9.5

BW350H. SAP BW Powered by SAP HANA - Data Acquisition COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

SAP Enable Now. Desktop Components (Cloud Edition)

SAP Mobile Secure Rapiddeployment. Software Requirements

How to Work with Analytical Portal

SAP Workforce Performance Builder

SAP Landscape Transformation Replication Server

HA300 SAP HANA Modeling

HA100 SAP HANA Introduction

FAQs Data Workbench SAP Hybris Cloud for Customer PUBLIC

MDG100 Master Data Governance

CA611 Testing with ecatt

HA 450. Application Development for SAP HANA COURSE OUTLINE. Course Version: 12 Course Duration:

SAP Policy Management 5.4

HA150. SAP HANA 2.0 SPS02 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 14 Course Duration: 3 Day(s)

HA150 SQL Basics for SAP HANA

SAP Landscape Transformation Replication Server

Visual Structure Manager Administration Guide

BC414. Programming Database Updates COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

HA300 SAP HANA Modeling

Quick Guide to Implementing SAP Predictive Analytics Content Adoption rapiddeployment

Release Information Document Version: CUSTOMER. SAP Event Ticketing

BOD410 SAP Lumira 2.0 Designer

DBW4H. Data Warehousing with SAP BW/4HANA - Delta from SAP BW powered by SAP HANA COURSE OUTLINE. Course Version: 13 Course Duration: 2 Day(s)

D75AW. Delta ABAP Workbench SAP NetWeaver 7.0 to SAP NetWeaver 7.51 COURSE OUTLINE. Course Version: 18 Course Duration:

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

BW405. BW/4HANA Query Design and Analysis COURSE OUTLINE. Course Version: 14 Course Duration: 5 Day(s)

BOCRC. SAP Crystal Reports Compact Course COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

CLD100. Cloud for SAP COURSE OUTLINE. Course Version: 16 Course Duration: 2 Day(s)

ADM506. Database Administration Oracle II COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

HA400 ABAP Programming for SAP HANA

Authentication of a WS Client Using a SAP Logon Ticket

SAP EarlyWatch Alert. SAP HANA Deployment Best Practices Active Global Support, SAP AG 2015

UX402 SAP SAPUI5 Development

Feature Scope Description Document Version: CUSTOMER. SAP Analytics Hub. Software version 17.09

Getting Started with SAP Business One 9.2, version for SAP HANA

Installation Guide Plant Connectivity 2.3

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

HA100 SAP HANA Introduction

How To... Promote Reports and Input Schedules Through Your System Landscape

SAP Business One Integration Framework

S4D430 Building Views in Core Data Services ABAP (CDS ABAP)

SAP Landscape Transformation Replication Server

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

HA150. SAP HANA 2.0 SPS03 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration:

BC470. Form Printing with SAP Smart Forms COURSE OUTLINE. Course Version: 18 Course Duration:

ADM505. Oracle Database Administration COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

ADM110. Installing and Patching SAP S/4HANA and SAP Business Suite Systems COURSE OUTLINE. Course Version: 17 Course Duration: 4 Day(s)

SAP Analytics Cloud model maintenance Restoring invalid model data caused by hierarchy conflicts

S4H410. SAP S/4HANA Embedded Analytics and Modeling with Core Data Services (CDS) Views COURSE OUTLINE. Course Version: 05 Course Duration: 2 Day(s)

UX400. OpenUI5 Development Foundations COURSE OUTLINE. Course Version: 02 Course Duration: 5 Day(s)

Setting Up an Environment for Testing Applications in a Federated Portal Network

SAP Policy Management, group insurance add-on 1.1

SPNEGO SINGLE SIGN-ON USING SECURE LOGIN SERVER X.509 CLIENT CERTIFICATES

ADM110. Installing and Patching SAP S/4HANA and SAP Business Suite Systems COURSE OUTLINE. Course Version: 18 Course Duration: 4 Day(s)

BW305H. Query Design and Analysis with SAP Business Warehouse Powered by SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

FAQs Data Cleansing SAP Hybris Cloud for Customer PUBLIC

FAQs Data Sources SAP Hybris Cloud for Customer PUBLIC

How-To Guide SAP 3D Visual Enterprise Author 8.0 Document Version: How To Part Replace

Simplified Configuration of Single System Update in Maintenance Optimizer

How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC

Transcription:

User Guide Document Version: 1.2 2015-09-07 Resuming Replication Without Initial Load After System Refresh or OS/DB Migration

Typographic Conventions Type Style Example Example EXAMPLE Example Example <Example> EXAMPLE Description Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Textual cross-references to other documents. Emphasized words or expressions. Technical names of system objects. These include report names, program names, transaction codes, table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE. Output on the screen. This includes file and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. Keys on the keyboard, for example, F2 or ENTER. 2 2015 SAP SE or an SAP affiliate company. All rights reserved. Typographic Conventions

Document History Version Date Change 1.0 2015-01-28 Initial Version 1.2 2015-07-09 Ext. for tables in Replication only(no initial load) mode Document History 2015 SAP SE or an SAP affiliate company. All rights reserved. 3

Table of Contents 1 Use Case... 5 1.1 Restrictions... 5 1.2 Prerequisites... 5 2... 7 2.1 Prepare Source System... 7 2.1.1 Delete Existing Database Triggers... 7 2.1.2 Delete Existing Logging Tables... 9 2.1.3 Delete Existing 1:N Registrations... 9 2.2 Prepare Target System... 9 2.2.1 Delete Existing Public Synonyms... 10 2.2.2 Adjust Registration Data... 10 2.3 Reconnect SAP LT Replication Server... 11 2.3.1 Adjust Connection to Source System... 11 2.3.2 Adjust Connection to Receiver System... 12 2.3.3 Advanced Replication Settings... 12 2.3.4 Reset Replication Objects... 13 4 2015 SAP SE or an SAP affiliate company. All rights reserved. Table of Contents

1 Use Case You are using SAP LT Replication Server to replicate data from an SAP source system to an SAP HANA database. Due to one of the following situations, your system landscape will comprise a new source and/or target system: You want to refresh your source and target systems by copying systems from your production landscape. You want to migrate your source system to another hardware alternative (OS/DB migration). Afterwards, you want to resume the replication for tables without having to perform an initial load again. If the data in source system and the data in the target system is in sync for the relevant tables, you can reconnect the systems without having to perform a new initial load. This document describes the required steps to do this. 1.1 Restrictions The replication can only be resumed for tables that have the status In Replication. Any tables that have the status Initial Load must be stopped and restarted again. In order to avoid data inconsistencies, you need to ensure that the data for the relevant tables is in sync between the source and target systems. If the source and target systems are part of a system landscape where data is being replicated by SAP LT Replication Server, then you must ensure that all delta data is replicated. In the SAP LT Replication Server system, you can check the status of any unprocessed records by using the expert function View Unprocessed Logging Table Records in the SAP LT Replication Server Cockpit (transaction LTRC). 1.2 Prerequisites In order to run this process, you must implement SAP Note 2123494. Use Case 2015 SAP SE or an SAP affiliate company. All rights reserved. 5

6 2015 SAP SE or an SAP affiliate company. All rights reserved. Use Case

2 Before you make any changes to the source or target systems, all SAP LT Replication Server configurations that use these systems must be stopped. You can stop the relevant configurations in the SAP LT Replication Server Cockpit (transaction LTRC). On the tab page Administration Data, choose the Deactivate pushbutton. 2.1 Prepare Source System This section is only relevant if there will be a new source system, as described in chapter 1. The SAP LT Replication Server (DMIS) software versions can be different in the source system and in the SAP LT Replication Server system. You must ensure that the DMIS support package level in the new source system is supported by the SAP LT Replication Server system. For more information, see the compatibility matrix defined in the relevant SAP Note. You can find the relevant SAP Note by searching for the following short text: Installation/Upgrade SLT - DMIS 2011 SPx (where x is the relevant support package level). If the source system was created from another system that was already connected to an SAP LT Replication Server system, there might be some SAP LT Replication Server objects in the source systems that have to be deleted: Database triggers Logging tables 1:N registrations In order to delete these objects, you will require a user with the role SAP_IUUC_REPL_ADMIN in the source system. 2.1.1 Delete Existing Database Triggers To display the existing SAP LT Replication Server triggers, call transaction IUUC_REMOTE. On the tab page Display Functions, choose the pushbutton List Triggers. The system displays a screen that contains the following default selection parameters: 2015 SAP SE or an SAP affiliate company. All rights reserved. 7

List Triggers Execute the program using the default selection parameters. The system displays a list of database triggers created by the SAP LT Replication Server. If no tables are listed here, then no additional action is required. List of Database Triggers In order to delete the existing triggers, call transaction IUUC_REMOTE. On the tab page Expert Functions, choose the pushbutton Delete Triggers. The system displays a screen that contains default selection parameters. Execute the program using these default selection parameters. Note that the system will display a warning, which you can confirm. You can check whether the triggers have been deleted by choosing the pushbutton List Triggers again. Caution Deleting database triggers can result in serious data inconsistencies. Only delete triggers as part of this specific scenario, and not for any other scenario. 8 2015 SAP SE or an SAP affiliate company. All rights reserved.

2.1.2 Delete Existing Logging Tables In order to delete any logging tables that might exist, call transaction IUUC_REMOTE. One the tab page Expert Functions, choose the pushbutton Delete Logging Tables. The system displays a screen that contains default selection parameters. Execute the program using these default selection parameters. Delete Logging Tables 2.1.3 Delete Existing 1:N Registrations If data was previously replicated to multiple target system from the source system, there might be some registration entries that have to be deleted. In order to do this, you need to delete entries from the following tables manually: IUUC_1N_CONS_REG IUUC_POOL_REGIST IUUC_LOG_APPLTAB Check whether the tables contain entries. If a table contains entries, delete the entries or truncate the table. 2.2 Prepare Target System This section is only relevant if there will be a new target system, as described in chapter 1. You must ensure that the HANA revision in the new target system is supported by the SAP LT Replication Server system. For more information, see the compatibility matrix defined in the relevant SAP Note. You can find the relevant SAP Note by searching for the following short text: Installation/Upgrade SLT - DMIS 2011 SPx (where x is the relevant support package level). 2015 SAP SE or an SAP affiliate company. All rights reserved. 9

In addition, we recommend updating the SAP HANA client library to the corresponding level in case the new target is installed on a higher level. If the target system was created from another system that was already connected to an SAP LT Replication Server system, there might be some activities required in the target system: Delete exiting public synonyms Adapt registration data 2.2.1 Delete Existing Public Synonyms In order to identify the relevant synonyms that have to be deleted, you can execute the following SQL statement in the SAP HANA studio: SELECT SYNONYM_NAME FROM "SYS"."SYNONYMS" WHERE SYNONYM_NAME LIKE '/1CADMC/%' OR SYNONYM_NAME LIKE '/1LT/%' All synonyms that are returned in the result set must be deleted using the following SQL statement. You need to replace<synonym_name> with the names of the previous result set. DROP PUBLIC SYNONYM "<synonym_name>" Caution If multiple source systems are connected to the target system, then deleting the synonyms will affect all configurations. You must therefore ensure that the reset steps for the target system are implemented for all configurations (section 2.3.4.2 - Target System). 2.2.2 Adjust Registration Data To enable the data provisioning UI in the SAP HANA studio, every SAP LT Replication Server configuration is registered in the SAP HANA database in table RS_REPLICATION_COMPONENTS in schema SYS_REPL. If you are using the data provisioning UI in the SAP HANA studio, you need to adjust the registration data in this table. If you are using data provisioning in the SAP LT Replication Server system only, you can skip this step. 10 2015 SAP SE or an SAP affiliate company. All rights reserved.

In column SID, the system ID of the source system is stored. In column CI_HOST, the host name of the source system is stored. If this data has changed due to the refresh, you need to adjust these values accordingly. To obtain the required information for column CI_HOST, execute the function module RFC_GET_SYSTEM_INFO in the source system by using transaction SE37 (the parameter DESTINATION remains initial). The value is returned in structure RFCSI_EXPORT, in column RFCDEST. The information for the respective SAP LT Replication Server system is stored in columns SLT_SID and SLT_HOST, and can be adjusted accordingly. Table RS_REPLICATION_COMPONENT in the SAP HANA studio 2.3 Reconnect SAP LT Replication Server If the preparatory steps have been completed successfully, the relevant configurations can be connected to the new source and/or target systems. In addition, the replication objects have to be adjusted to the new environment. 2.3.1 Adjust Connection to Source System If the connection data (for example the server name or user logon data) to the source system has changed, the respective RFC destination must be adjusted. In the SAP LT Replication Server Cockpit (transaction LTRC), you can find the RFC destination name on the Administration Data tab page. You must adjust the setting of the used RFC destination in transaction SM59, as the RFC destination name cannot be changed in an existing configuration. 2015 SAP SE or an SAP affiliate company. All rights reserved. 11

2.3.2 Adjust Connection to Receiver System If the host or instance number of the target system has changed, the existing database connections must be adjusted accordingly. You can do this in the SAP LT Replication Server Cockpit (transaction LTRC). On the tab page Expert Functions, choose the expert function Change Settings for Connection to Target System. Change Settings for Connection to Target System 2.3.3 Advanced Replication Settings If the source and/or target system was already connected to an SAP LT Replication server system, there might be some obsolete advanced replication settings. The advanced replication settings (for example table structure deviations) must fit to the settings of the current SAP LT Replication Server system. 12 2015 SAP SE or an SAP affiliate company. All rights reserved.

2.3.4 Reset Replication Objects For the new source and/or target system, some actions have to be executed again (depending on which system has been changed). The following steps have to be done for every configuration that is connected to the new source and/or target system. You can reset the replication object using the expert functions available in the SAP LT Replication Server cockpit (transaction LTRC). 2.3.4.1 Source System This section is only relevant if there will be a new source system, as described in chapter 1. If you have completed all the preparatory steps described above, the corresponding status flags for the SAP LT Replication objects have to be reset. To reset the trigger and logging table status, execute the expert function Reset Status for Triggers and Logging Tables in the LT Replication Server cockpit (transaction LTRC). Enter the relevant mass transfer ID, and select all the checkboxes under Reset Status. You do not need to enter table names, as the reset has to be executed for all tables. Reset Status for Triggers and Logging Tables You can check the results on the tab page Table Overview. For all tables, the flag in column Log. Tab. Created should be reset, and none of the tables should have status Activated in the column Trigger Status. 2015 SAP SE or an SAP affiliate company. All rights reserved. 13

2.3.4.2 Target System This section is only relevant if there will be a new target system, as described in chapter 1. If you have completed the all preparatory steps described above, the corresponding status flags for the SAP LT Replication objects have to be reset. To reset the synonym status, execute the expert function Reset Status of Tables and Synonyms in the LT Replication Server cockpit (transaction LTRC). Enter the relevant mass transfer ID, and select the following checkboxes: Reset In Flag Reset Failed Flag Reset Table/Syn. Receiver You do not need to enter table names, as the reset has to be executed for all tables. Reset Status of Tables and Synonyms You can check the results on the tab page Table Overview. For all tables, the flag in column Synonym Receiver should be reset. 14 2015 SAP SE or an SAP affiliate company. All rights reserved.

2.3.4.3 General Reset Steps To ensure that the replication objects are setup correctly, the existing replication objects are deleted so that they will be recreated. You can do this by using the function Delete Load/Replication Objects on the tab page ing Steps. Enter the relevant mass transfer ID, and choose the Execute pushbutton. You do not need to enter table names, as the relevant load objects must also be deleted. Delete Load/Replication Objects On the tab page Data Transfer Monitor, you can check the results. All flags (Defined, Generated, Calculated, and Loaded) should be reset for all tables. If status flag Failed or In is set for one of the tables, the respective replication object cannot be reset. You need to reset the flags on the tab page Data Transfer Monitor manually and execute the function Delete Load/Replication Objects again. All tables that have the status Replication (Initial Load) have to be restarted as the initial load cannot be finalized after the new system is connected. The same applies for tables that have the status In Replication, but for which data is not in sync between the source and target systems. Viewing the Status of a Table You can restart the tables by using the Data Provisioning pushbutton in the SAP LT Replication Server Cockpit (transaction LTRC). 2015 SAP SE or an SAP affiliate company. All rights reserved. 15

The Data Provisioning Screen Once all steps have been executed, the configuration can be activated again so that all objects that have been deleted or adjusted can be recreated. You can activate the configuration on the Administration Data tab page. Activating a Configuration You need to monitor the configuration until all tables have the status In Replication again. Caution If some tables were originally added to the configuration for Replication only (no Initial load) please use the Steps commands to recreate the corresponding objects manually. Please go to Tab Steps, execute steps Create Logging Tables, Create Database Triggers, Create Tables and Synonyms, Define Load / Replication Object consequently. Activate configuration afterwards. Caution If the system checks whether the database triggers exist before they have been recreated, then it will block the relevant tables from the replication process. You can check whether tables are blocked in the SAP LT Replication Server Cockpit (transaction LTRC), in the tab page Data Transfer Monitor (column Blocked ing Steps). If tables are blocked, you can resume the replication process by using the expert function Reset Load and Replication Status. Under Reset Blocked Tables, select the Reset Block Data Transfer checkbox. 16 2015 SAP SE or an SAP affiliate company. All rights reserved.

www.sap.com/contactsap 2015 SAP SE or an SAP affiliate company. 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 SE or an SAP affiliate company. The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company 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 constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies. Please see www.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.