Sunday, February 7, 2016

1652039 - Archiving: Replicating archived data in SAP HANA

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 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                         |
------------------------------------------------------------------------

Legen Sie das Paket S_ILM_ARC_HANA an.
Rufen Sie hierzu die Transaktion SE80 auf und navigieren Sie zum Repository Browser. Geben Sie das Paket S_ARC ein. Wählen Sie im Kontextmenue auf dem Eintrag S_ARC: Anlegen -> Entwicklunskoordination -> Paket.

Paket                  S_ILM_ARC_HANA
Kurzbeschreibung       ILM: API zum Lesen archivierter Daten für
                      HANA
Anwendungskomponente   BC-CCM-ADK
Softwarekomponente     SAP_BASIS
Übersetzungsrelevanz   Administrationswerkzeuge - Übersetzung
                      nach DE, EN, FR, JA
Oberpaket              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                         |
------------------------------------------------------------------------

Rufen Sie die Transaktion SE24 auf und tragen Sie die Klasse
CL_ARC_HANA_READ ein. Wählen Sie Änderung und navigieren Sie zu den Textelementen (Springen -> Textelemente).
Legen Sie das folgende Textelement an:

      Text                                  mLen
001   Parameterkombination nicht zulässig    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

Released On 25.01.2013 14:11:22
Release Status Released for Customer
Component BC-CCM-ADK Archive Development Kit
Other Components
HAN-DP-LTR SAP Landscape Transformation Replication Server
Priority Correction with low priority
Category Program error

No comments:

Post a Comment