Set Up Staging Database
You can set up SAP HANA as your staging database for Master Data Replication:
Set Up Staging Database in SQL Server
To set up the staging database in SQL Server, perform the following steps:
- In SQL Server, create a staging database named
mag_sc_stg; ensure that your database administrator has granted you the required permissions to run the scripts in themag_sc_stgdatabase. - Copy the
Contentfolder that is available in the product setup folder to the computer on which the you had created themag_sc_stgdatabase. - Extract the contents of the compressed folder and go to
Content/STAGE/Sql serverand run theCOMMON_OBJECTS.SQLin the staging database. The common objects that are required for the different entities are created. - Run the other queries specific to the different entities available in the
Content/STAGE/Sql serverfolder. The database objects, such as tables, views, and stored procedures, are created for the different entities in the staging database. - If your data source is SAP ERP Central Component, run the
ecc_tables.SQL. - Run the
RECON_OBJECTS.SQLavailable in theContent/STAGE/Sql serverfolder. The tables and views for the reconciliation reports are created in the staging database.
Set Up Staging Database in SAP HANA
To set up the staging database in SAP HANA, perform the following steps:
- In SAP HANA, create a user named
mag_sc_stg; ensure that your database administrator has granted you the required permissions to run the scripts in themag_sc_stgschema. - Copy the
Contentfolder that is available in the product setup folder to the computer on which the staging database is installed. - Extract the contents of the compressed folder and go to
Content/STAGE/Hana/Hana_BYPHand run theCOMMON_OBJECTS.SQLasmag_sc_stguser in the staging database. The common objects that are required for the different entities are created. - Run the other queries specific to the different entities available in the
Content/STAGE/Hana/Hana_BYPHfolder. The database objects, such as tables, views, and stored procedures, are created for the different entities in the staging database. - If your data source is SAP ERP Central Component, run the
ecc_tables.SQL. - Run the
RECON_OBJECTS.SQLavailable in theContent/STAGE/Hana/Hana_BYPHfolder. The tables and views for the reconciliation reports are created in the staging database.