0% found this document useful (0 votes)
26 views

Part 4 - SAP S - 4HANA Migration Cockpit - Using SAP HANA Studio To Load Data To The Staging Tables - SAP Blogs

Uploaded by

peen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Part 4 - SAP S - 4HANA Migration Cockpit - Using SAP HANA Studio To Load Data To The Staging Tables - SAP Blogs

Uploaded by

peen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

30.11.

2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

Community

Ask a Question Write a Blog Post

Technical Articles

Iliana Olvera
December 2, 2019 4 minute read

Part 4: SAP S/4HANA migration cockpit – Using SAP HANA


Studio to load data to the staging tables
Follow RSS feed Like

1 Like 2,595 Views 0 Comments

This is the nal blog post of a blog series I wrote together with Markus Andres and Alessandro Sabidussi

The rst blog post gave an overview of the SAP S/4HANA migration cockpit, focusing on the migration
approach “Transfer Data Using Staging Tables”.

The second blog post by Markus covered how to use Data Services to populate the staging tables.

The third blog post by Alessandro presented a second option using HANA Smart Data Integration (SDI),
which is an embedded functionality in SAP HANA.

In this nal post, we will provide general information and a link to a detailed guide about how to populate the
SAP S/4HANA Migration Cockpit staging tables with data by using the SAP HANA Studio.

The SAP HANA Studio gives users the possibility to import data from a local le (.csv, .xls, or .xlsx) into an
SAP HANA database by using Data from Local File option.

For the SAP S/4HANA migration cockpit’s approach “Transfer Data Using Staging Tables”, a table schema is
created when you select and open a migration object within your migration project. As mentioned in the rst
blog: “SAP S/4HANA migration cockpit – Migrating data using staging tables and methods for populating the
staging tables“, for each source structure of a migration object a separate staging table is generated
natively in the SAP HANA database schema.

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 1/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

Structures for Migration Object G/L account and the generated, corresponding staging tables

The table schema or staging tables corresponding to the source structures of the migration objects you
selected in your migration project using the SAP S/4HANA migration cockpit (staging tables approach) can
be seen and accessed in the SAP HANA studio. You nd such staging tables under Systems -> Catalog ->
<DatabaseUser> ->Tables

Once you have created your migration project and selected your migration objects, you will then be able to
upload data into these tables using the Data from Local File option in the SAP HANA Studio.

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 2/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

Prerequisites:

In the SAP S/4HANA migration cockpit You have created a migration project that uses the migration
approach Migrate Data Using Staging Tables.
You have selected the relevant migration objects for your migration project.
You have created an SAP HANA database connection between the SAP S/4HANA system and the staging
system (a remote system that uses the SAP HANA database).
You have a at le (.csv, .xls, or .xlsx) with data to upload.
You have added a System to SAP HANA studio to connect to the SAP HANA repository containing the
staging tables.

Note: For more details about prerequisites and other relevant information about Migrate Data Using Staging
Tables see: KBA 2733253 – FAQ for SAP S/4HANA migration cockpit – Transfer option: Transfer data from
staging tables

Procedure:
For detailed information about how to ll the staging tables using the SAP HANA studio – Data from Local
File option, see section 2.4. in the following SAP User Guide:

SAP S/4HANA Migration Cockpit – Filling Staging Tables with Data Using SAP HANA Studio

This guide shows how to load data from at les to the staging tables by using the Data from Local File
option in the SAP HANA Studio.

You nd more information about the SAP HANA Studio here:

SAP HANA Studio Installation and Update Guide


SAP HANA Developer Guide for SAP HANA Studio

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 3/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

Tips / Useful Information for creating the .csv le for uploading data to the
staging tables

You can use the Export function available in the SAP HANA studio to generate an XML le (table.xml) of the
staging tables´ de nition. Then, you can use the Excel function “Transpose” to create the .csv le for
uploading data into the staging tables using the Data from Local File option in the SAP HANA Studio.

For more information about the “Export” function of the SAP HANA Studio please see:

SAP HANA Academy – Exporting to CSV


SAP HANA Administration Guide for SAP HANA Platform – Export Tables and Other Catalog Objects

STEPS

1.- In the SAP HANA Studio: Export the table de nition of the staging table(s) you would like to populate
with data using the “Export” function. This will create a le (s) called table.xml.

To export the table/object de nition, you select the Table(s) for which you would like to export the table
de nition, right-click on the staging table(s) and then choose “Export”.

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 4/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

Note: You can also type in the (staging) table name you want under “Enter search to nd a catalog object”
and then click on “Add”.

2.- In Excel: open the table.xml le which contains the elds for the staging table you require.

3.- Copy the technical name elds (Column called “Name3”, usually) from the table.xml le (opened in
Excel) until eld /1LT/PROCESSED

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 5/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

4.- Create a new le in Excel

5.- Paste the copied elds (from le: table.xml) to the new Excel document using the “Transpose (T)”
function.

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 6/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

6.- Save the new le in .csv format

You can then populate this .csv le with the data you require and upload the le to the staging tables using
the SAP HANA Studio – Data from File option.

With this, we conclude these blog series.

Alert Moderator

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 7/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

Assigned tags

SAP S/4HANA migration cockpit | SAP Data Services | SAP HANA smart data integration | SAP HANA

studio | SAP S/4HANA |

View more...

Related Blog Posts

Part 1: SAP S/4HANA migration cockpit - Migrating data using staging tables and methods for populating the staging tables
By Iliana Olvera , Dec 02, 2019

SAP S/4HANA Migration Cockpit – tips&tricks


By Sybille Lackermeier , Dec 04, 2017

How to implement the latest corrections released for Migration cockpit


By Prithvi Spandana , May 28, 2020

Related Questions

The entries in the SAP S/4 HANA staging tables aren't visible in SAP S/4 HANA Migration Cockpit.
By Bogdan Popescu-Miclosanu , Dec 12, 2019

S/4HANA MIgration Cockpit: Delta load from staging tables


By Adriaan van der Bank , Sep 12, 2019

SAP S/4 HANA migration cockpit


By Joao Paulo Flores Carmo Dos Reis , Mar 23, 2019

Be the rst to leave a comment

Add Comment

Find us on

Privacy Terms of Use

Legal Disclosure Copyright

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 8/9
30.11.2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs

Trademark Настройки параметра cookie

Newsletter Support

https://blogs.sap.com/2019/12/02/sap-s-4hana-migration-cockpit-using-sap-hana-studio-to-load-data-to-the-staging-tables/ 9/9

You might also like