Professional Documents
Culture Documents
Line Item Level Data Extraction For Financial Accounting and Controlling
Line Item Level Data Extraction For Financial Accounting and Controlling
Line Item Level Data Extraction For Financial Accounting and Controlling
Content
Business Drivers
FI Extraction
FI line-item extraction
Timestamp mechanism
Customer extensions
Global Settings
Availability and further information
CO-OM Extraction
CO-OM line-item extraction
Delta mechanism (Revised 06/05/03)
Customer extensions (Revised 06/05/03)
Availability and further information
Business drivers
Flexibility:
Need for project specific choice of fields.
Check on status fields, like open / cleared items.
Actuality:
Access to recent (or even real-time) data.
Scalability:
High number / wide variety of users.
Large volumes of detailed R/3 transaction data are transferred to
BW
Daily full loads are inefficient.
BW
G/L accounts
Accts. receivable
Accts. payable
0FIAR_C03
FIAR: Line item
0FIAP_C03
FIAP: Line item
0FI_AR_O03
FIAR: Line item
0FI_AP_O03
FIAP: Line item
Drilldown
InfoSources
R/3
DataSources
R/3 Tables
0FI_GL_O02
FIGL: Line item
0FI_GL_4
0FI_AR_4
0FI_AP_4
FIGL: Line item
FIAR: Line item
FIAP: Line item
Coupled extraction
Coupled extraction
BKPF
Header
BSEG
Segment
BSAD
Cleared Items
BSID
Open Items
BSAK
Cleared Items
BSIK
Open Items
Table BKPF
AEDAT/AETIM
16.05.2000/20:15
24.05.2000/16:59
02.06.2000/21:45
15.06.2000/12:34
21.06.2000/18:12
18.05.2000/21:23
30.05.2000/12:48
10.06.2000/13:19
17.05.2000/18:45
04.06.2000/13:32
16.06.2000/15:41
UPD
Init
Delta
Delta
Delta
Delta
Init
Delta
Delta
Init
Delta
Delta
DATE_LOW
01.01.1990
16.05.2000
24.06.2000
02.06.2000
15.06.2000
01.01.1990
16.05.2000
24.06.2000
01.01.1990
16.05.2000
02.06.2000
DATE_HIGH
15.05.2000
23.05.2000
01.06.2000
14.06.2000
20.06.2000
15.05.2000
23.05.2000
01.06.2000
15.05.2000
01.06.2000
14.06.2000
LAST_TS
Solution
Recording of all changed FI documents (FI document key, date
of last change) in table BWFI_AEDAT.
MANDT
600
600
BUKRS
1000
1000
BELNR
1900000010
1000000016
GJAHR AEDAT
2001
21.02.2001
2001
21.02.2001
AETIM
10:23:17
10:28:34
endfunction.
function BWFIP_WRITE_AEDAT_POINTER
...
move-corresponding BKPF to I_T_BKPF.
call function BWFIP_INSERT_BWFI_AEDAT
tables I_T_BPKF.
endfunction.
SAP Labs America 2002, FI / CO Line Item Extraction 10
Change document
Incoming/outgoing payments
Dunning
...
Customer Extensions
Extension of extract structures using customer includes
Data source R/3 table
0FI_GL_4
0FI_AP_4
0FI_AR_4
DTFIGL_4
DTFIAP_3
DTFIAR_3
BSEG
BSIK/BSAK
BSID/BSAD
CI_BSIS
CI_BSIK
CI_BSID
Case 1: All fields of the customer include are part of the R/3 table.
No additional ABAP-coding is required. The fields of the customer
include is automatically filled by the extractor.
Case 2: Some fields of the customer include are not part of the R/3 table.
Use Business Transaction Event 00005021.
Build a function module that fills the fields of the customer include.
Use the following template: SAMPLE_PROCESS_00005021.
No modification of SAP standard extractors required.
For more information: See OSS note 410799
BWFISAFETY
Here, you can the upper time limit of the time stamp selection for data requests in all update modes. Value 1 in
this parameter means that the upper time limit of the time stamp selection is the previous day. With larger
parameter values, the upper limit of the time stamp selection is correspondingly further (in days) in the past.
Note that you cannot choose a parameter value cannot be smaller than 1, as this would prevent the delta
dataset being found completely.
ORGSYSONLY
If you SAP R/3 system is part of an ALE scenario, set this parameter to X. This ensures that only those line
items that were originally posted to the BW system will be transferred there from the SAP R/3 system. This
prevents line items being transferred several times from various SAP R/3 system.
DELTIMEST
With this parameter, you can set the retention period of entries that are no longer required in time stamp table
BWOM2_TIMEST. The default settings for deletion of entries that are no longer required in the time stamp
table is 60 days. The minimum retention period for entries in the time stamp table is 15 days. When entries are
deleted from table BWOM2_TIMEST, the corresponding entries for the changed FI line items are deleted
simultaneously from log table BWFI_AEDAT.
BW:
Release 3.0A++
(Release 2.0b / 2.1c: See OSS note 401646)
401646
410799 / 430303
485958
410797 / 200576
Coupled extraction:
Uncoupled extraction:
428571
551044
Online documentation
Check documentation on business content, BW 3.0b.
BW
InfoCubes ->
Cost Center
0CCA_C11
Bus. Process
0ABC_C06
summarized data
analytical queries
InfoSources
DataSources
0CO_OM_CCA_9 0CO_OM_OPA_6
R/3 Tables
R/3
0CO_OM_WBS_6
COBK
COEP
CO documents
SAP Labs America 2002, FI / CO Line Item Extraction 14
0CO_OM_ABC_7
RSA6. The extract structure must be increased with the new fields
required to be extracted. The new data will be written automatically with
the extractor ,but please note, this will not automatically be sent to BW if
the fields are not in the extract structure.
* The includes CI_COBL e.g. for 0CO_OM_CCA_9 do not have anything to do
with BW but it is normal CO include where the customer can fill in some
new fields he needs in CO.
Data source
R/3 tables
Extract struct.
Customer include
0CO_OM_CCA_9
0CO_OM_OPA_6
0CO_OM_WBS_6
0CO_OM_ABC_7
COBK/COEP
COBK/COEP
COBK/COEP
COBK/COEP
ICCTRCSTA1
ICORDCSTA1
ICWBSCSTA1
ICBPRCSTA1
CI_COBL
CI_COBL
CI_COBL
CI_COBL
* Please review OSS Note 394491 Handling Errors from DataSource Append
Structures (released 05/14/03) for further details
BW:
Release 2.0B or higher
416265
Performance optimization:
382329, 387964
Online documentation
Check documentation on business content, BW 3.0b.