You are on page 1of 15

9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner About
About  
Ask a Question Write a Blog Post Login

SLT Configuration for Data Replication from SAP ECC
System to SAP HANA System
April 17, 2015 | 35,160 Views |

Former Member

SAP Landscape Transformation replication server

SAP HANA | SAP Landscape Transformation | data provisioning | data replication | Database | database and technology | errors in slt
configuration | hana | migration

share
0 share
0 tweet share

Follow

Hi All,

This document is all about SAP ECC and SAP HANA Integration using SLT ( Data Provisioning Technique ).

In this document I am demonstrating the procedure to configure SLT and then testing the configuration by
creating Purchase Order in SAP ECC and see its reflection in SAP HANA which is near real-time replication.

Addition to this I have covered procedural steps of some activity which we may have to carry out if in case ECC
and HANA environment is not completely ready for establishing SLT configuration and in case of few possible
errors that usually comes in creation of SLT configuration .

Sequence of flow of the document would be as follows –

I. How To Create RFC Connection which is used in SLT Configuration.

II. Step-by-Step Procedure to configure SLT for Data Replication from SAP ECC System to SAP HANA system.

III. How to delete entries from ECC tables for eliminating Error in SLT Configuration Scenario.

I. Creation of RFC Connection – While configuring SLT in LTR Transaction we need to pass RFC connection. In
case their is no suitable RFC Connection available or their is issue with existing RFC Connections, we can easily
create RFC Connection to meet our requirement as follows –

1. In ECC System go to transaction SM59 and click on New

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 1/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

2. Fill in highlighted fileds and press Enter.

where as, choose Connection Type – 3 ( ABAP Connection)

3 . Under Technical Settings tab give TargetHost and System Number

So target Hostname is nothing but message server address of your ECC system which you can find out in rz10
Transaction

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 2/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

Enter the name of the system profile,

Select latest version of the profile.

Click on display so you will find SAP System number and mshost id as mentioned below.

So after getting this values ,

in Target Host enter your rdisp / mshost id i.e. ‘EHP7’and in System number enter SAPSYSTEM value i.e. ’07’
and than click on Enter, after that Target Host-name will appear and IP address associated to that mshost under
IP Address Field will appear.

4 . Under Logon Security tab fill in required fields and press Enter.

5 .Now click on Save . Hence RFC Connection with name ECC_SLT_HANA is created.

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 3/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

6. To test the conncetion click on Connention Test

If RFC connection is created successfully below sceen will appear

II . SLT Configuration Steps.

1. In ECC goto tcode- LTR , It will open a webdynpro screeen.

2. Enter ECC credentials and then click on Log On.

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 4/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

3. Configuration and monitoring dashboard for HANA screen will appear.

Click on New which will pop up Create a New Configuration Window.

4. New configuration screen will appear fill in the required fileds and click on OK.

Note : Configuration Name will be the name of the schema in HANA studio where SAP ECC tables will be
replicated.

If any schema with specified Configuration name already exist then same schema will be used else new schema
will be created.

RFC Destination – Choose the RFC Connection which is being created i.e. ECC_SLT_HANA .

Provide HANA System credentials to which we need to establish connection.

Specify Number of Data Transfer Jobs and Calculation Jobs according to availability of Jobs.

Note : You may specify the number of jobs in LTRC transaction.

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 5/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs
5. Connection is created with name – SYN_SLT_HANA. click on configuration name.

Note: At a time there can be only one configuration.

6. On this popped up window we get the status of created configuration.

we can find the Status as Running that means SLT configuration is completed at this point.

7 . Go to HANA studio

In HANA Studio under SAP HANA Modeler Perspective

click on Data Provisioning.

Data Provisioning window pops up,

Select HANA system and click on Finish.

8. SLT overview screen appears

As the SLT gets configured 3 ECC system tables DD02L, DD02T and DD08L gets replicated in HANA system.

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 6/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs
These are the tables which stores meta data of ECC tables.

Auto-Created Schema in HANA System as below.

9. For Loading ECC tables into HANA System

Click on Load then Load window pops up.

Select Table say LFA1 from Source Tables section and click on Add, table gets reflected in Selected tables
section.

click on Finish.

10. LFA1 table gets scheduled for load operation

11. Now to Replicate transactional table say Purchase Order header and line item tables.

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 7/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

Click on Replicate , Replicate window pops up

Select EKKO and EKPO tables from Source Tables section and Add them in Selected Section

Click on Finish.

12. So the EKKO And EKPO tables gets scheduled for replication.

13. After the tables get scheduled initially the tables get loaded with status executed .

14. the tables which is being replicated gets new status as ‘In Process’

Note : The loading / replicating table’s change of status from Scheduled to Execute and then In Process may
take longer time may be more than half an hour.

In this case we may suspend the replication tables which are already having status as ‘In Process’
however this may not be a best practice.

15. Now to see replication lets create an entry in ECC tables, go to transaction me21n to create Purchase Order

16 . Created Purchase Order

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 8/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

17 . Reflection of above created PO in HANA system, EKKO table

18. Reflection of above created PO in HANA system, EKPO table

III. Error in SLT Configuration Scenario – When you have deleted existing configuration and you are trying to
create new configuration the error pops up saying ‘Not all configurations could be loaded due to data
inconsistencies‘ and ‘Source System is already used in different Configuration’.

What happens is, though you have deleted configuration in LTR transaction still System maintains some records
related to deleted configuration in some IUUC* tables so we need to delete those entries from the tables.

Tables from which we need to delete entries are as follows –

IUUC_REPL_MAP

IUUC_MT_HEADER

IUUC_REPL_CONPAR

IUUC_REPL_HDR

Steps to delete entries from ECC Tables are as follows –

1. Go to Transaction SE16 and give table name and click on data preview

2 .click on Execute , whole data in the table will be displayed.

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 9/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

3. Select the record and click on display

4. To switch on debugging mode write /h and click enter.

5. Click Enter again you will land up in ABAP Debugger

On this screen click on code, so you will get code in variable column under Variable 1 tab, than press on Edit
icon.

6. Replace ‘SHOW’ with ‘DELE’ and press enter and than press F8

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 10/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

7 . So we will get Delete Entry push button through which we can delete records from table.

By using this procedure have to delete all the records from above mentioned 4 tables.

Hence, this way we can eliminate those errors.

Regards,

Danish

Alert Moderator

15 Comments
You must be Logged on to comment or reply to a post.

Former Member

April 21, 2015 at 9:34 am

It is really nice document posted on SCN. Good Work…!

Former Member

September 18, 2015 at 4:33 am

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 11/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

Hello Danish,

Nice document, I have a question, in this case ECC would be on Oracle ?

I have a landscape where I am doing reporting in BOBJ explorer using HANA live views, our DB has completely
migrated to HANA, in this case Do I still need SLT to refresh data in HANA Studio ECC tables ?

Former Member

May 29, 2016 at 12:13 pm

Hi Danish,

Thank you for such a nice document. I followed the same steps as mentioned in this document.

But i am getting below error in step 5.

I checked the document
https://help.sap.com/hana/SAP_HANA_Security_Guide_Trigger_Based_Replication_SLT_en.pdf

and provided all the privileges as mentioned in that document to my database user.

I am using a database user “NAVEEN”. Could you please let me know if i have to provide any other privileges.

Thank you,

Navn

Former Member

June 7, 2016 at 1:20 pm

Hi Naveen,

It looks like the database user “NAVEEN” is missing object privileges at schema level. Please check
the authorization at HANA side for schema Z_N_SHM10.

Regards,

Prem Kumar M

Former Member

June 23, 2016 at 10:57 am

Thanks for the clear document.

Can you explain if SLT is installed in same source system what is the configuration to be followed?

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 12/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

Former Member

July 14, 2016 at 12:32 am

Same configuration is needed as above.

– RFC connection with source ABAP system

– DB connection with target HANA system

Former Member

July 1, 2016 at 11:35 am

Hi Danish,

Really appreciate your effort.

A small doubt, Can multiple SLT Configurations be done in LTR Tcode , with different names and different sets of
tables for replication under it, which could result in multiple Schema in HANA Studio ??

Need valuable suggestion ..

Regards,

Suraj Kant

Former Member

July 19, 2016 at 8:28 pm

Hello Suraj,

that is right no of the the connections created in SLT do have the indicidual schemas in HANA system
unless during the replication configuration you intentionally give the same schema name which is
already existing,.

amar ghuge

Former Member

July 14, 2016 at 12:30 am

Excellent Blog,

It is one of best post in regarding SLT configuration, particularly detailed touch in potential and practical trouble
shooting topics.

– easy to understand ‘End to End Scenario’

– never missed ‘sensitive check and setting in ECC’ such as SM59, RZ10

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 13/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs

Former Member

July 27, 2016 at 5:55 pm

Nice document covered step by step

Former Member

August 8, 2016 at 5:59 am

Nice blog… and covers not only step by step procedures but also provides good trouble shooting information..

thanks for sharing..

Thomas Taylor

September 14, 2016 at 1:21 pm

Does anyone have step-by-step document for changing the SYSTEM user id to a different userid on existing SLT
DB Connection?

I think it is using DBCO -TX

Thanks,

Tom T

Former Member

May 29, 2017 at 3:49 pm

Hello Danish,

Nice document, I have a question for you:

I have a customer with an SAP ECC landscape where there are two company codes, The company of one of the
two company codes has been sold and will have to migrate its data into a new ERP. The solution I wanted to
propose is adopt SLT but I have a doubt if it is usable when the source is SAP ECC and the target is SAP S/4
HANA.

Thanks in advance for th support!

Best Regards

Angelo

Crystal Waston

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 14/15
9/30/2018 SLT Configuration for Data Replication from SAP ECC System to SAP HANA System | SAP Blogs
August 18, 2017 at 4:26 am

This Blog is tremendous. Nice

SAP HANA Replication allows migration of data from source systems to SAP HANA database. Simple way to
move data from existing SAP system to HANA is by using various data replication techniques.

david nguyen

January 24, 2018 at 9:44 pm

Hi Danish, thank you for great blog. I have tried to follow your blog, but the data did not replicate to the Hana
database. Do you have any ideas?

Thanks

David

Share & Follow

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Cookie Preferences

Sitemap Newsletter

https://blogs.sap.com/2015/04/17/slt-configuration-for-data-replication-from-sap-ecc-system-to-sap-hana-system/ 15/15