Create or Add a Target Table to a Transformation Flow

A transformation flow writes data to a target table. You can create a new target table or use an existing one.

Procedure

  1. Add a target table to the transformation flow in one of the following ways:
    • Click the Create New Table button.

      The target table is added to your transformation flow, and the Properties panel for the table appears. Enter a business name and a technical name for your target table. When you enter a business name, the system automatically suggests a corresponding technical name, but you can change the technical name if required.

    • Drag an existing table from the Repository, and drop it onto the Target node.

  2. Click the target node to display its properties in the side panel, and review the properties in the General section:

    Property

    Description

    Business Name / Technical Name

    Information to identify the target table.

    Status

    The deployment and error status of the object. For more information, see Saving and Deploying Objects.

    Delete All Before Loading

    If the value of the Delete All Before Loading option is Yes, when you start the transformation flow, the system deletes all of the table content. All of the original individual records are permanently deleted, but the system leaves the table structure intact and fills it with the relevant data from the source table.

    If not, the system inserts new data records after the existing data in the target table. For data records that already exist in the target table and have been changed in the source, the system updates the target records with the changed data from the source using the UPSERT mode. Note that the system will only update such target records if the target table has a primary key column.

    Delta Capture

    Indicates whether the delta capture setting is enabled for the table. For more information, see Capturing Delta Changes in Your Local Table.

    If the source table is a delta capture table, then the default value of the Delta Capture property for the target table is On. If you switch delta capture off for the target table, the system removes the delta capture columns Change Date and Change Type from the target table. If you switch delta capture on again, the system will add the delta capture columns to the target table. Note that even If the source table does not contain both delta capture columns, the system will add both columns to the target table.

    If the source table is not a delta capture table, then the default value of the Delta Capture property for the target table is Off. If you switch delta capture on for the target table, the system adds the delta capture columns Change Date and Change Type to the target table

    Delta Capture Table Name

    [read-only] The delta capture table name. The system displays this field if the delta capture setting is enabled for the table. For more information, see Capturing Delta Changes in Your Local Table.

    Storage

    [read only] [read-only] Displays the table storage.

    For local tables created in a space with SAP HANA Cloud, SAP HANA database storage the values can be "Disk" or "In-Memory".

    For local tables created in a space with SAP HANA Cloud data lake storage, the value is "File".

  3. In the Mappings section, review the mappings of incoming columns to the target table columns.
    • When you connect any operator to the target table, each incoming column that has the same name and a compatible data type with a column in the target table is automatically mapped to it.

    • You can manually map an incoming columns with a target table column that has a compatible datatype by dragging the column from the left list and dropping it onto the appropriate column in the right list.

    • To delete a mapping, select it, and click Delete. To delete all mappings, Remove all Mappings.

    • You can, at any time, click (Auto Map) to relaunch automapping based on names and datatypes.

  4. In the Columns section, view the columns of the target table. To check the data type of a column, hover over it and click .

    If the delta capture setting is enabled for a table, two additional columns are present in the table to track changes. For more information, see Capturing Delta Changes in Your Local Table.