Note 1652039 - Archiving: Replicating archived data in SAP HANA

简介:

Summary

Symptom 

You use SAP HANA to analyze large data volumes. Up to now, you could use the SAP Landscape Transformation (SAP LT) Replication Server to replicate only data from the database of the source systems that are connected to SAP HANA. You cannot replicate archived data from a different source system (for example, an ERP system) in SAP HANA.

Other terms 

Data archiving, Archive Development Kit, ADK, SAP HANA, SARA

Reason and Prerequisites 

Prerequisite: You use SAP HANA and the SAP LT Replication Server for SAP HANA to replicate the data in SAP HANA.

Solution 

Import the Support Package assigned to this SAP Note. For releases higher than SAP_BASIS 6.20, you can also implement the correction instructions that are attached to this SAP Note. 
In addition, you require the SAP LT Replication Server for SAP HANA with the software level DMIS 2010 Support Package 7. 
You can then start the replication process for archived data in the SAP LT Replication Server using the program IUUC_CREATE_ARCHIVE_OBJECT. The program comes with online documentation. 




------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 731          Until SAPKB73102                                | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package S_ARC. In the context menu, choose S_ARC: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       S_ARC 



------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 730          SAPKB73001 - SAPKB73006                         | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package S_ARC. In the context menu, choose S_ARC: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       S_ARC 


------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 720          SAPKB72002 - SAPKB72006                         | 
------------------------------------------------------------------------ 

7.31 -> 7.11 Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package SARC. In the context menu, choose SARC: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       SARC 


------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 711          SAPKB71101 - SAPKB71109                         | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package SARC. In the context menu, choose SARC: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       SARC 


------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 710          Until SAPKB71014                                | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package SARC. In the context menu, choose SARC: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       SARC 


------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 702          SAPKB70201 - SAPKB70210                         | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package S_ARC. In the context menu, choose S_ARC: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       S_ARC 


------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 701          Until SAPKB70111                                | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package S_ARC. In the context menu, choose S_ARC: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       S_ARC 


------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 700          SAPKB70004 - SAPKB70026                         | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE80 and navigate to the Repository Browser. Enter the package SARC_MAIN. In the context menu, choose SARC_MAIN: Create -> Development Coordination -> Package. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 
Translation Relevance   Administration Tools - Translation 
                      into DE, EN, FR, JA 
Superpackage       SARC_MAIN 


------------------------------------------------------------------------ 
|Manual Pre-Implement.                                                 | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 640          SAPKB64013 - SAPKB64029                         | 
------------------------------------------------------------------------ 

Create the package S_ILM_ARC_HANA. 
To do this, call transaction SE21. 

Package             S_ILM_ARC_HANA 
Short Description         ILM: API for Reading Archived Data for 
                      HANA 
Application Component       BC-CCM-ADK 
Software Component     SAP_BASIS 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 731          Until SAPKB73102                                | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 730          SAPKB73001 - SAPKB73006                         | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 720          SAPKB72002 - SAPKB72006                         | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 711          SAPKB71101 - SAPKB71109                         | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 710          Until SAPKB71014                                | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 702          SAPKB70201 - SAPKB70210                         | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 701          Until SAPKB70111                                | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 700          SAPKB70004 - SAPKB70026                         | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 


------------------------------------------------------------------------ 
|Manual Post-Implement.                                                | 
------------------------------------------------------------------------ 
|VALID FOR                                                             | 
|Software Component   SAP_BASIS                      SAP Basis compo...| 
| Release 640          SAPKB64013 - SAPKB64029                         | 
------------------------------------------------------------------------ 

Call transaction SE24 and enter the class 
CL_ARC_HANA_READ. Choose "Change" and navigate to the text elements (choose "Goto -> Text elements"). 
Create the following text element: 

      Text                                  mLen 
001   Combination of Parameters not Valid     50 

Create the BAdI definitions of the BAdIs ARC_ILM_OBJ_STRUC and 
ARC_ILM_CLAS_STRUC using transaction SE18: 

1. BAdI definition ARC_ILM_OBJ_STRUC 
Definition name:              ARC_ILM_OBJ_STRUC 
Short text for the definition:      Mapping tables on structures for archiving objects 
Package:                        S_ILM_ARC_HANA 

Flag the BAdI as 'Multiple Use' and 'filter-dependent'. As the 
filter type, enter OBJCT_TR01. Save your entries. Choose 
the package S_ILM_ARC_HANA as the package in the object directory entry. 
Go to the interface tab page. Double-click the entry 
IF_EX_ARC_ILM_OBJ_STRUC and navigate to the Class Builder. Create 
the following methods for the interface:
 

  • 1. Method GET_STRUC_NAMES_FOR_TAB

           Name: GET_STRUC_NAMES_FOR_TAB

           Type: Instance Method

           Short Description: Output Relationship Between Structures and Tables

          

           Parameter for the method GET_STRUC_NAMES_FOR_TAB:

           Name:      IV_ARCHIVING_OBJECT

           Type:       Importing

           Associated Type: OBJCT_TR01

          

           Name:      CT_STRUC_TAB_RELATION

           Type:       Changing

           Associated Type: IF_ARC_HANA_READ=> TY_T_STRUC_TAB_RELATION

          

  • 2. Method GET_DATA_FOR_TAB

           Name: GET_DATA_FOR_TAB

           Type: Instance Method

           Short Description: Map Structure Data to Table Format

          

           Parameter for the method GET_DATA_FOR_TAB:

           Name:      IV_ARCHIVING_OBJECT

           Type:       Importing

           Associated Type: OBJCT_TR01

          

           Name:      IT_DATA_FOR_STRUCS

           Type:       Importing

           Associated Type: AS_T_TABLEBUFFER

          

           Name:      CT_DATA_FOR_TAB

           Type:       Changing

           Associated Type: AS_T_TABLEBUFFER

          

           Save your entries and activate the objects you created.

          

2. BAdI definition ARC_ILM_CLAS_STRUC 
Definition name:              ARC_ILM_CLAS_STRUC 
Short text for the definition:      Mapping tables on structures for archiving classes 
Package:                        S_ILM_ARC_HANA 

Flag the BAdI as 'Multiple Use' and 'filter-dependent'. As the 
filter type, enter ARCH_CLAS_. Save your entries. Choose 
the package S_ILM_ARC_HANA as the package in the object directory entry. 
Go to the interface tab page. Double-click the entry 
IF_EX_ARC_ILM_CLAS_STRUC and navigate to the Class Builder. Create 
the following methods for the interface:
 

  • 1. Method GET_STRUC_NAMES_FOR_TAB

           Name: GET_STRUC_NAMES_FOR_TAB

           Type: Instance Method

           Short Description: Output Relationship Between Structures and Tables

          

           Parameter for the method GET_STRUC_NAMES_FOR_TAB:

           Name:      IV_ARCHIVING_CLASS

           Type:       Importing

           Associated Type: ARCH_CLAS_

          

           Name:      CT_STRUC_TAB_RELATION

           Type:       Changing

           Associated Type: IF_ARC_HANA_READ=> TY_T_STRUC_TAB_RELATION

          

  • 2. Method GET_DATA_FOR_TAB

           Name: GET_DATA_FOR_TAB

           Type: Instance Method

           Short Description: Map Structure Data to Table Format

          

           Parameter for the method GET_DATA_FOR_TAB:

           Name:      IV_ARCHIVING_CLASS

           Type:       Importing

           Associated Type: ARCH_CLAS_

          

           Name:      IT_DATA_FOR_STRUCS

           Type:       Importing

           Associated Type: AS_T_TABLEBUFFER

          

           Name:      CT_DATA_FOR_TAB

           Type:       Changing

           Associated Type: AS_T_TABLEBUFFER

          

           Save your entries and activate the objects you created.

          

Header Data

   
Release Status: Released for Customer
Released on: 25.01.2013  14:11:22
Master Language: German
Priority: Correction with low priority
Category: Program error
Primary Component: BC-CCM-ADK Archive Development Kit
Secondary Components: BC-HAN-LTR Landscape Transformation-based Replication
专注于企业信息化,最近对股票数据分析较为感兴趣,可免费分享股票个股主力资金实时变化趋势分析工具,股票交流QQ群:457394862
分类:  SAP Notes, SAP HANA

本文转自沧海-重庆博客园博客,原文链接:http://www.cnblogs.com/omygod/archive/2013/05/11/3072571.html,如需转载请自行联系原作者
目录
相关文章
|
5天前
|
开发者 数据处理 数据管理
SAP HANA 的不同类型
SAP HANA 的不同类型
40 9
SAP HANA 的不同类型
|
5天前
|
SQL 数据库 索引
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
27 1
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
|
5天前
|
Linux 开发工具 开发者
关于 SAP HANA 开发那些事
关于 SAP HANA 开发那些事
29 0
|
5天前
|
SQL 存储 数据可视化
SAP HANA 内存数据库不同类型的视图的应用场景介绍
SAP HANA 内存数据库不同类型的视图的应用场景介绍
65 0
|
5天前
|
数据库 存储 监控
什么是 SAP HANA 内存数据库 的 Delta Storage
什么是 SAP HANA 内存数据库 的 Delta Storage
21 0
什么是 SAP HANA 内存数据库 的 Delta Storage
|
5天前
|
数据库
什么是 SAP S/4HANA 的 Brown Field 迁移和 Green Field 迁移
什么是 SAP S/4HANA 的 Brown Field 迁移和 Green Field 迁移
11 1
|
5天前
|
存储 安全 数据管理
SAP 产品 data archive 数据归档的重要性
SAP 产品 data archive 数据归档的重要性
16 7
|
5天前
|
存储 数据采集 监控
如何在 SAP S4HANA 中使用 Data Volume Management 工具来确定哪些数据需要归档
如何在 SAP S4HANA 中使用 Data Volume Management 工具来确定哪些数据需要归档
13 0
|
5天前
|
Java BI API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
25 0
|
5天前
|
数据库 存储 安全
使用 SAP HANA Cloud 的一些优势
使用 SAP HANA Cloud 的一些优势
28 6
使用 SAP HANA Cloud 的一些优势