Download as pdf or txt
Download as pdf or txt
You are on page 1of 43

Delta Management in SSIS with

the DeltaQ component.


In order to be able to do a Delta Management in SSIS and to use
the DeltaQ components, it is necessary to configure a few things
in SAP first.

For further information please look at the Xtract IS


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

For our example we use a RFC Destination named XTRACT01.

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

www.theobald-software.com 3
In the Control Flow drag and drop a Data Flow Task item (1)
Double click on the task to switch to the data flow view (2)

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

www.theobald-software.com 5
Select „XTRACT“ (1)
Click „Add…“ to add the Xtract connection manger (2)

www.theobald-software.com 6
Doubleclick 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 7
Drag and drop Xtract IS DeltaQ component (1)
Double click to automatically assign connection manager to the
Xtract IS DeltaQ component (2)
Click OK to confirm (3)

www.theobald-software.com 8
The datasource dialog opens.
Click to open Look Up dialog (1)
Fill in OLTP Source name (2) Click to search (3)

www.theobald-software.com 9
In our example we want to download material master data from
the Data Source “0MATERIAL_ATTR”.
Select Data Source “0MATERIAL_ATTR” (1)
Click OK to confirm selection (2)

www.theobald-software.com 10
All meta data is retrieved from the SAP system and displayed.
The update mode is “Full” (1) to extract all data from the Data Source
Check the fields you want to extract (2)
Fill in host parameters (3) for the RFC destination.

www.theobald-software.com 11
Now we have to activate the extraction in SAP (1)
If activation is successful two status messages will appear (2)

www.theobald-software.com 12
Back in the Data Flow, drag and drop a Data Flow Destination.
Because the DeltaQ component has 2 output paths , we use 2 OLE
DB Destinations (1) One for the data (DeltaQDataOutput) and one
for the log (DeltaQLogOutput)

www.theobald-software.com 13
We need another connection manager for the destinations.
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 14
Drag the Xtract output flow path to the first OLE DB Destination (1)

www.theobald-software.com 15
The Input Output Selection dialog opens.
Select DeltaQDataOutput (1)
Click OK to confirm (2)

www.theobald-software.com 16
Now drag and drop the other path to the other destination (1)
The second output (DeltaQRequestLog) is automatically selected.

www.theobald-software.com 17
Double click on the first OLE DB Destination to open the OLE DB
Destination Editor (1)

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

www.theobald-software.com 19
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 20
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 21
Now we have to edit the second destination.
Double click on the OLE DB Destination for the Request log to open
the OLE DB Destination Editor (1)

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

www.theobald-software.com 23
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 24
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 25
Now let‘s execute the package (1)

www.theobald-software.com 26
Xtract is fetching data from SAP.

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

www.theobald-software.com 28
Stop the debugging (1)
and double click the component (2)

www.theobald-software.com 29
This was the Full Update.
Now let‘s go to a real delta process.

www.theobald-software.com 30
To enable delta processing in SAP, the delta has to be initialized first.
Select „Delta initialization” (1)
Click OK to leave dialog (2)

www.theobald-software.com 31
Run package once again to initialize the Delta (1)

www.theobald-software.com 32
Now the Delta is initialized in SAP.
Go to transaction RSA7 to see the entry for the new delta
process (1)

www.theobald-software.com 33
Stop again the debugging (1)
and double click the component (2)

www.theobald-software.com 34
Set the Update Mode to "Delta Update.“ (1)
Now only the changes will be extracted which have been made
since the last transfer.

www.theobald-software.com 35
If we start now debugging (1)
we get „No data available” (2)

www.theobald-software.com 36
To create some delta data, let‘s go back to SAP and
create a new material master record.

www.theobald-software.com 37
Go to transaction MM01 to create a new material.
Enter Material, Industrie sector and Material Type (1)
Click to enter View Selection (2)

www.theobald-software.com 38
Select „Basic Data 1“ view (1)
Click to confirm selected view (2)

www.theobald-software.com 39
Fill in description (1)
Fill in Base unit (2)
Save material (3)
Material is saved and created (4)

www.theobald-software.com 40
In SSIS we can extract the delta data now...

www.theobald-software.com 41
Start to debug (1)
After the debugging is finished, one row with the new material
„DELTAQXTRACT“ is sent to the OLE DB Destination (2) In the log
output the number of data segments is also shown (3)

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

www.theobald-software.com 43

You might also like