Sie sind auf Seite 1von 33

Extract SAP ABAP

Report data in SSIS.


In order to be able to use Xtract IS Report as a Data Source, it is
necessary to configure a few things in SAP first. Xtract IS Report
requires the installation of a custom function module in your SAP
system before use.

For further information please look at the Xtract IS


OnlineHelp: http://help.theobald-software.com

www.theobald-software.com 2
Here is the report „RLT10010“ in SAP we want to extract later in SSIS.
The selection screen of the report (1)
The output of the report (2)

www.theobald-software.com 3
We have to create a new SSIS project.
Start Visual Studio. Click „File“  „New“  „Project…“(1)
Select „Integration Services“  “Integration Services Project“ (2)
Enter project name (3) and click OK to create the project…(4)

www.theobald-software.com 4
Now we have a blank Control Flow. Drag and drop a Data Flow
Task item into the Control Flow (1)
Double click on the task to switch to the data flow view (2)

www.theobald-software.com 5
In the Data Flow Task we need a new Xtract Connection.
Right-click (1) and select „New Connection“ (2)

www.theobald-software.com 6
Select „XTRACT“ (1)
Click „Add…“ to add the Xtract Connection Manager (2)

www.theobald-software.com 7
Double click to open Xtract IS Connection Manager(1)
Fill in logon credentials (2)
Fill in host information (3)
Test the connection (4) and click OK to confirm (5)

www.theobald-software.com 8
Drag and drop Xtract IS Report component (1)
Double click to automatically assign connection manager to the
Xtract IS Report component (2) Click OK to confirm (3)

www.theobald-software.com 9
Click to open Look Up dialog (1)
Enter the report name and click to start search (2)

www.theobald-software.com 10
Select report from list (1)
Click OK to confirm selection (2)

www.theobald-software.com 11
Now let‘s click OK to continue (1)

www.theobald-software.com 12
Enter the variant “TESTVAR” created in SAP (1).
Or click „Edit“ to use the Selection Screen to fill in selections. (2)

www.theobald-software.com 13
Before we continue we have to preview the report first to get a
template of the report‘s list output (1)

www.theobald-software.com 14
The preview is containing only one column
(we have to change this later) (1)
Click to close dialog (2)

www.theobald-software.com 15
Click OK (1) to confirm the settings

www.theobald-software.com 16
Click on Preview (1) to get the result

www.theobald-software.com 17
The report looks like this before we are going
to define the columns (1) manually

www.theobald-software.com 18
First we skip the rows at the top and at the bottom of the report,
which are not necessary (1)

www.theobald-software.com 19
Click to define the beginning of a column (1)
Insert the length of the column (2)
You can also change the names of the columns (3)
Go on with all columns you want to extract.

www.theobald-software.com 20
Start preview to check if the columns
are defined correctly (1)

www.theobald-software.com 21
Correctly defined report columns.
Click to close the preview (1)

www.theobald-software.com 22
Click to close the Xtract IS Report dialog (1)

www.theobald-software.com 23
Back in the Data Flow drag and drop
a Data Flow Destination into the Data Flow.
In this example we use the OLE DB Destination (1)

www.theobald-software.com 24
We need another connection manager for the Destination.
Right-Click in this area and select „New OLE DB Connection…“ (1)
Set up the connection manager in the dialog to local SQL Server

www.theobald-software.com 25
Drag the Xtract output flow path to the OLE DB Destination (1)
Double click to open the OLE DB Destination Editor (2)

www.theobald-software.com 26
Select an existing table from the dropdown list… (1)
…or create a new one (2)

www.theobald-software.com 27
If you decide to create a new table, the „Create“ statement is
automatically generated from the meta data (1)
Click OK to create table and return to previous screen (2)

www.theobald-software.com 28
Click on Mappings and the mapping between source and
destination elements is generated automatically (1)
Click OK to confirm the mapping (2)

www.theobald-software.com 29
Now let‘s execute the package (1)

www.theobald-software.com 30
Xtract IS is fetching the data from SAP.

www.theobald-software.com 31
The extraction of the data finished succesfully
12 rows are sent to the OLE DB Destination (1)
The log output contains details (2)

www.theobald-software.com 32
If you have any questions or comments, please write at:
support@theobald-software.com

www.theobald-software.com 33

Das könnte Ihnen auch gefallen