Beruflich Dokumente
Kultur Dokumente
This document describes how to calculate Daily Balances in BI for General Ledgers.
This document talks about G/L Line items data source 0FI_GL_14 into BI and calculation of G/L
Balances.
This Data Source extracts line items from the leading ledger in new General Ledger Accounting.
For all other ledgers, you have to create separate Data Sources.
Tables involved in ERP System are FAGLFLEXA/FAGLFLEXT, BSEG and BKPF. Refer to link above
for more information and details of the data source fields and delta mechanism.
In the current example standard DSO is used for staging data (without any modification ‘SAP
Best Practice’) for data integrity and for future usage of data (raw data). Usage of DSO is
mandatory (because FI Data sources deliver after images can’t load directly to Info cube.)
DSO Definition
Map all the fields from data source to target DSO, make sure to map the all key fields of DSO to
source fields to avoid overwriting of the records which leads to erroneous data and
inconsistencies in BI.
How to model Info cube and Key figures for Calculating Balances.
Data source delivers CREDIT, DEBIT and DEB_CRE_XX (XX represents currency).
Create new key figure e.g. ZGL_BALN (G/L Balance) as non cumulative and use 0DEB_CRE_XX as
non cumulative value change.
Create new info cube with all require fields and insert newly created key figure ZGL_BALN in the
key figures tab, the value will be filled in the query runtime by using non cumulative value
change and time characteristics available.
In the current design is to show balance on day level hence the lowest granularity in the info
cube Calendar day, by thumb rule we can add other time characteristics into the info cube.
Before activating the info cube from the menu options extras select non cumulative values and
select cal day, check for the consistency and if no errors are found activate the cube.
Transformation mapping from DSO to Info cube
Note: There won’t be any mapping to ZGL_BALN key figure as this value is calculated at the
query run time.
Steps to Load Data:
Query Definition: This query is restricted to only one G/L Account to limit the data:
Query Output:
Explanation to Query Data:
In this query consider General Ledger account as our savings account in any bank.
If you look the info cube content on 01/01/2010 there are 2 debit transactions for 2300 which
equals to 4600/- consider this amount as opening balance when we opened the account.
We can have any number of transactions on the same day and there is no restriction
Balance on 3rd and 4th January remains same as there are no transactions in the amount.
Same applies further balance change as there are any debit or credit transactions in the
account. Key figure 0DEB_CRE_XX is difference of debit and credit which is net value of the
transaction for the day.