Maintain Local Table Data
Use the Data Editor to add, delete, duplicate, or update records in local tables. You can also sort, filter, reorder, and replace data.
Prerequisites
-
Data Warehouse General (-R------) - To access SAP Datasphere.
-
Data Warehouse Data Builder (-RU-----) - To access the local table Data Editor screen in the Data Builder.
-
Data Warehouse Consumption (-RU-E---) - To add and delete data in a local table.
-
Space Files (CRUD----) - To create, read, update, and delete objects in your spaces.
-
Have status of Deployed.
-
Include at least one key column (which does not have a data type of cds.Binary or cds.hana.BINARY).
-
Do not contain binary (hana.BINARY, Binary, LargeBinary) or geo (abap.geom_ewkb, hana.ST_POINT, hana.ST_GEOMETRY) columns that have the Not Null property set or binary columns containing NULL values.
-
Do not contain SAP-managed data (for example, generated time tables, see Create Time Data and Dimensions).
Open the Data Editor
-
In the Data Builder start page, click the local table whose data you want to edit.
-
Click the Data Editor button.
-
The following tools are available in the Data Editor toolbar:
Tool
Description
Add
See Add a Record.
This tool is not available if any key column (or Not Null column without a default value) is hidden.
Delete
See Delete a Record.
This tool is not available if you have unsaved changes.
Duplicate
See Duplicate a Record.
This tool is not available if any key column (or Not Null column without a default value) is hidden.
Restore
Undo all edits and return to previously saved values.
Insert Missing String Value as
Specify how empty string cells are interpreted when adding a record. Select from:
-
NULL (default)
-
Empty value
Column settings ()
-
Add a Record
-
Click the Add button.
An empty row will appear at the top of the table.
-
Enter values in the appropriate cells.
The data in each cell must comply with the data type and other properties of the column. In particular:-
Each key value must be unique.
-
Each Not Null field must contain an appropriate value.
-
Edit a Record
-
(optional) Filter or sort data to find the record you want to edit.
See Filter Data and Sort Data.
-
Click in the cell you want to edit and enter a new value.
The data in each cell must comply with the data type and other properties of the column. In particular:-
Each key value must be unique.
-
Each Not Null field must contain an appropriate value.
-
Duplicate a Record
-
Select one or more records.
-
Click the Duplicate button.
-
Edit the duplicated values as necessary.
The data in each cell must comply with the data type and other properties of the column. In particular:-
Each key value must be unique.
-
Each Not Null field must contain an appropriate value.
-
Delete a Record
-
Select one or more records.
-
Click the Delete button.
Find and Replace Data
-
Click the header of the column you want to search in and select Find and Replace.
-
In the dialog, complete the settings as follows:
Setting
Description
Find
Enter the value to search for.
Replace By
(optional) Enter a replacement value.
Match Case
Select to make your search case-sensitive.
Match Entire Field
Select to ignore partial matches.
Show Occurrence Count
Select to return the number of records. In large tables, enabling this feature may reduce performance.
Sort Data
-
Click a column header and then click or .
-
Click to open the View Settings dialog, and then click the Sort tab. Select the columns to sort by, whether to sort each one by ascending or descending order, and click OK to update the viewer.
Filter Data
-
Click a column header and then to open the Define Filter dialog, or click and then click the Filter tab.
-
Choose the appropriate section for your filter:
-
Include - Enter one or more filter conditions that must be met in order to display a row.
-
Exclude - Enter one or more filter conditions that must be met in order to hide a row.
-
-
Select a column to filter on, an operator, and a value.
For example, to filter the data to see only employees born between 1960 and 1969:-
Select the Birth Date column.
-
Select the between operator.
-
Select Jan 1, 1960 in the From field and Dec 31, 1969 in the To field.
-
-
[optional] Click to add further conditions in either the Include or Exclude section.
-
Click OK to apply the filters.
The current filter conditions are displayed in a strip across the top of the panel. Click Clear Filter to remove them.
Choose Columns to Display
To reorder the columns, click and drag a column header to left or right and drop it in its new position.
-
Select a checkbox to display a column or unselect it to hide a column.
-
Click a column name to select it and then use the arrow buttons to move it up or down in the list.
-
Use the Show Selected/Show All button to toggle between the two different lists.
-
Use the Sort and Filter tabs
Click OK to update the columns or Cancel to undo your changes. To return to the default columns, click Reset.
Save Data Changes
-
Click Save in the main tool bar.
-
To exit the Data Editor, click the Table Editor button or close your browser tab.