Enhancing Std Extractors
-
Upload
mahesh-paleti -
Category
Documents
-
view
231 -
download
0
Transcript of Enhancing Std Extractors
-
7/24/2019 Enhancing Std Extractors
1/14
Enhancing an Extractor
Introduction
Extractors:
Extractors are used to retrieve data in the SAP source system (i.e. ECC in our
case), which can fill the extract structure of a data source with the data from
the SAP source system(i.e. ECC).The extractor may be able to suly morefields than the existin! extract structure.
Extractors are used to extract data from a source system (i.e. ECC) and
transfer it to "# system or "$ system. They are also used for direct access tothe source data from the "# system or "$ system. SAP has rovided standard
extractors for urose of extractin! data. "ut in some situations thesestandard extractors won%t comletely meet our business re&uirements. #n
such cases we need to enhance standard extractors. 'or examle in sometransaction a custom field has been added to meet our re&uirement. Since
this is a custom field it will not be resent in standard extractor. ow we needto include this field in extractor we will have to enhance the standard
extractor.
Extractors use the ataSource defined in SAP for the data extraction.
What is BI?
"usiness intelli!ence ("#) refers to resentation of business records by
collectin!, inte!ratin!, analy*in! the business records.
"# systems rovide historical and ro!nostic views of business oerations."#
most often usin! records that have been !athered into a system andoccasionally wor+in! from oerational data or Transaction data.
BI Extractors
ata retrieval is one of the +ey data warehousin! rocesses in "#. "# rovides
mechanisms extractors for retrievin! data (master data, transaction data,
metadata) from various sources. The extraction and transfer of data occurswhen re&uested by "#.
Data Source:
1
-
7/24/2019 Enhancing Std Extractors
2/14
ata Source is a set of fields that rovide the data for a business unit for datatransfer into "#.Technically, ataSource is a set of lo!icallyrelated fields that
are rovided to transfer data into "# in the extraction structure.
There are three tyes of ataSource-
ataSource for transaction data
ataSource for master data
ataSource for texts
Extract Structure for a DataSource:
The extraction structure for a data source shows the format in which the
ataSource, or the extractor for the ataSource, transfers its data. Theextract structure must be created in the #C as a dictionary structure or
transarent table. A view is not ermitted here since it would then not !ive
you the otion to add an Aend structure. Aend structure (container forCustom fields) enable you to convert business re&uirements. ou can oulate
the fields in the Aend structure usin! function enhancements ("A#, userexit etc).
When to enhance a DataSource using Extract structure:
"usiness Content does not include the field in a ataSource for your
alication.
$hen we do some enhancement in the standard transaction, we need
more fields.
2
-
7/24/2019 Enhancing Std Extractors
3/14
Enhance a DataSource using Extract structure Procedure:
Step 1:/o to transaction 0SA1 for enhancin! a datasource usin!
extract structure. Select a ataSource (0REF!").
3
-
7/24/2019 Enhancing Std Extractors
4/14
Step #:Choose the data sources which need to be enhanced usin!
extract structure. Clic+ on extract structure (0E#S2CAS3'45$2T0A).
4
-
7/24/2019 Enhancing Std Extractors
5/14
Step $:ow use 6%ppend Structure7 to aend new fields.
5
-
7/24/2019 Enhancing Std Extractors
6/14
Step &:ow add the re&uired fields.
Step ':Activate the aend structure./o to 0SA1 transaction select the
data source /o to datasourcechan!e ataSource.
6
-
7/24/2019 Enhancing Std Extractors
7/14
Step ":3ere, we have the otions li+e 8Se(ect%, 8)ide%, 8In*ersion% and
8Fie(d on(+% each for a different use.
Se(ection:They act as selection criteria for data extraction in 0SA9
transaction.
)ide fie(d: :sedexclude an extract structure field from the data
transfer. As a result of our action, the field is no lon!er
made available in "$ or "# when settin! the transfer rules
and !eneratin! the transfer structure.
In*ersion: #nversion is only ossible for certain transaction data
ataSources. These include ataSources that have a field
that is indicated as an inversion field.The value of the +ey
fi!ure is then transferred in inverted form i.e. multilied by
(;
-
7/24/2019 Enhancing Std Extractors
8/14
to ass on the aend structure field to the extractor
to!ether with the fields of the delivered extract structures in
the field list as well as in the selection table.
8
-
7/24/2019 Enhancing Std Extractors
9/14
Procedure to popu(ate the records in the data source:
Step 1: To oulate the records accordin! to the business re&uirement we
can do by imlementin! a "A#, :SE0E=#T etc.3ere we have used "A#
6RS,'7.
Step #: Select the interface !o to the data transform.
$ith delta load, we can revent lon! loadin! times and unnecessary loc+s
on the database by only loadin! new or modified data records into SAP
"$. This is advanta!eous when wor+in! with alications with lar!e data
collections.
9
-
7/24/2019 Enhancing Std Extractors
10/14
,pdate -odes
eltainitiali*ation- etermines the be!innin! inventory> can be
run multile times for each ataSource with enhanced selection
criteria.
elta udate- etermines and loads the delta dataset.
'ull udate- etermines and loads the entire dataset. ou need
to delete the data in the "$ before reloadin!.
Step $: #nside method write the erform si!nature.
Step &: ow !o the SE9? create a reort 6.P-E1!0REF!"6, Select tye
as 6Su/routine poo(.
10
-
7/24/2019 Enhancing Std Extractors
11/14
Step '- #nside the form ta+e the field values from "# into an internal table.
"ased on the field values from "# fetch the data from ECC system then ass
the fetched into the internal table 6!2!D%2%.
11
-
7/24/2019 Enhancing Std Extractors
12/14
Extraction of the data:
5nce new datasource is created throu!h any of the methods exlained
above, it is ready for the extraction. So, for extractin! the data from the
new datasource-
/o to the transaction 0SA 9.
12
-
7/24/2019 Enhancing Std Extractors
13/14
All the records satisfyin! the desired selection criteria will be extracted and
dislayed
13
-
7/24/2019 Enhancing Std Extractors
14/14
14