Upload
abhilash
View
231
Download
2
Embed Size (px)
Citation preview
7/26/2019 DATA Replication Methods for HANA _ SCN
1/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281
Getting Started Newsletters Store
Products Services & Support About SCN Downloads
Industries Training & Education Partnership Developer Center
Lines of Business University Alliances Events & Webinars Innovation
Log On Join UsHi, Guest Search the Community
Activity Communications Actions
Browse
1 Tweet
created by Janardhan reddy Jon 09-Jul-2015 05:22, last modified by Janardhan reddy Jon 13-Jul-2015 13:24
SUMMARY:
This Document having detail steps to DATA replication for SAP system to HANA
Applies to :
SAP HANA 1.0 SP05 to SP09
Author : Janardhan Reddy Jonnavaram
Company : Mouritech LLC
Created on : 01 July 2015
DATA Replication Methods For HANA.
If we need to Migrate our existing SAP system to HANA, we have two ways to migrate SAP data into HANA.
They are
A).HANA migration
For HANA migration We need to shift our environment entirely into HANA, because of this the developer also
need to change their environment completely into HANA.
B).DATA replication From existing SAP system to HANA.
One simple way to migrate Data is, by using DATA replic ation from existing SAP system to HANA.
For this we have three types of replication process,
They are,
1.SAP LT Replication method
2.ETL tool(BODS) method
3.Direct Extractor connection method
SAP LT Replication method :
I have taken below screen shots from SAP LT installation guide.
e have two option for installing SLT for ABAP systems.
Option A:
DATA replication Methods for HANA
Share 144 2Like
Version 8
http://scn.sap.com/people/janardhanreddy.jhttp://scn.sap.com/community/downloadshttp://scn.sap.com/activityhttp://scn.sap.com/communicationshttp://scn.sap.com/actionshttp://scn.sap.com/welcomehttp://scn.sap.com/people/janardhanreddy.jhttp://scn.sap.com/people/janardhanreddy.jhttps://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-65281&ref_src=twsrc%5Etfw&text=DATA%20replication%20Methods%20for%20HANA&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-65281&via=SAPCommNethttp://scn.sap.com/contenthttp://scn.sap.com/actionshttp://scn.sap.com/communicationshttp://scn.sap.com/activityhttp://scn.sap.com/login.jspahttp://scn.sap.com/docs/login.jspahttp://scn.sap.com/community/uachttp://scn.sap.com/community/developer-centerhttp://scn.sap.com/community/downloadshttp://scn.sap.com/welcomehttps://www.sapstore.com/?url_id=banner-US-2015-SCN-HeadLinkhttp://scn.sap.com/community/newslettershttp://scn.sap.com/community/getting-started7/26/2019 DATA Replication Methods for HANA _ SCN
2/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 2
Option B:
Prerequisites:
1.SAP LT Replication Server is shipped in an add-on call DMIS_*. You must install the add-on in your ABAP
source system, and in the SAP LT Replication Server system
hich DMIS component do I need to install in the ABAP source system?
Before Installation of ADD-On need check SPAM/SAINT tool version, Kernel Version and SAP license.
For installation Add-on we need a user in 000 client like DDIC.
2. After installation of DMIS_* we need to check Kernel version using Snote 1597627.
3.Need to install HANA client in SLT and ABAP source systems servers.
4.Create RFC from ABAP to SLT server if SLT is installed in separate server.(otherwise create self RFC SLT)
5.We need to maintain HANA DB details in TX:DBCO and save.
6.Need to open Telnet Connection from ABAP and HANA.
7.Need at least 10-15 Background jobs for SAP LT Server.
8.Need to run a report in SE38 : ADBC_TEST_CONNECTION
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743260/15.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743259/mis1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743258/14.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
3/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 3
Supported DB versions:
Multi System Support:
Migration/Lifecycle Management from DEV/QA/Production:
For this we will use only One SLT server in separateBOX and will configure with DEV/QA/PRD.
Activation of Webdynproand Relevant Services
After the installation of SAP LT Replication Server, all required Webdynpro SAP LT Replication Server
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743269/17.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743267/16.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743261/18.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
4/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 4
services
are initially disabled. You must enable these services in order to run the SAP LT Replication Server user
interface.
To activate the SAP LT Replication Server services, proceed as follows:
1. Activate Webdynproservices as described here: Active Services in SICF
2. Run transaction SICF.
3. In the Hierarchy Type field, enter SERVICE, and choose Run.
4. Expand the node default_host, and navigate to sap bc webdynpro sap
5. Activate the following services:
iuuc_replication_config
iuuc_repl_mon_powl
iuuc_helpcenter iuuc_helpcenter_document
iuuc_repl_wdc_config_gaf
iuuc_repl_mon_schema_oif
/sap/public/bc
/sap/public/bc/ur
/sap/public/mysso/cntl
/sap/bc/webdynpro/sap/iuuc_repl_mon_schema_oif
/sap/public/bc/icons
/sap/public/bc/icons_rtl
/sap/public/bc/webicons
/sap/public/bc/pictograms
/sap/public/bc/webdynpro
/sap/public/bc/webdynpro/adobeChallenge
/sap/public/bc/webdynpro/mimes
/sap/public/bc/webdynpro/ssr
/sap/public/bc/webdynpro/ViewDesigner
Accessing the Configuration and Monitoring Dashboard (LTRC/LTR):
You use the Configuration and Monitoring Dashboard to create configurations, and to view status information
for the replication.
You can access the Configuration and Monitoring Dashboard by using transaction LTR.
Note:
In order to ensure compliance with security standards, we recommend that you do not use a web browser for
accessing Web Dynpro applications. If you use the Configuration and Monitoring Dashboard (transaction
LTR),
we recommend using the SAP NetWeaver Business Client. Alternatively, you can use the SAP LT
Replication
Server Cockpit (transaction LTRC) in order to work with configurations.To create a configuration, run transaction LTR, and choose the New pushbutton. Optionally, you can create a
new configuration using the LT Replication Server Cockpit (transaction LTRC) Overview Screen.
Activating and configuring Provisioning settings:
For the SAP HANA system:
1.In order to create a configuration, the user SYSTEM is required, or a user with similar authorizations with at
least the authorizations for creating a HANA DB schema is required.
2.While creating a configuration, a replication user (with name equal to the schema name) is generated
automatically.
3.The following authorizations are granted to the schema-specific roles for the replication user for the created
database schema:
a)_DATA_PROV
b)_POWER_USER
c)_USER_ADMIN
d)_DATASELECT)
For ABAP system or SLT system :
e need required roles for SLT user,please check below roles for SLT user,
a) SAP_IUUC_REPL_ADMIN
b) SAP_IU UC_REPL_DISPLAY
c) SAP_IUUC_REPL_REMOTE
Now we need to create a DB connection in TX: LTR or LTRC
7/26/2019 DATA Replication Methods for HANA _ SCN
5/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 5
Give details with Authorization Group and click next:
Review and click on create configuration:
After configuration of SLT need t o monitor and data replicate from TX: LTRC
For Table replication need click on Data Provisioning from table overview tab see below screen.
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743279/25.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743278/24.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743276/20.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743274/19.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
6/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 6
Give table name and lick start replication, it will start replication. We can Stop,Suspend and Resume
everything
we do here.
e can check from HANA studio also from DATA Provisioning
e can control DATA replication from here also.
2. Data replication Using BODS:
Prerequisites:
a).Need to install HANA client in BODS server.
b).Need to install BOBJ or IPS for CMC administration.
c).Need to add Environment variable for HANA client(HDBCLIENT).
BODS installation:
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743281/27.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743280/26.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
7/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 7
Give CMS details for BODS:
Select Database HANA because we are using for HANA :
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743291/33.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743287/31.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743285/28.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
8/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 8
Select JDBC driver from HANA client installation directory for HANA connection:
Give HANA system details because we are using for HANA:
Click next for finishing BODS installation:
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743293/35.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743297/34.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
9/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 9
Establish connection between SAP Data services and ECC:
1.In BODS server Go toC:\Program Files (x86)\SAP BusinessObjects\Data
Services\admin\R3_Functions\transport in this path we have tranport files ,it can take from here then you
can import in ECC system.
2.We have one default in TCP/IP RFC SAPDS it should be work,for this we need to register this program id
in BODS Management console, open and log in
Click on Administrator,
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743299/37.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743298/36.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
10/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 10
Go to SAP connection and click add,
Give Program ID of SAPDS RFC and ECC server details and click apply,
Once done, check RFC server interface status and start. Check SAPDS RFC(TCP/IP) in SAP system.
After this Logon in SAP DATA Services Designer like below
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743308/40.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743307/39.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743306/38.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
11/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 1
Once log in We need to DATA store for HANA and ECC system,
Click on Advanced to Give SAP system details,
Give below details,
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743310/42.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743309/41.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
12/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 12
Open your data store and select Repository metadata,
From here we need to transfer table data from ECC or BW to HANA.
HANA Connection for BODS:
Creating a DATA store like ECC only, but we need to select DATA store type is Database and give HANA
DB details here,
Give Hana server details and apply:
DATA transfer from HANA to BODS :
Once created Data store open tables in Datastore and click on import for data replicate from HANA to BODS
like below screen,
http://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743317/45.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743316/44.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743315/43.JPG7/26/2019 DATA Replication Methods for HANA _ SCN
13/14
15/04/2016 DATA replication Methods for HANA | SCN
http://scn.sap.com/docs/DOC-65281 13
Average User Rating
(6 ratings)
1 Tweet
3.Direct Extractor connection method:
Use below link for DXC method for DATA transfer from SAP system to HANA,
http://scn.sap.com/community/hana-in-memory/blog/2014/02/25/data-replication-to-sap-hana-using-dxc-
method
5073 Views
Share 144 2Like
5Comments
Like (1)
Niels Weigel20-Jul-2015 14:04
SAP HANA EIM (Smart data integration) also offers a natively embedded technology in the HANA
platform to replicate data from various data source like MS SQL Server, IBM DB/2, Oracle ( Hana
Smart Data Integration - Realtime Table Replication) and recently with SPS10 also from Sybase ASE,
Teradata and SAP HANA sources.
Niels
Like (0)
Janardhan reddy J20-Jul-2015 15:33 (in response to Niels Weigel)
Hi Niels,
Thank You for your response.
I have gone through that link before i have posted.
But i did not get any replication method in that link, they explain how to replicate Twitter
posts using IDE.
I have idea about how to replicate Hadoop data using Smart Data integration.I will update
the method.
Thanks
Jana
Niels Weigel20-Jul-2015 15:53 (in response to Janardhan reddy J)
We have posted a whole bunch of short videos on SPA HANA EIM on YouTube.
http://scn.sap.com/people/niels.weigelhttp://scn.sap.com/people/janardhanreddy.jhttp://scn.sap.com/community/developer-center/hana/blog/2014/12/09/hana-sps09-smart-data-integration--realtime-table-replicationhttp://scn.sap.com/people/niels.weigelhttp://scn.sap.com/community/hana-in-memory/blog/2014/02/25/data-replication-to-sap-hana-using-dxc-methodhttp://scn.sap.com/servlet/JiveServlet/showImage/102-65281-8-743321/Import.JPGhttps://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-65281&ref_src=twsrc%5Etfw&text=DATA%20replication%20Methods%20for%20HANA&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-65281&via=SAPCommNet7/26/2019 DATA Replication Methods for HANA _ SCN
14/14
15/04/2016 DATA replication Methods for HANA | SCN
Follow SCNSite Index Contact Us SAP Help Portal
Privacy Terms of Use Legal Disclosur e Copyr ight
Like (1)
One of the videos is on SAP HANA Academy - Smart Data Integration/Quality :
Twitter Replication Pt 2 of 3 [SPS09] - YouTube
Niels
Like (0)
Sanjeet Kumar Yadav07-Aug-2015 10:34
Very good presentation...I am looking more, can you share from starting steps of SAP HANA
Like (0)
sushant Deshmukh13-Aug-2015 08:13
Good Presentation for beginner !!! Thanks for sharing !Please share the some more useful links for beginner .Regards,Sushant Deshmukh
http://scn.sap.com/people/sushant.deshmukhhttp://scn.sap.com/people/sanjeet.kumar4https://www.youtube.com/watch?v=cPTl00_MakMhttp://www.sap.com/corporate-en/our-company/legal/copyright/index.epxhttp://www.sap.com/corporate-en/our-company/legal/impressum.epxhttps://accounts.sap.com/ui/public/viewTextResource?scenario=SCN&spId=504efd8ee4b0555c3c17b94e&resourceType=RESOURCE_TERMS_OF_USE&version=1&spDisplayName=SAP%20Community%20Network&locale=enhttps://accounts.sap.com/ui/public/viewTextResource?scenario=SCN&spId=504efd8ee4b0555c3c17b94e&resourceType=RESOURCE_PRIVACYPOLICY&version=1&spDisplayName=SAP%20Community%20Networkhttp://help.sap.com/http://scn.sap.com/docs/DOC-18476http://scn.sap.com/docs/DOC-19361http://spr.ly/SCNgoogleplushttp://bit.ly/SCNyouThttp://bit.ly/SCNFBhttp://bit.ly/SCNTwR