BW All Types of Extractors
BW All Types of Extractors
BW All Types of Extractors
Extractor in a simple terminology is used for extracting the data from various sources to BW.
For this purpose we have SAP pre-defined extractors (LO extraction etc…) and customized extractors (Generic extractors)
Full load: In case of logistic application, Full/Initialization will extract the data from setup tables (contains only historical data).
For full update the data will be taken from setup tables, so in order to capture the changes you need to fill setup tables every time ,which will be a
laborious task.
So, it is always suggestible to go for delta loads which makes loading life easier
Initialization: Data will be fetched from application table to setup tables (In Lo extraction, the extractor won’t allow the direct communication with
the application tables) from here, data finally reaches the target (info cube/ODS).Remember this process is for onetime.
Pre-requisites: Prior to initialization make sure the following steps are completed:
Delta load: Once after successful initialization, we can use delta update to capture the changed /new records
Once a new transaction happens/an existing record is modified, upon saving it goes to the respective application table.
Pre-requisites: Prior to delta loads make sure the following steps are completed:
1.Define periodic V3 update jobs 2. Setting up the update mode (direct/queued/Un serialized v3 update)
LO- Delta Mode:
Info object 0Recordmode helps in identifying the delta
Check the field “delta “in ROOSOURCE /RODELTAM table
Incase of Lo extraction it is “ABR”
ABR: An after image shows the status after the change, a before image the status before the change with a negative sign and the reverse image
also shows the negative sign next to the record while indicating it for deletion. This serializes the delta packets.This process supports an update
in an ODS object as well as in an Info Cube.
FI extraction:
FI Module deals with accounting and financial needs of an organization.
Financial Accounting is broken down into the following sub-modules:
• Accounts Receivables
• Accounts Payable
• Asset Accounting
• Bank Accounting
• Consolidation
• Funds Management
• General Ledger
• Special Purpose Ledger
• Travel Management
Note: Only discussing key areas (AP/AR/GL/SL) briefly because of the complexity of the area
We can extract the financial data at totals level / line item level.
In general, we will use R/3 line item tables as the data source for extracting the data to allow drill down capability from summarized data to line-
item details.
Financial Accounting data can be extracted directly from the tables.
Depending on the business requirement we can use either FI-SL or standard BW content extractors (FI-AR, FI-AP, and FI-GL) to fetch FI data.
FI-AR, FI-AP, and FI-GL:
General Ledger: All accounting postings will be recorded in General Ledger. These postings are real time to provide up-to-date visibility of the
financial accounts.
Account Receivable: Accounts Receivables record all account postings generated as a result of Customer sales activity. These postings are
automatically updated in the General Ledger
Accounts Payable: Accounts Payables record all account postings generated as a result of Vendor purchasing activity. Automatic postings are
generated in the General Ledger as well.
Standard FI data sources:
0FI_GL_4 (G/L Accounts- line items)
Takes the data from the FI document tables (BKPF/BSEG) that are relevant to general ledger accounting (compare table BSIS).
0FI_AP_4 (AP-line items) and 0FI_AR_4 (AR- line items
Selections are made from tables BSID/BSAD (Accounts Receivable) and BSIK/BSAK (Accounts Payable)
How the data extraction happens?
In FI extraction 0FI_AR_4 and 0FI_AP_4 are linked with 0FI_GL_4 in order to maintain consistent data transfer from OLTP system (it is called
coupled data extraction, Ref OSS notes 428571).
Note: Uncoupled” extraction possible with Plug-In PI 2002.2, see OSS note 551044
0FI_GL_4 writes the entries into the time stamp table BWOM2_TIMEST in the SAP R/3 System with a new upper limit for the time stamp
selection.
And now, 0FI_AP_4 and 0FI_AR_4 will copy this new upper limit for the time stamp selection during the next data extraction in the SAP R/3
System. This ensures the proper synchronization of accounts payable and accounts receivable accounting with respect to G/L accounting.
Full load: Not a valid choice because of large volumes of detailed R/3 transaction data.
Delta load:
Note: Here the delta identification process works differently for new financial records and for changed financial records.
New Financial accounting line items which are posted in SAP R/3 sytem will be identified by the extractor using the time stamp in the document
header (Table BKPF-(field) CPUDT).
By scheduling an initialization IP all the historical data can be loaded into BW from the application tables and it also sets “X” indicator in field
LAST_TS (Flag: ‘X’ = Last time stamp interval of the delta extraction).That means after the last delta, initialization was done.
After this, daily delta loads can be carried out depending on timestamp by scheduling delta info packages.
During the delta load , the SAP R/3 system logs two time stamps that delimit a selection interval for a Data Source in table
BWOM2_TIMEST(fields TS_LOW and TS_HIGH).
In case of changed FI documents, selections will be based on tables:
BWFI_AEDAT and (timestamp table) BWOM2_TIMEST (See OSS note 401646 for more details).
Delta extraction using delta queue method can also be possible incase if we want,
• Serialization of the records
• To distribute delta records to multiple BW systems.
FI -Delta Mode:
A time stamp on the line items serves to identify the status of the delta. Time stamp intervals that have already been read are then stored in a
time stamp table (BWOM2_TIMEST).
(Info object 0Recordmode plays vital role deciding delta’s .Check the field “delta “in ROOSOURCE /RODELTAM table to identify the image)
The Financial Accounting line items are extracted from the SAP R/3 system in their most recent status (after-image delta method).
AIE: This delta method is not suitable for filling Info Cubes directly in the BW system. To start with therefore, the line items must be loaded in the
BW system in an ODS object that identifies the changes made to individual characteristics and key figures within a delta data record. Other data
destinations (Info Cubes) can be provided with data from this ODS object.
It uses delta type E(pull) means the delta data records are determined during the delta update by the data source extractor, updated to the delta
queue and passed on to BI directly from there.
Source: http://scn.sap.com