28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

● Data Replication - to keep the data of selected tables in the <strong>SAP</strong> <strong>HANA</strong> database up-to date with the source<br />

system tables by using SyBase Replication Server or <strong>SAP</strong> Landscape Transformation (SLT).<br />

1. In the Quick Launch tab page, choose Data Provisioning.<br />

2. If you are using SLT-based replication, choose Source.<br />

3. Choose Load (for initial load) or Replicate (for data replication) as appropriate.<br />

4. Select the required tables to load or replicate data in any of the following ways:<br />

○ Search for the required tables.<br />

1. Select the table from the list, and choose Add.<br />

2. If you want to save the selected list of tables locally for future reference, select the Export selected<br />

tables checkbox, and specify the target location.<br />

○ Load the list of tables from a local file as follows:<br />

1. Choose Load from file.<br />

2. Select the file that contains the required list of tables.<br />

Note: The supported file type is .csv.<br />

5. If you are using the load controller infrastructure, choose Next and enter the operating system user name and<br />

password.<br />

6. Choose Finish.<br />

Suspending and Resuming Data Load<br />

If you are using SLT- based replication, you can choose to stop data replication temporarily for a selected list of<br />

tables, and later resume data load for these.<br />

1. In the Quick Launch tab page, choose Data Provisioning.<br />

2. Select the source system for which you want to suspend or resume data load.<br />

3. Choose Suspend or Resume as required.<br />

4. Select the tables, and choose Add.<br />

5. Choose Finish.<br />

Uploading Data from Flat Files<br />

Use this procedure to upload data from flat files available in a client file system, to <strong>SAP</strong> <strong>HANA</strong> database.<br />

● If the table schema corresponding to the file to be uploaded already exists in the <strong>SAP</strong> <strong>HANA</strong> database, the<br />

new data records are appended to the existing table.<br />

● If the required table for loading the data does not exist in the <strong>SAP</strong> <strong>HANA</strong> database, create a table structure<br />

based on the flat file.<br />

The application suggests the column names and data types for the new tables and allows you to edit them. The<br />

new table always has a 1:1 mapping between the file and table columns. The application does not allow you to<br />

overwrite any columns or change the data type of existing data. The supported file types are .csv, .xls, and .xlsx.<br />

1. In the File menu, choose Import.<br />

2. In the Select an import source section, expand the <strong>SAP</strong> <strong>HANA</strong> content node.<br />

3. Select Data from Local File, and choose Next.<br />

98<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Setting Up the Analytic Model

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!