tSAPADSOInput
on an SAP HANA database.
tSAPADSOInput Standard properties
These properties are used to configure tSAPADSOInput running in
the Standard Job framework.
The Standard
tSAPADSOInput component belongs to the Business
family.
The component in this framework is available in all subscription-based Talend products.
Basic settings
Host |
The IP address or hostname of the database. |
Port |
The listening port number of the database. |
Table Schema |
The table schema name. |
Username and Password |
The database user authentication data. To enter the password, click the […] button next to the |
Schema and Edit schema |
A schema is a row description. It defines the number of fields
Click Edit
schema to make changes to the schema. Note: If you
make changes, the schema automatically becomes built-in.
|
Name |
Enter the name of the active Advanced Data Store Object from which data will be |
Advanced settings
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at the Job level |
Global Variables
ERROR_MESSAGE |
The error message generated by the component when an error occurs. This is an After |
Usage
Usage rule |
This component is usually used as a start component of a Job or |
Retrieving ADSO data from SAP BW
ADSO (Advanced Data Store Object) from an SAP BW system on an SAP HANA database.
Importing SAP BW Metadata
You can create a connection to an SAP BW system and an SAP HANA
database and store this connection in the Repository > Metadata folder.
-
Follow the procedure in Setting up an SAP
connection of the Talend Studio User
Guide. -
Follow the procedure in Retrieving SAP BW objects
metadata.You can then use the newly created SAP metadata when you
design the Job.
Retrieving SAP BW ADSO
metadata wizard.
-
In the Repository tree
view, right-click the newly created SAP connection and select
Retrieve SAP BW metadata. - Select AdvancedDataStoreObject from the Search in drop-down list.
-
Fill in the relevant information on the following fields:
- Name: enter the filter criterion for the object
name - Description: enter the filter criterion for the
object description
Note: The filter criteria, Name and
Description, act together as an OR operator. - Name: enter the filter criterion for the object
-
Click Search to list all the objects that match the
filter criteria. -
Select the tables that you wish to retrieve by marking the checkbox in the
Name column. -
Wait for the Creation Status to display
Success.The tables and their schemas of the selected objects are saved in the
Repository tree. -
Click Next to proceed to the next step.
All tables of the selected objects are listed in the Table
Name area.-
Click Refresh
Table to display the latest table schema in the
Current Table area. You can
modify the schema of the selected table in the Current Table area, if needed. -
Click Refresh Preview to preview data in the
selected table, if needed.
-
Click Refresh
-
Click Finish to save the tables and their schemas in the
Repository tree view.
Creating a Job for retrieving ADSO data from SAP BW
created and select the tSAPADSOInput component.
- Navigate to Job Designs > Standard to create a new Job.
-
Drag-and-drop the SAP ADSO that you previously created into the
design workspace from Metadata > SAP Connections. - When prompted, select tSAPADSOInput.
- Add a tFileOutputDelimited component onto its design workspace.
-
Connect the tSAPADSOInput component to the
tFileOutputDelimited component via a Row > Main connection.
Configuring the Job for retrieving ADSO data from SAP BW
-
Double-click the tSAPADSOInput component to open its Basic settings view.
-
Check the authentication details of your SAP BW ADSO metadata.
These fields are automatically populated after dragging-and-dropping the SAP BW
ADSO metadata into the design workspace. -
Click the […] button
to open the Schema dialog box, which
displays the columns of data that you wish to retrieve.In this example, nine columns are displayed, MANDT, GJAHR, BELNR,
BLDAT, BSCHL, BSTAT,
BUDAT, and HWAER of String type, and DMSHB of BigDecimal type.You can also change the schema to the Built-In mode and click
the […] button next to Edit schema to update the schema
definition. - Double-click the tFileOutputDelimited component to open its Basic settings view.
-
In the File Name field,
specify the path to the file in which retrieved data will be written, D:/tsapadsoinput_out.csv in this example. -
Select the Include
Header check box to include the column names in the output
file.
Executing the Job to retrieve ADSO data from SAP BW
- Press Ctrl + S to save your Job.
- Press F6 to execute your Job.
-
Open the file generated to check the retrieved data.
You will find only the data of the columns specified in the schema has
been retrieved and written into the file.