Part 4 - SAP S - 4HANA Migration Cockpit - Using SAP HANA Studio To Load Data To The Staging Tables - SAP Blogs
Part 4 - SAP S - 4HANA Migration Cockpit - Using SAP HANA Studio To Load Data To The Staging Tables - SAP Blogs
2020 Part 4: SAP S/4HANA migration cockpit – Using SAP HANA Studio to load data to the staging tables | SAP Blogs
Community
Technical Articles
Iliana Olvera
December 2, 2019 4 minute read
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.
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:
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
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
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.
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
View more...
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
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
Add Comment
Find us on
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
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