Académique Documents
Professionnel Documents
Culture Documents
Version 12.2.0.0
October 2009
Copyright
Copyright 2009 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Trademarks
All rights reserved. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
Contents
Chapter 1 Introduction 11 What is a Rapid Mart? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Rapid Marts packages accelerate Time to Value . . . . . . . . . . . . . . . . 13 SAP BusinessObjects Rapid Marts packages architecture . . . . . . . . . 14 About this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Chapter 2 Overview 17
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 What you can do with this Rapid Mart . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Supported analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Related Rapid Marts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Components shared with other SAP BusinessObjects Rapid Marts . . 24 The Rapid Mart Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Where the Rapid Mart Fits in the Sales Cycle . . . . . . . . . . . . . . . . . . . . . . 26 Chapter 3 Subject Areas 27
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Customer Items Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Rapid Mart Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Rapid Mart Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Customer Summary Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Rapid Mart Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Rapid Mart Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Chapter 4 Reports 39
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Contents
Accounts Receivable Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Recommended Joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Accounts Receivable Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Recommended Table Joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Invalid Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Recommended Table Joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 SAP Master Data Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Data Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Data Auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Recommended table joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Chapter 5 Universe 99
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Universe Design Principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Universe Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Universe Table Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Join Strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Hierarchies Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Geographic Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Time Dimension and Fiscal Period Hierarchies . . . . . . . . . . . . . . . . . 107 Material Product Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Horizontal & Vertical Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Hierarchy Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Accounts Receivable Specific Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . 119 SAP Accounts Receivable Universe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Universe Objects & Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Common Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Customer Items Subject Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Customer Summary Subject Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Contents
Invalid Customer Items Subject Area . . . . . . . . . . . . . . . . . . . . . . . . . 138 Filters & Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Universe Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 SAP Master Data Universe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Universe Objects & Classes - Master Data . . . . . . . . . . . . . . . . . . . . 142 Universe Validation - Master Data . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 Customizing the Universe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 View for DSO (Days Sales Outstanding) Calculation . . . . . . . . . . . . 179 Chapter 6 Installing the Rapid Mart 181
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 System Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 Personnel Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 Rapid Mart product components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 Preparing your environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Preparing Data Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Preparing Target Database Environment . . . . . . . . . . . . . . . . . . . . . 187 Preparing Source Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 Preparing BusinessObjects Enterprise . . . . . . . . . . . . . . . . . . . . . . . 188 Performance Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 The Rapid Mart Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Install the Rapid Mart Target Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Create Target Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Install the Data Services Job(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 Renaming the Data Stores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 Import ATL File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 Adjusting the Data Stores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 Using Auxiliary Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 Using ABAP Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 Final Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 Installing Rapid Mart Reporting Content . . . . . . . . . . . . . . . . . . . . . . . . . 212 Import Wizard for Reporting Content BIAR File . . . . . . . . . . . . . . . . . 212 Creating Universe Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Contents
Chapter 7
231
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 Recovery framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 Data Services automatic recovery feature . . . . . . . . . . . . . . . . . . . . . 232 Rapid Mart recovery framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Execution status framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 The execution status table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 The execution status API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Executing a job with the Reset option . . . . . . . . . . . . . . . . . . . . . . . . . 236 Extraction, transformation and loading process . . . . . . . . . . . . . . . . . . . . 236 Executing the job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 Initial (First) Extraction and Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 Incremental (Delta) Extraction and Load . . . . . . . . . . . . . . . . . . . . . . . 240 Global Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Global Variable Cross-Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Used in All Rapid Marts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 Used in 2 to 10 Rapid Marts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 Used in Only 1 Rapid Mart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Setting Global Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268 Customizing the Rapid Mart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 Chapter 8 Technical Implementation 275
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 Customer Items Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 Customer Items - Incremental Load Logic . . . . . . . . . . . . . . . . . . . . . 278 Customer Items - Date Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 Customer Items - Calculation of Dates and Due Periods . . . . . . . . . . 281 Customer Summary Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 Rolling Totals Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Optimization Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Table Partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Data Transfer Transform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 Hierarchy Optimizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Contents
Dealing with NULL values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 Fact Table Stored Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 Fiscal Periods & Time Dim Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 Chapter 9 Documentation References 311
Data Services Documentation References . . . . . . . . . . . . . . . . . . . . . . . 312 BusinessObjects Enterprise Documentation References . . . . . . . . . . . . 312 Appendix A Rapid Mart Data Schema 315
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Contents
10
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Introduction
chapter
Rapid Marts packages deliver jump-start ETL (extract, transform & load) mappings, schema, and initial reporting content, accelerating the deployment of BI (business intelligence) for enterprise applications from SAP, PeopleSoft, Oracle, and Siebel. Each Rapid Mart is designed to address the reporting needs of a specific business area (or department) like accounting, sales, or purchasing. A component-based framework allows conducting analysis across these selected business areas by combining different packages within the same source application suite. Rapid Marts focus on basic standard configuration of the enterprise applications. They are country and industry neutral templates meant to be easily modified and extended to suit customer specific application implementation and reporting needs. Rapid Marts incorporate best practices, and provide easily modifiable templates. With Rapid Marts total development time of a data mart solution is greatly reduced. Each customer situation is different. You will probably encounter one or more of these:
Customizations you have made to SAP solutions the Rapid Mart does not cover. Standard SAP solutions data fields important for your specific business, but not included in the Rapid Mart templates. Optimization and performance challenges unique to your environment. Reporting requirements not covered within the Rapid Mart template reports.
Rapid Marts are flexible templates that you can adjust to account for these unique situations. It is expected that some customization and optimization will be needed to suit your individual environment. Rapid Marts are not an out-ofthe-box solution.
12
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
BI tools and analytic tools can access Rapid Mart data through SQL queries. Rapid Marts can be implemented individually, or in any combination, to form a single platform that delivers the infrastructure for your companys internal and external information needs. They can also serve as a staging area for enterprise analytic applications. Rapid Marts provide your business with an accelerated time to value through rapid BI deployments because you can implement them quickly and easily customize them to meet specific analytic requirements.
SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions SAP BusinessObjects Cost Center Rapid Mart, version for SAP solutions SAP BusinessObjects Inventory Rapid Mart, version for SAP solutions SAP BusinessObjects Purchasing Rapid Mart, version for SAP solutions SAP BusinessObjects Sales Rapid Mart, version for SAP solutions SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions SAP BusinessObjects Production Planning Rapid Mart, version for SAP solutions SAP BusinessObjects Project System Rapid Mart, version for SAP solutions SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions
Operational Suite:
Manufacturing Suite:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
13
You can combine multiple Rapid Marts packages into a single environment to build the foundation for your data warehouse or use them as a staging area for business intelligence applications.
14
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Data Movement Jobs - packaged source-to-target mappings and data transformations. Each job is designed to perform initial and incremental data movement; Data Model & Schema - set of data mart database objects designed with dimensional data modeling approach. Rapid Marts packages for SAP solutions has a single integrated data model. The schema are available for Oracle, SQL Server IBM DB2, and Teradata; Semantic Layer (Universes) - SAP BusinessObjects metadata packages for efficient query generation. There can be one or more universes per Rapid Mart. Each universe is developed using Rapid Marts design principles to ensure compatibility, code readability, and component reuse. In addition, there is one Master universe for development/ maintenance of multiple use objects (like Customer, Material, Currency, etc.); Reports (Samples) - set of 15-20 Web Intelligence reports per Rapid Mart. They represent answers to mostly asked business questions (for example, in the SAP BusinessObjects Sales Rapid Mart, version for SAP solutions - 'What is the monthly Revenue trend by Division for this year?'). The reports are developed using Rapid Mart color/layout templates. Reports are examples of Web Intelligence best practice development (trends, listing, guided analysis, roll ups and downs, etc.).
Chapter 2: Overview Describes the business problems you can solve and the types of analyses you can do with this Rapid Mart Chapter 3: Subject Areas Contains detailed information about each section in the Rapid Mart, including the processes each section captures Chapter 4: Reports Provides examples of reports you can produce Chapter 5: Universe Describes the universe (semantic layer) upon which the reports are based Chapter 6: Installing Rapid Mart Reporting Content Contains information you need to install the Rapid Mart
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
15
Chapter 7: Using the Rapid Mart Describes how to execute the Rapid Mart, including information about setting parameters and considerations you need to make when using the SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide in customizing the Rapid Mart Chapter 8: Technical Implementation Describes each section and work flows that run to load that section Chapter 9: Documentation References Information about where to find related to the Rapid Mart technical documentation on Data Services and BusinessObjects Enterprise Appendix A: Rapid Mart Data Schema Contains a detailed list of the tables and views in the Rapid Mart
16
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Overview
chapter
Overview Overview
Overview
This chapter describes the business problems you can solve with the SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions and the types of analyses you can do with this Rapid Mart. The information in this chapter is useful for those who want a business-level overview of the Rapid Mart and its benefits. This chapter contains the following sections:
What you can do with this Rapid Mart Supported analyses Related Rapid Marts The Rapid Mart Schema Where the Rapid Mart Fits in the Sales Cycle
Customer Items Section Tracks customer invoices and customer payments at a detailed, line-item level. You can roll-up the information by various dimensions such as customer, and company,. The fact table in this section stores data for each financial document line item. The section stores measures in several monetary currencies including: Transaction Currency, Local (or Company Code) Currency and Global Currency. Additional measures include quantities ordered, invoiced, shipped, and recorded for each financial document line item. Reporting dimensions include customer, payment terms, posting key type, financial document type, GL account, risk category, various customer blocking codes, fiscal periods, time, company code, customer by company, and others.
18
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Customer Summary Section Tracks customer balances. The fact table in this section is a summary table of periodic, quarterly, and annual customer activity totals. Stored data includes customer total debits, credits, and sales by fiscal year and period, quarter, and year. Additionally, the Rolling16 Fiscal periods A/R totals provides a measure of A/R activity over the last 16 periods relative to any fiscal year and fiscal period combination. This in turn is used in the DSO (Days Sales Outstanding) calculation. Note: The 16 periods refer to the 12 regular periods in the fiscal year, plus 4 special or adjustment periods used for year end reconciliation. Use this table to analyze periodic, quarterly and yearly balances. This section also stores measures in several monetary currencies including: Transaction Currency, Local (or Company Code) Currency and Global Currency. Reporting dimensions include accounting clerk, customer, posting key type, financial document type, risk category, various customer blocking codes, fiscal periods, company code, customer by company, and others.
Chapter 3: Subject Areas discusses each of these sections in more detail and how to link them together for a complete analysis of accounts receivable.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
19
Supported analyses
The SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions supports several types of analyses. Business Area Type of Analyses Measures available in Rapid Mart
Total Customer Discounts taken Late Payment Amount Discount Percentage Taken Total Payment Amount Invoice Amount Average Net Due Period Average Cash Discount Average Discount Period Amts Paid per Discount Period
All by fiscal period, quarter, year, and Company Late Payment Trend Amt Paid Late as Percent of Total Paid Analysis Avg Number of days Late
AR Customer Item Listing
Percentage Past Due Amts Paid Late, Net, On Time, and Past Due Total Amts Due Total Tax Amount Number of days Open and Late Net Due Date
All by Customer and Company Future Amounts due in 4 User Defined Aging Intervals Net Amount Open Total Amount Due Total Open tax Amount Total Tax Amount
20
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Business Area
Type of Analyses
Accounts Aging of Open Receivable Details (Unpaid) and Past (continued) Due Receivables
Amounts Open and Past Due in 4 User Defined Aging Intervals Percentage of A/R balance past due Total Amount Due
All by Fiscal Period, Company, Customer Geography, & Customer Industry Amts Paid Late in 4 User Defined Aging Intervals
Percentage Paid Late Percentage Paid Late Total Amt Paid Late Total Amt Paid
All by Customer & Geography, Company, Industry, Fiscal Period Number of Days Open
All by Risk Category, Fiscal Period, Customer, Top Amounts or Days overdue Customer Revenue
By Fiscal Period, Quarter, Company, Country Revenue Amount Revenue Variance vs. Previous Fiscal Period Percent of variance vs. previous fiscal period Percent of variance vs. Avg. Annual Sales
All by Company and fiscal period, A/R Credit Balance A/R Debit Balances A/R YTD total balance
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
21
Avg. Rolling 16 Period A/R total Total Revenue (Sales) Revenue as Percent of Sales
DSO (Days Sales Outstanding) Analysis 360 Customer Snapshot & Trend
All by Fiscal Period Average DSO (Days Sales Outstanding) A/R Balance Open
All by Company, Customer, Customer Geography and Fiscal Period Credit Limit
Credit Rating Last Payment Amt Recommended Credit Limit Total Sales
All by Fiscal Periods, Customer & Customer Geography Accounts Receivable Audit Customer Item Validation Unapplied Payment Analysis Audit Financial Document Dates for inaccuracies
To support analysis, the Rapid Mart includes currency units, such as United States dollars or German marks, and the quantities ordered, invoice, and shipped. The Rapid Mart records quantities for individual financial document line items, and for sales order line items. The Rapid Mart also includes the total customer activity that SAP solutions collects each financial period, and a table of daily balances. Reporting dimensions available in the Rapid Mart include enterprise entities, such as country, region, division, plant code, company code, and customer data, and information specific to the SAP solutions FI module, such as document types and status, posting keys, payment terms, and bank information.
22
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
The customer component is used in the Sales Rapid Mart. Common dimensions are included in appropriate Rapid Marts.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
23
24
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
25
Requisition Quotation
Contract
Sales Order
Invoice
Payment
26
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Subject Areas
chapter
Overview
Each section in the SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions pertains to a particular subject area. This chapter describes each section and the processes each section captures. The information in this chapter is useful for readers who use the Rapid Mart to design and support a real-time system, such as a Web application, and need to understand the data in the Rapid Mart and how it relates to SAP solutions. This chapter discusses:
28
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
The Customer Items section loads data into fact table CUSTOMER_ITEM_FACT. This fact table contains data from the vendor related financial document line items (tables BSID and BSAD in SAP solutions). The Accounts Receivable Rapid Mart calculates past due amounts, amounts paid on time, amounts paid late, amounts due in the future, and other measures from the SAP solutions source tables. There is also a database view based on CUSTOMER_ITEM_FACT (called CUSTOMER_ITEM_AR_BALANCE_VIEW). The view is used in the DSO calculation. Additionally, any records with containing dates before the year 1900 are loaded into the CUSTOMER_ITEM_FACT_BAD table. We reject these records because a date before the year 1900 is legal in SAP solutions but not in the Microsoft SQL-Server database, and would otherwise cause an error.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
29
Attribute Name Monetary Currency Payment Block Payment Reason Code Payment Terms Posting Key Type Special GL Indicator Time Dimension
Dimension Table(s) CURRENCY PAYMENT_BLOCK PAYMENT_REASON_CODE PAYMENT_TERM POSTING_KEY_TYPE SPECIAL_GL_INDICATOR TIME_DIM, TIME_DIM_WEEKLY
LOC - Local or Company Currency TRX - Transaction or Document Currency UPDT - Update Currency
Note: Intervals A through G are user definable aging periods set up in the Data Services job At the universe level, we use the currency conversion rates to obtain measures in a user-defined global currency. Column Name AMT_DISCNT_TAKEN_LOC AMT_DUE_IN_E_DAYS_LOC AMT_DUE_IN_F_DAYS_LOC AMT_DUE_IN_G_DAYS_LOC AMT_DUE_OVER_G_DAYS_LOC AMT_ELIGBL_FOR_DISCNT_TRX AMT_LOC Description Discount amount taken Amount due in interval E days in local (company) currency Amount due in interval F days in local (company) currency Amount due in interval G days in local (company) currency Amount due in more than interval G days in local (company) currency Amount of invoice that can be discounted as appropriate Amount in local (company) currency
30
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Description Local currency amount paid during the first discount period (includes any discounts applicable) Local currency amount paid after the first and during the second discount period (includes any discounts applicable) Paid after due date Local currency amount paid before due date and after any discount periods (includes only non-timerelated discounts) Local currency amount paid by due date (includes any discounts applicable) Local currency amount past due more than interval A days Local currency amount past due more than interval B days Local currency amount past due more than interval C days Local currency amount past due more than interval D days Local currency amount paid more than interval A days late Local currency amount paid more than interval B days late Local currency amount paid more than interval C days late Local currency amount paid more than interval D days late Tax amount in local (company) currency Tax amount in document (transaction) currency Amount in document (Transaction) currency
AMT_PAID_DISCNT_PER02_LOC
AMT_PAID_LATE_LOC AMT_PAID_NET_LOC
AMT_PAID_ON_TIME_LOC
AMT_PAST_DUE_GT_A_LOC AMT_PAST_DUE_GT_B_LOC AMT_PAST_DUE_GT_C_LOC AMT_PAST_DUE_GT_D_LOC AMT_PD_GT_A_LATE_LOC AMT_PD_GT_B_LATE_LOC AMT_PD_GT_C_LATE_LOC AMT_PD_GT_D_LATE_LOC AMT_TAX_LOC AMT_TAX_TRX AMT_TRX
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
31
Description Total Amount Past Due in local (Company) currency Update Currency Amt. Total Amt. Past Due times Number of Days Past Due
Accounting Clerk Aging Interval - user definable A/P Aging Intervals Business Area Company
32
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Currency Conversion Rates Monetary Currency Payment Block Payment Reason Fiscal Periods Time - By posting date and document creation dates Customer by Company - A snowflaked dimension that cross-references Customer with Company Customer Debit / Credit Indicator Special GL Indicator Payment Terms Document Type - Financial Document Type GL Account by Company - Also a snowflaked dimension. Includes both the regular and special GL account numbers from SAP solutions, crossreferenced by Company Code Posting Key What is a current snapshot of my Accounts Receivables? Which fiscal periods show the slowest payment rates? Which customers are blocked for delivery? Which customers should I focus on to reduce the aging receivables? Do my best paying customers have the most favorable credit limit? Are my customers taking advantage of discounts offered on payment terms to pay early? Are my customers trending towards earlier or later payments? What are my top 25 open invoices (by invoice value)? Which customer payments or credit memos have not been applied to an outstanding receivable?
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
33
Information includes customer total debits, credits, and sales by fiscal year, quarter, and period. The data is organized into two fact tables. The first, carries the data in horizontal format with one row of information for each combination of customer, company code, and fiscal year. This mimics the organization of the source SAP solutions table (KNC1 - Customer Transaction Figures). There are separate fields for debits, credits, and sales figures for each fiscal period in the fiscal year. This includes the 12 regular fiscal periods supported by SAP solutions, as well as the 4 special adjustment periods for a total of 16 fiscal periods. It also includes aggregated debit, credit and sales figures for each of the 4 quarters of the fiscal year, and aggregated debit, credit, and sales figures for the year to date. The second fact table, carries data in a vertical format. That is one row of data for each customer, company code, fiscal year, and fiscal period combination. The vertical table includes the same debit, credit, and sales figures as the horizontal table. It also includes additional fields for the DSO calculation:
Rolling 16 Fiscal Periods Total: (the 4 Special Fiscal Periods are included) Period To Date Balance Period Beginning Balance CUSTOMER_SUMMARY_FACT_HZ The horizontal summary table that contains periodic and quarterly vendor activity totals. The table stores total vendor debits, credits, and purchases by fiscal year. CUSTOMER_SUMMARY_FACT_VR The vertical summary table that contains the periodic and quarterly vendor activity totals. The table stores total vendor debits, credits, and purchases by fiscal year, and fiscal period.
There is also a staging table CUSTOMER_SUMMARY_STAGE_VR that is used to transform the horizontal format into the vertical one. You can do ongoing daily customer balance analyses with this data. The KNC1 table is updated constantly by SAP solutions as transactions occur. Therefore each daily refresh of the Rapid Mart will provide a daily snapshot of changes to the customer balances.
34
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
35
Measure AMT_PER_BEGIN_LOC AMT_SALES_PER01_LOC AMT_SALES_PER16_LOC AMT_SALES_QTR01_LOC AMT_SALES_QTR04_LOC AMT_SALES_YTD_LOC CUSTOMER_SUMMARY_FACT_VR: Measure AMT_CR_LOC AMT_DR_LOC AMT_PER_BEGIN_LOC AMT_PER_ROLLING_LOC AMT_PTD_LOC AMT_SALES_LOC
Definition Balance carried forward in local currency Total Sales Postings for the fiscal period (1 - 16) Total Sales Postings for the quarter (1 - 4) Total of the sales postings for the year to date
Definition Total Credit Postings for the Fisc. period Total Debit Postings for the Fisc. period Balance carried forward in local currency for the Fisc. Period Rolling 16 Periods Total Period To Date Balance Total Sales Postings for the Fisc. period
Accounting Clerk Aging Intervals (Aging Time Periods) Billing Block Company Credit Control Area Currency Exchange Rates - used to convert from local currency to global currency Customer
36
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Customer by Company - this is a snow-flaked dimension with subsidiary dimensions Fiscal Periods Monetary Currency - including local (company code) currency, and global currency What is the monetary value locked up in DSO (days sales outstanding) by customer, or company? Which customers have the worst/best DSO? What are my revenue trends? Are my late payments trending up or down? Can you give me a snapshot of how a specific customer is doing? How is cumulative A/R activity trending by fiscal period? How does current period revenue compare to the last 12 months?
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
37
38
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Reports
chapter
Reports Overview
Overview
You can use the SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions to perform ad hoc analysis and produce many kinds of reports. This chapter provides examples of reports you could generate using the SAP Accounts Receivable universe. The information in this chapter is useful for those who design reporting solutions for analysis of data in the
Accounts Payable module of SAP solutions.
This chapter provides reports and the recommended joins for each componentized section in the Rapid Mart including:
Accounts Receivable Details (Customer Items) Accounts Receivable Summary (Customer Summary) Invalid Documents SAP Master Data Reports
Note that all report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
40
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Reports
This Rapid Mart comes with several reports providing accounts receivable detail analysis for discount and late payments trends, late payment trends, AR Customer Item Listing, expected cash flow ranking, receivables aging, and more. There are 11 template reports included with this Rapid Mart, including:
Discount and Payment Trend Analysis Discount Trend Analysis Late Payment Trend Analysis AR Customer Item Listing Accounts Receivable Expected Cash Flow Ranking Aging Receivables Ranking Receivable Amounts Past Due Aging Receivables Paid Late Ranking Receivables Paid Late Trend Analysis Open Receivables Targeting Unapplied Payment Analysis
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
41
Calculations
Invoice Amount =[GC Amt Paid Net]+[GC Discount Amt Taken] Amount Paid Discount =[GC Amt Paid Discount1]+[GC Amt Paid Discount2] Discount % Taken =If([Invoice Amount] <> 0; [GC Discount Amt Taken]/ ([Invoice Amount]); 0)
Report SQL
SELECT DISTINCT CUSTOMER_ITEM_FACT.CASH_DISCNT_PRCNT_01, CUSTOMER_ITEM_FACT.CURR_ID_GBL, PAYMENT_TERM.PAYMNT_TERM_DESCR, SUM(CUSTOMER_ITEM_FACT.AMT_PAID_NET_LOC * CURRENCY_CONVERT_RATE.EXCH_RATE / CURRENCY_CONVERT_RATE.FROM_FACTOR / CURRENCY_CONVERT_RATE.TO_FACTOR),
42
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SUM(CUSTOMER_ITEM_FACT.AMT_PAID_LATE_LOC * CURRENCY_CONVERT_RATE.EXCH_RATE / CURRENCY_CONVERT_RATE.FROM_FACTOR / CURRENCY_CONVERT_RATE.TO_FACTOR), SUM(CUSTOMER_ITEM_FACT.AMT_PAID_DISCNT_PER01_LOC * CURRENCY_CONVERT_RATE.EXCH_RATE / CURRENCY_CONVERT_RATE.FROM_FACTOR / CURRENCY_CONVERT_RATE.TO_FACTOR), SUM(CUSTOMER_ITEM_FACT.AMT_PAID_DISCNT_PER02_LOC * CURRENCY_CONVERT_RATE.EXCH_RATE / CURRENCY_CONVERT_RATE.FROM_FACTOR / CURRENCY_CONVERT_RATE.TO_FACTOR), SUM(CUSTOMER_ITEM_FACT.AMT_DISCNT_TAKEN_LOC * CURRENCY_CONVERT_RATE.EXCH_RATE / CURRENCY_CONVERT_RATE.FROM_FACTOR / CURRENCY_CONVERT_RATE.TO_FACTOR), FISC_PERIOD.FISC_YEAR, FISC_PERIOD.FISC_YEAR_PERIOD, FISC_PERIOD.FISC_YEAR_QUARTER, COMPANY_CODE.CMPNY_CODE_ID, COMPANY_CODE.CMPNY_CODE_NAME FROM CUSTOMER_ITEM_FACT, PAYMENT_TERM, CURRENCY_CONVERT_RATE, FISC_PERIOD, COMPANY_CODE WHERE ( CUSTOMER_ITEM_FACT.CMPNY_CODE_ID = COMPANY_CODE.CMPNY_CODE_ID ) AND ( CUSTOMER_ITEM_FACT.PAYMNT_TERM_ID=PAYMENT_TERM.PAYMNT_ TERM_ID AND PAYMENT_TERM.PAYMNT_TERM_DAY_LIMIT = '?' ) AND ( CUSTOMER_ITEM_FACT.FISC_YEAR=FISC_PERIOD.FISC_YEAR and CUSTOMER_ITEM_FACT.FISC_PERIOD=FISC_PERIOD.FISC_PERIOD and CUSTOMER_ITEM_FACT.FISC_YR_VARIANT_ID=FISC_PERIOD.FISC_YR_ VARIANT_ID ) AND ( CUSTOMER_ITEM_FACT.EXCH_TYPE_ID_GBL = CURRENCY_CONVERT_RATE.EXCH_TYPE_ID AND CUSTOMER_ITEM_FACT.CURR_ID_LOC = CURRENCY_CONVERT_RATE.CURR_ID_FROM AND CUSTOMER_ITEM_FACT.CURR_ID_GBL = CURRENCY_CONVERT_RATE.CURR_ID_TO AND CUSTOMER_ITEM_FACT.POST_DATE >= CURRENCY_CONVERT_RATE.VALID_FROM_DATE AND CUSTOMER_ITEM_FACT.POST_DATE < CURRENCY_CONVERT_RATE.VALID_TO_DATE ) AND FISC_PERIOD.FISC_YEAR_PERIOD BETWEEN '2000-P07' AND '2001-P07' GROUP BY CUSTOMER_ITEM_FACT.CASH_DISCNT_PRCNT_01, CUSTOMER_ITEM_FACT.CURR_ID_GBL, PAYMENT_TERM.PAYMNT_TERM_DESCR, FISC_PERIOD.FISC_YEAR, FISC_PERIOD.FISC_YEAR_PERIOD,
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
43
44
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Overall
View Discount % Year-Period trend for the selected Year-Period range. Also view discount 1 and discount 2 information by Fiscal Year- Quarter.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
45
by Company
View comparison of discount information by Company for the selected Fiscal Year-Period range.
Calculations
Discount % Taken = If([GC Amt Paid Net] <> 0; [GC Discount Amt Taken]/ [GC Amt Paid Net]; 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
46
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calculations
% Paid Late = If([GC Amt Paid Net] <> 0; [GC Amt Paid Late]/[GC Amt Paid Net]; 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
47
AR Document Listing
View listing of all documents for the Company and Customers.
48
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Open Documents
This report tab limits the document listing to all Open documents using a report level filter of Cleared Flag = O - Open and Financial Doc Id Is not null.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
49
Cleared Documents
This report tab limits the document listing to all Open documents using a report level filter of Cleared Flag = C - Cleared.
Calculations
% Paid Late =If([LC Total Amount Due] <> 0; [LC Amt Paid Late]/[LC Total Amount Due]; 0) % Past Due = =If([LC Total Amount Due] <> 0; [LC Amt Past Due]/[LC Total Amount Due]; 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
50
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
51
Overall
View AR aging by Company Name.
52
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calculations
% AR Past Due =If([GC Total Amount Due] <> 0; [GC Amt Past Due]/[GC Total Amount Due]; 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
53
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
54
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calculations
% Paid Late =If([GC Amt Paid Net] <>0; [GC Amt Paid Late]/[GC Amt Paid Net]; 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
55
By Company
View receivables paid late trend for the selected Fiscal Year-Period range.
56
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calculations
% Paid Late = If([GC Amt Paid Net] <>0; [GC Amt Paid Late]/[GC Amt Paid Net]; 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
57
58
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calculations
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML"
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
59
Summary
View listing of all unapplied payments.
Details by Customer
View details of all unapplied payments with a break by Customer.
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
60
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Recommended Joins
To analyze Accounts Receivable Detail data you will need to create joins between the fact and dimension tables as follows
Note: Additional joins between dimension and hierarchy tables are shown in Recommended table joins on page 27 for master reports.
Fact Table CUSTOMER_ITEM_FACT Dimension Table Join Text
ACCOUNTING_CLERK CUSTOMER_ITEM_FACT.CMPNY_CODE_ID=ACCO UNTING_CLERK.CMPNY_CODE_ID and CUSTOMER_ITEM_FACT.ACCTNG_CLERK_ID=ACC OUNTING_CLERK.ACCTNG_CLERK_ID AGING_INTERVAL BUSINESS_AREA CHART_OF_ACCOUN TS COMPANY_CODE AGING_INTERVAL.AGING_INTERVAL_ID=CUSTOME R_ITEM_FACT.AGING_INTERVAL_ID CUSTOMER_ITEM_FACT.BUS_AREA_ID=BUSINESS _AREA.BUS_AREA_ID CUSTOMER_ITEM_FACT.CHART_OF_ACCT_ID=CH ART_OF_ACCOUNTS.CHART_OF_ACCT_ID CUSTOMER_ITEM_FACT.CMPNY_CODE_ID = COMPANY_CODE.CMPNY_CODE_ID
CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT
CREDIT_CONTROL_A CUSTOMER_ITEM_FACT.CR_CTRL_AREA_ID=CRE REA DIT_CONTROL_AREA.CR_CTRL_AREA_ID CURRENCY CURRENCY CURRENCY CURRENCY CURRENCY.CURR_ID = CUSTOMER_ITEM_FACT.CURR_ID_TRX CURRENCY.CURR_ID=CUSTOMER_ITEM_FACT.CU RR_ID_GBL CURRENCY.CURR_ID = CUSTOMER_ITEM_FACT.CURR_ID_UPDT CURRENCY.CURR_ID=CUSTOMER_ITEM_FACT.CU RR_ID_LOC
CURRENCY_CONVER CUSTOMER_ITEM_FACT.EXCH_TYPE_ID_GBL = T_RATE CURRENCY_CONVERT_RATE.EXCH_TYPE_ID AND CUSTOMER_ITEM_FACT.CURR_ID_LOC = CURRENCY_CONVERT_RATE.CURR_ID_FROM AND CUSTOMER_ITEM_FACT.CURR_ID_GBL = CURRENCY_CONVERT_RATE.CURR_ID_TO AND CUSTOMER_ITEM_FACT.POST_DATE >= CURRENCY_CONVERT_RATE.VALID_FROM_DATE AND CUSTOMER_ITEM_FACT.POST_DATE < CURRENCY_CONVERT_RATE.VALID_TO_DATE CUSTOMER CUSTOMER_ITEM_FACT.CUSTOMER_ID = CUSTOMER.CUSTOMER_ID
CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
61
Dimension Table
Join Text
DEBIT_CREDIT_INDIC CUSTOMER_ITEM_FACT.DR_CR_ID=DEBIT_CREDI ATOR T_INDICATOR.DR_CR_ID AND DEBIT_CREDIT_INDICATOR.DIM_SRC_ID = 'FINANCIAL' DOCUMENT_TYPE CUSTOMER_ITEM_FACT.DOC_TYPE_ID=DOCUMEN T_TYPE.DOC_TYPE_ID and DOCUMENT_TYPE.DOC_CATEG_ID = 'FINANCIAL' and DOCUMENT_TYPE.DIM_SRC_ID = 'FINANCIAL' CUSTOMER_ITEM_FACT.FISC_YEAR=FISC_PERIO D.FISC_YEAR and CUSTOMER_ITEM_FACT.FISC_PERIOD=FISC_PERI OD.FISC_PERIOD and CUSTOMER_ITEM_FACT.FISC_YR_VARIANT_ID=FIS C_PERIOD.FISC_YR_VARIANT_ID CUSTOMER_ITEM_FACT.CMPNY_CODE_ID=GL_AC COUNT_BY_COMPANY.CMPNY_CODE_ID and CUSTOMER_ITEM_FACT.CHART_OF_ACCT_ID=GL_ ACCOUNT_BY_COMPANY.CHART_OF_ACCT_ID and CUSTOMER_ITEM_FACT.GL_ACCT_ID=GL_ACCOU NT_BY_COMPANY.GL_ACCT_ID CUSTOMER_ITEM_FACT.CMPNY_CODE_ID=GL_AC COUNT_BY_COMPANY.CMPNY_CODE_ID and CUSTOMER_ITEM_FACT.CHART_OF_ACCT_ID=GL_ ACCOUNT_BY_COMPANY.CHART_OF_ACCT_ID and CUSTOMER_ITEM_FACT.GL_ACCT_ID_SPECL=GL_ ACCOUNT_BY_COMPANY.GL_ACCT_ID CUSTOMER_ITEM_FACT.PAYMNT_BLOCK_ID=PAY MENT_BLOCK.PAYMNT_BLOCK_ID CUSTOMER_ITEM_FACT.CMPNY_CODE_ID = PAYMENT_REASON_CODE.CMPNY_CODE_ID and PAYMENT_REASON_CODE.PAYMNT_REASON_CO DE_ID = CUSTOMER_ITEM_FACT.PAYMNT_REASON_CODE _ID CUSTOMER_ITEM_FACT.PAYMNT_TERM_ID=PAYM ENT_TERM.PAYMNT_TERM_ID AND PAYMENT_TERM.PAYMNT_TERM_DAY_LIMIT = '?' CUSTOMER_ITEM_FACT.POST_KEY_ID=POSTING_ KEY_TYPE.POST_KEY_ID and CUSTOMER_ITEM_FACT.SPECL_GL_ID=POSTING_ KEY_TYPE.SPECL_GL_ID
CUSTOMER_ITEM_FACT
CUSTOMER_ITEM_FACT
FISC_PERIOD
CUSTOMER_ITEM_FACT
GL_ACCOUNT_BY_C OMPANY
CUSTOMER_ITEM_FACT
GL_ACCOUNT_BY_C OMPANY
CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT
CUSTOMER_ITEM_FACT
PAYMENT_TERM
CUSTOMER_ITEM_FACT
POSTING_KEY_TYPE
CUSTOMER_ITEM_FACT
SPECIAL_GL_INDICAT CUSTOMER_ITEM_FACT.SPECL_GL_ID=SPECIAL_ OR GL_INDICATOR.SPECL_GL_ID AND SPECIAL_GL_INDICATOR.ACCT_TYPE_ID = 'D' TIME_DIM TIME_DIM TIME_DIM.CALENDAR_DATE=CUSTOMER_ITEM_FA CT.POST_DATE TIME_DIM.CALENDAR_DATE=CUSTOMER_ITEM_FA CT.DOC_DATE
CUSTOMER_ITEM_FACT CUSTOMER_ITEM_FACT
62
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Reports
Accounts receivable summary allows for a variety of trend and high level analysis, including:
AR Revenue Trend Analysis Top 10 Customer AR Revenue Analysis AR Revenue Year Trend Comparison Cumulative AR Activity Period Trend Revenue Rolling 16 Periods versus Period Comparison DSO Analysis 360 Customer Snapshot 360 Customer Trend
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
63
Report SQL
SELECT DISTINCT FISC_PERIOD.FISC_PERIOD, FISC_PERIOD.FISC_QUARTER, FISC_PERIOD.FISC_YEAR, FISC_PERIOD.FISC_YEAR_PERIOD, FISC_PERIOD.FISC_YEAR_QUARTER, CUSTOMER_SUMMARY_FACT_VR.CURR_ID_GBL, SUM(CUSTOMER_SUMMARY_FACT_VR.AMT_SALES_LOC * CURRENCY_CONVERT_RATE.EXCH_RATE / CURRENCY_CONVERT_RATE.FROM_FACTOR / CURRENCY_CONVERT_RATE.TO_FACTOR), COMPANY_CODE.COUNTRY_NAME, COMPANY_CODE.CMPNY_CODE_NAME FROM FISC_PERIOD, CUSTOMER_SUMMARY_FACT_VR, CURRENCY_CONVERT_RATE, COMPANY_CODE
64
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
WHERE ( CUSTOMER_SUMMARY_FACT_VR.FISC_YEAR=FISC_PERIOD.FISC_YEAR and CUSTOMER_SUMMARY_FACT_VR.FISC_PERIOD=FISC_PERIOD.FISC_PER IOD and CUSTOMER_SUMMARY_FACT_VR.FISC_YR_VARIANT_ID=FISC_PERIOD. FISC_YR_VARIANT_ID ) AND ( CUSTOMER_SUMMARY_FACT_VR.CMPNY_CODE_ID = COMPANY_CODE.CMPNY_CODE_ID ) AND ( CUSTOMER_SUMMARY_FACT_VR.EXCH_TYPE_ID_GBL = CURRENCY_CONVERT_RATE.EXCH_TYPE_ID AND CUSTOMER_SUMMARY_FACT_VR.CURR_ID_LOC = CURRENCY_CONVERT_RATE.CURR_ID_FROM AND CUSTOMER_SUMMARY_FACT_VR.CURR_ID_GBL = CURRENCY_CONVERT_RATE.CURR_ID_TO AND CUSTOMER_SUMMARY_FACT_VR.CREATE_DATE >= CURRENCY_CONVERT_RATE.VALID_FROM_DATE AND CUSTOMER_SUMMARY_FACT_VR.CREATE_DATE < CURRENCY_CONVERT_RATE.VALID_TO_DATE ) AND ( CUSTOMER_SUMMARY_FACT_VR.FISC_YEAR = CUSTOMER_SUMMARY_FACT_VR.PARTITION_YEAR ) AND FISC_PERIOD.FISC_YEAR_PERIOD BETWEEN '2001-P01' AND '2001-P15' GROUP BY FISC_PERIOD.FISC_PERIOD, FISC_PERIOD.FISC_QUARTER, FISC_PERIOD.FISC_YEAR, FISC_PERIOD.FISC_YEAR_PERIOD, FISC_PERIOD.FISC_YEAR_QUARTER, CUSTOMER_SUMMARY_FACT_VR.CURR_ID_GBL, COMPANY_CODE.COUNTRY_NAME, COMPANY_CODE.CMPNY_CODE_NAME
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
65
66
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
67
Total Amount
View GC Period Sales Total amounts for each period.
68
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
69
70
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calculations
Average GC Sales Ttl =([GC Per 01 Sales Ttl]+ [GC Per 02 Sales Ttl]+[GC Per 03 Sales Ttl]+[GC Per 04 Sales Ttl]+[GC Per 05 Sales Ttl]+[GC Per 06 Sales Ttl]+[GC Per 07 Sales Ttl]+[GC Per 08 Sales Ttl]+[GC Per 09 Sales Ttl]+[GC Per 10 Sales Ttl]+[GC Per 11 Sales Ttl]+[GC Per 12 Sales Ttl])/12 Variance Amount vs Previous Period (Example): =[GC Per 02 Sales Ttl]-[GC Per 01 Sales Ttl] Variance % vs Previous Period (Example): =If([GC Per 02 Sales Ttl] <> 0; Abs(100*([GC Per 02 Sales Ttl]-[GC Per 01 Sales Ttl])/[GC Per 02 Sales Ttl]); 0)
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
71
Variance % Previous Period vs Average (Example): =If([GC Per 02 Sales Ttl] <> 0; Abs(100*([GC Per 02 Sales Ttl]-[GC Per 01 Sales Ttl])/[Average GC Sales Ttl]); 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
Calculations
YTD Balance =[GC Period Begin Balance]+[GC Debit Ttl]-[GC Credit Ttl]
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
72
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calculations
Revenue % =If([GC Avg Rolling Ttl] <> 0;Abs([GC Sales Ttl]/[GC Avg Rolling Ttl]); 0)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
73
DSO Analysis
View snapshot of DSO (Days Sales Outstanding) ranking snapshot by Company Code. The report has three tabs: Overall, Top 10 DSO by Customer, and Top 10 DSO by Customer (Geography). The report uses the Webi report ranking feature for the top 10 analysis. It is easily customizable to allow for Top X sales.
Overall
View overall DSO by Company.
74
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
75
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
76
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
77
Note: Additional joins between dimension and hierarchy tables are shown in Recommended table joins on page 27 for master reports.
Fact Table Dimension Table Join Text AGING_INTERVAL.AGING_INTERVAL_ID=CUSTOMER_S UMMARY_FACT_HZ.AGING_INTERVAL_ID CUSTOMER_SUMMARY_FACT_HZ.CMPNY_CODE_ID = COMPANY_CODE.CMPNY_CODE_ID
CUSTOMER_SUMMARY CREDIT_CONTROL CUSTOMER_SUMMARY_FACT_HZ.CR_CTRL_AREA_ID= _FACT_HZ _AREA CREDIT_CONTROL_AREA.CR_CTRL_AREA_ID CUSTOMER_SUMMARY CURRENCY _FACT_HZ CUSTOMER_SUMMARY CURRENCY _FACT_HZ CURRENCY.CURR_ID=CUSTOMER_SUMMARY_FACT_H Z.CURR_ID_GBL CURRENCY.CURR_ID=CUSTOMER_SUMMARY_FACT_H Z.CURR_ID_LOC
CUSTOMER_SUMMARY CURRENCY_CONV CUSTOMER_SUMMARY_FACT_HZ.EXCH_TYPE_ID_GBL _FACT_HZ ERT_RATE = CURRENCY_CONVERT_RATE.EXCH_TYPE_ID AND CUSTOMER_SUMMARY_FACT_HZ.CURR_ID_LOC = CURRENCY_CONVERT_RATE.CURR_ID_FROM AND CUSTOMER_SUMMARY_FACT_HZ.CURR_ID_GBL = CURRENCY_CONVERT_RATE.CURR_ID_TO AND CUSTOMER_SUMMARY_FACT_HZ.CREATE_DATE >= CURRENCY_CONVERT_RATE.VALID_FROM_DATE AND CUSTOMER_SUMMARY_FACT_HZ.CREATE_DATE < CURRENCY_CONVERT_RATE.VALID_TO_DATE CUSTOMER_SUMMARY CUSTOMER _FACT_HZ CUSTOMER_SUMMARY CUSTOMER_BY_C _FACT_HZ OMPANY CUSTOMER_SUMMARY_FACT_HZ.CUSTOMER_ID = CUSTOMER.CUSTOMER_ID CUSTOMER_SUMMARY_FACT_HZ.CMPNY_CODE_ID=C USTOMER_BY_COMPANY.CMPNY_CODE_ID and CUSTOMER_SUMMARY_FACT_HZ.CUSTOMER_ID=CUS TOMER_BY_COMPANY.CUSTOMER_ID CUSTOMER_SUMMARY_FACT_HZ.FISC_YEAR = CUSTOMER_SUMMARY_FACT_HZ.PARTITION_YEAR TIME_DIM.CALENDAR_DATE=CUSTOMER_SUMMARY_F ACT_HZ.CREATE_DATE AGING_INTERVAL.AGING_INTERVAL_ID=CUSTOMER_S UMMARY_FACT_VR.AGING_INTERVAL_ID CUSTOMER_SUMMARY_FACT_VR.CMPNY_CODE_ID = COMPANY_CODE.CMPNY_CODE_ID
CUSTOMER_SUMMARY CUSTOMER_SUM _FACT_HZ MARY_FACT_HZ CUSTOMER_SUMMARY TIME_DIM _FACT_HZ CUSTOMER_SUMMARY AGING_INTERVAL _FACT_VR CUSTOMER_SUMMARY COMPANY_CODE _FACT_VR
CUSTOMER_SUMMARY CREDIT_CONTROL CUSTOMER_SUMMARY_FACT_VR.CR_CTRL_AREA_ID= _FACT_VR _AREA CREDIT_CONTROL_AREA.CR_CTRL_AREA_ID CUSTOMER_SUMMARY CURRENCY _FACT_VR CUSTOMER_SUMMARY CURRENCY _FACT_VR CURRENCY.CURR_ID=CUSTOMER_SUMMARY_FACT_V R.CURR_ID_GBL CURRENCY.CURR_ID=CUSTOMER_SUMMARY_FACT_V R.CURR_ID_LOC
78
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Fact Table
Dimension Table
Join Text
CUSTOMER_SUMMARY CURRENCY_CONV CUSTOMER_SUMMARY_FACT_VR.EXCH_TYPE_ID_GBL _FACT_VR ERT_RATE = CURRENCY_CONVERT_RATE.EXCH_TYPE_ID AND CUSTOMER_SUMMARY_FACT_VR.CURR_ID_LOC = CURRENCY_CONVERT_RATE.CURR_ID_FROM AND CUSTOMER_SUMMARY_FACT_VR.CURR_ID_GBL = CURRENCY_CONVERT_RATE.CURR_ID_TO AND CUSTOMER_SUMMARY_FACT_VR.CREATE_DATE >= CURRENCY_CONVERT_RATE.VALID_FROM_DATE AND CUSTOMER_SUMMARY_FACT_VR.CREATE_DATE < CURRENCY_CONVERT_RATE.VALID_TO_DATE CUSTOMER_SUMMARY CUSTOMER _FACT_VR CUSTOMER_SUMMARY CUSTOMER_BY_C _FACT_VR OMPANY CUSTOMER_SUMMARY_FACT_VR.CUSTOMER_ID = CUSTOMER.CUSTOMER_ID CUSTOMER_SUMMARY_FACT_VR.CMPNY_CODE_ID=C USTOMER_BY_COMPANY.CMPNY_CODE_ID and CUSTOMER_SUMMARY_FACT_VR.CUSTOMER_ID=CUS TOMER_BY_COMPANY.CUSTOMER_ID
CUSTOMER_SUMMARY CUSTOMER_ITEM_ CUSTOMER_ITEM_AR_BALANCE_VIEW.CUSTOMER_ID _FACT_VR AR_BALANCE_VIE =CUSTOMER_SUMMARY_FACT_VR.CUSTOMER_ID and W CUSTOMER_ITEM_AR_BALANCE_VIEW.FISC_YEAR=CU STOMER_SUMMARY_FACT_VR.FISC_YEAR and CUSTOMER_ITEM_AR_BALANCE_VIEW.CMPNY_CODE_ ID=CUSTOMER_SUMMARY_FACT_VR.CMPNY_CODE_I D and CUSTOMER_ITEM_AR_BALANCE_VIEW.FISC_PERIOD= CUSTOMER_SUMMARY_FACT_VR.FISC_PERIOD CUSTOMER_SUMMARY CUSTOMER_SUM _FACT_VR MARY_FACT_VR CUSTOMER_SUMMARY FISC_PERIOD _FACT_VR CUSTOMER_SUMMARY_FACT_VR.FISC_YEAR = CUSTOMER_SUMMARY_FACT_VR.PARTITION_YEAR CUSTOMER_SUMMARY_FACT_VR.FISC_YEAR=FISC_P ERIOD.FISC_YEAR and CUSTOMER_SUMMARY_FACT_VR.FISC_PERIOD=FISC _PERIOD.FISC_PERIOD and CUSTOMER_SUMMARY_FACT_VR.FISC_YR_VARIANT_I D=FISC_PERIOD.FISC_YR_VARIANT_ID TIME_DIM.CALENDAR_DATE=CUSTOMER_SUMMARY_F ACT_VR.CREATE_DATE
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
79
Invalid Documents
This Rapid Mart comes with a single invalid document table called CUSTOMER_ITEM_FACT_BAD. Upon running the Rapid Mart load, data is loaded into this table where there are issues with financial document dates. You have the ability to report on this table via the Universe.
Report SQL
SELECT DISTINCT CUST_ITEMS_FACT_BAD.ALLOC_ID, CUST_ITEMS_FACT_BAD.BASELINE_DATE, CUST_ITEMS_FACT_BAD.CLEARING_DOC_ID, CUST_ITEMS_FACT_BAD.CLEARED_ON, CUST_ITEMS_FACT_BAD.CUSTOMER_ID, CUST_ITEMS_FACT_BAD.DI_ERRORACTION, CUST_ITEMS_FACT_BAD.DI_ERRORCOLUMNS, CUST_ITEMS_FACT_BAD.DOCUMENT_DATE, CUST_ITEMS_FACT_BAD.ENTRY_DATE, CUST_ITEMS_FACT_BAD.FINANCIAL_DOC_ID, CUST_ITEMS_FACT_BAD.FISCAL_YEAR, CUST_ITEMS_FACT_BAD.LINE_ITEM_ID, CUST_ITEMS_FACT_BAD.LOAD_DATE, CUST_ITEMS_FACT_BAD.LOAD_TIME, CUST_ITEMS_FACT_BAD.NET_DUE_DATE, CUST_ITEMS_FACT_BAD.POSTING_DATE, CUST_ITEMS_FACT_BAD.SPECIAL_GL_IND, CUST_ITEMS_FACT_BAD.SPECIAL_GL_TTYPE, CUST_ITEMS_FACT_BAD.COMPANY_CODE_ID FROM CUST_ITEMS_FACT_BAD
80
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Data Discovery
These reports allow users to view hierarchy data. The full breadth of the data can be ascertained and used to make informed decisions when designing a report for any given subject area. The reports are:
Activity Hierarchy Data Discovery Cost Center Hierarchy Data Discovery Profit Center Hierarchy Data Discovery Cost Element Hierarchy Data Discovery Internal Order Hierarchy Data Discovery Functional Area Hierarchy Data Discovery GL Account Hierarchy Data Discovery FS Account Hierarchy Data Discovery Project Element Hierarchy Data Discovery Equipment Hierarchy Data Discovery Functional Location Hierarchy Data Discovery Work Center Hierarchy Data Discovery BOM Hierarchy Data Discovery Organization Unit Data Discovery Position Data Discovery
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
81
Report SQL
SELECT DISTINCT ACTIVITY_HIER_HR.ACTIVITY_ID, ACTIVITY_HIER_HR.CTRL_AREA_ID, ACTIVITY_HIER_HR.LEAF_LEVEL, ACTIVITY_HIER_HR.LEVEL_0_FULLNAME, ACTIVITY_HIER_HR.LEVEL_1_FULLNAME, ACTIVITY_HIER_HR.LEVEL_2_FULLNAME, ACTIVITY_HIER_HR.LEVEL_3_FULLNAME, ACTIVITY_HIER_HR.LEVEL_4_FULLNAME, ACTIVITY_HIER_HR.LEVEL_5_FULLNAME, ACTIVITY_HIER_HR.LEVEL_6_FULLNAME, ACTIVITY_HIER_HR.LEVEL_7_FULLNAME FROM ACTIVITY_HIER_HR, ACTIVITY_HIER_VR, ACTIVITY WHERE ( ACTIVITY.CTRL_AREA_ID = ACTIVITY_HIER_VR.CTRL_AREA_ID and ACTIVITY.ACTIVITY_ID = ACTIVITY_HIER_VR.DESCENDANT_ID ) AND ( ACTIVITY.CTRL_AREA_ID=ACTIVITY_HIER_HR.CTRL_AREA_ID and ACTIVITY.ACTIVITY_ID=ACTIVITY_HIER_HR.ACTIVITY_ID ) AND
82
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
( ( ACTIVITY_HIER_VR.ANCESTOR_ID in ('A1') AND ACTIVITY_HIER_HR.LEVEL_0_ID in ('A1') ) AND ACTIVITY_HIER_HR.CTRL_AREA_ID = '1000' AND ACTIVITY_HIER_HR.CTRL_AREA_ID <> '?' AND ACTIVITY_HIER_HR.LEVEL_0_ID <> '?' )
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
83
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
84
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
85
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
86
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
GL Account Hierarchy = @GL Profit Center GL Account Hierarchy = @PC FS Hierarchy = code of the financial statement (ex: CAUS)
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
87
Report SQL
SELECT DISTINCT GL_ACCOUNT_HIER_HZ.LEVEL_0_FULLNAME, GL_ACCOUNT_HIER_HZ.LEVEL_1_FULLNAME, GL_ACCOUNT_HIER_HZ.LEVEL_2_FULLNAME,
88
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
GL_ACCOUNT_HIER_HZ.LEVEL_3_FULLNAME, GL_ACCOUNT_HIER_HZ.LEVEL_4_FULLNAME, GL_ACCOUNT_HIER_HZ.LEVEL_5_FULLNAME, GL_ACCOUNT_HIER_HZ.LEVEL_6_FULLNAME, GL_ACCOUNT_HIER_HZ.LEVEL_7_FULLNAME, FS_HIERARCHY_DISCOVERY_HZ.CREDIT_FLAG, FS_HIERARCHY_DISCOVERY_HZ.DEBIT_FLAG, FS_HIERARCHY_DISCOVERY_HZ.LOWER_ACCT_LIMIT, FS_HIERARCHY_DISCOVERY_HZ.UPPER_ACCT_LIMIT, GL_ACCOUNT_DISCOVERY_HZ.LEAF_FLAG, GL_ACCOUNT_DISCOVERY_HZ.HIERARCHY_NAME FROM GL_ACCOUNT_HIER_HZ, FS_HIERARCHY FS_HIERARCHY_DISCOVERY_HZ, GL_ACCOUNT_HIER GL_ACCOUNT_DISCOVERY_HZ, GL_ACCOUNT_MASTER WHERE ( GL_ACCOUNT_MASTER.CHART_OF_ACCTS_ID=GL_ACCOUNT_HIER_HZ. CHART_OF_ACCTS_ID and GL_ACCOUNT_MASTER.GL_ACCOUNT_ID=GL_ACCOUNT_HIER_HZ.CUR RENT_LEAF AND GL_ACCOUNT_MASTER.HIERARCHY_NAME in ('ACCOUNT','CAUS') AND GL_ACCOUNT_HIER_HZ.HIERARCHY_NAME = 'CAUS' ) AND ( GL_ACCOUNT_HIER_HZ.HIERARCHY_NAME=GL_ACCOUNT_DISCOVER Y_HZ.HIERARCHY_NAME and GL_ACCOUNT_HIER_HZ.CHART_OF_ACCTS_ID=GL_ACCOUNT_DISCOVE RY_HZ.CHART_OF_ACCTS_ID and GL_ACCOUNT_HIER_HZ.CURRENT_LEAF=GL_ACCOUNT_DISCOVERY_H Z.CHILD_ID ) AND ( GL_ACCOUNT_HIER_HZ.CHART_OF_ACCTS_ID=FS_HIERARCHY_DISCO VERY_HZ.CHART_OF_ACCTS_ID and GL_ACCOUNT_HIER_HZ.HIERARCHY_NAME=FS_HIERARCHY_DISCOVE RY_HZ.FS_VERSION_ID and GL_ACCOUNT_HIER_HZ.CURRENT_LEAF=FS_HIERARCHY_DISCOVERY_ HZ.CHILD_ID ) AND ( GL_ACCOUNT_HIER_HZ.CHART_OF_ACCTS_ID = 'CAUS' AND ( GL_ACCOUNT_MASTER.HIERARCHY_NAME NOT IN ( '@PC', '@GL') ) AND GL_ACCOUNT_HIER_HZ.LEVEL_2_ID <> GL_ACCOUNT_HIER_HZ.LEVEL_1_ID AND GL_ACCOUNT_HIER_HZ.LEVEL_3_ID <> GL_ACCOUNT_HIER_HZ.LEVEL_2_ID AND GL_ACCOUNT_HIER_HZ.LEVEL_4_ID <> GL_ACCOUNT_HIER_HZ.LEVEL_3_ID AND GL_ACCOUNT_HIER_HZ.LEVEL_5_ID <> GL_ACCOUNT_HIER_HZ.LEVEL_4_ID )
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
89
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
90
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
91
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
92
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
Report SQL
All report SQL is located in the Rapid Mart installation directory under "\Sample\DML".
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
93
Data Auditing
These reports allow users to view hierarchy data records that have failed validation in Data Services. This enables correction of the data in the SAP solutions source system. Nine data auditing reports are included with the SAP Master Data universe. These reports display data in validation tables as follows: Report Name Invalid Cost Center Hierarchy Invalid Activity Hierarchy Invalid Cost Element Hierarchy Invalid Functional Area Hierarchy Invalid GL Account Hierarchy Invalid Internal Order Hierarchy Invalid Profit Center Hierarchy Invalid Project Element Hierarchy Invalid Work Center Hierarchy Invalid Data Table COST_CENTER_HIER_BAD ACTIVITY_HIER_BAD COST_ELEMENT_HIER_BAD FUNCTIONAL_AREA_HIER_BAD GL_ACCOUNT_HIER_BAD INTERNAL_ORDER_HIER_BAD PROFIT_CENTER_HIER_BAD PROJECT_ELEMENT_HIER_BAD WORK_CENTER_HIER_BAD
All data auditing reports are all similar in structure. Invalid Cost Center Hierarchy is show below as an example of the hierarchy data auditing reports.
Report SQL
SELECT DISTINCT COST_CNTR_HIER_BAD.PARENT_ID, COST_CNTR_HIER_BAD.PARENT_DESC, COST_CNTR_HIER_BAD.CTRL_AREA_ID, COST_CNTR_HIER_BAD.CHILD_ID,
94
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
ACTIVITY
ACTIVITY_HIER_VR
BILL_OF_MATERIALS
BILL_OF_MATERIALS_HIE R_HZ
BILL_OF_MATERIALS
BILL_OF_MATERIALS_HIE R_VR
COST_CENTER
COST_CENTER_HIER_HZ
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
95
Join Text COST_CENTER.CTRL_AREA_ID=COST_CENT ER_HIER_VR.CTRL_AREA_ID and COST_CENTER.COST_CNTR_ID=COST_CEN TER_HIER_VR.CHILD_ID COST_ELEMENT.COST_ELEM_ID=COST_ELE MENT_HIER_HZ.COST_ELEM_ID and COST_ELEMENT.CHART_OF_ACCT_ID=COST _ELEMENT_HIER_HZ.CHART_OF_ACCT_ID COST_ELEMENT.CHART_OF_ACCT_ID=COST _ELEMENT_HIER_VR.CHART_OF_ACCT_ID and COST_ELEMENT.COST_ELEM_ID=COST_ELE MENT_HIER_VR.CHILD_ID COUNTRY_GROUP.COUNTRY_GRP_ID = COUNTRY_GROUP_STATUS.COUNTRY_GRP _ID EQUIPMENT.EQUIPMNT_ID=EQUIPMENT_HIE R_HZ.EQUIPMNT_ID EQUIPMENT.EQUIPMNT_ID=EQUIPMENT_HIE R_VR.CHILD_ID GL_ACCOUNT_HIER_HZ.CHART_OF_ACCT_I D=FS_HIERARCHY.CHART_OF_ACCT_ID and GL_ACCOUNT_HIER_HZ.HIER_ID=FS_HIERA RCHY.FS_VERSION_ID and GL_ACCOUNT_HIER_HZ.GL_ACCT_ID=FS_HI ERARCHY.CHILD_ID GL_ACCOUNT_HIER_VR.CHART_OF_ACCT_I D=FS_HIERARCHY.CHART_OF_ACCT_ID and GL_ACCOUNT_HIER_VR.HIER_ID=FS_HIERA RCHY.FS_VERSION_ID and GL_ACCOUNT_HIER_VR.CHILD_ID=FS_HIER ARCHY.CHILD_ID
COST_ELEMENT
COST_ELEMENT_HIER_H Z
COST_ELEMENT
COST_ELEMENT_HIER_V R
COUNTRY_GROUP
FS_HIERARCHY
GL_ACCOUNT_HIER_VR
FUNCTIONAL_AREA
FUNCTIONAL_AREA_HIER FUNCTIONAL_AREA.FUNCTNL_AREA_ID=FU _HZ NCTIONAL_AREA_HIER_HZ.FUNCTNL_AREA _ID FUNCTIONAL_AREA_HIER FUNCTIONAL_AREA.FUNCTNL_AREA_ID=FU _VR NCTIONAL_AREA_HIER_VR.CHILD_ID FUNCTIONAL_LOCATION_ FUNCTIONAL_LOCATION.FUNCTNL_LOCATN HIER_HZ _ID=FUNCTIONAL_LOCATION_HIER_HZ.FUN CTNL_LOCATN_ID FUNCTIONAL_LOCATION_ FUNCTIONAL_LOCATION.FUNCTNL_LOCATN HIER_VR _ID=FUNCTIONAL_LOCATION_HIER_VR.CHIL D_ID GL_ACCOUNT_HIER_HZ GL_ACCOUNT_HIER_HZ.HIER_ID=GL_ACCO UNT_HIER.HIER_ID and GL_ACCOUNT_HIER_HZ.CHART_OF_ACCT_I D=GL_ACCOUNT_HIER.CHART_OF_ACCT_ID and GL_ACCOUNT_HIER_HZ.GL_ACCT_ID=GL_A CCOUNT_HIER.CHILD_ID
FUNCTIONAL_AREA FUNCTIONAL_LOCATION
FUNCTIONAL_LOCATION
GL_ACCOUNT_HIER
96
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Join Text GL_ACCOUNT_HIER_VR.HIER_ID=GL_ACCO UNT_HIER.HIER_ID and GL_ACCOUNT_HIER_VR.CHART_OF_ACCT_I D=GL_ACCOUNT_HIER.CHART_OF_ACCT_ID and GL_ACCOUNT_HIER_VR.CHILD_ID=GL_ACC OUNT_HIER.CHILD_ID GL_ACCOUNT_MASTER.CHART_OF_ACCT_I D=GL_ACCOUNT_HIER_HZ.CHART_OF_ACC T_ID and GL_ACCOUNT_MASTER.GL_ACCT_ID=GL_A CCOUNT_HIER_HZ.GL_ACCT_ID AND GL_ACCOUNT_MASTER.HIER_ID in ('ACCOUNT',@Prompt('Select GL Account Hierarchy Code','A','GL Account\Hierarchy Name',mono,free)) AND GL_ACCOUNT_HIER_HZ.HIER_ID = @Prompt('Select GL Account Hierarchy Code','A','GL Account Hierarchy Hz\Hierarchy Name',mono,free) GL_ACCOUNT_MASTER.CHART_OF_ACCT_I D=GL_ACCOUNT_HIER_VR.CHART_OF_ACC T_ID and GL_ACCOUNT_MASTER.GL_ACCT_ID=GL_A CCOUNT_HIER_VR.CHILD_ID AND GL_ACCOUNT_MASTER.HIER_ID in ('ACCOUNT',@Prompt('Select GL Account Hierarchy Code','A','GL Account\Hierarchy Name',mono,free)) AND GL_ACCOUNT_HIER_VR.HIER_ID = @Prompt('Select GL Account Hierarchy Code','A','GL Account Hierarchy Vr\Hierarchy Name',mono,free)
GL_ACCOUNT_MASTER
GL_ACCOUNT_HIER_HZ
GL_ACCOUNT_MASTER
GL_ACCOUNT_HIER_VR
INTERNAL_ORDER
INTERNAL_ORDER_HIER_ INTERNAL_ORDER.INTERNAL_ORDER_ID=IN HZ TERNAL_ORDER_HIER_HZ.INTERNAL_ORDE R_ID INTERNAL_ORDER_HIER_ INTERNAL_ORDER.INTERNAL_ORDER_ID=IN VR TERNAL_ORDER_HIER_VR.CHILD_ID PRODUCT_HIERARCHY OBJECT_STATUS MATERIAL.PROD_HIER_ID=PRODUCT_HIERA RCHY.PROD_HIER_ID OBJECT_STATUS_HZ.OBJ_ID=OBJECT_STAT US.OBJ_ID
ORGANIZATION_UNIT_HIE ORGANIZATION_UNIT.ORG_UNIT_KEY R_HZ =ORGANIZATION_UNIT_HIER_HZ.ORG_UNIT _KEY ORGANIZATION_UNIT_HIE ORGANIZATION_UNIT.ORG_UNIT_KEY=ORG R_VR ANIZATION_UNIT_HIER_VR.CHILD_KEY PAYROLL_PERIOD_PARA METER PAYROLL_PERIOD.PERIOD_PARAMETER_ID = PAYROLL_PERIOD_PARAMETER.PERIOD_PA RAMETER_ID
ORGANIZATION_UNIT PAYROLL_PERIOD
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
97
PROFIT_CENTER_HIER_H PROFIT_CENTER.CTRL_AREA_ID=PROFIT_C Z ENTER_HIER_HZ.CTRL_AREA_ID and PROFIT_CENTER.PROFIT_CNTR_ID=PROFIT _CENTER_HIER_HZ.PROFIT_CNTR_ID PROFIT_CENTER_HIER_V R PROFIT_CENTER.CTRL_AREA_ID=PROFIT_C ENTER_HIER_VR.CTRL_AREA_ID and PROFIT_CENTER.PROFIT_CNTR_ID=PROFIT _CENTER_HIER_VR.CHILD_ID PROJECT_ELEMENT.PROJ_ELEM_ID=PROJE CT_ELEMENT_HIER_HZ.PROJ_ELEM_ID PROJECT_ELEMENT.PROJ_ELEM_ID=PROJE CT_ELEMENT_HIER_VR.CHILD_ID
PROFIT_CENTER
WORK_CENTER_HIER_HZ WORK_CENTER.WORK_CNTR_ID=WORK_CE NTER_HIER_HZ.WORK_CNTR_ID and WORK_CENTER.PLANT_ID=WORK_CENTER_ HIER_HZ.PLANT_ID WORK_CENTER_HIER_VR WORK_CENTER.WORK_CNTR_ID=WORK_CE NTER_HIER_VR.CHILD_ID AND WORK_CENTER.PLANT_ID=WORK_CENTER_ HIER_VR.PLANT_ID
WORK_CENTER
98
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe
chapter
Universe Overview
Overview
Before we begin a detailed discussion of the AR Universes it is important to understand certain concepts that are common to any Rapid Mart Universe.
Overview (this section) Universe Design Principles Hierarchies Overview Accounts Receivable Specific Hierarchies
Then we can discuss the details of the Universes. The SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions contains two universes. The first is a Business Content Universe organized around fact tables and dimensions in a classic star schema layout.
The other is an Auxiliary Universe designed to facilitate data discovery and auditing within SAP solutions. It does not follow a star schema approach.
An additional section on customizing the SAP Accounts Receivable universe is also presented.
100
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Terminology
Star Schema: also called Subject Area. The dimensional data modeling approach. A star schema has one large central table (fact table) and a set of smaller attendant tables (dimension tables) displayed in a radial pattern around the central table. Optionally, a hierarchy may be associated with a dimension table. See diagram below for details
Dimension Table (Dim 1 - Dim 6): a table where the textual descriptions are stored. Optionally, a Dimension may have an associated hierarchy - such as Dim 6 in the diagram. Hierarchy: A hierarchy is an ordered series of related objects. An example of a hierarchy is time, or date, which may group objects as Year, Quarter, and Month. You can use drill up or down to perform multi dimensional analysis with a hierarchy. Hierarchies are described in great detail later in this chapter. Fact Table: a table where the numerical measurements of the business are stored. Each of these measurements is taken at the intersection of all the dimensions. The fact table, if it represents a transactional table, might also store some transaction descriptive attributes if there is no a proper dimension for this attribute. Fact tables can be detailed or summarized. These represent different levels of granularity. A detailed fact table has a finer granularity, typically transaction level detail. A summarized table aggregates the transaction data with fewer
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
101
dimensions, and uses a grouping function (sum, average, maximum, minimum) to aggregate the measures (typically money and quantity -- see section on Measures below) by those dimensions. Fact tables can also be pivoted vertically or horizontally. The pivot point is typically the Fiscal Period, but other dimensions can be used. Pivoted measures are expressed for each pivot point. Horizontal tables have one row for a logical group of pivot points. For example all the profit values for all fiscal periods in a year appear in one row of the fact table, with separate columns for each profit value / fiscal period combination. Vertical tables have one row per pivot point. For example, the profit value for each fiscal period has a separate row in the fact table. Measures: numeric additive or semi-additive quantities or monetary amounts like:
PC DTL Hz Line Credit Amt Period 03 TRX - Profit Center Detail Horiz. Line Credit Amount for Fisc Period 3 in Transaction Currency Line Debit Amt LOC - Financial Document Fact Line Debit Amount in Local Currency.
Objects: descriptive non-additive attributes used to describe the measure, and master data such as Monetary Currency Name, Unit of Measure, or Material Name. Additive Measure: a measure that can be summarized across all attributes; such as sales order value in global currency Semi-Additive Measure: measure that can be summarized only across selected dimensions, such as sales order quantity Non-Additive Measure: measures that cant be summarized, such as net price. Attribute: descriptive information; cant be aggregated, such as internal order number, material number, etc. Detail: a transaction attribute, such as Currency code, or Functional Area ID. Subject: in most cases associated with the fact table name. Examples are FINANCIAL_DOCUMENT_FACT, PROFIT_CENTER_FACT_VR. Business Function/Process: processes and functions in ERP applications that are captured when entering a transaction (Costing, Profitability, etc.). For the Universe, it is logical grouping of attributes by function or processes related to the subject. Examples are Activity Hierarchy, and Project Element dates. Common Dimension: a dimension table that is associated with multiple fact tables; such as Internal Orders, Time Dim, Currency, and GL Account.
102
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Join Strategy
Contexts: Dimensions that relate to multiple fact tables (common dimensions) are joined to each of those fact tables. No aliasing of the dimensions is used. Instead, a context for each fact table has been created and all dimensional joins for that fact table are included in the context. as shown below:
Aliases: Aliases are used when the same dimension describes different business processes. For example, the Time Dimension needs to be associated with different processes document creation, and posting. All of these may be in the same subject area (fact table). In this case, there will be a Time Dimension alias for each process. Facts to Fact Joins: Fact tables are not joined with each other unless they represent the same subject and have similar granularity. Example: SALES_ORDERS_FACT and BACKLOG_FACT.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
103
BACKLOG_FACT records are a subset of records in SALES_ORDERS_FACT they share the same primary key (sales order number, and sales order line item) and therefore the same granularity. Inner Joins Only: The universe uses inner joins only. The Data Services job loads a default row in each dimension table. The row is populated with the default text (defined by a Data Services global variable) as primary key. Example: We load a row with default text in the Material dimension. When a financial document has no Material, we load that same default text as the foreign key from the financial document to the Material table. In this way we can avoid outer joins that can slow database performance. Short Cut Joins: When a dimension is both joined to a fact table and also to another dimension table we use a short cut join for the fact table join. Example: In the diagram above the horizontal and vertical hierarchies are joined both to the corresponding dimension (Dim 6) and the fact table. The joins between hierarchy and dimension are short-cuts. Complex Joins and Objects: In this scenario we use the @prompt() function to allow users selecting appropriate constraints ar report run time. Example: join between GL_ACCOUNT_MASTER and GL_ACCOUNT_HIER_VR tables: GL_ACCOUNT_MASTER.CHART_OF_ACCT_ID = GL_ACCOUNT_HIER_VR.CHART_OF_ACCT_ID and GL_ACCOUNT_MASTER.GL_ACCT_ID = GL_ACCOUNT_HIER_VR.CHILD_ID AND GL_ACCOUNT_MASTER.HIER_ID in ('ACCOUNT',@Prompt('Select GL Account Hierarchy Code','A','GL Account\Hierarchy Name',mono,free)) AND GL_ACCOUNT_HIER_VR.HIER_ID = @Prompt('Select GL Account Hierarchy Code','A','GL Account Hierarchy Vr\Hierarchy Name',mono,free) Default Coded Joins and Objects: This occurs when an object or join needs to be restricted to certain values. A default code is introduced to restrict the object to appropriate values. Example: the Line Debit Amt LOC measure for Financial Documents. Here the Debit / Credit indicator is restricted to S to ensure selection of only Debit values: SUM(Case when FINANCIAL_DOCUMENT_FACT.DR_CR_ID = 'S' then FINANCIAL_DOCUMENT_FACT.AMT_LOC else 0 end)
104
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Hierarchies
Techniques
These are advanced technique objects developed for the Web Intelligence reports.
Indexes: The index technique enables multiple measures to be returned in a single data provider while providing different conditions for different groups of measures. For example, using indexes it is possible to return the total revenue, revenue lost for returned items, and last years revenue all in a single data provider, and using a single revenue object. Without this technique multiple synchronized queries would be needed. Think of indexes as providing vertical breaks in a single data provider. Local variables can then be created using the index values.
Zeros: These perform a similar function to indexes, namely they provide a means to return filtered information in a single data provider. Just as Indexes provide vertical breaks for measures, Zeros provide horizontal breaks. This is often requires when comparing two time periods. For example, you want to compare sales in a certain product line for each quarter this year. However, the product line had no sales in third quarter. Without use of the Zeros technique the data for 3rd quarter would be missing in the report. With Zeros, a placeholder value (with zero value) is shown.
Blanks: Their purpose is to provide an additional object that can be used in a display block. An example is a label that returns total company sales, where a normal query would only provide breakdowns by some category. Blanks are coded to (a space). Normally, this text is the same as the name of the object.
Hyperlink Start: provides a starting point for hyperlink jumps (for example to details in another report). Used in a Java environment.
Hierarchies
Hierarchies Overview
In general, hierarchies allow users to perform multi-dimensional analysis. Multi-dimensional analysis uses dimension objects organized in a meaningful order. Multi-dimensional analysis allows users to observe data from various viewpoints. This enables them to spot trends or exceptions in the data.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
105
Universe Hierarchies
A hierarchy is an ordered series of related objects. An example of a hierarchy is time, or date, which may group objects as Year, Quarter, and Month. You can use drill up or down to perform multi dimensional analysis with a hierarchy. Time is an example of a horizontal hierarchy where each level in the hierarchy is presented as a column in a database table. Thus, Year, Quarter, Month, and Date are all column names. You can use this hierarchy in a report to drill down from a higher level of aggregation (year) to a more detailed level (quarter). You can also drill up from quarter to year. The hierarchies appear both as sub-classes in the dimensions of each universe and in their own display screen in Web Intelligence (as shown below). Web Intelligence- Location of Rapid Mart Hierarchies
106
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Hierarchies
Note: The screenshot above is an example from the SAP BusinessObjects Cost Center Rapid Mart, version for SAP solutions.
Geographic Hierarchies
These allow you to organize reports by the geographic location (or address) of a dimension. Examples are:
Company Geography Cost Center Geography Profit Center Geography Vendor Geography
Posting Date Time Dimension Creation Date Time Dimension Document Date Time Dimension
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
107
Universe Hierarchies
Note: The hierarchy contains a ragged node. This happens when a node reports to more than one ancestor (or parent) node. In our example, the node 1421 has two ancestors. This legal and acceptable in both SAP solutions and the Rapid Mart.
108
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Hierarchies
In the horizontal representation, one row shows the entire hierarchy for each node in the hierarchy. Note: Be careful of the ragged hierarchy nodes. If your query simply selects for Activity ID = 1421, you will get two rows returned because Activity 1421 reports to two different sets of ancestors or parents. You must also specify the Level 2 ID (P1000 or P2000) to uniquely identify the hierarchy. In this case, you could also specify the Level 1 ID (A1000 or A3000) to uniquely identify the hierarchy. Note: Be careful of Primary Key violations. The Horizontal Hierarchy tables have an arbitrary limit of how may levels of hierarchy are extracted. If your data contains more levels than the limit, you can have a primary key violation when loading horizontal data.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
109
Universe Hierarchies
The primary key for a horizontal hierarchy contains all the level ids (LVL_00_ID to LVL_xx_ID). Where xx is the limit set in Data Services. In cases where there are more than xx levels in the hierarchy there are two choices
Change the primary key into a non-unique index. Customize the hierarchy to include the missing levels; expanding the horizontal table and its primary key accordingly.
Propagation of Child (Leaf) Nodes: Also note that child (leaf) nodes that belong to other than the last hierarchy level (Leaf Level 1 and Leaf Level 2) have their Activity ID propagated to the lowest Level ID of the hierarchy starting with the Level 1 ID. Leaf level 2 nodes are propagated out from level 2 ID to the lowest Level ID. Leaf level 3 nodes are propagated out from level 3 ID to the lowest level, etc. .
Child (leaf) node propagation allows creating reports with indented listings of Cost Elements, Cost and Profit Centers, and other hierarchical master data where depth of indention depends on the node position (Leaf Level).
110
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Hierarchies
In this representation the Level (or leaf level) indicates how many generations exist between ancestor and descendant. Level 0 indicates no generations (ancestor and descendant the same). Level 1 indicates parent to child, level 2 grandparent to child, level 3 great-grandparent to child, etc. You can find more information on how hierarchies are created in the Data Services documentation for the Hierarchy Flattening Transform, Pivot Transform, and Reverse Pivot Transform.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
111
Universe Hierarchies
This subset contains all relationships in the hierarchy, no matter how many generations are between the ancestor (or parent) chosen and its descendant nodes. When you include objects from the horizontal Activity Hierarchy Hz class in the same query, the results will show the entire family structure for the selected Activity Hierarchy Group. Thus, the vertical hierarchy gives us the selection criteria (via the filter) and the horizontal hierarchy gives us the report contents. Note: We recommend using Select Single Parent Activity Group (Vertical Hierarchy) filter only with hierarchy data discovery reports. See Hierarchy Data Discovery in Reports Chapter for more details.
112
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Hierarchies
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
113
Universe Hierarchies
Hierarchy Filters
Hierarchy filters allow you to restrict the results of your reports to subsets of the various hierarchies. They can also be used to filter ragged hierarchies by allowing you to select only one parent hierarchy chain. In this case, well use the GL Account Hierarchy as an example. All hierarchies work in a similar method, but the GL Account Hierarchy has the added complexity of combining more than one hierarchy from SAP solutions. It has additional filters not found in the other hierarchies to deal with this situation.
114
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Hierarchies
The filters appear below the Fact Table Classes in any universe. Those for GL Account Hierarchy appear as shown below:
@PC - identifies GLPCT-RACCT - The EC-PCA Profit Center GL Account Hierarchy @GL - identifies GLT0-RACCT - The FI Standard Ledger GL Account Hierarchy Any other value - identifies a FS (Financial Statements) Hierarchy.
The names are configurable during setup of ETL loading process. If you customize the GL Account Hierarchy by adding additional hierarchy sources, you would add a new source hierarchy name.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
115
Universe Hierarchies
Invalid Hierarchies
The hierarchies loaded from SAP solutions could have invalid records. These records are allowed by SAP solutions, but cause errors when used in the Rapid Mart. Therefore, they are excluded from the normal hierarchy tables, and listed here. A record is invalid when a descendant (child) record is in a loop so that it is also its own ancestor (parent) record. SAP solutions allows this, but it is not possible to use these records in the Rapid Mart. If you correct these records in SAP solutions, they will load properly on the next execution of the Data Services load job.
116
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Universe Hierarchies
Example: In the example below, Activity 1" is both the parent and child of Activity 2. (as Parent) Activity1
Activity2
Activity4
Invalid Hierarchies have no measures or filters. They are not linked to any subject areas. They are represented as a way identifying the invalid records that cannot be loaded from SAP solutions.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
117
Universe Hierarchies
Note: The screenshot above is an example from the SAP BusinessObjects Cost Center Rapid Mart, version for SAP solutions.
118
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Cust Item Document Date Time Dim: A hierarchy on the Time Dimension associated with the document date on Customer Items. Cust Item Posting Date Time Dim: A hierarchy on the Time Dimension associated with the posting date on Customer Items. Fiscal Periods: A hierarchy on the Fiscal Periods Dimension for Customer Summary. Note: This can only be used for reporting vertical Customer Summary as the Horizontal values do not have a fiscal period. Customer Geography: A hierarchy on the geography associated with the customers address.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
119
109 classes 949 objects 7 conditions 25 tables 9 alias 47 joins 3 contexts 4 hierarchies
The universe is well documented and logically organized to help universe users easily navigate to a specific object. The information in this chapter is useful to understand the data in the Rapid Mart and how to build reports using the data. The universe, and this chapter, are logically grouped into subject areas. They are:
Universe Objects & Classes Common Dimensions Customer Items Subject Area Customer Summary Subject Area Invalid Customer Items Subject Area Filters & Techniques Universe Validation
120
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Measures: The first Top Level class represents the Measures as described in Universe Terminology on page 101. Measures are grouped into sub-folders that represent the various monetary and quantity amounts of the fact tables in the star schemas. Each subject area is further divided into classes by types of measure specific to the subject area. Common Dimensions: These top level classes appear after the Measures. These are the dimensions used in common by more than one subject area. These are sub-divided into classes for each specific dimension table.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
121
For example, the Organization Structure class has sub-classes for Company Code, and Business Area. Each of these represents a specific dimension table or alias of a dimension table. The Common Dimensions Matrix (presented later in this chapter) details which subject areas can be used with which common dimensions. Fact Tables: Following the Dimensions are group of Top Level classes, one for each subject area (also called fact table or star schema) in the universe. These subject area classes are further divided into classes that are logical groupings of fact table attributes. For example, the Cust Item Dates class under CUSTOMER ITEMS contains the dates that are important for tracking customer invoices, adjustments and payments. Invalid Data and Hierarchies: This class reports Customer Item records that have failed validation in the Data Services job. Use this information to correct the source records in SAP solutions. Corrected data will be reloaded into the proper tables with the next Data Services job run. Filters & Techniques: Filters: This top level folder contains pre-defined conditions (organized by subject area) for use in any report. See details about specific Hierarchy Filters on page 22 Techniques: These are advanced technique objects that have developed for the Web Intelligence reports. See Techniques on page 17 for details.
Common Dimensions
Common Dimensions are those dimensions shared by more than one subject area (or fact table). They appear as shown below in the universe.
122
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
123
CUSTOMER
Customers are the companies and individuals to whom your company sells goods and services.
DOCUMENT ATTRIBUTES
Master data associated with the various documents found in SAP solutions. These include Document Categories, Document Types, and separate class groupings for Accounting Documents, Sales Documents and Purchasing Documents. Document Attributes subclasses include: Document Type Document Type combines all document categories in one table, including: Internal Order, Sales, Purchasing, Billing, Delivery, Financial, Special Ledger, and Notification document types. The following document type aliases are also included in the SAP Master Data universe:
Financial Document Type - Records what the posting was for. Examples: Goods Issue, Goods Receipt, Asset posting, Vendor Payment, Customer Payment
Debit Credit Indicator - From Domain SHKZG. Values: H = Credit, S = Debit Payment Block - An indicator that allows you (by entering a payment block) to block an account or individual items for payment. The payment blocking indicator is placed in the customer or vendor's master record, or in the line item. from table T008T - indicates any Holds preventing payment to a vendor. Payment Reason - From table T053S - Classification of Payment Differences (Texts) Payment Term - Relevant only for Financial Documents, describes when payments to a vendor or from a customer are due. Also describes any discounts associated with early payment. Posting Key Type -The posting key defines if it is a debit or credit posting, and which account type (customer or vendor) is posted. The posting keys for special G/L transactions must be indicated as such. Special GL Indicators - Special G/L transactions are special transactions in accounts receivable and accounts payable that are displayed separately in the general ledger and the
124
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
subledger. This is achieved by posting to alternative reconciliation accounts, instead of posting to the reconciliation accounts for receivables and payables.
MONETARY DIMENSIONS
A medium of exchange in current use within a particular country to valuate goods and services. For example the US Dollar, the Euro, the Japanese Yen, etc. Contains the following sub-classes related to the valuation of various monetary currencies: Monetary Currencies The Rapid Marts maintain various currencies, including:
Global Currency - maintained as a Global Variable in Data Services. This is a user defined currency to facilitate consistent reporting in a single monetary currency. Local (Company Code) Currency - Also called Company Code Currency. The currency of a company code (country currency) in which the local ledgers are managed. Update Currency - Used for Euro conversion in European Union. The update currency is the currency, in addition to the local (company) currency, in which the transaction figures are updated in the general ledger. You specify whether the document or account currencies should also be the update currency in the G/L account master record. Transaction (Document) Currency - The currency on an individual transaction in SAP solutions. This may be the individual currency of a sales order, purchase order, internal order, etc.
Monetary Exchange Rates These are the conversion rates used to convert one currency to another. They are used to compute global currency amounts in the universe.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
125
ORGANIZATION STRUCTURE
Various components that classify transaction documents within your business enterprise. These include: Business Area An organizational unit of financial accounting that represents a separate area of operations or responsibilities within an organization and to which value changes recorded in Financial Accounting can be allocated. Business areas are used in external segment reporting (over and above company codes) based on the significant areas of operation (for example, product lines) of a business enterprise. A segment is an isolated area of activity. Chart Of Accounts A classification scheme consisting of a group of general ledger (G/L) accounts. A chart of accounts provides a framework for the recording of values to ensure an orderly rendering of accounting data. The G/L accounts it contains are used by one or more company codes. For each G/L account, the chart of accounts contains the account number, the account name, and technical information. A chart of accounts must be assigned to each company code. This chart of accounts is the operative chart of accounts and is used in both financial accounting and cost accounting. Company Code The smallest organizational unit of Financial Accounting for which a complete self-contained set of accounts can be drawn up for purposes of external reporting. This includes recording of all relevant transactions and generating all supporting documents required for financial statements. Credit Control Area An organizational unit that represents an area responsible for granting and monitoring credit. This organizational unit is either a single company code or, if credit control is performed across several company codes, multiple company codes. Credit information can be made available per customer within a credit control area.
PEOPLE
People dimensions describing persons with specific job functions in an operational setting:
126
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
FISCAL PERIOD DIMENSIONS Fiscal periods within a fiscal year for which transaction figures are updated. Every transaction that is posted is assigned to a particular posting period. The transaction figures are then updated for this period. Fiscal years are divided into halves, quarters, periods, and months for reporting purposes. Fiscal years and fiscal calendars are defined by the fiscal year variant. There can be 12 regular fiscal periods, and 4 special processing periods. Fiscal periods are numbered 1 - 12 for regular periods, 13 -16 for special periods. SAP Master Data universe provides these aliases for Fiscal Period analysis:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
127
Dimension Table
Customer Items X X X X X X X X X X X X X X X X X X
Business Area Chart of Accounts Company Code Credit Control Area Currency Currency Convert Rate Customer Customer By Company Debit Credit Indicator Document Type Fiscal Period GL Account By Company Payment Block Payment Reason Code Payment Term Posting Key Type Special GL Indicator Time Dimension
X X X X X X
X X X X X X
Below is a brief description of each of the subject areas, its objects, common dimensions, measures, and filters. Use this section to you familiarize yourself with the universe structure.
128
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Cust Item Meas - Avg. Days and Percents: Averages of time periods (in days) and discount percentages used to calculate the various aging and payment due amounts. Cust Item Meas - GC Amounts Due: Measures for amounts in Global Currency due in various periods for the transaction. The periods are defined by Global Variables $E, $F, and $G. Cust Item Meas - GC Amounts Paid: Measures in Global Currency for amounts paid in various aging periods for this transaction. The aging periods are determined by global variables $A - $D. Cust Item Meas - GC Amounts Past Due: Measures in Global Currency for Amounts Past Due in various aging periods for this transaction. Aging periods are defined by global variables $A - $D. Cust Item Meas - LC Amounts Due: Measures for amounts in Local (or Company Code) Currency due in various periods for the transaction. The periods are defined by Global Variables $E, $F, and $G. Cust Item Meas - LC Amounts Paid: Measures in Local (or Company Code) Currency for amounts paid in various aging periods for this transaction. The aging periods are determined by global variables $A - $D. Cust Item Meas - LC Amounts Past Due: Measures in Local (or Company Code) Currency for Amounts Past Due in various aging periods for this transaction. Aging periods are defined by global variables $A - $D.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
129
Cust Item Meas - Other Currencies: Measures in Document and Update Currency. Update currency is used for Euro conversion in European Union. Document currency is the transaction currency.
Customer Items: The primary key objects that uniquely identify a customer item. Cust Item - Additional Details (IDs): These ID's are the keys that link to the various dimensions in universe. Cust Item - Additional Details (Descriptive): Additional descriptive details: flags, descriptions, names, etc.
130
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Cust Item - Dates and Fiscal Periods: Dates for customer items. These include the Posting Date and Document Date which are keys to the Time Dimensions. Identifiers used to tie to the fiscal periods dimension. Cust Item - Monetary Currency: Identifies the various currencies used on Customer Items. Each of these links to a corresponding Monetary Currencies dimension Cust Item - Values: Customer Item Amounts - these objects ARE NOT summed. Use corresponding objects in the MEASURES classes to sum. Cust Item Values - Days and Percents: Time periods (in days) and discount percentages used to calculate the various aging and payment due amounts. Cust Item Values - Global Currency: Customer item amounts in global currency as defined by global variable $G_GLOBAL_CURRENCY in the Data Services job Cust Item Values - Local (Company Code) Currency: Customer item amounts in local or company code currency Cust Item Values - Other Currencies: Values in Document and Update Currency.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
131
132
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Customer Summary Measures (Vertical) present one row of data for each fiscal year & fiscal period combination. Only the 12 regular fiscal periods are shown. The 4 special fiscal periods are excluded. This vertical representation is not available in SAP solutions. It is achieved by pivoting the horizontal data in the Data Services. The vertical summary is presented because it is optimal for Web Intelligence reports which can auto-aggregate by fiscal period, quarter, year, etc.
Cust Summary - Horizontal Measures: This class contains two measures (LC Year Begin Balance and GC Year Begin Balance) as well as all the subclasses for horizontal measures. The two measures are the accounts receivable beginning balances in Local (Company Code) Currency and Global Currency. Cust Sum Hz - GC Credit Measures: Customer Summary, Horizontal measures - Credit Values in Global Currency. Cust Sum Hz - GC Debit Measures: Customer Summary, Horizontal measures - Debit Values in Global Currency.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
133
Cust Sum Hz - GC Sales Measures: Customer Summary, Horizontal measures - Sales Values in Global Currency. Cust Sum Hz - LC Credit Measures: Customer Summary, Horizontal measures - Credit Values in Local Currency (also called Company Code Currency). Cust Sum Hz - LC Debit Measures: Customer Summary, Horizontal measures - Debit Values in Local Currency (also called Company Code Currency) Cust Sum Hz - LC Sales Measures: Customer Summary, Horizontal measures - Sales Values in Local Currency (also called Company Code Currency) Cust Summary - Vertical Measures: Contains the sub-classes for Vertical Measures. The vertical measures include Sales, Credit, and Debit values (similar to the horizontal measures). They also include
Period Begin Balance: This is equivalent to the Years Begin Balance in the horizontal measures. PTD A/R Balance Ttl: This is the Period-to-Date A/R balance. It differs from the Period Begin Balance in that this includes any new receivables for the current period, while the Begin Balance only includes items through the end of the previous fiscal period. PTD Revenue Balance Ttl: This is the Period-to-Date Revenue (or billings) balance at the beginning of the fiscal period. Rolling Period Total: This is the PTD revenue balance for the last twelve fiscal periods. It is used to calculate DSO (Days Sales Outstanding). This measure uses all 16 fiscal periods including the special or adjustment periods. The special periods are numbered 13 - 16 in SAP solutions.
Cust Sum - GC Vertical Measures: Customer Summary, Vertical measures in Global Currency. Cust Sum - LC Vertical Measures: Customer Summary, Vertical measures in Local Currency (also called Company Code Currency). Days Sales Outstanding (DSO) Calculation: This class contains the total Open Accounts Receivable balance, and the DSO calculation. DSO is calculated as follows: Days Sales Outstanding = (Open AR Balance / Rolling Period Total) X 365.
134
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Note: DSO can be calculated in either Local Currency or Global Currency. The result will be the same because the ratio between the Open AR Balance and Rolling Period Total is the same regardless of currency used.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
135
CUSTOMER SUMMARY - Vertical: These are the primary keys that uniquely identify a Customer Summary Vertical record Cust Summ Vr - Additional Details (IDs): Objects used as links to Dimensional tables for CUSTOMER SUMMARY Cust Summ Vr - Dates and Fiscal Periods: Dates and Fiscal periods for Customer Summary VR
136
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Cust Summ Vr - Monetary Currency: Monetary Currencies for the Customer Summaries. Cust Summ Vr - Values: Customer Summary Totals (Vertical) present one row of data for each fiscal year & fiscal period combination. Cust Summ Vr - GC Vertical Amounts: Customer Summary, Vertical amounts - Values in Global Currency Cust Summ Vr - LC Vertical Amounts: Customer Summary, Vertical amounts - Values in Local Currency (also called Company Code Currency) Cust Summ Vr - DSO Calculation: Days Sales Outstanding (DSO) and Accts Receivable Open Balances. CUSTOMER SUMMARY - Horizontal: These are the primary keys that uniquely identify a Customer Summary Horizontal record. Cust Summ Hz - Dates and Fiscal Period: Dates and Fiscal periods for Customer Summary HZ Cust Summ Hz - Monetary Currency: Monetary Currencies for the Customer Summaries. Cust Summ Hz - Values: Customer Summary Totals (Horizontal) present one row of data for each fiscal year. All 16 possible fiscal periods are shown (12 regular fiscal periods, and 4 special fiscal periods) as well as Quarter year totals, and Year to Date totals. This class also contains the Year Beginning Balances in Local Currency and Global Currency. Cust Summ Hz - GC Credit Totals: Customer Summary, Horizontal amounts - Credit Values in Global Currency Cust Summ Hz - GC Debit Totals: Customer Summary, Horizontal amounts - Debit Values in Global Currency Cust Summ Hz - GC Sales Totals: Customer Summary, Horizontal amounts - Sales Values in Global Currency Cust Summ Hz - LC Credit Totals: Customer Summary, Horizontal amounts - Credit Values in Local Currency (also called Company Code Currency) Cust Summ Hz - LC Debit Totals: Customer Summary, Horizontal amounts - Debit Values in Local Currency (also called Company Code Currency) Cust Summ Hz - LC Sales Totals: Customer Summary, Horizontal amounts - Sales Values in Local Currency (also called Company Code Currency)
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
137
138
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
139
Customer Item Filters: These allow you to filter by Open or Closed items. You can also filter for payment documents only. Finally, you can also filter for unapplied payments or credit memos. Financial Document Type Filters: These filters restrict the Financial Document Type which is a dimension of Customer Items. You can restrict to either Revenue or Payment document types.
Techniques
These are advanced technique objects developed for the Web Intelligence reports. They are described in Techniques on page 17.
Universe Validation
When validating the universe within the Universe Designer, some errors are expected and acceptable. They do not harm universe performance in any way. They are detailed below.
140
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Structure Divergences
Some tables are not joined to other tables. This is because we use only aliases of those tables in the universe. However, the original table must remain as a placeholder for the original table name. Also, validation tables (those ending in _BAD) are not joined to other tables.
Cardinality Divergences
These are caused by the use of the @prompt function in the join. Since this function requires user intervention to complete the SQL join condition, the Universe Designer cannot check the cardinality vs. the database. The error messages are specific to your database server. Thus Oracle, SQLServer, and DB2 will have different messages for the same errors.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
141
394 classes 4100 objects 199 conditions 261 tables 44 alias 36 joins 0 contexts 26 hierarchies
The universe is well documented and logically organized to help universe users easily navigate to a specific object.
142
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
143
ACTIVITY
Physical measure of the activity output/production in a cost center. Examples of Controlling activities include:
Activities in Controlling can be internal or external. Activity Hierarchies are presented stacked vertically and flattened horizontally.
BENEFITS
In HR, these are the various employee benefits including health insurance and savings plans as well as the rules associated with the plans. The class carries the following sub-classes: Benefit Area The highest-level subdivision of benefits data. Benefit areas enable different pools of benefit plans to be administered separately, for example, to reflect geographical location, departments, or production areas. Employees are sorted into benefit areas during processing, according to the corresponding feature. Example: The medical benefits offered by a company in the chemical industry are organized according to production areas. Employees in plastics production have different plans to employees in fertilizer production. Each production areas is represented by a benefit area. Benefit Plan The central element of the Benefit Administration component, representing a single benefit offered by the employer. A plan belongs to a plan category, and is defined by the following:
General plan data (for example, provider) Any relevant plan options (for example, health plan coverage, investments) Rules determining the calculation of monetary amounts relating to plans (for example, costs, contributions, coverage, credit) Plan-specific checks (for example, evidence of insurability)
144
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Benefit Program Group A set of benefit plans offered to a specific group of employees. Benefit programs are defined for one, or a combination of two program groupings, and therefore control high-level eligibility. Low-level eligibility in controlled by the eligibility rules assigned to the individual plans within a program. Benefit Spending Account A benefit plan that allows employees to set aside tax-free dollars for anticipated medical care and dependent care expenses. Flexible spending accounts are available in North America only. Dependent Coverage An option for a health plan, chararacterized by the number of dependents that can be covered. Enrollment Type Benefit program enrollment type descriptive attributes from DD07T, BEN_ENRTYP domain. A -Automatic, D - Default, M - Manual. Health Plan Health Plan descriptive attributes from T5UCE Insurance Coverage Group Benefit insurance coverage rules and formulas from T74FB, T74FC, PA0168 (date-effective) Insurance Option This is the insurance plan option, within the insurance plan. Example: The Standard Life plan has 2 options, which the employee selects the desired coverage from: HIGH - $120,000 option; LOW - $80,000 option Investment Group A customer-defined group of investments that can be assigned to plans in the categories 'Savings' and 'Miscellaneous'. Investment Plan A customer-defined option for plans in the categories Savings and Miscellaneous that lets employees choose how their contributions are invested.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
145
BENEFIT RULES Identifying rules for benefits participation and contribution. Sub-classes include: Benefit Termination Rule, Contribution Rule, Eligibility Rule, and Vesting Rule.
Bill of Materials Item Category Part of a bill of material containing information about the quantity and unit of measure of a component. According to the object referred to (for example, material or document) and other criteria (such as inventory management criteria), BOM items are defined in different item categories that determine which item data is managed. Bill of Materials Status A tool used to control processing of a BOM in different application areas. Bill of Materials Usage A tool that allows you to enter BOMs, for example, for material LAMP, for specific sections of your company. You can enter a separate BOM for each section in your company, for example, production, so that each section only processes the items relevant to that section. The usage is an important selection criterion in the BOM application, which controls the automatic explosion of BOMs.
CAPACITY
The ability of a work center to perform a task. Capacities are differentiated according to capacity category. They are arranged in a hierarchy under a work center.
146
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Capacity by Work Center Standard work center capacity information from CRCA/CRHD/KAKO. Capacity Category A description that classifies a capacity at a work center. A capacity category can exist only once at each work center. However, capacities at different work centers can have the same capacity category. Capacity category descriptions from TC26T. Capacity Object Type Capacity Object Type (like Order, Task List) - from DD07T TYPKZ domain. Capacity Planning Group Capacity planner group descriptive attributes (from TC27T).
CENTRAL ADDRESS
This is the Central Address repository (table ADRC) in SAP. Currently, it is used to store Customer Ship-To addresses for sales orders and billings (Sales Rapid Mart). But, can be easily expanded to show addresses associated with purchase orders, vendors, etc.
CLASSIFICATIONS
System that is used to describe objects on the basis of characteristics by grouping together into classes (i.e. classifying) objects according to freely definable criteria. Objects can be retrieved with the aid of classes and the characteristics defined in the classes, enabling objects that are identical or similar from a point of view of their characteristics to be retrieved as quickly as possible. We carry two sets of Classification data for:
COST CENTER
Organizational unit within a controlling area that represents a defined location of cost incurrence. The definition can be based on:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
147
Cost center hierarchies presented stacked vertically and flattened horizontally. Cost center contact numbers, and geography are also included.
COST ELEMENT
A cost element classifies the organization's valuated consumption of production factors within a controlling area. SAP solutions maintains both primary and secondary cost elements.
CUSTOMER
Customers are the companies and individuals to whom your company sells goods and services. Customer by Company Intersection of Company and Customer records. Used by both Customer Items and Customer Totals
DOCUMENT ATTRIBUTES
Master data associated with the various documents found in SAP solutions. These include Document Categories, Document Types, and separate class groupings for Accounting Documents, Sales Documents and Purchasing Documents. Document Attributes subclasses include: Document Category Document Category combines all document categories in one table, including: Financial, Internal Order, Notification, Purchasing, and Sales. The following document category aliases are also included as classes under DOCUMENT ATTRIBUTES:
Accounting Document Category - Domain DOCCT in SAP solutions. Internal Order Document Category - A technical classification criterion for orders. The order category determines the SAP application to which an order belongs, and controls the functions by which an order can be processed. Notification Document Category - A key that identifies notification types in an application component. Notification categories include: - Quality notification in the Quality Management (QM) application component - Maintenance notification in the Plant Maintenance (PM) application component - Service notification in the Customer Service (CS) application component
148
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Purchase Document Category - Broadly categorizes purchase documents as requisitions, purchase orders, contracts etc. Sales Document Category - One of a set of classes used to control how the system processes a sales document in the sales and distribution component module. Sales document categories include: - Inquiries and quotations - Sales orders - Outline agreements
Document Type Document Type combines all document categories in one table, including: Internal Order, Sales, Purchasing, Billing, Delivery, Financial, Special Ledger, and Notification document types. The following document type aliases are also included in the SAP Master Data universe:
Billing Document Type - indicates type of billing document Delivery Document Type - indicates type of delivery document Financial Document Type - Records what the posting was for. Examples: Goods Issue, Goods Receipt, Asset posting, Vendor Payment, Customer Payment Internal Order Document Type - A tool that categorizes orders according to purpose. The order type contains information which is necessary for managing orders. Order types are clientspecific. The same order type can be used in all controlling areas in one client. Examples: production orders, maintenance orders (Plant Maintenance Service Orders), capital investment orders, and marketing orders. Notification Document Type - A key that determines the origin, content, and other features of service, maintenance, and quality notifications. The following notification types exist in the standard SAP Applications system: - Maintenance notifications, including malfunction and activity reports and maintenance requests - Service notifications, including problem notifications, service requests, and activity reports - Quality notifications, including complaints against the vendor, customer complaints, and internal problems
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
149
Sales Document Type - A categorization of a Sales Document as an invoice, credit memo, debit memo, pro forma invoice, or cancellation document. Special Ledger Document Type - Document Type (tables T889 and T889TE)
Reference Date Key Key determining the reference date for various entities - Milestone, PRT Domain MLST_SDDAT; TCA55 Special Stock Indicator Stock of materials that must be managed separately for reasons of ownership or location. An example is consignment stock from vendors. Standard Text Key Standard text Key descriptions for activities from T435T. Standard Value Key Capacity Standard Value Key descriptive attributes from TC21T. Valuation Type The basic criterion for calculating the asset value. In a depreciation area, in addition to the acquisition and production costs and ordinary depreciation, the following special valuation types can be calculated: Revaluation, Investment support measures, Special depreciation, Unplanned depreciation, Transfer of reserves, and Interest. ACCOUNTING DOCUMENT ATTRIBUTES
Bank Account Information - Bank account details defined by account. Controlling (Business) Transaction Type - Cost Accounting (or business) transaction types. Examples: cost planning, invoice posting, or overhead calculation. Debit Credit Indicator - From Domain SHKZG. Values: H = Credit, S = Debit Financial Document Status - Status (from Domain BSTAT), indicates if a financial document is a normal, clearing or parked document. Financial Management Area - FM01T - Funds Management Area Texts. Financial Record Category - Categorization for a financial document.
150
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Financial Record Type - Special Ledger Record Types (Domain RRCTY) from table DD07T and Cost/Plant Maintenance value types from CO_WRTTP domain of DD07T table Financial Version - Special Ledger Version (T894T table in SAP solutions) Ledger Group - A combination of ledgers for the purpose of applying the functions and processes of general ledger accounting to the group as a whole. Payment Block - An indicator that allows you (by entering a payment block) to block an account or individual items for payment. The payment blocking indicator is placed in the customer or vendor's master record, or in the line item. from table T008T - indicates any Holds preventing payment to a vendor. Payment Reason - From table T053S - Classification of Payment Differences (Texts) Payment Term - Relevant only for Financial Documents, describes when payments to a vendor or from a customer are due. Also describes any discounts associated with early payment. Posting Key Type -The posting key defines if it is a debit or credit posting, and which account type (customer or vendor) is posted. The posting keys for special G/L transactions must be indicated as such. Reference Procedure - Object Type Names for Accounting (TTYPT). Segment - A division of a company that can create its own financial statements for external reporting. A segment can be entered in the master record of a profit center. The segment is then derived from the assigned profit center during posting. This is the business segment. It is available in New GL only (release ECC 5.0 or higher). Special GL Indicators - Special G/L transactions are special transactions in accounts receivable and accounts payable that are displayed separately in the general ledger and the subledger. This is achieved by posting to alternative reconciliation accounts, instead of posting to the reconciliation accounts for receivables and payables. Special Ledger Master - Identifies the Standard or Special Ledger used.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
151
Transaction Type - Transaction type of the Financial Document from table T856T. Account Assignment Category - A key indicating whether an item is to be assigned to an auxiliary account (such as a cost center). The account assignment category determines which account assignment details are required for the item (for example, cost center or account number). Condition Type - Identification that defines characteristics, attributes, and business meaning of a condition. The system can, for example, contain different condition types for freegoods, sales-based rebate, or gross price discount. Every condition type has its own access sequences, condition tables, and condition records. Purchase Document Price History - A series of prices charged or quoted by a vendor for a material or service over a certain period up to the present. Purchase Document Source - Describes where the purchase document originated (BAPI, RFQ conversion, Third Party, Kanban, etc.) Purchase Item Category - An identifier indicating the characteristics of an item. The item category determines whether the following are mandatory or admissible for an item: - Material number - Additional account assignment - Inventory management in the SAP solutions system - Goods receipt - Invoice receipt
Billing Block - A block that prevents the release of billing documents to financial accounting. Delivery Block - A block that prevents the release of products for documents to financial accounting. Delivery Route - Delivery route details. Sales Order Status - Status descriptions for sales orders
152
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
EMPLOYEE
In HR, the employee class tracks information about employees such as name,address, birth date, Gender, Marital status, number of dependents, etc.
EMPLOYEE ATTRIBUTES
Additional information about the employee such as Personnel Actions, Education, Job Qualifications, Work Permit status, etc. This area contains the following sub-classes:
Certificate Type Education Type Ethnic Origin Gender Identification Type Language Marital Status Military Status Nationality Personnel Action Reason Personnel Action Status Personnel Action Type Personnel Date Type Personnel Task Status Personnel Task Type Proficiency Qualification Religion Residence Status School Type Study Branch Time Management Status Work Permit Type
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
153
EQUIPMENT
Used in Plant Maintenance and Service modules of SAP. Individual, physical object that is to be maintained as an autonomous unit. Equipment can be internal, such as machinery in your factory used to manufacture goods for sale. Equipment can also be external, such as the machine that is manufactured and sold to your customer.
FUNCTIONAL LOCATION
Organizational unit within Logistics that structures the maintenance objects of a company according to functional, process-oriented or spatial criteria. A functional location represents the place at which a maintenance task is to be performed.
INTERCOMPANY TERM01
Describes when in the delivery process the receiver of goods takes physical ownerships of the those goods.
INTERNAL ORDERS
Production Orders, Service Orders, and associated hierarchies. Object used to monitor costs and, in some instances, revenues for an organization. Internal orders can be used to: 1. 2. Monitor the costs of short-term measures Monitor the costs and revenues related to a specific service
154
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
3. 1. 2. 3. 4.
Monitor ongoing costs Overhead orders Capital investment orders Accrual orders Orders with revenues.
Internal Order Status Internal Order status name and description from TKO04.
JOB
An organizational object that serves as a template for creating positions when you create an organizational plan. Unlike Positions that can be occupied by holders, for example, secretary in the marketing department. Jobs are a classification of functions in an enterprise, for example, secretary, defined by the tasks and characteristics assigned to them. Job descriptions apply to different positions with similar tasks and characteristics. This includes Exempt/Non-Exempt Status, Payscale, etc.
LEAVE
Information about the types of leave (vacation, sick leave, maternity leave, etc.) an employee may have. Leave Type Job leave type descriptive attributes from T533T
MATERIAL
The Materials Master in SAP R/3 and ERP. Goods that are the subject of business activity. The material can be traded, used in manufacture, consumed, or produced. They can also be bought or sold. This class also contains the following subclasses: Material Batch Batch material management - Material Master from MCHA Material by Plant MARA and MARC Tables - Plant Level Material attributes. Material Group A grouping of materials and services according to their characteristics.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
155
Material (Product) Hierarchy Materials can be grouped into hierarchies. Every material (product) can be assigned to one material product hierarchy level. Material Production Defines production version information (from MKAL). Material Type A grouping together of materials with the same basic attributes such as raw materials, semi-finished products, or finished products. All materials must be assigned to a material type which determines:
Whether the material is intended for a specific purpose such as a configurable material or process material Whether the material number can be assigned internally or externally The number range from which the material number is drawn Which screens appear and in what sequence Which user department data you may enter What procurement type the material has; that is, whether it is manufactured in-house or procured externally, or both
MONETARY DIMENSIONS
A medium of exchange in current use within a particular country to valuate goods and services. For example the US Dollar, the Euro, the Japanese Yen, etc. Contains the following sub-classes related to the valuation of various monetary currencies: Currency Sources Currency Sources for 2nd and 3rd Local Currencies. The Currency source indicates which currency was used as a source for the 2nd or 3rd Local currency. The exchange rate is determined from this source currency to the 2nd or 3rd local currency. Standard Values:
1 = Translation taking first local currency as basis, i.e., the main Local Currency or Company Code Currency was used as the currency source. 2 = Translation taking transaction (or document) currency as basis.
Currency Types Currency Types for 2nd and 3rd Local Currencies. Key identifying the role of a currency in the R/3 System. In addition to the local currency as house currency, you can manage parallel currencies with the following currency types:
156
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Benefit Currency - The monetary currency associated with personnel administration. Controlling Area Currency - The monetary currency assigned to the controlling area Group Currency - Group currency is used in the consolidated financial statements. Before the consolidation process can be completed all values in the individual financial statements must be translated from the local or transaction currency into group currency. Local (Company Code) Currency - The monetary currency assigned to the company code Transaction (Document) Currency - The monetary currency of each individual transaction document. Update Currency - Used for Euro conversion in European Union: The update currency is the currency, in addition to the local (company) currency, in which the transaction figures are updated in the general ledger. You specify whether the document or account currencies should also be the update currency in the G/L account master record.
Monetary Exchange Rates These are the conversion rates used to convert one currency to another. They are used to compute global currency amounts in the universe.
MRP
Material Resource Planning - A term for procedures in requirements planning that take into account and plan every future requirement during the creation of order proposals such as independent requirements, and dependent requirements. Contains the following sub-classes: Mrp Controller The person responsible for a group of materials in MRP in a plant or company. Material that takes part in material requirements planning must be assigned to an MRP controller.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
157
Mrp Element Type A term for all objects displayed as items in the MRP list or in the stock and requirements list. Such objects include planned orders, purchase orders, reservations, and sales orders. Mrp Group The MRP group, groups material from the material requirements planning point of view to allocate them control parameters for planning. The control parameters include the strategy group, the planning horizon and the creation indicator for the planning run. Mrp Lot Size A key that defines which lot-sizing procedure the system uses for calculating the quantity to procure in the MRP run. Mrp Profile A collection of data required for updating the material master record for planning. The MRP profile contains the necessary MRP data for the material master.This simplifies updating the material master record. When creating or changing a material master, the data in the MRP profile is copied automatically to the material master. The MRP profile defines:
Which fields are mandatory when entering MRP data Values of these fields Which values can be overwritten (default values) or not (fixed values)
Mrp Type A key that controls the MRP procedure (MRP or reorder point) used for planning a material. It contains additional control parameters, for example, for using the forecast for the materials planning, or for firming procurement proposals.
OBJECT
Object is a very generic term in SAP solutions. It can mean anything from an internal identifier for equipment in Plant Maintenance, to a way of categorizing cost in Controlling. The object class groups these various kinds of objects together for easy reference with these sub-classes: Object Class The object class categorizes Controlling objects according to their business function and enables you to analyze cost flows within Controlling from different business perspectives. The following object classes are available: overhead, production, investment, profitability analysis and sales
158
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
While certain object types automatically belong to a particular class (for example, cost centers belong to the "Overhead" class), others need to be explicitly assigned to an object class in their master record (this is the case with internal orders and work breakdown structure elements, for example). In addition to the functional area, the object class is required to determine or explain certain values in the external accounting components. Object Class (from Domain SCOPE_CV). Object Number Type The object type is the first two characters of the object number (from TBO01), which is a unique object key per client (order, cost center, project, etc.). Object Status Object statuses from JEST. Object Status Hz Dimensional component loading horizontally represented selected ERP Object status information from JEST for selected Statuses from OBJECT_STATUS. Object Type A type of object that you process in the Engineering Workbench. An object can, for example, be a type of "task list type," "item," or "component assignment." Object Type (from Domain OBART).
ORGANIZATION STRUCTURE
Various components that classify transaction documents within your business enterprise. These include: Account Type A key that specifies the accounting area to which an account belongs. Examples of account types are:
The account type is required in addition to the account number to identify an account, because the same account number can be used for each account type.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
159
Business Activity Business activity attributes from T022/T022T. Business Area An organizational unit of financial accounting that represents a separate area of operations or responsibilities within an organization and to which value changes recorded in Financial Accounting can be allocated. Business areas are used in external segment reporting (over and above company codes) based on the significant areas of operation (for example, product lines) of a business enterprise. A segment is an isolated area of activity. Chart Of Accounts A classification scheme consisting of a group of general ledger (G/L) accounts. A chart of accounts provides a framework for the recording of values to ensure an orderly rendering of accounting data. The G/L accounts it contains are used by one or more company codes. For each G/L account, the chart of accounts contains the account number, the account name, and technical information. A chart of accounts must be assigned to each company code. This chart of accounts is the operative chart of accounts and is used in both financial accounting and cost accounting. Company Code The smallest organizational unit of Financial Accounting for which a complete self-contained set of accounts can be drawn up for purposes of external reporting. This includes recording of all relevant transactions and generating all supporting documents required for financial statements. Controlling Area An organizational unit within a company, used to represent a closed system for cost accounting purposes. A controlling area may include single or multiple company codes that may use different currencies. These company codes must use the same operative chart of accounts. All internal allocations refer exclusively to objects in the same controlling area. Country Group A grouping of countries for which the political restrictions or AFS quota are equally valid (e.g. EU). The grouping of countries facilitates the entry and processing of country-specific restrictions and AFS quota.
160
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Credit Control Area An organizational unit that represents an area responsible for granting and monitoring credit. This organizational unit is either a single company code or, if credit control is performed across several company codes, multiple company codes. Credit information can be made available per customer within a credit control area. Distribution Channel CA channel through which saleable materials or services reach customers. Distribution channels include wholesale, retail, and direct sales. You can assign a distribution channel to one or more sales organizations. Division An organizational unit based on responsibility for sales or profits from saleable materials or services. Employee Group The employee group is an organizational entity which is governed by specific personnel regulations. An employee group is divided into several employee subgroups. Employee Subgroup An employee subgroup is an organizational entity within an employee group which is governed by specific personnel regulations. Functional Area An organizational unit in Accounting that classifies the expenses of an organization by functions such as:
Classification takes place to meet the needs of cost-of-sales accounting. Line Manager Hierarchy A person who holds a managerial position in a company or department and who makes decisions in an area of responsibility. Line managers can act as the first person responsible for applicant correspondence.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
161
Organization (Structure) Key A hierarchy in which the organizational units in an enterprise are arranged according to tasks and functions. The organizational structure differs from the administrative enterprise or personnel structure, whose structural elements are relevant to payroll accounting and accounting. Organization Unit An object used to depict the basic structure of an organization. Organizational units are functional units of a company. Depending on how tasks are distributed at a company, organizational units can be departments, groups or project teams. Organizational units are different from other entities at a company such as personnel areas, company codes, and business areas. These are used to depict administrative or accounting structures in the corresponding components. Payroll Area A group of employees included in the same payroll run. A payroll area is used to group employees together who have the same payroll periodicity, for whom the payroll runs at the same time, who have the same payment date, and to whom the same earliest possible retroactive accounting period applies. Examples:
Payroll area Salaried Employees (monthly payroll run on 25th of each month) Payroll area Retired Employee (monthly payroll run on 20th of each month) Payroll area Weekly Wage Earners (weekly payroll run on each Friday)
Personnel Administrator Portal role that performs all tasks related to managing employees. He or she primarily performs personnel services, management and advising tasks for the specialist fields. Typical tasks in this area are:
Administrating/changing HR master data, (such as new hires, salary changes, transfers, employess on leave, and so on) Administrating personnel appraisals Processing organizational data Year-end closing work Statements and providing information
162
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Creating diverse, sporadic required evaluations Advising all employees, retired employees, and managers
Other personnel management tasks such as anniversaries/birthdays, cooperating with the organization, or performing work's council and spokespersons' committee elections, cooperating with the mass creation of messages, and so on. Personnel Area A personnel area is an organizational entity representing an area within an enterprise defined by specific aspects of personnel administration, time management and payroll. Personnel areas are subdivided into personnel subareas. Personnel Subarea An organizational entity that represents part of a personnel area. It is delimited according to personnel administration, time management, and payroll accounting criteria. Planning Group The customers and vendors in cash management and forecast are assigned to a planning group that reflects certain characteristics, risks or the type of business relationship in question, for example:
Plant
Customer - Bank collection Customer - Crisis area Vendor: - Member of a consolidation group
In Logistics a plant is an organizational unit for dividing an enterprise according to production, procurement, maintenance, and materials planning. A place where materials are produced, or goods and services are provided. Plant Location Plant location attributes. Purchase Group A key for a buyer or group of buyers responsible for certain purchasing activities. The purchasing group is internally responsible for the procurement of a material or a class of materials The principal channel for a company's dealings with its vendors.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
163
Purchase Organization An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with vendors. The purchasing organization assumes legal responsibility for all external purchase transactions. Sales District A geographical sales district or sales region. You can assign customers to a sales district and use the sales district to generate sales statistics. Sales Group Organizational unit that performs and is responsible for sales transactions. Constituent component in a distribution chain (with a sales manager per sales group, for example). Sales groups can be used for reporting purposes. In its capacity as a customer, a store can have a sales group assigned to it; this sales group is then responsible for sales to this store. Sales Office A organizational unit in a geographical area of a sales organization. A sales office establishes contact between the firm and the regional market. Constituent component in a distribution chain (with a sales manager per sales group, for example). Sales groups can be used for reporting purposes. In its capacity as a customer, a store can have a sales group assigned to it; this sales group is then responsible for sales to this store. Sales Org Hierarchy Hierarchy associated with Sales Organizations Sales Organization A organizational unit in Logistics that structures the company according to its sales requirements. A sales organization is responsible for selling materials and services. Storage Location An organizational unit that allows the differentiation of material stocks within a plant. The storage location is hierarchically situated between the plant and the warehouse number. Supply Area The production supply area exists directly in the production area. You stage the material in the production supply area in productions storage bins, so that it can be removed directly for production.
164
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
The production supply area groups together work centers near to production storage bins, taking the material staging type into consideration. Valuation Area An organizational unit in Logistics subdividing an enterprise for the purpose of uniform and complete valuation of material stocks. Warehouse An organizational division of a plant for managing materials stored in different places. Work Contract A contract under private law in which the employee undertakes to work directly for the employer, and the employer undertakes to remunerate the employee.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
165
Salary Range Defines the minimum, midpoint and maximum reported for the job by organizations with a formal salary structure. The salary range reflects the market value of a job. Wage Type Object in Payroll and Personnel Administration in which the user or the system stores amounts and time units that are used, for example, for calculating pay or for determining statistics. Wage types separate amounts and time units for various business purposes. This also enables the system to process amounts and time units in different ways during the payroll run.
PEOPLE
People dimensions describing persons with specific job functions in an operational setting:
Accounting Clerk - Person responsible for collections or payments. Sales Person - Person responsible for selling goods to the customer. Service Person - An employee who is actively involved in troubleshooting, maintenance, and repair activities.
POSITION
An organizational object used to distribute tasks to posts in an organizational plan and to model the reporting structure between posts. Positions are concrete posts in an enterprise, which can be occupied by holders (employees or contractors), for example purchasing administrator, European sales manager, or secretary in the marketing department. Positions are not the same as jobs. A job is not a concrete position in an enterprise. It is a construct that enables you to create a number of positions with similar tasks and features.
PRICING PROCEDURE
Rule type for pricing. Defines the conditions which are permitted for a particular document and the sequence in which the system takes these conditions into account during pricing. The Standard Pricing Procedure contains the conditions most commonly used. These include material prices as well as various discounts and surcharges (freight, tax).
166
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Component An object used as part of a bill of material by entering the object number. Example: A material is entered as a component of a bill of material by entering the material number. A document is entered as a component of a bill of material by entering the document number, document type, document part, and document version. Control Key A key that specifies how an operation or a sub-operation is processed in functions such as orders, costing or capacity planning. The following are examples of processing types managed by a control key for operations and sub-operations:
Exception Text Text that describes an exception and is specified in an exception class. An exception text can be parameterized using the attributes of the exception class. Maintenance Activity Type A key for the type of maintenance activity provided. Activities are divided into repairs, shutdowns, regular activities, inspections and so on. In cost evaluations, for example, total costs or number of orders for each technical object, you can classify data according to maintenance activity type. Maintenance Priority The relationship between the order priority from a maintenance order and the requirement urgency. Malfunction Cause One of 3 pre-defined notification catalog objects - Malfunction Cause. Describes the incident or circumstances responsible for a malfunction Malfunction Damage One of 3 pre-defined notification catalog objects - Malfunction Damage. Describes the breakage sustained by a technical object
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
167
Malfunction Effect Describes the consequences of the malfunction in the technical objects performance. Description of malfunction effects from T357A_T Malfunction Object Part One of 3 pre-defined notification catalog objects - Malfunctioning Object Part. Describes the physical location of the malfunction. Notification A data record with which a user informs the Plant Maintenance, Quality Management, or Customer Service department about an occurrence. The following notification categories are available:
Operation Suitability Key suitability required for carrying out the operation (for example, welding certificate or NC programming course) - from T423T Procurement Type A classification indicating whether a material is produced internally, procured externally, or both. Production Scheduler Production scheduler descriptive attributes from T024F Scheduling Error Planned order scheduling error texts from DD07T, domain TRMER. Spare Part Indicator A material used to replace a defective part. This material may or may not be kept in stock. This table stores descriptions of these spare parts as defined in T413T. Special Procurement Type An indicator in the material master record that defines external procurement or in-house production of the material precisely. Example:
168
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
System Condition System Condition descriptive attributes from T253M_T. Variance Category A classification of variances based on their cause. You can calculate the following variance categories on the input side:
Scrap variances (only in Product Cost Controlling) Input price variances Resource usage variances Input quantity variances Remaining input variances Fixed cost variance (only in Overhead Cost Controlling) Mixed price variance (only in Product Cost Controlling) Output price variance Output quantity variance (only in Overhead Cost Controlling) Lot size variance (only in Product Cost Controlling) Remaining variances
You can calculate the following variance categories on the output side:
PROFIT CENTER
Organizational unit in Accounting that reflects a management-oriented structure of the organization for the purpose of internal control. Operating results for profit centers can be analyzed using either the cost-ofsales approach or the period accounting approach. By analyzing the fixed capital as well, you can expand your profit centers for use as investment centers.
PROJECT
A complex structure of tasks within a controlling area. It is used to control and monitor the schedule, resources, capacities, cost, revenues, and funds availability.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
169
PRT
(Production Resource Tool) A moveable operating resource used in production or plant maintenance. PRT includes the following sub-classes: PRT Category Descriptive attributes from TCF03 of Production Resource/Tools categories PRT Grouping Key Production Resource/Tools grouping key descriptive attributes from TCF1 PRT Status Descriptive attributes for PRT status from TCF05
ROUTING
A description of the production process used to manufacture materials or provide services in the manufacturing industry. Routing includes the following sub-classes: Order Operation Order Operation including Sequences from AFVC Routing Operation Routing master data from PLPO. Routing Sequence Routing (Task List) sequence definition from PLFL Task List Type A tool that classifies task lists according to function. In PP, the following task list types are used:
Task List Usage Task List Usage descriptive attributes from TC23T.
170
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Time Dimensions Allow you group data in reports by standard time measurement units such as month, year, and quarter. The following aliases of time are included in this universe:
Document Date Time Dim Early Start Time Dim Hire Date Time Dim Notification Time Dim Participation Time Dim Payroll Run Date Time Dim Planned Open Date Time Dim Weekly Time Dim
FISCAL PERIOD DIMENSIONS Fiscal periods within a fiscal year for which transaction figures are updated. Every transaction that is posted is assigned to a particular posting period. The transaction figures are then updated for this period. Fiscal years are divided into halves, quarters, periods, and months for reporting purposes. Fiscal years and fiscal calendars are defined by the fiscal year variant. There can be 12 regular fiscal periods, and 4 special processing periods. Fiscal periods are numbered 1 - 12 for regular periods, 13 -16 for special periods. SAP Master Data universe provides these aliases for Fiscal Period analysis:
Calendar Dimensions Certain Rapid Marts carry calendars subject areas specific calendars. Included here are:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
171
Base Unit of Measure Downtime Unit of Measure Duration Unit of Measure Offset Unit of Measure Standard Unit of Measure Time Interval Unit of Measure Work Unit of Measure
VENDOR
Business partner to whom amounts are payable for goods delivered or services performed. Examples of such services/goods include: Goods acquired, Business services received, The transfer of a right. VENDOR also contains the following subclasses:
WORK CENTER
An organizational unit that defines where and when an operation should be carried out. The work center has a particular available capacity. The activities performed at or by the work center are valuated by charge rates, which are determined by cost centers and activity types. Work centers can be:
Work Center Category Work Center Category Attributes from TC30T. Work Center Formula Capacity formulas from TC25; parameters are parsed from the formula equation text.
172
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
INVALID HIERARCHIES
This set of classes reports hierarchy records that have failed validation in the Data Services job. Use this information to correct the source records in SAP solutions. Corrected data will be reloaded into the proper tables with the next Data Services job run. The sub-classes are:
Invalid Activity Hierarchy Invalid Cost Center Hierarchy Invalid Cost Element Hierarchy Invalid Functional Area Hierarchy Invalid GL Acct Hierarchy Invalid Internal Order Hierarchy Invalid Profit Center Hierarchy Invalid Project Element Hierarchy Invalid Work Center Hierarchy
FILTERS
This top level folder represents pre-defined conditions that can be included in any report (filters). They are organized by subject area, and include the following sub-classes:
Benefits Filters Company Code Filters Employee Filters Financial Document Type Filters Fiscal Period Filters Hierarchy Filters
Activity Filters Bill of Materials Filters Cost Center Filters Cost Element Filters Equipment Filters Functional Area Filters Functional Location Filters GL Account Hierarchy Filters Internal Orders Hierarchy Organization Unit Filters Position Filters
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
173
Profit Center Hierarchy Filters Project Element Filters Work Center Filters
TECHNIQUES
These are advanced technique objects developed for the Web Intelligence reports.
174
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
175
176
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
177
Structure Divergences
Some tables are not joined to other tables. This is because we use only aliases of those tables in the universe. However, the original table must remain as a placeholder for the original table name. Also, validation tables (those ending in _BAD) are not joined to other tables.
Cardinality Divergences
These are caused by the use of the @prompt function in the join. Since this function requires user intervention to complete the SQL join condition, the Universe Designer cannot check the cardinality vs. the database. Note: The error messages are specific to your database server. Thus Oracle, SQL-Server, and DB2 will have different messages for the same errors.
178
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
2.
3.
4.
5.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
179
180
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
chapter
Overview
This chapter contains the information you need to install the SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions. The information in this chapter is useful for system administrators or others who install the Rapid Mart. See Documentation References chapter for Data Services and BusinessObjects Enterprise installation and configuration documentation location. This chapter contains the following sections: System Prerequisites Personnel Prerequisites Rapid Mart product components Preparing your environment The Rapid Mart Package Install the Rapid Mart Target Schema Install the Data Services Job(s) Installing Rapid Mart Reporting Content
182
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
System Prerequisites
To run the SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions, you need the following: SAP solutions release 4.6 or higher.
SAP BusinessObjects Enterprise XI Release 2 or higher (for reporting content only) SAP BusinessObjects Data Services XI 3.2, or higher A Target database that is one of:
Oracle Microsoft SQL Server IBM DB2 UDB Teradata Note: Using Teradata as a target requires additional customizations and modifications to the Rapid Mart. View xi3_rm_sap_td_suppl_en.pdf document for details. We recommend that your consulting or technical staff be well versed in both Teradata and Data Services functionality before proceeding.
Consult the Supported Platforms document for details on supported versions of:
If you are installing the Rapid Mart over network, the system you are using needs to have at least:
SAP BusinessObjects Data Services XI 3.2 Designer or higher SAP BusinessObjects Enterprise XI Release 2 Client or higher
If you have questions about system prerequisites, contact SAP BusinessObjects Technical Support.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
183
Personnel Prerequisites
The Rapid Mart installation procedure is completely manual. There are many intricacies. We recommend the team installing the Rapid Mart be fluent with these SAP BusinessObjects products:
Data Services
Designer Job Server Web Administration Universe Designer Web Intelligence Query Designer
BusinessObjects Enterprise
For additional support we recommend expertise in: SAP solutions Administration (BASIS) Target Database DBA (Database Administration)
184
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP_Integrated_Model.erwin
The model is built with AllFusion ERwin Data Modeler Release: 7.2. If you have ERwin release 7.2 or higher available, you can load the file and use it to extend and customize the data model. The model is used to generate SQL scripts for:
Creating Rapid Mart tables and views Dropping Rapid Mart tables and views Creating Rapid Mart indexes Dropping Rapid Mart indexes Creating database stored procedures Dropping database stored procedures
User Guide Release Notes Deployment Guidelines for Oracle Integrated Data Model User Guide White Paper on Rapid Marts manual upgrade process Customizing Rapid Marts for Teradata Supplement Rapid Marts Word Utility User Guide.
ETL (Extract Transformation Load) logic including: SAP BusinessObjects Data Services XI 3.2 ATL file that specifies the full (initial) load and incremental (delta) update jobs. These jobs perform the extract from SAP solutions and load to the Rapid Mart target tables
Auxiliary Data Files used by the jobs Source code for custom ABAP programs used by the jobs
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
185
Sample reporting SQL (DML): This is the SQL source statements extracted from each of the sample Web Intelligence reports delivered with the Rapid Mart. It also includes sample SQL (DDL) for suggested database procedures. Utilities (Rapid Mart Word Utility and Metadata Discovery Utility.) Both Word Utility and Metadata Discovery Utility are metadata reporting solutions designed to help you with the manual upgrade process and to enforce pre-defined naming conventions when developing or customizing Rapid Mart data model(s). It also provides better exposure of the data model metadata details.
Visuals contains the Rapid Mart BIAR file (reporting content). These are the sample Webi reports and universes (semantic layer) included with the Rapid Mart.
186
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Install SAP BusinessObjects Data Services XI 3.2 or higher, if it is not already installed. Refer to the Data Services Installation Guide for detailed installation instructions. Make sure that you install the Data Services Designer and that you install and configure a Job Server and an Access Server. Though you need Data Services job server to run Rapid Mart jobs, you need just Data Services Designer to install Rapid Mart. Create a separate repository for Rapid Mart(s) after the Data Services installation using the Repository Manager. A Data Services repository is required to install the Rapid Mart ETL job (ATL file). It is recommended to import the ATL file(s) into an empty Data Services repository. Multiple Rapid Marts can be installed in the same repository. Make sure that the Job Server is associated to the repository. The association sign in the right bottom corner of Data Services Designer should be on:
Start Data Services Designer and log on to the repository where you are going to install the Rapid Mart. This step ensures that your default connection is set appropriately. Exit Data Services Designer.
Currently the Rapid Mart supports Oracle, MS SQL Server, Teradata, and DB2 as target databases.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
187
Ensure there is an empty database schema/user for use as target database. Create one if necessary. Be sure to have the target database connection information (user name, password, etc.) available. Target database connection information is required when setting up connectivity in Data Services Designer. If your target database is Microsoft SQL-Server, make sure the database uses Case Sensitive collation (like Latin1_General_BIN).
See Data Service Supplement for SAP document for details on how to setup connectivity between Data Services and SAP.
Ensure the SAP BusinessObjects Enterprise XI Release 2 or higher Client is available on your installation machine. Ensure BusinessObjects Enterprise Client has correct connectivity to the CMS you will use for the sample reporting content. The CMS must also be SAP BusinessObjects Enterprise XI Release 2 or higher. Ensure the Import Wizard utility is available to import the BIAR file.
Performance Tuning
The table and index creation scripts provided in the Rapid Mart are a guideline and starting point. As no two installation environments are the same, we recommend a performance tuning analysis of the target environment considering:
Volume of data to be loaded, including growth rates Physical disk layout and requirements Network bandwidth Frequency and duration of loads
188
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Reporting query volumes and most frequently used subject areas Hardware configuration and capacity for all servers involved:
SAP solutions server(s) Data Services Job Server(s) Target Database Server(s) BusinessObjects Enterprise Server(s)
From this analysis you will be able to implement proper database storage parameters and proper indexes for your environment. It is invaluable to have a qualified DBA and appropriately trained technical staff for this analysis.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
189
190
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Installing the Rapid Mart Install the Rapid Mart Target Schema
Create the target schema using the files from the sub-directory for your target database. Note: The integrated data model includes the tables, views, and indexes used by all Rapid Marts for SAP solutions. Thus, execute the set of scripts only once when installing multiple Rapid Marts. The set of scripts is identical in all Rapid Marts for SAP solutions.
SAP_Create_Tables.sql SAP_Create_Comments.sql
As a quick start, execute the scripts in your target database. It will create all database tables and views used by the Rapid Mart. Creating comments is optional. It will ensure that Data Services will store tables and views with descriptions in its repository after you re-import the tables and views. Note: Please read notes below, and apply as needed: 1. Use the results of Performance Tuning analysis to guide you in the process of allocating storage space and physical disk location for your tables You may want to modify the table create script to include these parameters before execution. If your target database is DB2 without Code Set UTF-8 (without multi-byte character support), you will need to edit the SAP_Create_Tables.sql script. Change all occurrences of data type VARGRAPHIC to VARCHAR before creating tables.
2.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
191
Installing the Rapid Mart Install the Rapid Mart Target Schema
3.
If your target database is DB2 with Code Set UTF-8 (with multi-byte character support), you do not need to make changes to SAP_Create_Tables.sql script. If your target database is DB2, regardless of Code Set, you must have at least one tablespace with page size = 8 Kilobytes to accommodate column size (table width) on some tables. The tables affected by this are:
4.
SAP_Create_Indexes_All.sql SAP_Create_Indexes_Performance.sql
The first script includes all indexes for all tables in the data model. These include indexes for each foreign key in the model. The second script is a subset of indexes (from SAP_Create_Indexes_All.sql) tuned for performance in our internal SAP BusinessObjects development environment. This includes optimization for both Data Services load performance and reporting performance. For a quick start, we suggest starting with the SAP_Create_Indexes_Performance.sql file, and then creating / dropping indexes as needed in your environment. Note: Use the results of Performance Tuning analysis to guide you in the process of:
You may want to modify the index creation scripts to include these parameters before execution.
192
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Installing the Rapid Mart Install the Rapid Mart Target Schema
Create_Dummy_Maintenance_SP.sql
Execute this file in your target database environment to create the dummy procedures. You can modify these procedures to help load performance. For example, the first procedure could be modified to drop secondary (foreign key) indexes on the fact table before a load. The other, could be modified to re-create these indexes (for query performance) at the end of the load. The Rapid Mart contains an example (File Create_Sample_Maintenance_SP.sql in the Sample directory) of how to do this with an Oracle target database.
Drop_Dummy_Maintenance_SP.sql Note: The Oracle version of Create_Dummy_Maintenance_SP.sql uses Oracles create or replace syntax. Thus, no drop script is provided for Oracle.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
193
(RM_ABBR)_Rapid_Mart.atl SAPAR_Rapid_Mart.atl
R3_DS for the SAP solutions data store RM_DS for the target database data store
If you are satisfied with these names, proceed to the next step, Import ATL File. To rename the data stores proceed as shown below. Note: This step is prone to human error. We strongly urge you to make a backup copy of the ATL file before you start. Open the ATL file in a text editor such as Wordpad. Note: DO NOT use Notepad. Notepad does not handle text wrapping properly and will corrupt the ATL file. We suggest Wordpad instead. Use the global replace function or replace all function to change all occurrences of the default SAP solutions data store name with one of your choosing. Example: using Wordpad
194
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
195
Repeat these steps for the RM_DS data store Save the ATL file. Note: DO NOT use the same name for the R3_DS and the RM_DS data stores as this will corrupt the file.
Start Data Services Designer and log on to the local repository where you are going to install the Rapid Mart. Note: The example below uses the ATL file for the SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions. Be sure to use file SAPAR_Rapid_Mart.atl instead of the file name shown in the example.
196
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
197
Click OK to any warnings. You might get pop-up windows warning that the import may take a long time, or that the ATL file was created with a lower version of Data Services. Answer OK to any of these. This will start the import process. Data Services will import the ATL file, creating all the repository objects required to run Rapid Mart load jobs.
198
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
199
200
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Click OK to close Edit Window Click OK to Close Advanced Window The Data Store window should close without any warnings or errors, indicating successful connection and log-in to the SAP solutions server. Note: The local repository must be associated with the Data Services Job Server to complete the R/3 datastore configuration successfully. Re-import R/3 tables used by the Rapid Mart. Use R/3 datastore Reimport All... command you can access by right-clicking on the R/3 datastore name.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
201
202
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
203
Example: If your target database is Oracle, you would only change settings in Configuration1 column. For SQL-Server, change only Configuration2 column, etc. Note: For RM_USER alias, enter the target database schema owner:
For SQL Server - dbo For Oracle and DB2 UDB - database user name For Teradata - the schema owner
204
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Click OK to Close Advanced Window The Data Store window should close without any warnings or errors, indicating successful connection and log-in to the Target Database server. Re-import target tables used by the Rapid Mart. Use the target datastore (RM_DS) Reimport All... command you can access by right-clicking on the target (RM_DS) datastore name.
dates.dat
This file is used to load the Fiscal Period and Time Dimensions. After unzipping, this file is located in the ETL subdirectories, the path is:
...\ETL\Files\Data\
Note: There may be additional Rapid Mart specific files in this directory.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
205
All files in this directory must be moved to the working directory you specified when Adjusting the Data Stores, as shown below:
They are used when regular Data Services transformations are insufficient to extract the data. For example, they are used to read from a clustered table in SAP solutions.
206
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Cost Center Rapid Mart, version for SAP solutions SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions SAP BusinessObjects Production Planning Rapid Mart, version for SAP solutions ...\ETL\Files\ABAP\ RF011F_NEW.aba RF011F_OLD.aba RF011P_NEW.aba RF011P_OLD.aba etc.
Some examples of the files found in the Cost Center and GL Rapid Marts are:
Note: For SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Only: be sure to choose the correct files for your SAP solutions version: There are two versions of these files:
PA0167_ABAPXFORM.aba PA0168_ABAPXFORM.aba
If you are running SAP solutions version 5.0 or newer, choose the files in directory: ...\ETL\Files\ABAP\ABAP50 If you are running SAP solutions version 4.6, choose the files in directory: ...\ETL\Files\ABAP\ABAP46
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
207
All these files should be moved to the Generated ABAP directory you specified when Adjusting the Data Stores, as shown below:
Then, make sure the Data Services transforms using these files point to the Generated ABAP directory as shown below.
208
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
1.
Open Data Services and navigate to the Transforms tab of the Local Object Library:
SAP BusinessObjects Cost Center Rapid Mart, version for SAP solutions SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions SAP BusinessObjects Production Planning Rapid Mart, version for SAP solutions
For the rest of Rapid Marts, you will not see Custom ABAP transforms in the Transforms tab.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
209
2.
Then, change path to be the same as where the ABAP files are installed
3. 4. 5.
Repeat this step for all the other ABAP transforms in the Object Library Save the changes Validate the Data Services jobs to ensure they are working correctly.
Final Steps
If your Job Server runs on a UNIX system, using Data Services Designer adjust the directory paths in all Rapid Mart file format definitions to follow the UNIX convention (that is, change from / to \).
210
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Before running the job, you must initialize some global variables. For information about executing the Rapid Mart job, see Chapter 7: Using the Rapid Mart. Rapid Marts are developed against standard out-of-the-box SAP solutions installation. It is important that during the Rapid Mart implementation you:
Re-import all Rapid Mart source objects (tables, hierarchies, functions, etc.) to have object customization captured; Review each Rapid Mart dataflow to make sure that its Query transform(s) contain(s) proper constraints when extracting data from the source tables. Adjust WHERE conditions in Query Transforms if necessary. Look for hard-coded constraints and other conditions that need to be customized.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
211
Note: We recommend that you start with a clean CMS, or by deleting any old versions of Rapid Mart reports or universes. This will avoid confusion with older versions.
Start the Import Wizard and follow these instructions. Note: The screen shots here are from SAP BusinessObjects Enterprise XI Release 3. Some screens do not appear in SAP BusinessObjects Enterprise XI Release 2. The missing screens are indicated below. If you are using SAP BusinessObjects Enterprise XI Release 2, simply ignore the missing screens.
212
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
213
Note: The BIAR file for the SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions is used in this illustration. You should use the proper file for the Accounts Receivable Rapid Mart located in Directory: ...\Visuals File: sapar_Rapid_Mart_Visuals
214
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Choose CMS:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
215
Note: The number of boxes to check on this screen may vary between BusinessObjects Enterprise releases. Regardless of release, just make sure only the import folders and objects box is checked. Do not click Next on this screen. Proceed to next page.
216
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Note: The number of boxes to check on this screen may vary between BusinessObjects Enterprise releases. Regardless of release, just make sure only the import universes box is checked.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
217
Note: This screen does not appear in SAP BusinessObjects Enterprise XI Release 2
218
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
219
220
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
221
222
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Write down universe names. There can be more than one universe per a Rapid Mart. You will need these names later when creating Universe connection.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
223
Note: This screen does not appear in SAP BusinessObjects Enterprise XI Release 2
224
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
225
226
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
227
228
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Start the Universe Designer, and import the universe(s) by choosing File -> Import. Select universe(s) you wrote down when importing the BIAR file in the previous step and import all of them. Then, navigate to the Universe Parameters Screen:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
229
For each universe, either choose an existing connection to Rapid Mart target database, or create a new one:
Note: This illustration uses the SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions as an example only. The Universe Designer will show the correct universe name for your Rapid Mart Note: Consult the SAP BusinessObjects Universe Designer Guide for details on how to assign or create a connection. When done, export the universe(s) back to the CMS by choosing File -> Export in the Universe Designer. This concludes Rapid Mart installation.
230
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
chapter
Overview
This chapter describes how to execute the Rapid Mart, including information about the variables that the Rapid Mart uses. This chapter also discusses considerations you need to make when customizing the Rapid Mart. The information in this chapter is useful for administrators and others who run or modify the Rapid Mart. Specific topics include:
Recovery framework Execution status framework Extraction, transformation and loading process Executing the job Global Variables Customizing the Rapid Mart
Recovery framework
When executing the Rapid Mart, it is important that you do not load any duplicate data and that you do not extract data redundantly, even in cases of failure. There are two mechanisms to ensure that you do not load duplicate data:
232
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
The automatic recovery option is useful during testing and development phases. However, use caution with this feature during a production run because the data may lose its integrity if significant changes in SAP solutions source tables occur between the failed run and the recovery run. For example, suppose two tables contain related data but are loaded in separate work flows. In this case, the job can fail after successfully completing the work flow that loads the first table but before completing the work flow that loads the second table. During recovery, Data Services does not re-run a successfully completed work flow; therefore, the first table is not loaded again. However, Data Services will run the work flow that loads the second table during the recovery job. If the work flow loads the entire table regardless of dates, the second table will contain data added to SAP solutions between the initial run and the recovery run, but the first table will not contain this data. As a result, the two tables will be inconsistent.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
233
To maintain consistency with data flowing to SAP solutions, the Rapid Mart always overlaps one days worth of data in incremental loads. For example, if the end date is June 3, the incremental load job extracts data entered or changed on June 3. The next incremental load job extracts data starting with the June 3 date. Up to one days worth of duplicate data may be extracted each time the job runs; however, work flows are designed to detect and delete duplicate data from the target data table before reloading the refreshed data. To do this, many work flows use the auto correct load option or the Table Comparison transform. Both of these check for an existing row with the same key as each row flagged as an insert or update activity. If the row exists, Data Services updates the row. If the row does not exist, Data Services inserts the row.
An execution status table that stores one record for each job. That record contains:
Status of previous job execution Starting and ending times of the last attempted execution of the job
An application programming interface (API) that updates the status table and supports the implementation of restartable jobs and flows
234
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
None The job status is none when the job has never been executed. Started Job status is set to started when a new invocation of a job starts. Done Job status is set to done when a job completes successfully.
When a job is started, the Rapid Mart checks the jobs existing status. If the previous execution of the job did not complete successfullythat is, the job status is not donethe Rapid Mart resets the starting date for data extraction ($G_SDATE) from the value specified in the job initialization script to the ending date of the last successful run (EXTRACTHIGH). You can override the reassignment of the starting date by forcing the starting date to be reset. See Executing a job with the Reset option on page 236. The Rapid Mart never changes the ending value ($G_EDATE) from the value specified in the initialization script. After checking the jobs existing status, the Rapid Mart sets the status of the job to started, and starts a new execution of the job. When a job successfully completes, the Rapid Mart sets the jobs status to done. If the job does not complete successfully, the jobs status remains set to started. The EXTRACTLOW and EXTRACTHIGH dates remain set to the current values.
AW_StartJob ($jobname input, $run_mode input, $load_type input, extractlow input/ output, extracthigh date input/output)
The InitializeJob script calls this function to initialize a job and check the last execution status. When called for a new job execution, the function inserts a new row into table AW_JOBEXECUTION. When called for a restarted job execution, the function:
Checks the run mode to see if you set the reset option. If $G_RUN_MODE is RESET, the function resets EXTRACTLOW and EXTRACTHIGH to the $G_SDATE and $G_EDATE values specified in the initialization script.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
235
Checks the last execution status of the job. If the job status is done, the function sets EXTRACTLOW to the previous value of EXTRACTHIGH, the last successful end date; next, the function sets EXTRACTHIGH to the value of $G_EDATE, which you set in the initialization script. The function returns the values in EXTRACTLOW and EXTRACTHIGH and the Rapid Mart uses these values to update $G_SDATE and $G_EDATE. If the job status is started, the function does not change the value of EXTRACTLOW. Instead, this value remains the end date of the last successful execution. The function does change EXTRACTHIGH to the new value set in $G_EDATE. The function returns the EXTRACTLOW and EXTRACTHIGH values, and the Rapid Mart uses these values to update $G_SDATE and $G_EDATE.
AW_EndJob(job name)
The EndJob script calls this function to change the job status value in the AW_JOBEXECUTION table to done when the job executes successfully.
236
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Job global variable properties. This window can be accessed by rightclicking on the Accounts_Receivable_Load_SAP job and selecting the Properties command from the drop-down list. Most of the Accounts Receivable Rapid Mart global variables are initialized here.
An initialization script. The script contains description of each global variable set in the job Properties window. It also completes several steps:
Sets the initial values of the Rapid Mart framework variables that the job uses Initiates the execution status framework
Note: If you plan to change global variable settings from the default as shipped values, we suggest you do so in the initialization script. The initialization script executes after the global variables are set in the
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
237
properties window. Thus, you can preserve the as shipped values for reference in the properties window, while still using your own values as set in the initialization script.
Sections that load a set of tables you can use to analyze and report on a particular Subject Area in the Rapid Mart. A section consists of:
A work flow that loads the reporting dimensions applicable to the subject area. Work flows that load holding tables, intermediate tables, and auxiliary tables that support loading the main subject area tables. Some of these flows might be reusable components, which can be incorporated into multiple sections of Rapid Marts. Components have the execute once feature enabled. A conditional object that determines whether the job executes the initial or incremental loading logic. Work flows that load the main tables for the subject area. These tables are generally called fact tables in relational modeling terminology. A section loads a single fact table and any additional fact tables that depend on it. For example, an order analysis section might load an order table and an order summary table.
Initial (First) Extraction and Load Incremental (Delta) Extraction and Load
238
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
c.
Set the starting date (the value for $G_SDATE) low enough to select the earliest data desired for all target tables. Set the ending date (the value for $G_EDATE) to the current date. Set values for the rest of global variables in the Properties window or the job initialization script, and click OK to accept the set properties and to close the window.
d.
Note: We suggest setting global variables in the job initialization script. That way the Properties window will preserve the as delivered settings, while the initialization script will show your custom settings. The initialization script executes after the values in the Properties window are set, and overrides the setting in the Properties windows. You can also set global variable values after you select Execute command from the drop-down menu in the project area. For more information about the variables see Executing the job on page 238. 3. Run the job. a. b. In the project area, right-click the job and choose Execute. Data Services opens the Execution Properties window. Select the desired execution properties. At this point, you must decide whether or not to enable automatic recovery. See Data Services User Guide for more information. If you enabled automatic recovery and a job failed, you can recover from the failed job at this time. c. Click OK to accept the selected properties and start the job. The job completes several steps:
Initializes the variables to the values you set in the initialization script. Calls components to load the tables. Generally, the job truncates the tables before loading them during the initial job. Some components, such as work flows that load dimension tables, are repeated. The job only executes these components the first time because these work flows and data flows are set to execute only once.
4.
Check the error log and the execution status table to make sure the job ran successfully.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
239
c. d.
Note: We suggest setting global variables in the job initialization script. That way the Properties window will preserve the as delivered settings, while the initialization script will show your custom settings. The initialization script executes after the values in the Properties window are set, and overrides the setting in the Properties windows. 2. Run the job. a. b. In the project area, right-click the job and choose Execute. Data Services opens the Execution Properties window. Select the desired execution properties. At this point, you must decide whether or not to enable automatic recovery. See Data Services User Guide for more information about automatic recovery. If you enabled automatic recovery and a job failed, you can recover from the failed job at this time. c. Click OK to accept the selected properties and start the job. The job completes several steps:
Initializes the variables to the values you set in the initialization script.
240
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Calls components to load the tables incrementally, inserting new and changed data since the last job execution. The job deletes outdated data from the target tables, and reloads the target tables with new and changed data. The incremental load uses the append option to load most tables. Some components, such as work flows that load dimension tables, are repeated. The job only executes these components the first time because these work flows and data flows are set to execute only once.
3.
Check the error log and the execution status table to make sure the job ran successfully.
Global Variables
All Rapid Mart jobs use a standardized set of Global Variables. For completeness, and multiple Rapid Mart integration. They are included with each Rapid Mart job, regardless if they are used by the job.
Used in All Rapid Marts Used in 2 to 10 Rapid Marts Used in Only 1 Rapid Mart
The global variables in each of these sections are described in detail after the matrix. Global Variable Name Data Type
varchar(4) datetime int varchar(1) datetime
AP AR CA GL HR
IA
PM PP PR PS SA
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
241
Data Type
varchar(1) datetime varchar(8) varchar(7) datetime varchar(1) varchar(10) datetime
AP AR CA GL HR
X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
IA
X X X X X X X X
PM PP PR PS SA
X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
242
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Data Type
varchar(2) varchar(1) varchar(10)
AP AR CA GL HR
IA
PM PP PR PS SA
X X
X X X X X X X X X X X X X X X X X X X X X X X X X X
$G_GL_SUM_PLAN_LEDGE varchar(2) R_ID $G_GL_VERSION $G_HIRE_ACTION_01 $G_HIRE_ACTION_02 $G_HIRE_ACTION_03 $G_INIT_HIST_CHG varchar(3) varchar(2) varchar(2) varchar(2) varchar(1)
$G_ONTIME_DELIV_WINDO int W $G_PC_ACCOUNT_HIER_N AME $G_PROFIT_CENTER_LED GER_ID $G_REHIRE_ACTION_01 $G_REHIRE_ACTION_02 $G_RETIRE_ACTION $G_SAP_VERSION $G_SCHOOL_TYPE varchar(10) varchar(2) varchar(2) varchar(2) varchar(2) int varchar(2)
$G_SERVICE_INTERVAL_01 int $G_SERVICE_INTERVAL_02 int $G_SERVICE_INTERVAL_03 int $G_SERVICE_INTERVAL_04 int $G_SERVICE_INTERVAL_05 int $G_TABLE_EQUIPMENT varchar(20)
$G_TABLE_FUNCTL_LOCAT varchar(20) N
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
243
Data Type
AP AR CA GL HR
X X
IA
PM PP PR PS SA
$G_TASK_TYPE_PROBATIO varchar(2) N_END $G_TERMINATION_ACTION $G_VALID_DATE $G_WAGE_TYPE_01 $G_WAGE_TYPE_02 $G_WAGE_TYPE_03 $G_WAGE_TYPE_04 $G_WAGE_TYPE_05 $G_WAGE_TYPE_06 $G_WAGE_TYPE_07 $G_WAGE_TYPE_08 $G_WAGE_TYPE_09 $G_WAGE_TYPE_10 $G_WAGE_TYPE_11 $G_WAGE_TYPE_12 $G_WAGE_TYPE_13 $G_WAGE_TYPE_14 $G_WAGE_TYPE_15 $G_WAGE_TYPE_16 $G_WAGE_TYPE_17 $G_WAGE_TYPE_18 $G_WAGE_TYPE_19 $G_WAGE_TYPE_20 $G_WORKDAY_EDATE $G_WORKDAY_SDATE varchar(2) datetime varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) varchar(4) datetime datetime
X X X X X X X X X X X X X X X X X X X X X X X
244
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
The SAP solutions Company Code used for Time Dimension extraction. The fiscal variant associated with this company code is used to determine the fiscal periods of the Time Dimension. Set this to the Company Code that carries the Fiscal Calendar (determined by the Fiscal Variant) that best suits your needs.
$G_DEFAULT_DATE
Data Type: datetime Default Value: 31-Dec-9999 The default date for missing dates.
$G_DEFAULT_NUMBER
Data Type: int Default Value: -1 Default number for dimension default rows, foreign keys, and primary keys. Also used as a default for missing numbers.
$G_DEFAULT_TEXT
Data Type: varchar(1) Default Value: ? Default text for dimension default rows, foreign keys, and primary keys. Also used as a default for missing descriptions.
$G_EDATE
Data Type: datetime Default Value: NULL The ending date for data extraction. For first (initial) run or incremental (delta) runs, we recommend leaving this empty (null). The Initialize job script and function AW_StartJob will automatically determine the proper value. if you set the variable, jobs will not extract data entered into your SAP solutions system after this date. For example, if your end date is June 4, 1999, the jobs will not extract data for June 5, 1999 or later.
$G_LANGUAGE
Data Type: varchar(1) Default Value: E (English)
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
245
The language in which jobs extract text descriptions. Use the SAP solutions standard language abbreviations if you require a different language.
$G_LOAD_DATE
Data Type: datetime Default Value: System Date and Time Always set to current system date and time by the Job Initialization script. Do not change the setting of this variable.
$G_LOAD_TIME
Data Type: varchar(8) Default Value: System Time Always set to current system time by the Job Initialization script. Do not change the setting of this variable.
$G_LOAD_TYPE
Data Type: varchar(7) Default Value: FIRST Legal values:
$G_MAX_DATE
FIRST - for the initial or first load DELTA - for incremental or delta loads
Setting this variable to anything else will cause the job to fail.
Data Type: datetime Default Value: 31-Dec-9999 Used in date effective transforms to match SAP value for infinite date as end of validity period.
$G_REBUILD_INDEXES
Data Type: varchar(1) Default Value: N on Weekdays, Y on Weekends Legal values:
246
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
See Rapid Mart Deployment Guideline.pdf for more details on how to use this variable in conjunction with the stored procedures in file Create_Sample_Maintenance_SP.sql. These stored procedures drop indexes before a Fact Table load, and recreate the indexes when the load is complete. Use this variable to further restrict the drop and re-create to weekends only.
$G_RUN_MODE
Data Type: varchar(10) Default Value: NULL Legal values:
RESET - Forces job to reload from value set in $G_SDATE. NULL - Uses AW_JOBEXECUTION to determine $G_SDATE.
When set to RESET, this variable forces the Rapid Mart to use the starting extract date you have set for variable $G_SDATE. Otherwise, the setting is determine by querying table AW_JOBEXECUTION, and using the EXTRACTHIGH value of the last successful run.
$G_SDATE
Data Type: datetime Default Value: 01-Jan-1990 The start date for data extraction. During an initial extract, the job does not extract data that was entered into your SAP solutions system prior to $G_SDATE. For example, if your start date is January 26, 2000, the initial extract job does not extract data that was entered on January 25, 2000 or earlier. During incremental (delta) extractions, the job only extracts data modified or entered on or after this date. The incremental load job only uses the $G_SDATE when one of these conditions is true:
Execution status table AW_JOBEXECUTION has no rows that correspond to the current job. The variable $G_RUN_MODE is set to RESET in the initialization script for the job.
Otherwise, the incremental job determines $G_SDATE by querying table AW_JOBEXECUTION and using the EXTRACTHIGH of the last successfully executed job. If there was no previous successful execution, the EXTRACTLOW value is used.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
247
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions
1 of 4 configurable past time periods (in days) to use for aged receivables and payables and late payments.
$B
Data Type: int Default Value: 60 Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions
2 of 4 configurable past time periods (in days) to use for aged receivables and payables and late payments
$C
Data Type: int Default Value: 90 Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions
3 of 4 configurable past time periods (in days) to use for aged receivables and payables and late payments
248
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
$D
Data Type: int Default Value: 120 Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions
4 of 4 configurable past time periods (in days) to use for aged receivables and payables and late payments
$E
Data Type: int Default Value: 14 Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions
1 of 3 configurable forecast time periods (in days) used to calculate values of financial documents at future dates (for discounting purposes, etc.)
$F
Data Type: int Default Value: 30 Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions
2 of 3 configurable forecast time periods (in days) used to calculate values of financial documents at future dates (for discounting purposes, etc.)
$G
Data Type: int Default Value: 45
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
249
Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions
3 of 3 configurable forecast time periods (in days) used to calculate values of financial documents at future dates (for discounting purposes, etc.)
$G_ABSOLUTE_START_DATE
Data Type: datetime Default Value: NULL Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions SAP BusinessObjects Inventory Rapid Mart, version for SAP solutions
Earliest date to use for delta load of Financial Documents, (in AP, AR, and GL Rapid Marts). Closed documents created before this date WILL NOT be loaded to the Rapid Mart. It works in conjunction with variable $G_ORIG_SDATE for incremental loads that do not carry a date of last change in the SAP solutions tables. See the Technical Implementation chapter for each specific Rapid Mart for full details on how this variable is used. In General: If you set Absolute Start Date in the initialization script, this is the value that will be used in the delta load. If Absolute Start Date is NOT set in the initialization script (the default value NULL), the date of the earliest OPEN Document will be used. We use the earliest OPEN date because the earliest open document may have been closed since your last load. So, to be sure it is re-loaded as a closed item, we need to use the earliest open date from the last load. This is stored as the MIN(ENTRY_DATE) in associated Fact Table for open documents
250
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
$G_ENDFISCALYEAR
Data Type: int Default Value: NULL Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions SAP BusinessObjects Cost Center Rapid Mart, version for SAP solutions SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions SAP BusinessObjects Project System Rapid Mart, version for SAP solutions
Determines the last fiscal year to be extracted for certain incremental loads. This is used when a date of last change is not available in SAP solutions, but the fiscal year of a transaction is available. This is usually the year from global variable $G_EDATE.
$G_EXCHANGE_TYPE_ID
Data Type: varchar(4) Default Value: M - Standard Translation at Average Rate Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions SAP BusinessObjects Sales Rapid Mart, version for SAP solutions
$G_GLOBAL_CURRENCY
Data Type: varchar(5) Default Value: USD - U.S. Dollar Where Used:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
251
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions SAP BusinessObjects Sales Rapid Mart, version for SAP solutions
Global Currency Code. You assign a global currency for the Rapid Mart. Used to present a consolidated picture of monetary values in one universal currency.
$G_INT_ORDER_CATEG_PP
Data Type: varchar(2) Default Value: 10 Where Used:
SAP BusinessObjects Production Planning Rapid Mart, version for SAP solutions SAP BusinessObjects Project System Rapid Mart, version for SAP solutions
PRODUCTION_ORDER_FACT is a common table in each of these Rapid Marts. However, we extract a different Order Category in each. The default values for Production Orders (PP Rapid Mart) is 10 Note: If you have only the PP Rapid Mart set values for both $G_INT_ORDER_CATEG_PP and $G_INT_ORDER_CATEG_PS to 10.
$G_INT_ORDER_CATEG_PS
Data Type: varchar(2) Default Value: 20 Where Used:
SAP BusinessObjects Production Planning Rapid Mart, version for SAP solutions SAP BusinessObjects Project System Rapid Mart, version for SAP solutions
PRODUCTION_ORDER_FACT is a common table in each of these Rapid Marts. However, we extract a different Order Category in each. The default values for Network Orders (PS Rapid Mart) is 20 Note: If you have only the PS Rapid Mart set values for both $G_INT_ORDER_CATEG_PP and $G_INT_ORDER_CATEG_PS to 20.
252
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
$G_ORIG_SDATE
Data Type: datetime Default Value: NULL Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions SAP BusinessObjects Inventory Rapid Mart, version for SAP solutions
This is set on the first (initial) load. It is the value of $G_SDATE at the time of that first load. It is stored in database table AW_FIRST_RUN_DATE. During DELTA (incremental) loads, it is retrieved from that table. It is used in several Rapid Marts to determine the start date for the load of OPEN items. It works in conjunction with variable $G_ABSOLUTE_START_DATE for incremental loads that do not carry a date of last change in the SAP solutions tables.
$G_STARTFISCALYEAR
Data Type: int Default Value: NULL Where Used:
SAP BusinessObjects Accounts Payable Rapid Mart, version for SAP solutions SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions SAP BusinessObjects Cost Center Rapid Mart, version for SAP solutions SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions SAP BusinessObjects Project System Rapid Mart, version for SAP solutions
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
253
Determines the first fiscal year to be extracted for certain incremental loads. This is used when a date of last change is not available in SAP solutions, but the fiscal year of a transaction is available. This is usually the year from global variable $G_SDATE.
$G_BUS_PARTN_SDATE
Data Type: datetime Default Value: System Date - 8 Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions Used in data flow R3_SalesOrdVBPADelta. Tells how many days back in time we will check for changes in sales document partners (bill-to partner, ship-to partner, etc.) Used in conjunction with variable $G_BUS_PARTNER.
$G_BUS_PARTNER
Data Type: varchar(1) Default Value: Sunday = Yes, all other days = No Actual ATL Language Code: ifthenelse(day_in_week(sysdate())=7,'Y','N') Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions Used in Component Work Flow C_SalesOrderNumberDelta_SAP If Y (Sunday), the Rapid Mart will extract an incremental load of business partners going back the number of days set in variable $G_BUS_PARTN_DATE (see above).
254
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
$G_COST_OF_SALES_LEDGER_ID
Data Type: varchar(2) Default Value: 0L Where Used: SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions In New GL, identifies the subset of the New FI-SL Standard Ledger that is loaded into the Cost of Sales Detail and Summary Subject Areas. Choose the Ledger ID in your business that best captures the Cost of Sales functionality.
$G_COUNTRY_GRP
Data Type: varchar(2) Default Value: 10 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Default Country Grouping Code for HR as determined in SAP solutions table T500L.
$G_DEL_PERIOD
Data Type: datetime Default Value: System Date - 180 Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions Used in Sales Order Incremental Load. Determines how far back (in days) the Rapid Mart checks for orders that have been deleted in SAP solutions.
$G_DEL_REJECT_REASON
Data Type: varchar(2) Default Value: DD Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions Identifier used in the REJECT_REASON_ID field of SALES_ORDERS_FACT when a sales order line has been deleted in SAP solutions. The code is also added to the dimension table REJECT_REASON with the description Deleted.
$G_DROP_SHIP
Data Type: varchar(1)
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
255
Default Value: Y - Calculate backlog for third-party delivery Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions Third-party deliveries are those that are delivered by an outside (third-party) organization such as a fulfillment house. They can also be for an intangible material (such as a service) where no physical item is delivered. When set to Y (Yes) the Rapid Mart calculates backlog as:
Qty Ordered - Qty Invoiced (for third-party items) Qty Ordered - Qty Delivered (for all other items). Qty Ordered - Qty Delivered (for all items).
$G_GL_ACCOUNT_HIER_NAME
Data Type: varchar(10) Default Value: @GL Where Used: SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions The GL Account Hierarchy tables in the Rapid Mart use field HIER_ID to identify the source of the hierarchy entry. Data from SAP solutions transaction GS03, source hierarchy GLT0-RACCT are assigned @GL You can change the assignment of this variable. However, this is not a requirement. See Technical Implementation Chapter in the SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions User Guide for more information.
$G_GL_SUM_PLAN_LEDGER_ID
Data Type: varchar(2) Default Value: L6 Where Used: SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions In New GL, identifies the subset of the New FI-SL Standard Ledger that is loaded into the GL Plan and GL Summary Subject Areas. Choose the Ledger ID that best captures GL Summary and GL Plan functionality.
256
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
$G_GL_VERSION
Data Type: varchar(3) Default Value: (see below) Legal Values: OLD or NEW Where Used: SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions Tells which version of SAP solutions GL Module you use. Using NEW with SAP solutions releases older than ECC 5.0 is not possible as the New GL module did not exist in these earlier releases. In the SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions, there are two jobs, one for OLD GL and one for NEW GL. The default value in the NEW GL job is NEW. The default value in the OLD GL job is OLD.
$G_HIRE_ACTION_01
Data Type: varchar(2) Default Value: 01 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Hiring Action Variable 01
$G_HIRE_ACTION_02
Data Type: varchar(2) Default Value: 90 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Hiring Action Variable 02
$G_HIRE_ACTION_03
Data Type: varchar(2) Default Value: K1 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Hiring Action Variable 03
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
257
$G_INIT_HIST_CHG
Data Type: varchar(1) Default Value: Z Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions Used during the initial load of SALES_ORDER_HISTORY table. IF default value Z, then
$G_MALFUNCTION_CAUSE
Data Type: varchar(20) Default Value: 5 Where Used: SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions Catalog type to use for Malfunction Cause on Notifications. Choose your system notification catalog group type for Cause.
$G_MALFUNCTION_DAMAGE
Data Type: varchar(20) Default Value: C Where Used: SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions Catalog type to use for Malfunction Damage on Notifications. Choose your system notification catalog group type for Damage.
$G_MALFUNCTION_OBJ_PART
Data Type: varchar(20) Default Value: B Where Used: SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions
258
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Catalog type to use for Malfunction Object Part on Notifications. Choose your system notification catalog group type for Object Part.
$G_MRP_RESULTS_DELETE
Data Type: varchar(1) Default Value: N Where Used: SAP BusinessObjects Production Planning Rapid Mart, version for SAP solutions Determines if MRP Results should be deleted before an Incremental Load.
$G_ONTIME_DELIV_WINDOW
Data Type: int Default Value: 15 days Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions Used by On Time Delivery Section. Tells the system to limit On Time Delivery loads to a date range based on the Sales Schedule Lines Planned Goods Issue Date (SAP solutions field VBEP.WADAT). It means that the On Time Delivery will only process Sales orders scheduled to ship between 15 days in the past and 15 days in the future from system date.
$G_PC_ACCOUNT_HIER_NAME
Data Type: varchar(10) Default Value: @PC Where Used: SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions The GL Account Hierarchy tables in the Rapid Mart use field HIER_ID to identify the source of the hierarchy entry. Data from SAP solutions transaction GS03, source hierarchy GLPCT-RACCT are assigned @PC You can change the assignment of this variable. However, this is not a requirement.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
259
See Technical Implementation Chapter in the SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions User Guide for more information.
$G_PROFIT_CENTER_LEDGER_ID
Data Type: varchar(2) Default Value: L5 Where Used: SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions In New GL, identifies the subset of the New FI-SL Standard Ledger that is loaded into the Profit Center Detail and Summary Subject Areas Choose the Ledger ID that best captures Profit Center Summary and Profit Center functionality.
$G_REHIRE_ACTION_01
Data Type: varchar(2) Default Value: "JD" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Rehiring Action Variable 01
$G_REHIRE_ACTION_02
Data Type: varchar(2) Default Value: "N7" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Rehiring Action Variable 02
$G_RETIRE_ACTION
Data Type: varchar(2) Default Value: "ZP Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Retirement Action
260
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
$G_SAP_VERSION
Data Type: int Default Value: System Determined - see below Where Used: SAP BusinessObjects General Ledger Rapid Mart, version for SAP solutions Automatically determined in the Rapid Mart jobs. The first digit of the SAP solutions system variable SY-SAPRL. See Work Flow C_SAPVersion for more details. This value is also stored in the one row target table SAP_VERSION. Attempting to run the NEW GL job with SAP solutions older than release ECC 5.0 will cause the job to fail.
$G_SCHOOL_TYPE
Data Type: varchar(2) Default Value: "50" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions School Type
$G_SERVICE_INTERVAL_01
Data Type: INT Default Value: 6 (1/2 year) Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of 5 Intervals for determining Employee Length of Service. Values are in Months.
$G_SERVICE_INTERVAL_02
Data Type: INT Default Value: 12 (1 year) Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of 5 Intervals for determining Employee Length of Service. Values are in Months.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
261
$G_SERVICE_INTERVAL_03
Data Type: INT Default Value: 36 (3 years) Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of 5 Intervals for determining Employee Length of Service. Values are in Months.
$G_SERVICE_INTERVAL_04
Data Type: INT Default Value: 60 (5 years) Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of 5 Intervals for determining Employee Length of Service. Values are in Months.
$G_SERVICE_INTERVAL_05
Data Type: INT Default Value: 120 (10 years) Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of 5 Intervals for determining Employee Length of Service. Values are in Months.
$G_TABLE_EQUIPMENT
Data Type: varchar(20) Default Value: EQUI Where Used: SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions Initialize according to your system class type for Equipment master table name
$G_TABLE_FUNCTL_LOCATN
Data Type: varchar(20) Default Value: IFLOT
262
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Where Used: SAP BusinessObjects Plant Maintenance Rapid Mart, version for SAP solutions Initialize according to your system class type for Functional Location master table name
$G_TASK_TYPE_PROBATION_END
Data Type: varchar(2) Default Value: 01 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Probation End Task Type
$G_TERMINATION_ACTION
Data Type: varchar(2) Default Value: 10 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Termination Action
$G_VALID_DATE
Data Type: datetime Default Value: System Date (without Time) Where Used: SAP BusinessObjects Sales Rapid Mart, version for SAP solutions This is identical to variable $G_LOAD_DATE without the timestamp (midnight, beginning of the day). Used in the incremental load of Sales Organization Hierarchy for comparison to with the VALID_TO dates. Do not change the value in this variable.
$G_WAGE_TYPE_01
Data Type: varchar(4) Default Value: "/101" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
263
$G_WAGE_TYPE_02
Data Type: varchar(4) Default Value: "/110" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_03
Data Type: varchar(4) Default Value: "/401" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_04
Data Type: varchar(4) Default Value: "/403" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_05
Data Type: varchar(4) Default Value: "/404" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_06
Data Type: varchar(4) Default Value: "/405"
264
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_07
Data Type: varchar(4) Default Value: "/406" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_08
Data Type: varchar(4) Default Value: "/410" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_09
Data Type: varchar(4) Default Value: "/441" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_10
Data Type: varchar(4) Default Value: "/550" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
265
$G_WAGE_TYPE_11
Data Type: varchar(4) Default Value: "/560" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_12
Data Type: varchar(4) Default Value: "/5U0" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_13
Data Type: varchar(4) Default Value: "/5U1" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_14
Data Type: varchar(4) Default Value: "MI10" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_15
Data Type: varchar(4) Default Value: "/102"
266
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_16
Data Type: varchar(4) Default Value: "////" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_17
Data Type: varchar(4) Default Value: "////" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_18
Data Type: varchar(4) Default Value: "////" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WAGE_TYPE_19
Data Type: varchar(4) Default Value: "////" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
267
$G_WAGE_TYPE_20
Data Type: varchar(4) Default Value: "////" Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions One of upto 20 Wage Types used in SAP solutions table PCL2. Set Values to "////" if not used.
$G_WORKDAY_EDATE
Data Type: datetime Default Value: 01-Jan-1994 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions First date of date range to populated Working Days dimension
$G_WORKDAY_SDATE
Data Type: datetime Default Value: 31-Dec-2006 Where Used: SAP BusinessObjects Human Resources Rapid Mart, version for SAP solutions Last date of date range to populated Working Days dimension
268
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Job Properties:
InitializeJob Script
The script is divided into the same sections categorizing Global Variables as shown above:
Used in All Rapid Marts Used in 2 to 10 Rapid Marts Used in Only 1 Rapid Mart
Each of these sections in the script shows the same information as the sections above as comments. These are followed by a fourth section where the Conditional Global Variables are set.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
269
Note: The InitializeJob script is the first executable in any Rapid Mart job. If you have set Global variables on the Job Properties window in Data Services and also in the InitializeJob script, the values in the script will be used. They will override any setting in the Job Properties window. Tip: We suggest that you not touch the settings in the Job Properties window. Make any changes to the Global Variable settings in the InitializeJob script, as shown below. Thus, you can preserve the original as delivered settings while still using your own. Custom Global Variable Settings:.
Next, the fourth section of the InitializeJob script sets the Conditional Global Variables.
270
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
The Conditional Settings section also determines that certain global variable settings are accurate and compatible:
$G_LOAD_TYPE - Is either FIRST or DELTA. Any other setting will cause the job to abort $G_GL_VERSION - Is either OLD or NEW. Any other setting will cause the job to abort.
This section also calls certain Rapid Mart functions to properly set up the job environment:
AW_StartJob - Stores the current job execution parameters in table AW_JOBEXECUTION. RM_PutFirstRunDate - Called in FIRST (initial) loads only. Stores the contents of $G_SDATE and $G_EDATE for the FIRST (initial) load in table AW_FIRST_RUN_DATE. These dates are important in delta (or incremental) loads later on.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
271
RM_GetFirstRunDate - Called in DELTA (incremental) loads only. Retreives the value of $G_SDATE stored in table AW_FIRST_RUN_DATE. The value retreived is stored in global variable $G_ORIG_SDATE. Consult the Techinical Implementation Chapter for each individual Rapid Mart for more details on how this is used. Note: If you set your own value for $G_ORIG_DATE before the call to RM_GetFirstRunDate, the Rapid Mart will use your value and not retreive the value in AW_FIRST_RUN_DATE.
Customize the Rapid Mart data schema to meet your specific needs. Expand the Rapid Mart to be used with various integrated query, reporting, and data analysis applications. Transport Rapid Mart components and sections to different Rapid Marts using the Data Services export and import facilities. Change column names to be more meaningful in your business environment. Remove columns or tables you do not need in your business environment. Add:
Columns from tables already sourced New columns from tables not extracted Aggregates Calculated or scrubbed data
You change your Rapid Mart in exactly the same way you would change any Data Services application. For information about how to make such changes, see the Data Services product documentation. Note: In general, whenever you make a change, you need to perform impact analysis. Impacts to consider include:
Initial load Incremental load Target tables Integrity of existing Rapid Mart data
272
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Integrity between batch extraction and real time jobs Downstream analysis and reporting and Web applications Variable settings used by imported components and sections Other Rapid Mart (in a multi-Rapid Mart environment)
If you are implementing the Rapid Mart on Oracle 8i or Oracle 9i platforms, you can take advantage of pre-processing and post-processing performance tuning stored procedures described in Fact Table Stored Procedures on page 307 and in the Rapid Mart Deployment Guide.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
273
274
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Technical Implementation
chapter
Overview
This chapter provides technical details about how the SAP BusinessObjects Accounts Receivable Rapid Mart, version for SAP solutions is implemented. This chapter describes each section and the work flows that run to load that section. The information in this chapter is particularly useful for readers who customize the Rapid Mart for their use. This chapter discusses: Customer Items Section Customer Summary Section Rolling Totals Calculation Optimization Techniques Dealing with NULL values Fact Table Stored Procedures Fiscal Periods & Time Dim Load
C_BusinessArea_SAP
BUSINESS_AREA
C_ChartofAccts_SAP
CHART_OF_ACCOUNTS
276
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
C_CreditControlArea_SAP C_Currency_SAP
Loads Credit Control Area Dim CREDIT_CONTROL_AREA Dimensional component CURRENCY loading currency abbreviations and texts from TCURT, TCURC Performs full extraction of Currency Conversion Rate dimension CURRENCY_CONVERT_R ATE
C_CurrencyConvRate_SAP
C_Customer_SAP
Dimensional component CUSTOMER loading consisting of a first and delta load for the customer table from KNA1. CUSTOMER_BY_COMPAN Y
C_CustomerByCompany_SAP Loads information that supports customer financial transactions and the legal entity of the enterprise doing business with that customer. C_DebitCreditIndicator_SAP
Loads Debit or Credit Indicator DEBIT_CREDIT_INDICATO descriptions from Domains R SHKZG, BP_INOUT, & BEKNZ Combined Document Type Dim. Dimensional component loading Fiscal Year / Fiscal Period data DOCUMENT_TYPE & DOCUMENT_CATEGORY FISC_PERIOD
C_DocumentType_SAP C_FiscalPeriod_SAP
GL_ACCOUNT_BY_COMP C_GLAccountByCompany_SA Loads GL Account by P Company table. This is a Union ANY join of SKA1, SKB1, T001, and SKAT tables in SAP solutions. C_PaymentBlock_SAP Load Payment Block Dim from PAYMENT_BLOCK table T008T in SAP solutions PAYMENT_REASON_COD E
C_PaymentReasonCode_SAP Loads Payment Reason Dim from table T053S in SAP solutions
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
277
Description Dimensional component. Loads payment terms. Standard terms from TVZBT and Own terms from T052U Dimensional component. Loads the posting key type from tables TBSL and TBSLT.
C_PostingKeyType_SAP
POSTING_KEY_TYPE
C_SpecialGLIndicator_SAP
Loads Special GL Indicator SPECIAL_GL_INDICATOR Dimension from table T074T in SAP solutions. Dimensional component TIME_DIM loading generated time periods with SAP solutions fiscal year periods and calendar parameters.
C_TimeDim_SAP
After loading the dimensions, the work flow determines whether you are loading the CUSTOMER_ITEM_FACT table for the first time. If you are, the Rapid Mart executes the initial load work flow (WF_CustomerItem_SAP). If not, the Rapid Mart executes the incremental or delta load work flow (WF_DeltaCustomerItems_SAP). During the initial load work flow, the Rapid Mart completely refreshes and loads the table. During the incremental load work flow, the Rapid Mart extracts new data or data that has changed since the last load.
278
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Open items are found in the BSID table. When an item is closed (cleared), it is deleted from BSID and added to BSAD table. It keeps the same entry date regardless of which of the tables it is in. No further changes are made to a closed item. If there is a correction for a closed item, you must enter a new adjusting entry, which will be a new record, and have its own entry date. An item may be closed upon creation. In this case, it is written directly to BSAD, and never makes it to BSID.
2.
3.
4. 5. 6.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
279
7.
One final note on the incremental load: if you are sure that you can ignore open items before a certain date, you can over-ride the $G_ABSOLUTE_START_DATE by setting it to that date in the job initialization script. This will override the value determined in Incremental Load Step 2 (above), and use the date you enter instead. Example: The earliest ENTRY DATE for open items in CUSTOMER_ITEM_FACT is 17-May-1998. But, you know that nothing before 2005 needs to be addressed by the Rapid Mart. You can set the $G_ABSOLUTE_START_DATE to 01-Jan-2005 in the job initialization script. It will be used instead of the 1998 date.
280
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
NET_DUE_PERIOD_NEW A recalculation of SAP solutionss net due period to handle cases where the net due period is stored as zero. In such a case, the NET_DUE_PERIOD_NEW is one day after either discount period 2 or discount period 1. If all three discount periods are zero, this column is set to zero. NET_DUE_DATE A calculation of the date the item is due, based on adding NET_DUE_PERIOD_NEW to BASELINE_DATE. DAYS_OPEN For open items, this is the number of days from the invoice posting date to the Rapid Mart load date. For cleared items, this is the number of days from the invoice posting date to the payment clearing date.
The CUSTOMER_ITEM_FACT table contains seven aging intervals. These are variable time periods (global variables $A through $G). You can configure these time periods to the appropriate number of days for aged receivables. (See Executing the job on page 238.) The values you set for global variables $A through $G are also stored in the table AGING_INTERVALS. The variable time periods affect 12 columns:
AMT_PAST_DUE_GT_A_LOC (B, C, D) Contains the value (local or company code currency) of the line item if and only if this amount is more than a certain number of days overdue as determined by global variables $A through $D. Contents
Col. Name
AMT_PAST_DUE_GT_A_LOC Past Due $A+1 to $B Days AMT_PAST_DUE_GT_B_LOC Past Due $B+1 to $C Days AMT_PAST_DUE_GT_C_LOC Past Due $C+1 to $D Days AMT_PAST_DUE_GT_D_LOC Past Due More Than $D Days
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
281
AMT_PD_GT_A_LATE (B, C, D) Contains a value only if the item has cleared (paid) and was a certain number of days late as determined by global variables $A through $D Contents Paid Late $A+1 to $B Days Paid Late $B+1 to $C Days Paid Late $C+1 to $D Days Paid Late More Than $D Days
AMT_DUE_IN_E_DAYS_LOC (F and G) and AMT_DUE_OVER_G_DAYS_LOC Contains a value based on when an open item will be due (or was due) for payment, as determined by global variables $E through $G Contents Due in $E Days or Less Due in $E+1 to $F Days Due in $F+1 to $G Days Due in $G+1 Days or More
Note: All items that are overdue (late) for payment will go into AMT_DUE_IN_E_DAYS_LOC.
282
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
0 - IF 0 (BASELINE_DATE + NET_DUE_PERIOD _NEW) <= $G_LOAD_DATE + $E Then AMT_LOC + AMT_TAX_LOC Else 0 0 0 -IF (BASELINE_DATE + NET_DUE_PERIOD _NEW) > $G_LOAD_DATE + $E AND (BASELINE_DATE + NET_DUE_PERIOD _NEW) <= $G_LOAD_DATE + $F THEN AMT_LOC + AMT_TAX_LOC Else 0 0 0 - IF (BASELINE_DATE + NET_DUE_PERIOD _NEW) > $G_LOAD_DATE + $F AND (BASELINE_DATE + NET_DUE_PERIOD _NEW) <= $G_LOAD_DATE + $G THEN AMT_LOC + AMT_TAX_LOC Else 0 0 0 - IF (BASELINE_DATE + NET_DUE_PERIOD _NEW) > $G_LOAD_DATE + $G THEN AMT_LOC + AMT_TAX_LOC ELSE 0
AMT_DUE_IN_F_D AYS_LOC
AMT_DUE_IN_G_D IF AYS_LOC (BASELINE_DATE + NET_DUE_PERIOD _NEW) > $G_LOAD_DATE + $F AND (BASELINE_DATE + NET_DUE_PERIOD _NEW) <= $G_LOAD_DATE + $G THEN AMT_LOC + AMT_TAX_LOC Else 0 AMT_DUE_OVER_ G_DAYS_LOC IF (BASELINE_DATE + NET_DUE_PERIOD _NEW) > $G_LOAD_DATE + $G THEN AMT_LOC + AMT_TAX_LOC ELSE 0
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
283
Column Name
Open Debit (+) Open Credit (-) Customer Owes us We owe Customer 0
Cleared Debit (+)Cleared Credit (-)Customer Owes us We owe Customer If CLEARED_DATE 0 <= (BASELINE_DATE+ DISCNT_PERIOD_0 1) And DISCNT_PERIOD_0 1 > 0 Then AMT_LOC + AMT_TAX_LOC AMT_DISCNT_TAK EN_LOC Else 0 If CLEARED_DATE 0 <= BASELINE_DATE + DISCNT_PERIOD_0 2 And CLEARED_DATE > BASELINE_DATE + DISCNT_PERIOD_0 1 And DISCNT_PERIOD_0 2 > 0 Then AMT_LOC + AMT_TAX_LOC AMT_DISCNT_TAK EN_LOC Else 0 IF CLEARED_ON > 0 NET_DUE_PERIOD _NEW + BASELINE_DATE THEN AMT_LOC + AMT_TAX_LOC DISC_AMT_TAKEN ELSE 0 AMT_LOC + AMT_TAX_LOC AMT_DISCNT_TAK EN_LOC 0
AMT_PAID_DISCNT 0 _PER01_LOC
AMT_PAID_DISCNT 0 _PER02_LOC
AMT_PAID_LATE_L 0 OC
AMT_PAID_NET_L OC
AMT_PAID_ON_TI ME_LOC
0 IF (CLEARED_DATE <= NET_DUE_PERIOD _NEW + BASELINE_DATE) Then AMT_LOC + AMT_TAX_LOC AMT_DISCNT_TAK EN_LOC Else 0
284
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Open Debit (+) Open Credit (-) Customer Owes us We owe Customer 0 0
Cleared Debit (+)Cleared Credit (-)Customer Owes us We owe Customer IF CLEARED_ON > 0 BASELINE_DATE + NET_DUE_PERIOD _NEW + $A AND CLEARED_ON <= BASELINE_DATE + NET_DUE_PERIOD _NEW + $B, THEN AMT_LOC + AMT_TAX_LOC DISC_AMT_TAKEN ELSE 0 IF CLEARED_ON > 0 BASELINE_DATE + NET_DUE_PERIOD _NEW + $B AND CLEARED_ON <= BASELINE_DATE + NET_DUE_PERIOD _NEW + $C, THEN AMT_LOC + AMT_TAX_LOC DISC_AMT_TAKEN ELSE 0 IF CLEARED_ON > 0 BASELINE_DATE + NET_DUE_PERIOD _NEW + $C AND CLEARED_ON <= BASELINE_DATE + NET_DUE_PERIOD _NEW + $D, THEN AMT_LOC + AMT_TAX_LOC DISC_AMT_TAKEN ELSE 0 IF CLEARED_ON > 0 BASELINE_DATE + NET_DUE_PERIOD _NEW + $D THEN AMT_LOC + AMT_TAX_LOC DISC_AMT_TAKEN ELSE 0 C (Cleared) BSAD.AUGDT C (Cleared) BSAD.AUGDT
AMT_PD_GT_B_LA TE_LOC
AMT_PD_GT_C_LA 0 TE_LOC
AMT_PD_GT_D_LA 0 TE_LOC
O (Open) 31-Dec-9999
O (Open) 31-Dec-9999
BASELINE_DATE + BASELINE_DATE + BASELINE_DATE + BASELINE_DATE + NET_DUE_PERIOD NET_DUE_PERIOD NET_DUE_PERIOD NET_DUE_PERIOD _NEW _NEW _NEW _NEW
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
285
Open Debit (+) Open Credit (-) Customer Owes us We owe Customer IF G_LOAD_DATE > NET_DUE_DATE THEN $G_LOAD_DATE NET_DUE_DATE ELSE 0
DAYS_OPEN
LOAD_DATE POST_DATE
AMT_PAST_DUE_G IF T_A_LOC NET_DUE_PERIOD _NEW + BASELINE_DATE <= $G_LOAD_DATE - $A AND NET_DUE_PERIOD _NEW + BASELINE_DATE > $G_LOAD_DATE $B THEN AMT_LOC + AMT_TAX_LOC ELSE 0 AMT_PAST_DUE_G IF T_B_LOC NET_DUE_PERIOD _NEW + BASELINE_DATE <= $G_LOAD_DATE - $B AND NET_DUE_PERIOD _NEW + BASELINE_DATE > $G_LOAD_DATE $C THEN AMT_LOC + AMT_TAX_LOC ELSE 0 AMT_PAST_DUE_G IF T_C_LOC NET_DUE_PERIOD _NEW + BASELINE_DATE <= $G_LOAD_DATE - $C AND NET_DUE_PERIOD _NEW + BASELINE_DATE > $G_LOAD_DATE $D THEN AMT_LOC + AMT_TAX_LOC ELSE 0
0 - IF ENTRY_DATE 0 <= $G_LOAD_DATE - $A AND NET_DUE_PERIOD _NEW + BASELINE_DATE > $G_LOAD_DATE $B THEN AMT_LOC + AMT_TAX_LOC ELSE 0
0 - IF ENTRY_DATE 0 <= $G_LOAD_DATE - $B AND NET_DUE_PERIOD _NEW + BASELINE_DATE > $G_LOAD_DATE $C THEN AMT_LOC + AMT_TAX_LOC ELSE 0
0 - IF ENTRY_DATE 0 <= $G_LOAD_DATE - $C AND NET_DUE_PERIOD _NEW + BASELINE_DATE > $G_LOAD_DATE $D THEN AMT_LOC + AMT_TAX_LOC ELSE 0
286
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Column Name
Open Debit (+) Open Credit (-) Customer Owes us We owe Customer
AMT_PAST_DUE_G IF T_D_LOC NET_DUE_PERIOD _NEW + BASELINE_DATE <= $G_LOAD_DATE - $D THEN AMT_LOC + AMT_TAX_LOC ELSE 0 AMT_TTL_PAST_D UE_LOC
IF AMT_LOC + BASELINE_DATE + AMT_TAX_LOC NET_DUE_PERIOD _NEW < $G_LOAD_DATE THEN AMT_LOC + AMT_TAX_LOC ELSE 0
C_CompanyCode_SAP Dimensional component loading Company Codes information from T001 C_CreditControlArea_S Loads Credit Control Area Dim AP C_Currency_SAP
COMPANY_CODE
CREDIT_CONTROL_AREA
Dimensional component loading CURRENCY currency abbreviations and texts from TCURT, TCURC CURRENCY_CONVERT_R ATE
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
287
Description
Tables Loaded
Dimensional component loading CUSTOMER consisting of a first and delta load for the customer table from KNA1. Loads information that supports CUSTOMER_BY_COMPAN customer financial transactions and Y the legal entity of the enterprise doing business with that customer. Dimensional component loading Fiscal Year / Fiscal Period data Dimensional component loading generated time periods with SAP solutions fiscal year periods and calendar parameters. FISC_PERIOD TIME_DIM
C_CustomerByCompa ny_SAP
C_FiscalPeriod_SAP C_TimeDim_SAP
After loading the dimensions, the work flow C_CustomerSummaryFact_SAP determines whether you are loading the target tables (CUSTOMER_SUMMARY_FACT_VR, CUSTOMER_SUMMARY_STAGE_VR, and CUSTOMER_SUMMARY_FACT_HZ) for the first time, or if this an incremental (delta) load by querying the $G_LOAD_TYPE global variable. The range of years to load is determined by global variables $G_SDATE and $G_EDATE. The years stored in these variables are used to determine the first and last fiscal years respectively to be loaded. These variables are used in both first and incremental loads. If $G_LOAD_TYPE = FIRST, this is a first or initial load. The target tables are truncated (all data in them is deleted). If $G_LOAD_TYPE = DELTA, this an incremental or delta load. Table partitions for the range of fiscal years ($G_SDATE and $G_EDATE) are dropped and re-added to the target tables. This effectively deletes all data from the tables for the range of fiscal years. See Table Partitions later in this chapter for more details. Then common logic for both initial and incremental loads takes over:
Customer summary data is extracted from table KNC1 (Customer Master Transaction Figures). The data extracted is restricted to the range of years specified by variables $G_SDATE and $G_EDATE. The output is loaded to CUSTOMER_SUMMARY_FACT_HZ. A parallel set of transforms converts KNC1 data into vertical format. This is loaded to CUSTOMER_SUMMARY_STAGE_VR table.
288
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
A final set of transforms computes the rolling 16 periods totals on CUSTOMER_SUMMARY_STAGE_VR. Output is loaded to CUSTOMER_SUMMARY_FACT_VR. See Rolling Totals Calculation below for more details
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
289
General Ledger & PROFIT_CENTER_SUMMARY_FACT_VR Cost Plant Maint. Project Systems SERVICE_COST_SUMMARY_FACT_VR PROJECT_COST_SUMMARY_FACT_VR
RM_RollingSummary_Calculation.
The function keeps track of the Period-to-Date values from the previous row processed by Data Services. This is key for rolling totals. Rolling totals and the use of the function need to be carefully set up in Data Services as shown in the example below. Vertical Summary data is first populated to a staging table that has all values for the vertical summary except the PTD (Period-to-Date) and Rolling Totals values. Then, rolling totals are computed, and the results moved from the staging table to the vertical summary table. A rolling totals data flow typically looks like this...
290
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
291
292
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
The Summary Key is the concatenated Primary Key in one column. If the Fiscal Year and Fiscal Period are a part of the Primary Key, they are excluded from the Summary Key.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
293
Ordering Query:
The Ordering Query will sort the data by the Summary Key, Fiscal Year, and Fiscal Period. This is important for Rolling Totals as the function will
Reset totals to zero when the Summary Key changes. Keep tract of totals for the past 16 rows processed.
None of this would work correctly without the proper sorting of the data.
294
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
This query calls the RM_RollingSummary_Calculation function. The call for AMT_PER_ROLLING_TRX is shown above. The call for AMT_PER_ROLLING_LOC is:
RM_RollingSummary_Calculation( SUMMARY_KEY, AMT_PTD_LOC, $c1, $c2, $c3, $c4, $c5, $c6, $c7, $c8, $c9, $c10, $c11, $c12, $c13, $c14, $c15, $c16, $rkey )
Rolling Summary Calculation uses the computed Summary Key and PeriodTo-Date total as input parameters. The function is called twice, once for each of the two Rolling Totals calculated. Each of the calls uses a set of 16 local variables
$t1 through $t16 for the AMT_PER_ROLLING_TRX call $c1 through $c16 for the AMT_PER_ROLLING_LOC call
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
295
Should there be a third rolling total to calculate, we would use a third set of 16 variables. A final local variable $rkey is the value of the Summary Key on the previous row processed by Data Services. It is used in both calls. It is important to setup and initialize these local variables up correctly. They are defined as local variables at the Work Flow Level in Data Services:
296
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
297
The Call values for the parameters are initialized at the Work Flow level as shown below.
The value of $RKEY is initialized to value that will never appear in the Summary Key. The remaining groups of 16 variables are all initialized to zero.
298
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
An example of the output generated by this type of data flow and the Rolling Totals Function are shown below.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
299
Optimization Techniques
Within Data Services there are several optimization techniques available. Some of these are used extensively in the Accounts Receivable Rapid Mart. They are described below However, every installation is unique. Other techiques may be applicable to your particular Rapid Mart installation. This depends on many variables such as data load volume, server configuration, network transfer rates, etc. Refer to Data Services technical manuals for more information on the varous tuning and optimizing techniques.
Table Partitions
Summary tables in SAP solutions present a particular challenge in terms of a incremental (or delta) load. They often do not carry a date of last change field in the source table. In most cases source table granularity is at the Fiscal Period / Fiscal Year level. Data Services performs incremental loads on these tables by fiscal year. Data for a range of fiscal years is deleted from the target tables before each incremental load. The range is determined by the fiscal years associated with the global variables $G_SDATE and $G_EDATE. Then the same range of years is re-loaded from the SAP solutions source tables. Deleting by fiscal year without partitions is resource intensive, and can take a very long time. To facilitate these deletions we have partitioned the target tables by fiscal year. Partitions based on fiscal year can be dropped and re-added to the table very quickly. Thus the delete of a range of fiscal years is much faster. with partitions Each of the databases supported (Oracle, SQL-Server, DB2) handles partition logic differently. Separate cases for each have been coded into the Data Services jobs. Use of partitions is transparent to the end-user. Note: We do not use partition logic for Teradata. Terdata optimizes the delete function in SQL so that partitions are not needed. Note: In a DB2 target environment, proper database tuning is required to handle detaching partitions properly. If not tuned, the database returns control to the Data Services job before the partition is physically detached. This will cause the job to fail. To prevent this, we query the DB2 metadata table:
300
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SYSIBM.SYSDATAPARTITIONS
in a while loop, upto 100 times, with a 10 second sleep in between each query. When this table shows that the partitions are truly detached, the job proceeds. However, in a poorly tuned system even this may not be enough time. Proper tuning is essential. Tables and Rapid Marts that use partition logic are: Rapid Mart Accts. Payable Subject Area Tables VENDOR_SUMMARY_FACT_HZ, VENDOR_SUMMARY_FACT_VR, VENDOR_SUMMARY_STAGE_VR
Accts. Receivable CUSTOMER_SUMMARY_FACT_HZ, CUSTOMER_SUMMARY_FACT_VR, CUSTOMER_SUMMARY_STAGE_VR Cost COST_SUMMARY_FACT_HZ, COST_SUMMARY_FACT_VR, COST_SUMMARY_STAGE_VR COST_OF_SALES_SUMMARY_FACT_HZ, COST_OF_SALES_SUMMARY_FACT_VR, COST_OF_SALES_SUMMARY_STAGE_VR GL_SUMMARY_FACT_HZ, GL_SUMMARY_FACT_VR, GL_SUMMARY_STAGE_VR LEDGER_SUMMARY_FACT_HZ, LEDGER_SUMMARY_FACT_VR, LEDGER_SUMMARY_STAGE_VR PROFIT_CENTER_SUMMARY_FACT_HZ, PROFIT_CENTER_SUMMARY_FACT_VR, PROFIT_CENTER_SUMMARY_STAGE_VR SERVICE_COST_SUMMARY_FACT_HZ, SERVICE_COST_SUMMARY_FACT_VR, SERVICE_COST_SUMMARY_STAGE_VR PROJECT_COST_SUMMARY_FACT_HZ, PROJECT_COST_SUMMARY_FACT_VR, PROJECT_COST_SUMMARY_STAGE_VR
General Ledger
General Ledger
General Ledger
General Ledger
Plant Maint.
Projects
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
301
302
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
In this example the 3 circled transforms are the key to this optimization. Within the Data Transfer:
Enable Transfer is checked Transfer Type is Automatic Join Rank is 0 Order by all non-pivot columns used in the Reverse-Pivot Make sure the columns in the order by clause appear in the same sequence as the non-pivot columns in the Reverse-Pivot. Input Data is Grouped is checked Make sure the non-pivot columns appear in the same sequence as the order by clause of the Ordering Query
Hierarchy Optimizations
We also use optimizations for Hierarchy Flattening Transforms. Hierarchy Flattening Transforms are set to run as Separate Process (in the properties window). The data flow that calls the Hierarchy Flattening Transform is set to 2 degrees of parallelism. This degree of parallelism is tied to number of CPUs on your server, and can require manual tuning. Refer to Data Services technical manuals for more details on Distributed Data Flows. Hierarchy flattening transforms are resource intensive. To prevent overtaxing system resources on the Data Services job server you can split the Vertical and Horizontal hierarchy flattening into two separate workflows. The diagrams below show an example:
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
303
304
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
305
For columns that behave as a foreign key the Rapid Mart replaces NULL value with a global variable $G_DEFAULT_NUMBER of data type integer; For columns that store descriptions NULLs are replaced with $G_DEFAULT_TEXT of data type char(1); For columns that store dates NULLs are replaced with $G_DEFAULT_DATE of data type DATE.
Dimensions whose corresponding foreign keys in the fact tables can have value NULL are loaded with an additional dummy row to represent NULL. The value of $G_DEFAULT_NUMBER global variable gets inserted into each dimension primary key column.
306
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
In order to use these procedures as a performance tuning tool, you need to customize them. The Rapid Mart provides a sample script (for Oracle only):
Create_Sample_Maintenance_SP.sql
The sample PREPROCESSING_FACT_TABLE procedure will drop all indexes and all materialized view logs enabled for the fact table. This should reduce load time for the fact table in Data Services. The POSTPROCESSING_FACT_TABLE procedure will recreate logs and indexes. See the Rapid Mart Deployment Guide for details.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
307
308
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
By default, the file contains all dates from 01-Jan-1990 through 31-Dec.-2012 in YYYYMMDD format
You can easily change the contents of dates.dat to include a different date range that covers your specific needs.
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
309
310
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Documentation References
chapter
The SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide requires familiarity with SAP BusinessObjects Enterprise and Data Services applications. Documentation for both applications can be found in http://help.sap.com.
Data Services Installation Guide Data Services Getting Started Guide Data Services Supplement for SAP Data Services Tutorial Data Services Designer Guide Data Services Reference Guide Data Services Advanced Development Guide Data Services Performance Optimization Guide
Configuring Data Services for SAP solutions and security considerations: Extending/customizing Rapid Marts ETL:
312
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
Administrators Reference Guide Recommended Settings Guide Import Wizard Guide InfoView User Guide Designers Guide (BusinessObjects -> All Products -> Universe Designer path) Building queries with Web Intelligence (BusinessObjects -> All Products -> Web Intelligence path) Using Functions, Formulas and Calculations in Web Intelligence (BusinessObjects -> All Products -> Web Intelligence path)
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
313
314
SAP BusinessObjects Accounts Receivable Rapid Mart XI 3.2 for SAP solutions User Guide
appendix
Auxiliary Tables
AW_DIMENSION_SOURCE AW_FIRST_RUN_DATE AW_JOBEXECUTION AW_LOOKUP_INDEX
Dimension Tables
ACCOUNTING_CLERK AGING_INTERVAL BUSINESS_AREA CHART_OF_ACCOUNTS COMPANY_CODE CREDIT_CONTROL_AREA CURRENCY CURRENCY_CONVERT_RATE CUSTOMER CUSTOMER_BY_COMPANY DEBIT_CREDIT_INDICATOR DOCUMENT_CATEGORY DOCUMENT_TYPE FISC_PERIOD GL_ACCOUNT_BY_COMPANY PAYMENT_BLOCK PAYMENT_REASON_CODE PAYMENT_TERM POSTING_KEY_TYPE SPECIAL_GL_INDICATOR TIME_DIM TIME_DIM_WEEKLY
Fact Tables
CUSTOMER_ITEM_AR_BALANCE_VIEW CUSTOMER_ITEM_FACT CUSTOMER_SUMMARY_FACT_HZ CUSTOMER_SUMMARY_FACT_VR
Staging Tables
CUSTOMER_SUMMARY_STAGE_VR FISC_PERIOD_STAGE
Validation Tables
CUSTOMER_ITEM_FACT_BAD
ACCOUNTING_CLERK
T001S - Accounting Clerks
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCTNG_CLERK_ID
PK
NVARCSTR
no
ACCTNG_CLERK_N AME
NVARCSTR
30
yes
CMPNY_CODE_ID
PK
NVARCSTR
no
LOAD_DATE
DATETIME
24
yes
LOAD_TIME
NVARCSTR
yes
USER_NAME
NVARCSTR
12
yes
AGING_INTERVAL
Aging Intervals
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
AGING_INTERVAL_A
DECIMAL
48
28
yes
AGING_INTERVAL_B
DECIMAL
48
28
yes
AGING_INTERVAL_C
DECIMAL
48
28
yes
AGING_INTERVAL_D
DECIMAL
48
28
yes
AGING_INTERVAL_ID PK
Aging Interval ID
DECIMAL
48
28
no
FCST_INTERVAL_E
DECIMAL
48
28
yes
FCST_INTERVAL_F
DECIMAL
48
28
yes
FCST_INTERVAL_G
DECIMAL
48
28
yes
LABEL_01_DUE_IN
Due In Label 1
NVARCSTR
40
yes
10
LABEL_01_PAID_LAT E
NVARCSTR
40
yes
11
LABEL_01_PAST_DUE
NVARCSTR
40
yes
12
LABEL_02_DUE_IN
Due In Label 2
NVARCSTR
40
yes
13
LABEL_02_PAID_LAT E
NVARCSTR
40
yes
14
LABEL_02_PAST_DUE
NVARCSTR
40
yes
15
LABEL_03_DUE_IN
Due In Label 3
NVARCSTR
40
yes
16
LABEL_03_PAID_LAT E
NVARCSTR
40
yes
17
LABEL_03_PAST_DUE
NVARCSTR
40
yes
18
LABEL_04_DUE_IN
Due in Label 4
NVARCSTR
40
yes
19
LABEL_04_PAID_LAT E
NVARCSTR
40
yes
20
LABEL_04_PAST_DUE
NVARCSTR
40
yes
21
LOAD_DATE
DATETIME
24
yes
22
LOAD_TIME
NVARCSTR
yes
AW_DIMENSION_SOURCE
Master list of values indicating sources of combined dimensions
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
DIM_SRC_DESCR
Description of Dimension Source Dimension Source. Used in combined dimension combining similar attributes from different sources in SAP.
NVARCSTR
60
yes
DIM_SRC_ID
PK
NVARCSTR
30
no
AW_FIRST_RUN_DATE
First Run Dates records the values of the $G_SDATE and $G_EDATE global variable on the "FIRST" Run of a rapid mart.
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
JOB_END_DATE
$G_EDATE global variable setting at the time of the "First" or "Delta" run.
DATETIME
24
yes
JOB_LOAD_TYPE
PK
NVARCSTR
10
no
JOB_NAME
PK
NVARCSTR
100
no
JOB_START_DATE
$G_SDATE global variable setting at the time of the "First" or "Delta" run.
DATETIME
24
yes
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
AW_JOBEXECUTION
Job Execution Status table
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
EXTRACTHIGH
End Date
NVARCSTR
10
yes
EXTRACTLOW
Start Date
NVARCSTR
10
yes
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart
24
yes
NAME
PK
Job Name
NVARCSTR
64
no
STATUS
Job Status
NVARCSTR
12
yes
AW_LOOKUP_INDEX
Auxilary table to store index information
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ADDTNL_TXT
Notes
NVARCSTR
64
yes
COLUMN_NAME_01
Index column 1
NVARCSTR
64
yes
COLUMN_NAME_02
Index column 2
NVARCSTR
64
yes
COLUMN_NAME_03
Index column 3
NVARCSTR
64
yes
INDEX_NAME
Index Name
NVARCSTR
64
yes
LOAD_DATE
DATETIME
24
yes
LOAD_TIME
NVARCSTR
yes
TBL_NAME
NVARCSTR
64
yes
BUSINESS_AREA
Business Areas - TGSB, TSGBT
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
BUS_AREA_DESCR
NVARCSTR
30
yes
BUS_AREA_FULL_NA ME
NVARCSTR
120
yes
BUS_AREA_ID
PK
TGSB-GSBER-Business area
NVARCSTR
no
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
CHART_OF_ACCOUNTS
Chart of Accounts in SAP (T004 and T004T tables)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CHART_OF_ACCT_FU LL_NAME
NVARCSTR
120
yes
CHART_OF_ACCT_ID PK
Chart of accounts
NVARCSTR
no
CHART_OF_ACCT_NA ME
NVARCSTR
50
yes
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
COMPANY_CODE
T001 - Company Code master
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ADDRESS_ID
NVARCSTR
10
yes
CHART_OF_ACCT_ID
NVARCSTR
yes
NVARCSTR
yes
NVARCSTR
50
yes
CITY
NVARCSTR
40
yes
CMPNY_CODE_FULL_ NAME
NVARCSTR
120
yes
CMPNY_CODE_ID
PK
NVARCSTR
no
CMPNY_CODE_ID_OR IGINAL
NVARCSTR
yes
CMPNY_CODE_NAME
NVARCSTR
40
yes
10
NVARCSTR
40
yes
11
NVARCSTR
40
yes
12
NVARCSTR
40
yes
13
NVARCSTR
40
yes
14
COUNTRY_ID
Country Identifier
NVARCSTR
yes
15
COUNTRY_NAME
NVARCSTR
15
yes
16
CR_CTRL_AREA_DES CR
NVARCSTR
35
yes
17
CR_CTRL_AREA_ID
NVARCSTR
yes
18
CURR_ID
NVARCSTR
yes
19
DISTRICT
NVARCSTR
40
yes
20
FAX
NVARCSTR
40
yes
21
FIN_MGMT_AREA_ID
NVARCSTR
yes
22
FISC_YR_VARIANT_ID
NVARCSTR
yes
23
FISC_YR_VARIANT_N AME
NVARCSTR
30
yes
24
HOUSE_NUMBER
NVARCSTR
10
yes
25
LANG_DESCR
NVARCSTR
16
yes
26
LANG_ID
NVARCSTR
yes
27
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
28
LOAD_TIME
NVARCSTR
yes
29
PHONE
NVARCSTR
30
yes
30
REGION_ID
NVARCSTR
yes
31
REGION_NAME
NVARCSTR
20
yes
32
STREET
NVARCSTR
60
yes
33
TAX_JURISDIC_NUM
NVARCSTR
15
yes
34
VAT_REGISTRTN_NU M
NVARCSTR
20
yes
35
ZIP
NVARCSTR
10
yes
CREDIT_CONTROL_AREA
T014T - Credit Control Area Names
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
T014T.KKBTX - Description of the credit control area Concatenation of Credit Ctrl Area ID and Description
NVARCSTR
35
yes
NVARCSTR
120
yes
CR_CTRL_AREA_ID
PK
NVARCSTR
no
LOAD_DATE
DATETIME
24
yes
LOAD_TIME
NVARCSTR
yes
CURRENCY
TCURC, TCURT
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CURR_DECIMAL
DECIMAL
48
28
yes
CURR_DESCR
NVARCSTR
60
yes
CURR_ID
PK
NVARCSTR
no
CURR_ID_ALT
NVARCSTR
yes
CURR_ISO_CODE
NVARCSTR
yes
DISPLAY_FACTOR
Multiply currency amounts by this factor to display with correct number of decimals for the DECIMAL currency Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS) TCURC-GDATU -Date Up Until Which The Currency Is Valid
48
17
14
yes
LOAD_DATE
24
yes
LOAD_TIME
NVARCSTR
yes
VALID_TO_DATE
DATETIME
24
yes
10
CURRENCY_CONVERT_RATE
TCURR and TCURW - Monetary Conversion rates
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CURR_ID_FROM
PK
NVARCSTR
no
CURR_ID_TO
PK
TCURR-TCURR - To-currency
NVARCSTR
no
EXCH_RATE
DECIMAL
48
yes
EXCH_TYPE_DESCR
NVARCSTR
40
yes
EXCH_TYPE_ID
PK
NVARCSTR
no
FROM_FACTOR
TCURR-FFACT - Number of Currency for the from currency units "Y" if original value of TCURR.UKURS was negative. Otherwise "N"
INTEGER
yes
INVERSE_RATE_FLA G
NVARCSTR
yes
LOAD_DATE
DATETIME
24
yes
LOAD_TIME
Time in HH24:MI:SS string format when the record was created TCURR-TFACT - Number of Currency for the units in the To-currency TCURR-GDATU- Date since when the exchange rate has been valid To be used by Effective Date to generate VALID_TO output
NVARCSTR
yes
10
TO_FACTOR
INTEGER
yes
11
VALID_FROM_DATE
PK
DATETIME
24
no
12
VALID_TO_DATE
DATETIME
24
yes
11
CUSTOMER
General customer master data at the customer level (KNA1)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCT_GRP_ID
NVARCSTR
yes
ACCT_GRP_NAME
NVARCSTR
30
yes
ADDRESS_ID
Load date
NVARCSTR
10
yes
AMT_ANNUAL_SALES
DECIMAL
48
15
yes
AMT_ANNUAL_SALES _02
DECIMAL
48
15
yes
ANNUAL_SALES_YR
yes
CITY
KNA1-ORT01 - City
NVARCSTR
40
yes
CLASSIFCTN_CODE
KNA1-KUKLA - Customer Classification Lookup of TKUKT.VTEXT for description of customer classification (size by total sales) based on KNA1.KUKLA. KNA1-DEAR1 - Competitor ID
NVARCSTR
yes
CLASSIFCTN_DESCR
NVARCSTR
20
yes
10
COMPETITOR_FLAG
NVARCSTR
yes
11
COUNTRY_ID
KNA1-LAND1 - Country
NVARCSTR
yes
12
COUNTRY_NAME
Country Name
NVARCSTR
15
yes
13
CUSTOMER_FULL_NA ME CUSTOMER_GRP_K EY
NVARCSTR
120
yes
14
NVARCSTR
10
yes
15
CUSTOMER_ID
PK
NVARCSTR
10
no
16
CUSTOMER_NAME
Customer Name
NVARCSTR
40
yes
12
17
NVARCSTR
40
yes
18
NVARCSTR
40
yes
19
Customer Name 3
NVARCSTR
40
yes
20
Customer Name 4
NVARCSTR
40
yes
21
DISTRICT
KNA1-ORT02 - District
NVARCSTR
40
yes
22
EMPL_COUNT
DECIMAL
48
28
yes
23
FAX
NVARCSTR
40
yes
24
HOUSE_NUMBER
NVARCSTR
10
yes
25
INDUSTRY_ID
KNA1-BRSCH - Industry Lookup of industry name in T016T.BRTXT where SPRAS=$G_LANGUAGE and KNA1.BRSCH=T016T.BRSCH. KNA1-EKONT - Initial Contact
NVARCSTR
yes
26
INDUSTRY_NAME
NVARCSTR
20
yes
27
INITIAL_CONTACT
NVARCSTR
10
yes
28
LANG_DESCR
NVARCSTR
16
yes
29
LANG_ID
KNA1-SPRAS -- Language
NVARCSTR
yes
30
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
31
LOAD_TIME
NVARCSTR
yes
32
NIELSEN_CODE
KNA1.NIELS - Nielsen ID
NVARCSTR
yes
33
PHONE
Telephone Number
NVARCSTR
30
yes
34
REGIONAL_MARKET
NVARCSTR
10
yes
13
35
REGION_ID
NVARCSTR
yes
36
REGION_NAME
NVARCSTR
20
yes
37
NVARCSTR
yes
38
NVARCSTR
yes
39
STREET
NVARCSTR
60
yes
40
VENDOR_ID
NVARCSTR
10
yes
41
ZIP
NVARCSTR
10
yes
14
CUSTOMER_BY_COMPANY
Intersection of KNA1 (General Data in Customer Master) KNKK (Customer master credit management: Control area data) and KNB1 (Customer Master - Company Code) tables in SAP
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCTNG_CLERK_ID
NVARCSTR
yes
ACCTNG_CLERK_N AME
NVARCSTR
30
yes
ACCT_GRP_DESCR
NVARCSTR
30
yes
ACCT_GRP_ID
NVARCSTR
yes
AMT_AR_TTL_CCTRL
KNKK.SKFOR - total receivables for the credit DECIMAL limit check in credit control area currency code KNKK.KLIMK - Credit limit in credit control area DECIMAL currency
48
15
yes
AMT_CR_LIMIT_CCTR L
48
15
yes
AMT_LAST_PAYMNT
DECIMAL
48
13
yes
DECIMAL
48
15
yes
KNKK.SAUFT - Total Order Values for credit limit check in credit control area currency
DECIMAL
48
15
yes
10
BANK_ID_HOUSE
NVARCSTR
yes
11
BILL_BLOCK_DESCR
NVARCSTR
20
yes
12
BILL_BLOCK_ID
NVARCSTR
yes
13
CHART_OF_ACCT_ID
NVARCSTR
yes
14
CHART_OF_ACCT_NA ME
NVARCSTR
50
yes
15
CMPNY_CODE_ID
PK
NVARCSTR
no
16
CMPNY_CODE_NAME
NVARCSTR
25
yes
15
Appendix Table Column Details KNKK.CRBLB - blocked credit flag (blocked by NVARCSTR credit management) Lookup of T014T.KKBTX -- credit control area description
17
CR_BLOCK_FLAG
yes
18
CR_CTRL_AREA_DES CR
NVARCSTR
35
yes
19
CR_CTRL_AREA_ID
PK
NVARCSTR
no
20
CR_RATING_CODE
NVARCSTR
yes
21
CURR_ID_CCTRL
NVARCSTR
yes
22
CURR_ID_LAST_PAY MNT CURR_ID_RECOMND_ CR_LIMIT CUSTOMER_CR_GR P_DESCR CUSTOMER_CR_GR P_ID CUSTOMER_FULL_NA ME CUSTOMER_GRP_K EY
KNKK.CASHC - Monetary Currency for last payment KNKK.DBWAE - Monetary currency of recommended credit limit.
NVARCSTR
yes
23
NVARCSTR
yes
24
NVARCSTR
30
yes
25
NVARCSTR
yes
26
120
yes
27
NVARCSTR
yes
28
CUSTOMER_ID
PK
NVARCSTR
10
no
29
CUSTOMER_NAME
KNA1.NAME1 - Name 1
NVARCSTR
40
yes
30
CUST_ACCT_NUM_ID
KNKK.KNKLI - customers account number (Customer ID in the customer system KNA1.NODEL-Central deletion block for master record
NVARCSTR
10
yes
31
DELETE_BLOCK_FLA G
NVARCSTR
yes
32
DELETE_FLAG
KNA1.LOEVM-Central Deletion Flag for Master NVARCSTR Record TVLST.LIFSP - Indicator for delivery block description
yes
33
DELIV_BLOCK_DESC R
NVARCSTR
20
yes
34
DELIV_BLOCK_ID
NVARCSTR
yes
16
35
DUN_BRAD_RATING
NVARCSTR
yes
36
NVARCSTR
50
yes
37
NVARCSTR
10
yes
38
LAST_PAYMNT_DATE
DATETIME
24
yes
39
LOAD_DATE
Date and time that this row was loaded into the DATETIME rapid mart Time that this row was loaded into the rapid mart KNA1.XCPDK - Indicator: Is the account a one-time account? TVAST.AUFSP - Indicator for order block description
24
yes
40
LOAD_TIME
NVARCSTR
10
yes
41
NVARCSTR
yes
42
NVARCSTR
20
yes
43
ORDER_BLOCK_ID
NVARCSTR
yes
44
OUR_ACCT_NUM
NVARCSTR
12
yes
45
OVERLIMIT_DATE
24
yes
46
T008T.TEXTL - Block key for payment Description KNA1. SPERZ - Central Payment Block FLAG (X = Blocked, Blank = Not Blocked)
NVARCSTR
20
yes
47
NVARCSTR
yes
48
PAYMNT_BLOCK_ID
NVARCSTR
yes
49
PAYMNT_TERM_DE SCR
NVARCSTR
50
yes
50
PAYMNT_TERM_ID
NVARCSTR
yes
51
POST_BLOCK_FLAG
NVARCSTR
yes
52
RISK_CATEG_DESCR
NVARCSTR
30
yes
17
53
RISK_CATEG_ID
NVARCSTR
yes
CUSTOMER_ITEM_AR_BALANCE_VIEW
View for DSO Calculation (Days Sales Outstanding). The view determines the Open AR Bal per fiscal period.
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
AMT_LOC
DECIMAL
48
28
yes
AMT_PER_ROLLING_ LOC
DECIMAL
48
28
yes
AMT_SALES_LOC
DECIMAL
48
28
yes
AMT_TAX_LOC
DECIMAL
48
28
yes
AMT_TTL_DUE_LOC
DECIMAL
48
28
yes
CMPNY_CODE_ID
company Code
NVARCSTR
no
CUSTOMER_ID
Customer ID
NVARCSTR
10
no
FISC_PERIOD
Fiscal period
INTEGER
yes
FISC_YEAR
Fiscal Year
INTEGER
no
18
CUSTOMER_ITEM_FACT
BSID, BSAD. All Customer related financial documents -- open (table BSID) and cleared (table BSAD) such as invoices and payments
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCTNG_CLERK_ID
NVARCSTR
yes
AGING_INTERVAL_ID
Aging Interval ID
DECIMAL
48
28
yes
ALLOCATN_ID
PK
Allocation ID
NVARCSTR
18
no
AMT_DISCNT_TAKEN _LOC AMT_DUE_IN_E_DAY S_LOC AMT_DUE_IN_F_DAY S_LOC AMT_DUE_IN_G_DAY S_LOC AMT_DUE_OVER_G _DAYS_LOC AMT_ELIGBL_FOR_DI SCNT_TRX
DECIMAL
48
13
yes
Value of the invoice if paid within first forecast period Value of the invoice if paid within second forecast period
DECIMAL
48
13
yes
DECIMAL
48
13
yes
48
13
yes
DECIMAL
48
13
yes
DECIMAL
48
13
yes
10
AMT_LOC
DECIMAL
48
13
yes
11
Local currency amount paid during the first discount period Local currency amount paid after the first and during the second discount period (includes any discounts applicable) Local currency amount paid after due date
DECIMAL
48
13
yes
12
DECIMAL
48
13
yes
13
AMT_PAID_LATE_LOC
DECIMAL
48
13
yes
14
AMT_PAID_NET_LOC
Local currency amount paid before due date and after any discount periods
DECIMAL
48
13
yes
15
DECIMAL
48
13
yes
16
Local currency amount if the first measuring period after net due date has past
DECIMAL
48
13
yes
19
Appendix Table Column Details AMT_PAST_DUE_GT_ B_LOC AMT_PAST_DUE_GT_ C_LOC AMT_PAST_DUE_GT_ D_LOC AMT_PD_GT_A_LATE _LOC AMT_PD_GT_B_LATE _LOC AMT_PD_GT_C_LATE _LOC AMT_PD_GT_D_LATE _LOC Local currency amount if the second measuring DECIMAL period after net due date has past Local currency amount if the third measuring period after net due date has past Local currency amount if the fourth measuring period after net due date has past Local currency amount paid later than first measuring period after net due date Local currency amount paid later than second measuring period after net due date Local currency amount paid later than third measuring period after net due date Local currency amount paid later than fourth measuring period after net due date
17
48
13
yes
18
DECIMAL
48
13
yes
19
DECIMAL
48
13
yes
20
DECIMAL
48
13
yes
21
DECIMAL
48
13
yes
22
DECIMAL
48
13
yes
23
DECIMAL
48
13
yes
24
AMT_TAX_LOC
DECIMAL
48
13
yes
25
AMT_TAX_TRX
DECIMAL
48
13
yes
26
AMT_TRX
DECIMAL
48
13
yes
27
AMT_TTL_PAST_DUE _LOC
48
13
yes
28
AMT_UPDT
PSWBT - Amount for updating in general ledger Amount past due times number of days past due
DECIMAL
48
13
yes
29
AMT_WEIGHT_PAST_ DUE_LOC
DECIMAL
48
15
yes
30
BANK_ID_HOUSE
NVARCSTR
yes
31
BASELINE_DATE
Date from which due dates and late dates are calculated
DATETIME
24
yes
32
BILLING_DOC_ID
NVARCSTR
10
yes
33
BUS_AREA_ID
Business area
NVARCSTR
yes
34
CASH_DISCNT_PRCN T_01
DECIMAL
48
yes
20
Appendix Table Column Details CASH_DISCNT_PRCN T_02 Percent of discount eligible if paid by second discount period
35
DECIMAL
48
yes
36
CHART_OF_ACCT_ID
NVARCSTR
yes
37
CLEARED_DATE
PK
Clearing date
DATETIME
24
no
38
CLEARED_FLAG
NVARCSTR
yes
39
CLEARNG_DOC_ID
PK
NVARCSTR
10
no
40
CMPNY_CODE_ID
PK
Company code
NVARCSTR
no
41
CR_CTRL_AREA_ID
NVARCSTR
yes
42
CURR_ID_GBL
NVARCSTR
yes
43
CURR_ID_GRP
NVARCSTR
yes
44
CURR_ID_LOC
NVARCSTR
yes
45
CURR_ID_TRX
Currency
NVARCSTR
yes
46
CURR_ID_UPDT
NVARCSTR
yes
47
CUSTOMER_ID
PK
Customer number
NVARCSTR
10
no
48
DAYS_LATE
Number of days after NEW NET DUE DATE amount was paid Number of days the item was/is open: LOADDATE - POSTING_DATE if still open; CLEARING_DATE - POSTING_DATE if cleared.
DECIMAL
48
28
yes
49
DAYS_OPEN
DECIMAL
48
28
yes
50
DAYS_PAST_DUE
Number of days since due date if item still open DECIMAL and past due
48
28
yes
51
DISCNT_PERIOD_01
DECIMAL
48
28
yes
52
DISCNT_PERIOD_02
DECIMAL
48
28
yes
21
53
DOC_DATE
DATETIME
24
yes
54
DOC_TYPE_ID
NVARCSTR
yes
55
DR_CR_ID
Debit/credit indicator
NVARCSTR
10
yes
56
ENTRY_DATE
DATETIME
24
yes
57
EXCH_TYPE_ID_GBL
NVARCSTR
yes
58
FIN_DOC_ID
PK
Document number
NVARCSTR
10
no
59
FISC_PERIOD
Fiscal Period
INTEGER
yes
60
FISC_YEAR
PK
Fiscal year
INTEGER
no
61
FISC_YR_VARIANT_ID
NVARCSTR
yes
62
GL_ACCT_ID
NVARCSTR
10
yes
63
GL_ACCT_ID_SPECL
NVARCSTR
10
yes
64
INVOICE_ID
Invoice number
NVARCSTR
10
yes
65
LINE_ITEM_ID
PK
NVARCSTR
no
66
LINE_ITEM_TXT
NVARCSTR
50
yes
67
LOAD_DATE
Date that this row was loaded into the data warehouse Time that this row was loaded into the data warehouse
DATETIME
24
yes
68
LOAD_TIME
NVARCSTR
10
yes
69
NET_DUE_DATE
DATETIME
24
yes
70
NET_DUE_PERIOD
Number of days between second discount period and net due date (SAP value)
DECIMAL
48
28
yes
22
Appendix Table Column Details NET_DUE_PERIOD_N EW Creates new net due period for those payment DECIMAL terms that leave the net due period blank.
71
48
28
yes
72
PAYMNT_BLOCK_ID
NVARCSTR
yes
73
PAYMNT_FLAG
Payment indicator
NVARCSTR
yes
74
PAYMNT_METHOD_ID
Payment method
NVARCSTR
yes
75
PAYMNT_REASON_ CODE_ID
NVARCSTR
yes
76
PAYMNT_REF_ID
NVARCSTR
30
yes
77
PAYMNT_TERM_ID
NVARCSTR
yes
78
POST_DATE
PK
DATETIME
24
no
79
POST_KEY_ID
Posting key
NVARCSTR
yes
80
REF_DOC_ID
NVARCSTR
16
yes
81
REVERSAL_FLAG
NVARCSTR
yes
82
SPECL_GL_ID
PK
NVARCSTR
no
83
Special G/L transaction type Unapplied Payment Flag - C = Unapplied Credit Memo, P = Unapplied Payment, otherwise blank
NVARCSTR
no
84
NVARCSTR
yes
23
CUSTOMER_ITEM_FACT_BAD
Invalid Records in BSID, BSAD. All Customer related financial documents -- open (table BSID) and cleared (table BSAD) such as invoices and payments
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCTNG_CLERK_ID
NVARCSTR
yes
AGING_INTERVAL_ID
Aging Interval ID
DECIMAL
48
28
yes
ALLOCATN_ID
PK
Allocation ID
NVARCSTR
18
no
AMT_DISCNT_TAKEN _LOC AMT_DUE_IN_E_DAY S_LOC AMT_DUE_IN_F_DAY S_LOC AMT_DUE_IN_G_DAY S_LOC AMT_DUE_OVER_G _DAYS_LOC AMT_ELIGBL_FOR_DI SCNT_TRX
DECIMAL
48
13
yes
Value of the invoice if paid within first forecast period Value of the invoice if paid within second forecast period
DECIMAL
48
13
yes
DECIMAL
48
13
yes
48
13
yes
DECIMAL
48
13
yes
DECIMAL
48
13
yes
10
AMT_LOC
DECIMAL
48
13
yes
11
Local currency amount paid during the first discount period Local currency amount paid after the first and during the second discount period (includes any discounts applicable) Local currency amount paid after due date
DECIMAL
48
13
yes
12
DECIMAL
48
13
yes
13
AMT_PAID_LATE_LOC
DECIMAL
48
13
yes
14
AMT_PAID_NET_LOC
Local currency amount paid before due date and after any discount periods
DECIMAL
48
13
yes
15
DECIMAL
48
13
yes
16
Local currency amount if the first measuring period after net due date has past
DECIMAL
48
13
yes
24
Appendix Table Column Details AMT_PAST_DUE_GT_ B_LOC AMT_PAST_DUE_GT_ C_LOC AMT_PAST_DUE_GT_ D_LOC AMT_PD_GT_A_LATE _LOC AMT_PD_GT_B_LATE _LOC AMT_PD_GT_C_LATE _LOC AMT_PD_GT_D_LATE _LOC Local currency amount if the second measuring DECIMAL period after net due date has past Local currency amount if the third measuring period after net due date has past Local currency amount if the fourth measuring period after net due date has past Local currency amount paid later than first measuring period after net due date Local currency amount paid later than second measuring period after net due date Local currency amount paid later than third measuring period after net due date Local currency amount paid later than fourth measuring period after net due date
17
48
13
yes
18
DECIMAL
48
13
yes
19
DECIMAL
48
13
yes
20
DECIMAL
48
13
yes
21
DECIMAL
48
13
yes
22
DECIMAL
48
13
yes
23
DECIMAL
48
13
yes
24
AMT_TAX_LOC
DECIMAL
48
13
yes
25
AMT_TAX_TRX
DECIMAL
48
13
yes
26
AMT_TRX
DECIMAL
48
13
yes
27
AMT_TTL_PAST_DUE _LOC
48
13
yes
28
AMT_UPDT
PSWBT - Amount for updating in general ledger Amount past due times number of days past due
DECIMAL
48
13
yes
29
AMT_WEIGHT_PAST_ DUE_LOC
DECIMAL
48
15
yes
30
BANK_ID_HOUSE
NVARCSTR
yes
31
BASELINE_DATE
Date from which due dates and late dates are calculated
NVARCSTR
10
yes
32
BILLING_DOC_ID
NVARCSTR
10
yes
33
BUS_AREA_ID
Business area
NVARCSTR
yes
34
CASH_DISCNT_PRCN T_01
DECIMAL
48
yes
25
Appendix Table Column Details CASH_DISCNT_PRCN T_02 Percent of discount eligible if paid by second discount period
35
DECIMAL
48
yes
36
CHART_OF_ACCT_ID
NVARCSTR
yes
37
CLEARED_DATE
PK
Clearing date
NVARCSTR
10
no
38
CLEARED_FLAG
NVARCSTR
yes
39
CLEARNG_DOC_ID
PK
NVARCSTR
10
no
40
CMPNY_CODE_ID
PK
Company code
NVARCSTR
no
41
CR_CTRL_AREA_ID
NVARCSTR
yes
42
CURR_ID_GBL
NVARCSTR
yes
43
CURR_ID_GRP
NVARCSTR
yes
44
CURR_ID_LOC
NVARCSTR
yes
45
CURR_ID_TRX
Currency
NVARCSTR
yes
46
CURR_ID_UPDT
NVARCSTR
yes
47
CUSTOMER_ID
PK
Customer number
NVARCSTR
10
no
48
DAYS_LATE
Number of days after NEW NET DUE DATE amount was paid Number of days the item was/is open: LOADDATE - POSTING_DATE if still open; CLEARING_DATE - POSTING_DATE if cleared.
DECIMAL
48
28
yes
49
DAYS_OPEN
DECIMAL
48
28
yes
50
DAYS_PAST_DUE
Number of days since due date if item still open DECIMAL and past due
48
28
yes
51
DISCNT_PERIOD_01
DECIMAL
48
28
yes
52
DISCNT_PERIOD_02
DECIMAL
48
28
yes
26
53
DOC_DATE
NVARCSTR
10
yes
54
DOC_TYPE_ID
NVARCSTR
yes
55
DR_CR_ID
Debit/credit indicator
NVARCSTR
yes
56
ENTRY_DATE
NVARCSTR
10
yes
57
ETL_ERROR_ACTN
NVARCSTR
yes
58
ETL_ERROR_COLU MN
NVARCSTR
500
yes
59
EXCH_TYPE_ID_GBL
NVARCSTR
yes
60
FIN_DOC_ID
PK
Document number
NVARCSTR
10
no
61
FISC_PERIOD
Fiscal Period
INTEGER
yes
62
FISC_YEAR
PK
Fiscal year
DECIMAL
48
28
no
63
FISC_YR_VARIANT_ID
NVARCSTR
yes
64
GL_ACCT_ID
NVARCSTR
10
yes
65
GL_ACCT_ID_SPECL
NVARCSTR
10
yes
66
INVOICE_ID
Invoice number
NVARCSTR
10
yes
67
LINE_ITEM_ID
PK
NVARCSTR
no
68
LINE_ITEM_TXT
NVARCSTR
50
yes
69
LOAD_DATE
PK
Date that this row was loaded into the data warehouse Time that this row was loaded into the data warehouse
DATETIME
24
no
70
LOAD_TIME
NVARCSTR
10
yes
27
71
NET_DUE_DATE
NVARCSTR
10
yes
72
NET_DUE_PERIOD
Number of days between second discount period and net due date (SAP value)
DECIMAL
48
28
yes
73
NET_DUE_PERIOD_N EW
Creates new net due period for those payment DECIMAL terms that leave the net due period blank.
48
28
yes
74
PAYMNT_BLOCK_ID
NVARCSTR
yes
75
PAYMNT_FLAG
Payment indicator
NVARCSTR
yes
76
PAYMNT_METHOD_ID
Payment method
NVARCSTR
yes
77
PAYMNT_REASON_ CODE_ID
NVARCSTR
yes
78
PAYMNT_REF_ID
NVARCSTR
30
yes
79
PAYMNT_TERM_ID
NVARCSTR
yes
80
POST_DATE
PK
NVARCSTR
10
no
81
POST_KEY_ID
Posting key
NVARCSTR
yes
82
REF_DOC_ID
NVARCSTR
16
yes
83
REVERSAL_FLAG
NVARCSTR
yes
84
SPECL_GL_ID
PK
NVARCSTR
no
85
Special G/L transaction type Unapplied Payment Flag - C = Unapplied Credit Memo, P = Unapplied Payment, otherwise blank
NVARCSTR
no
86
NVARCSTR
yes
28
CUSTOMER_SUMMARY_FACT_HZ
KNC1 - Customer master (transaction figures) in Horizontal Format (1 row per fiscal YEAR)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
AGING_INTERVAL_ID PK
Aging Interval ID
DECIMAL
48
28
yes
AMT_CR_PER01_LOC
DECIMAL
48
15
yes
AMT_CR_PER02_LOC
DECIMAL
48
15
yes
AMT_CR_PER03_LOC
DECIMAL
48
15
yes
AMT_CR_PER04_LOC
DECIMAL
48
15
yes
AMT_CR_PER05_LOC
DECIMAL
48
15
yes
AMT_CR_PER06_LOC
DECIMAL
48
15
yes
AMT_CR_PER07_LOC
DECIMAL
48
15
yes
AMT_CR_PER08_LOC
DECIMAL
48
15
yes
10
AMT_CR_PER09_LOC
DECIMAL
48
15
yes
11
AMT_CR_PER10_LOC
DECIMAL
48
15
yes
12
AMT_CR_PER11_LOC
DECIMAL
48
15
yes
13
AMT_CR_PER12_LOC
DECIMAL
48
15
yes
14
AMT_CR_PER13_LOC
DECIMAL
48
15
yes
15
AMT_CR_PER14_LOC
DECIMAL
48
15
yes
16
AMT_CR_PER15_LOC
DECIMAL
48
15
yes
29
17
AMT_CR_PER16_LOC
DECIMAL
48
15
yes
18
AMT_CR_QTR01_LOC
KNC1.UM01H + KNC1.UM02H + KNC1.UM03H Quarter 1 credit total KNC1.UM04H + KNC1.UM05H + KNC1.UM06H Quarter 2 credit total KNC7.UM07H + KNC1.UM08H + KNC1.UM09H Quarter 3 credit total KNC7.UM10H + KNC1.UM11H + KNC1.UM12H Quarter 4 credit total
DECIMAL
48
15
yes
19
AMT_CR_QTR02_LOC
DECIMAL
48
15
yes
20
AMT_CR_QTR03_LOC
DECIMAL
48
15
yes
21
AMT_CR_QTR04_LOC
DECIMAL
48
15
yes
22
AMT_CR_YTD_LOC
DECIMAL
48
15
yes
23
AMT_DR_PER01_LOC
DECIMAL
48
15
yes
24
AMT_DR_PER02_LOC
DECIMAL
48
15
yes
25
AMT_DR_PER03_LOC
DECIMAL
48
15
yes
26
AMT_DR_PER04_LOC
DECIMAL
48
15
yes
27
AMT_DR_PER05_LOC
DECIMAL
48
15
yes
28
AMT_DR_PER06_LOC
DECIMAL
48
15
yes
29
AMT_DR_PER07_LOC
DECIMAL
48
15
yes
30
AMT_DR_PER08_LOC
DECIMAL
48
15
yes
31
AMT_DR_PER09_LOC
DECIMAL
48
15
yes
32
AMT_DR_PER10_LOC
DECIMAL
48
15
yes
33
AMT_DR_PER11_LOC
DECIMAL
48
15
yes
34
AMT_DR_PER12_LOC
DECIMAL
48
15
yes
30
35
AMT_DR_PER13_LOC
DECIMAL
48
15
yes
36
AMT_DR_PER14_LOC
DECIMAL
48
15
yes
37
AMT_DR_PER15_LOC
DECIMAL
48
15
yes
38
AMT_DR_PER16_LOC
DECIMAL
48
15
yes
39
AMT_DR_QTR01_LOC
KNC1.UM01S + KNC1.UM02S + KNC1.UM03S Quarter 1 debit total KNC1.UM04S + KNC1.UM05S + KNC1.UM06S Quarter 2 debit total KNC7.UM07S + KNC1.UM08S + KNC1.UM09S Quarter 3 debit total KNC7.UM10S + KNC1.UM11S + KNC1.UM12S Quarter 4 debit total
DECIMAL
48
15
yes
40
AMT_DR_QTR02_LOC
DECIMAL
48
15
yes
41
AMT_DR_QTR03_LOC
DECIMAL
48
15
yes
42
AMT_DR_QTR04_LOC
DECIMAL
48
15
yes
43
AMT_DR_YTD_LOC
DECIMAL
48
15
yes
44
AMT_PER_BEGIN_LO C AMT_SALES_PER01_ LOC AMT_SALES_PER02_ LOC AMT_SALES_PER03_ LOC AMT_SALES_PER04_ LOC AMT_SALES_PER05_ LOC AMT_SALES_PER06_ LOC AMT_SALES_PER07_ LOC AMT_SALES_PER08_ LOC
DECIMAL
48
15
yes
45
DECIMAL
48
15
yes
46
DECIMAL
48
15
yes
47
DECIMAL
48
15
yes
48
DECIMAL
48
15
yes
49
DECIMAL
48
15
yes
50
DECIMAL
48
15
yes
51
DECIMAL
48
15
yes
52
DECIMAL
48
15
yes
31
Appendix Table Column Details AMT_SALES_PER09_ LOC AMT_SALES_PER10_ LOC AMT_SALES_PER11_ LOC AMT_SALES_PER12_ LOC AMT_SALES_PER13_ LOC AMT_SALES_PER14_ LOC AMT_SALES_PER15_ LOC AMT_SALES_PER16_ LOC AMT_SALES_QTR01_ LOC AMT_SALES_QTR02_ LOC AMT_SALES_QTR03_ LOC AMT_SALES_QTR04_ LOC AMT_SALES_YTD_LO C
53
DECIMAL
48
15
yes
54
DECIMAL
48
15
yes
55
DECIMAL
48
15
yes
56
DECIMAL
48
15
yes
57
DECIMAL
48
15
yes
58
DECIMAL
48
15
yes
59
DECIMAL
48
15
yes
60
DECIMAL
48
15
yes
61
KNC1.UM01U + KNC1.UM02U + KNC1.UM03U Quarter 1 sales total KNC1.UM04U + KNC1.UM05U + KNC1.UM06U Quarter 2 sales total KNC7.UM07U + KNC1.UM08U + KNC1.UM09U Quarter 3 sales total KNC7.UM10U + KNC1.UM11U + KNC1.UM12U Quarter 4 sales total
DECIMAL
48
15
yes
62
DECIMAL
48
15
yes
63
DECIMAL
48
15
yes
64
DECIMAL
48
15
yes
65
DECIMAL
48
15
yes
66
CMPNY_CODE_ID
PK
NVARCSTR
no
67
CREATE_DATE
PK
DATETIME
24
yes
68
CR_CTRL_AREA_ID
PK
T001.KKBER -- Credit control area from Company Code Table Global Currency ID - From Global Variable $G_GLOBAL_CURRENCY
NVARCSTR
yes
69
CURR_ID_GBL
PK
NVARCSTR
yes
70
CURR_ID_LOC
PK
Currency Code from the SAP Company Master NVARCSTR table (T001)
yes
32
71
CUSTOMER_ID
PK
NVARCSTR
10
no
72
EXCH_TYPE_ID_GBL
PK
NVARCSTR
yes
73
FISC_YEAR
PK
INTEGER
no
74
FISC_YR_VARIANT_ID
yes
75
LOAD_DATE
Load Date
DATETIME
24
yes
76
LOAD_TIME
Load Time
NVARCSTR
10
yes
77
PARTITION_YEAR
PK
Duplicate of Fisc. Year column to allow for Table partition on a field not in the Primary Key INTEGER Concatenated Customer Number and Company Code
yes
78
SUMMARY_KEY
NVARCSTR
14
yes
33
CUSTOMER_SUMMARY_FACT_VR
KNC1 - Customer master (transaction figures) in Vertical Format (1 row per fiscal PERIOD)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
AGING_INTERVAL_ID PK
Aging Interval ID
DECIMAL
48
28
yes
AMT_CR_LOC
DECIMAL
48
15
yes
AMT_DR_LOC
DECIMAL
48
15
yes
DECIMAL
48
15
yes
DECIMAL
48
15
yes
AMT_PTD_LOC
DECIMAL
48
15
yes
AMT_SALES_LOC
DECIMAL
48
15
yes
CMPNY_CODE_ID
PK
Company code
NVARCSTR
no
CREATE_DATE
PK
DATETIME
24
yes
10
CR_CTRL_AREA_ID
PK
T001.KKBER -- Credit control area from Company Code Table Global Currency ID - From Global Variable $G_GLOBAL_CURRENCY
NVARCSTR
yes
11
CURR_ID_GBL
PK
NVARCSTR
yes
12
CURR_ID_LOC
PK
Currency Code from the SAP Company Master NVARCSTR table (T001)
yes
13
CUSTOMER_ID
PK
Customer number
NVARCSTR
10
no
14
EXCH_TYPE_ID_GBL
PK
NVARCSTR
yes
15
FISC_PERIOD
PK
INTEGER
no
16
FISC_YEAR
PK
INTEGER
no
34
17
FISC_YR_VARIANT_ID PK
NVARCSTR
yes
18
LOAD_DATE
DATETIME
24
yes
19
LOAD_TIME
NVARCSTR
10
yes
20
PARTITION_YEAR
PK
Same as Fiscal Year used for table partitioning. INTEGER Concatenation of PRIMARY KEY for the call to the function RM_RollingSummary_Calculation NVARCSTR Function
yes
21
SUMMARY_KEY
14
yes
35
CUSTOMER_SUMMARY_STAGE_VR
KNC1 - Customer master (transaction figures) in Horizontal Format (1 row per fiscal YEAR)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
AGING_INTERVAL_ID
Aging Interval ID
DECIMAL
48
28
yes
AMT_CR_LOC
DECIMAL
48
15
yes
AMT_DR_LOC
DECIMAL
48
15
yes
DECIMAL
48
15
yes
DECIMAL
48
15
yes
AMT_PTD_LOC
DECIMAL
48
15
yes
AMT_SALES
DECIMAL
48
15
yes
CMPNY_CODE_ID
PK
Company code
NVARCSTR
no
CREATE_DATE
DATETIME
24
yes
10
CR_CTRL_AREA_ID
T001.KKBER -- Credit control area from Company Code Table Global Currency ID - From Global Variable $G_GLOBAL_CURRENCY
NVARCSTR
yes
11
CURR_ID_GBL
NVARCSTR
yes
12
CURR_ID_LOC
Currency Code from the SAP Company Master NVARCSTR table (T001)
yes
13
CUSTOMER_ID
PK
Customer number
NVARCSTR
10
no
14
EXCH_TYPE_ID_GBL
NVARCSTR
yes
15
FISC_PERIOD
PK
Fiscal Period
DECIMAL
48
28
no
16
FISC_YEAR
PK
Fiscal year
INTEGER
no
36
Appendix Table Column Details Fiscal Year Variant ID from Company Master in NVARCSTR SAP (T001)
17
FISC_YR_VARIANT_ID
yes
18
LOAD_DATE
DATETIME
24
yes
19
LOAD_TIME
NVARCSTR
10
yes
20
PARTITION_YEAR
PK
Duplicate of Fisc. Year column to allow for Table partition on a field not in the Primary Key INTEGER Concatenated Customer Number and Company Code
yes
21
SUMMARY_KEY
NVARCSTR
14
yes
DEBIT_CREDIT_INDICATOR
Debit or Credit Flag (from DD07T with DOMNAME = SHKZG)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
DIM_SRC_ID
PK
Dimension Source. This is a combined dimension combining different varieties of "Debit/Credit" from different sources. This field identifies the source of "Debit/Credit" Desc. of Debit / Credit Indicator ID
NVARCSTR
10
no
DR_CR_DESCR
NVARCSTR
60
yes
DR_CR_ID
PK
NVARCSTR
10
no
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
37
DOCUMENT_CATEGORY
Domain VBTYP (Table DD07T) - Sales Document Categ
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
DIM_SRC_ID
PK
Dimension Source from table AW_DIMENSION_SOURCE Document Category Description from multiple sources in SAP
NVARCSTR
10
no
DOC_CATEG_DESCR
NVARCSTR
100
yes
DOC_CATEG_ID
PK
10
no
LOAD_DATE
DATETIME
24
yes
LOAD_TIME
NVARCSTR
yes
DOCUMENT_TYPE
Internal Order Type attributes from T003O/T003P
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
DIM_SRC_ID
PK
NVARCSTR
10
no
DOC_CATEG_DESCR
NVARCSTR
100
yes
DOC_CATEG_ID
PK
NVARCSTR
10
no
DOC_TYPE_DESCR
NVARCSTR
100
yes
DOC_TYPE_ID
PK
NVARCSTR
10
no
LOAD_DATE
DATETIME
24
yes
LOAD_TIME
NVARCSTR
yes
38
FISC_PERIOD
Table derived from Fisc. Yr Variants in SAP (tables T009, T009B, T009C, and T009T)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CALENDAR_HALF
NVARCSTR
yes
Calendar Month (January - December) for this Fiscal Period Calendar Month (Numeric) for this Fiscal Period Calendar Month (JAN - DEC) for this fiscal Period
NVARCSTR
14
yes
NVARCSTR
yes
NVARCSTR
yes
INTEGER
yes
CALENDAR_YEAR
INTEGER
yes
NVARCSTR
12
yes
NVARCSTR
12
yes
NVARCSTR
12
yes
10
END_DATE
DATETIME
24
yes
11
FISC_HALF
NVARCSTR
yes
12
FISC_MONTH
NVARCSTR
yes
13
FISC_PERIOD
PK
INTEGER
no
14
FISC_QUARTER
Fiscal Quarter
NVARCSTR
yes
15
FISC_YEAR
PK
INTEGER
no
16
FISC_YEAR_HALF
NVARCSTR
12
yes
39
17
FISC_YEAR_MONTH
NVARCSTR
12
yes
18
FISC_YEAR_PERIOD
NVARCSTR
12
yes
19
FISC_YEAR_QUARTE R
NVARCSTR
12
yes
20
FISC_YR_VARIANT_ID PK
NVARCSTR
no
21
FISC_YR_VARIANT_N AME
NVARCSTR
30
yes
22
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
23
LOAD_TIME
NVARCSTR
yes
24
SPECL_PERIOD_FLA G
Y = This is a special period in SAP, N = This is NVARCSTR NOT a special period in SAP
yes
25
START_DATE
DATETIME
24
yes
40
FISC_PERIOD_STAGE
Table derived from Fisc. Yr Variants in SAP (tables T009, T009B, T009C, and T009T)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CALENDAR_DATE
PK
DATETIME
24
no
FISC_MONTH
NVARCSTR
yes
FISC_PERIOD
PK
INTEGER
no
FISC_YEAR
INTEGER
yes
FISC_YR_VARIANT_ID PK
NVARCSTR
no
FISC_YR_VARIANT_N AME
NVARCSTR
30
yes
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
INTEGER
yes
10
INTEGER
yes
41
GL_ACCOUNT_BY_COMPANY
GL Account by Company (Union of table SKA1 and SKB1 in SAP)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCTNG_CLERK_ID
NVARCSTR
yes
NVARCSTR
30
yes
NVARCSTR
yes
CHART_OF_ACCT_ID PK
NVARCSTR
no
NVARCSTR
yes
NVARCSTR
50
yes
NVARCSTR
36
yes
CMPNY_CODE_ID
PK
NVARCSTR
no
CMPNY_CODE_NAME
NVARCSTR
25
yes
10
CMPNY_CODE_NAM E_GBL CREATED_BY_CHART _OF_ACCT CREATED_BY_CMP NY_CODE CREATE_DATE_CHAR T_OF_ACCT CREATE_DATE_CM PNY_CODE CR_CTRL_AREA_DES CR
T001.BUKRS_GLOB- Name of global company NVARCSTR code SKA1.ERNAM - Name of Person who Created NVARCSTR the Object SKB1-ERNAM -- Name of the user who created the object SKA1.ERDAT - Date on which the Chart of Accounts Record Was Created
yes
11
12
yes
12
NVARCSTR
12
yes
13
DATETIME
24
yes
14
24
yes
15
35
yes
16
CR_CTRL_AREA_ID
NVARCSTR
yes
42
17
CURR_DESCR
40
yes
18
CURR_ID
SKB1-WAERS -- Account currency FM01T.FITXT -Financial management area Description (also called Funds Management Area)
NVARCSTR
yes
19
FIN_MGMT_AREA_DE SCR
NVARCSTR
25
yes
20
FIN_MGMT_AREA_ID
yes
21
FUNCTNL_AREA_DES CR
NVARCSTR
25
yes
22
FUNCTNL_AREA_ID
NVARCSTR
16
yes
23
GL_ACCT_FULL_NAM E
NVARCSTR
80
yes
24
GL_ACCT_GRP
NVARCSTR
yes
25
GL_ACCT_ID
PK
NVARCSTR
10
no
26
GL_ACCT_ID_GRP
NVARCSTR
10
yes
27
GL_ACCT_MASTER_D ESCR
NVARCSTR
50
yes
28
GL_ADDTNL_TXT
NVARCSTR
50
yes
29
HOUSE_BANK_ID
NVARCSTR
yes
30
LOAD_DATE
DATETIME
24
yes
31
LOAD_TIME
NVARCSTR
yes
32
PLANNG_GRP_DES CR
NVARCSTR
30
yes
33
PLANNG_GRP_ID
NVARCSTR
10
yes
34
PLANNG_LVL_DESCR
NVARCSTR
30
yes
43
35
PLANNG_LVL_ID
NVARCSTR
yes
36
SKA1.GVTYP - P and L statement account type DD07T.DDTEXT -- Description if account is reconciliation account (Domain MITKZ) SKB1-MITKZ -- Indicator if account is reconciliation account
NVARCSTR
yes
37
NVARCSTR
60
yes
38
RECONCILE_ACCT_ID
NVARCSTR
yes
39
RECPT_DISBURSE_F LAG
SKB1-XGKON -- Cash receipt account or cash NVARCSTR disbursement account (X = Yes, Blank = NO)
yes
PAYMENT_BLOCK
T008T- Payment Blocks
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS) T008T.TEXTL- Explanation of the Reason for Payment Block
24
yes
LOAD_TIME
NVARCSTR
yes
PAYMNT_BLOCK_D ESCR
NVARCSTR
20
yes
PAYMNT_BLOCK_ID
PK
NVARCSTR
no
44
PAYMENT_REASON_CODE
T053S - Classification of Payment Differences (Texts)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CMPNY_CODE_ID
PK
NVARCSTR
no
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
PK
NVARCSTR
no
NVARCSTR
40
yes
PAYMENT_TERM
Table of explanations of payment term keys
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
PK
Day limit
NVARCSTR
no
NVARCSTR
50
yes
PAYMNT_TERM_ID
PK
NVARCSTR
no
45
POSTING_KEY_TYPE
Posting key information
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCT_TYPE_DESCR
NVARCSTR
60
yes
ACCT_TYPE_ID
NVARCSTR
10
yes
DR_CR_ID
Debit/credit indicator
NVARCSTR
10
yes
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
PAYMNT_FLAG
Payment indicator
NVARCSTR
yes
POST_KEY_DESCR
Description
NVARCSTR
20
yes
POST_KEY_ID
PK
Posting key
NVARCSTR
no
NVARCSTR
yes
10
Sales-related indicator
NVARCSTR
yes
11
SPECL_GL_ID
PK
NVARCSTR
no
46
SPECIAL_GL_INDICATOR
T074T - Special G/L Indicator Names
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
ACCT_TYPE_DESCR
NVARCSTR
60
yes
ACCT_TYPE_ID
PK
Account type
NVARCSTR
10
no
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
SPECL_GL_DESCR
NVARCSTR
30
yes
SPECL_GL_ID
PK
NVARCSTR
no
47
TIME_DIM
Time Dimension (Daily)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CALENDAR_DATE
PK
Calendar Date
DATETIME
24
no
CALENDAR_MONTH
INTEGER
yes
CALENDAR_QUART ER
Calendar Quarter
INTEGER
yes
CALENDAR_YEAR
Calenar Year
INTEGER
yes
DAY_IN_PERIOD
INTEGER
yes
DAY_IN_WEEK
INTEGER
yes
FISC_PERIOD
Fiscal Period of Calendar Date. Retrieved from INTEGER SAP using FI_PERIOD_DETEMINE Fiscal Year of Calendar Date. Retrieved from SAP using FI_PERIOD_DETEMINE
yes
FISC_YEAR
INTEGER
yes
IS_WEEKEND
NVARCSTR
yes
10
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
11
LOAD_TIME
NVARCSTR
yes
12
MONTH_YEAR
NVARCSTR
10
yes
13
WEEK_IN_YEAR
DECIMAL
48
28
yes
48
TIME_DIM_WEEKLY
Time Dimension (WEEKLY). Used for summary facts (such as BENEFIT_ENROLL_SUMMARY_FACT)
# Column Name Key Column Desc Column Datatype Dtype Length Precision Scale Is Nullable
CALENDAR_YEAR
PK
Calenar Year
INTEGER
no
LOAD_DATE
Date and time when the record was loaded into DATETIME Rapid Mart Time when the record was loaded into the RapidMart (string format HH24:MI:SS)
24
yes
LOAD_TIME
NVARCSTR
yes
WEEK_END_DATE
DATETIME
24
yes
WEEK_IN_YEAR
PK
DECIMAL
48
28
no
WEEK_NAME
NVARCSTR
60
yes
WEEK_START_DATE
DATETIME
24
yes
INTEGER
yes
INTEGER
yes
10
INTEGER
yes
11
INTEGER
yes
49