Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Customer-Centric Enterprise Warehouse Installation and Configuration Guide > Configuring Siebel Financial Analytics > Extract, Transform, and Load for SAP R/3 > Fact Table ETL Process for Header-Level Sales Data for SAP R/3The Siebel General Ledger Analytics application extracts invoice and sales order header-level data from the SAP R/3 tables BKPF (Accounting Document Header table) and BSEG (Accounting Document Segment table) and loads them into six staging tables. The entire ETL data flow is comprised of four areas:
Each of these areas is discussed in the following sections. About Extracting Sales Order and Invoice DataBefore loading data at the header level for sales orders and invoice data, Siebel General Ledger Analytics extracts transactional data from the SAP R/3 tables BKPF and BSEG and loads it into three staging tables:
By default, only those transactions from BKPF and BSEG that have a status of NULL or S are extracted. Null status implies that the transactions are already posted. The status S marks the record as a noted item. About Loading Invoice and Sales Order Header TablesIn the load process, the Invoice Header and Sales Order Header tables are populated by different sources. The The method in which Siebel General Ledger Analytics loads the Invoice Header table is similar to the loading of the Sales Order Header table. The About Apportioning Amounts and QuantitiesThe Invoice and Sales Order Header staging tables record total amounts and quantities for each document number (invoice number or sales order number). However, you must break down these amounts into different segments, so that you can load the appropriate amounts into the applicable staging table. There are six finance-related staging tables involved with apportioning amounts and quantities:
The Siebel General Ledger Analytics application prepackages logic to apportion header-level data to load the appropriate amounts into the corresponding staging table. The following examples illustrate the concept of apportioning data, by looking at how Siebel General Ledger Analytics apportions header-level invoice data to derive the detail-level amounts. As previously stated, the General Ledger Header staging table ( Segment ratios in the Siebel General Ledger Analytics application apportion the header-level amounts into separate amounts based on each of the following segments—Revenue, Tax, and Freight. This allows the total amount of each invoice to be separated into those same segments of Revenue, Tax and Freight. The segment ratios in Siebel General Ledger Analytics are created using two tables— The segmentation can vary in many ways depending on your business requirements. There can be a different number of segments, different segment types, or you may use segments to apportion quantities instead of amounts. In addition to the invoice data, the same concept also applies to sales order data that is posted at the header level. About Loading Siebel General Ledger Analytics Staging TablesAfter the sales order and invoice data is apportioned, the data is loaded into the applicable staging table. Using a lookup performed in the When the lookup determines the type of financial statement item, it loads the data into the appropriate staging table. NOTE: The General Ledger Balance ID in the fact tables must be the same as the Key ID in the General Ledger Balance table. Keeping these two column values the same verifies that the same granularity, or incremental level, is maintained. If there is a disparity, the resulting balances may be skewed and misinterpreted. Also, note that Accounts Receivable and Accounts Payable have different Balance IDs due to their distinct granularity. |
![]() |
![]() ![]() |
Siebel Customer-Centric Enterprise Warehouse Installation and Configuration Guide |