We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 35
moor Extracting data from SAP ECC | SAP Blogs
&
Home 1 Community / Blogs 4 Actions
Extracting data from SAP ECC
March 13,2017 | 16,085 Views |
Dirk Venken
more by this author
SAP Data Services
abap | ale idoc | business content extractors | code pushdown | data flow | function | Performance
G+ share fF share WF tweet jin share
Follow Rss
Many SAP Data Services (DS) applications use SAP ECC data as a source. It
now happens that DS supports multiple mechanisms to extract data from SAP
ECC, Which one to choose? There often is a preferred method, depending on
hitpsblogssap.comy2017/03/ extracting data srom-sap-0ce! 435moor Extracting data from SAP ECC | SAP Blogs
the functionality required and on the capabilities offered within the actual
context of the source system. In this blog, | discuss all different options.
Start with configuring a data store for the SAP source system:
(Riu ations for Datasto
Hero sAaa
Dasasietype. SAP ceplnors
coniratons: 3
Dereueeriguacon
Penns orice RnR
Potbaen aror
(keneral
veto Hes
Eseste tected) es
Target host
sacass «
Data areer tod ae
ec deetstn 108
‘Wang decor on SAP server e260
GererntAEPchaiary———rogarOal AP Direhptela Seveevakepce es
Seca pte
autra sora
ayer ct comnesso ees
Tei erie
Use sspnmicih
Desinatonnane
Rectan bel
Uplood attributes
oseacn
be ceneel | __ torte
Figure 1: SAP Data store definition
Mandatory settings are User Name and Password, the name (or IP address)
of the SAP Application server, the Client and System (instance) number.
V/. “Regular” data flow
When extracting from a single table, do that in a standard data flow. Import the
table definition from the Metadata Repository in the Data store Explorer and
Use it as source in a data flow.
‘An extraction from the KNA( customer master data table looks like this:
hitpsblogssap.comy2017/03/ extracting data srom-sap-0ce!
2135moor
kovatisaP_p203060,)
Extracting data from SAP ECC | SAP Blogs
—=al
Figure 2: Data flow — extract from KNA1
Note the little red triangle in the source table icon. I's an indication of a direct
extract from the SAP data layer.
This is the simplest method. No special measures are necessary at the level
of the source system. The extraction will run as a SAP dialog job. Note that
there is a time-out setting (system-configurable, typically 10, 30, 60 minutes)
for dialog jobs. The DS job will fail when data extraction takes longer.
The where conditions are pushed down to the underlying database. This is
beneficial for the job performance. Also, make sure to extract only the columns
that are really required, The extraction process duration is linearly related to
the data volume, which equals number of records * average records size. The
less data is transferred, the faster the DS job runs.
Semen
Omar
[ swer
cae
> aot
> wes
> es
> ceron
> osu
> rao
> seen
> sas
> rar
> re:
B tox
soem
[ vcoon
I mecee
vacir)
seremti)
vaom)
serous)
sro)
roves)
vce)
vac)
rem)
ew)
arco)
rows)
vot)
verter
vecete8)
sects
eden tie
oy
ese tat Rom,
Freephone ante
Fernie
tore tot ac,
:
Gier. Err] aon Gwe [pare | one |abect [me |
wie | ome | |
aE
Figure 3: Query transform — extract from KNA1, excluding obsolete records
hitpsblogssap.comy2017/03/ extracting data srom-sap-0ce!
SiemeO Eloy
cas
eae
> iano:
> mer
> es
> cere:
> ose
> reat0
> son,
srras
Dram
> ra