Defining Virtual Tables and Uploading Data From CSV Files: Level Topic
Defining Virtual Tables and Uploading Data From CSV Files: Level Topic
Content
• ...
• ...
Goals
...
Attachments
• ...
• ...
• ...
• ...
Prerequisites:
Nice to have:
• A1.1
• A1.5
• ...
1 In the Data objects area, create a new The new data object is
module and a data object. displayed in the tree.
4 Add a new line and insert an SAP table into e.g. MARA or An SAP table has been
the Table name field. Save your entries. assigned to the data
MARC
object. You can also view
the table by expanding the
tree.
5 Add a second new line, create a virtual table $TEST or It is not possible to create
and save. Virtual tables start with the a virtual table via mass
$TEST2
character ‘$’. maintenance.
1 Switch to the Data objects area and expand Create table allows you to
the tree. Right-click an existing SAP table, assign a dependent child
e.g. MARA, and click Create table. table to the selection table.
Transformation
Values Result
1 Switch to the Transformation area and The export block has been
create an export block. defined.
2 Assign the data object to the export block and The data object has been
save. assigned to the export
block.
2 3. Enter the name $MLAN into the Virtual table The first character of
field. the name must be ‘$’.
3 4. In the File field, enter the file path for You can use the The file path has been
t_supply.csv, which is appended to this tutorial. value help (F4). maintained.
5 In the Mass maintenance tab, specify a If the differing The data is imported into
differing target table. target is not the SAP table MLAN in
maintained, the the target system.
Enter the SAP table name MLAN in the row
execution of an
of the virtual table $MLAN and save.
import block will
abort with errors.
7 Right-click the virtual table and click Display A selection screen opens.
export files.
12 Click the green tick to confirm your entries. The import block has
been created and appears
in the tree.
14 Right-click the virtual table $MLAN and click A message appears: “The
Start table in background. transformation table
$MLAN was started”.
16 Check the imported data for the table MLAN The data records of the
in the target system. Log in and use CSV file have been
transaction SE16. imported properly.
Attachment
4 Enter the path of the CSV file and execute The upload of the file was
the upload. successful.
5 Go to the Transformation area and expand There is a new run with the
the Transformation tree. name “Single execution”
and the table name. The
Status has changed to
Complete, and the
Progress to 100.00%.
6 Right-click the table MLAN and click Display A selection screen opens.
export files.