Beruflich Dokumente
Kultur Dokumente
TABLE OF CONTENT
PURPOSE ......................................................................................................................................................... 3
PURPOSE
This document describes how data is stored in the BFC database.
PACKAGE DATA
A package is always linked to a category and data entry period
For example, the packages below belong to {A 2009.12}
At DB level, BFC does not use the 2009.12, but this converted.
You can use:
C:\Program Files\SAP BusinessObjects\Financial Consolidation\period.exe to convert
Thephase is the category code. Use select * from ct_phase to see all categories
So, if you want to determine what table holds the package data for {A 2009.12}
PRE-CONSOLIDATED DATA
The table ct_pcref has the same fields as ct_pkref, so use the same queries as package data (replace
ct_pkref with ct_pcref)
Note 1: ct_pcXXXX is created at the moment that the first package is integrated
Note 2: Do not make the following assumption. If package data is in ct_pk0020, the corresponding preconsolidated data is in ct_pc0020 !!
This may be the case in our test DBs (as we often only use 1 category, but this is rarely the case in a client
DB)
CONSOLIDATED DATA
A consolidation is defined by 5 dimensions
Again, only 1 record can be returned. The consolidated data for this particular consolidation will be in
ct_co0002
DATA IN TABLES
The following are the dimensions of BFC (the orange ones are system dimensions and are always present)
10
11
12
DIMENSIONAL ANALYSIS
You might need to analyze an amount by breaking it down e.g. when reconciling accounts or breaking down
sales by product. To do so, you must associate analysis dimensions with indicators.
You can define DA on 2 standard dimensions (Partner and Share) and all custom dimensions.
For example, create a DA on partner, and ACCOUNT1 (on all flows) is broken down by this.
The DA has a mode, which determines what happens with the non-analyzed amount
In this case, we select post breakdown to higher level
13
This means that the system has created a (automatic) formula, and that for ACCOUNT1 the amount will be
the sum of the Partners.
As you can see, the total (600) is automatically calculated (and user cannot input this amount)
14
The column partner is now used. However, there is still a record for the total amount (the non-analyzed
sum).
Note: this is not an OLAP database, so the system does not calculate this roll-up at execution time of a
report. The total row is stored in the DB
15
16
The last amount (1200) can be confusing, but this is caused by the total row that is in the DB
The SQL used would be:
select amount from ct_pk0004 where accnt=1488 and partner=0
select sum(amount) from ct_pk0004 where accnt=1488 and partner<>0
select sum(amount) from ct_pk0004 where accnt=1488 and partner=0
select sum(amount) from ct_pk0004 where accnt=1488 and (partner<>0 or partner=0)
This last statement will select all 4 rows, leading to the 1200
17
www.sap.com