94
BusinessObjects Cost Center Rapid Mart Business Guide Version 11.5.4.3

CA_bg

  • Upload
    vky-ram

  • View
    93

  • Download
    12

Embed Size (px)

Citation preview

Page 1: CA_bg

BusinessObjects Cost Center Rapid Mart Business Guide

Version 11.5.4.3

Page 2: CA_bg

Patents Business Objects owns the following U.S. patents, which may cover products that are offered and sold by Business Objects: 5,555,403, 6,247,008 B1, 6,578,027 B2, 6,490,593 and 6,289,352.

Trademarks Business Objects owns the following U.S. patents, which may cover products that are offered and licensed by Business Objects: 5,555,403; 6,247.008 B1; 6,578,027 B2; 6,490,593; and6,289,352. Business Objects and the Business Objects logo, BusinessObjects, CrystalReports, Crystal Xcelsius, Crystal Decisions, Intelligent Question, Desktop Intelligence,Crystal Enterprise, Crystal Analysis, WebIntelligence, RapidMarts, and BusinessQuery aretrademarks or registered trademarks of Business Objects in the United States and/or othercountries. All other names mentioned herein may be trademarks of their respective owners.

Copyright Copyright © 2007 Business Objects. All rights reserved.

Page 3: CA_bg
Page 4: CA_bg
Page 5: CA_bg

Contents

Chapter 1 Introduction 7

What is a Rapid Mart? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Rapid Marts Accelerate Time to Value . . . . . . . . . . . . . . . . . . . . . . . . . 8BusinessObjects Rapid Mart architecture . . . . . . . . . . . . . . . . . . . . . . . 9

About this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Chapter 2 Overview 11Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12What you can do with this Rapid Mart . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Supported analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Dimensions available to support these analyses . . . . . . . . . . . . . . . . . 16Related Rapid Marts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Fitting into the accounting process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Business Objects Cost Center Rapid Mart Schema . . . . . . . . . . . . . . . . . 21

Chapter 3 Rapid Mart Subject Areas 23Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Cost Analysis Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Cost Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Financial Organization Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Cost Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Profit Centers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Vendors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Accounting Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Cost Transaction Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Rapid Mart Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Rapid Mart Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Cost Summary Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

BusinessObjects Cost Center Rapid Mart Business Guide 5

Page 6: CA_bg

Contents

Rapid Mart Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Rapid Mart Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Profit Center Transactions Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Rapid Mart Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Rapid Mart Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Chapter 4 Reports 47Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Cost Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Recommended table joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Cost Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Recommended table joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

Profit Center Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Recommended table joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

Hierarchy Data Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Invalid Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

6 BusinessObjects Cost Center Rapid Mart Business Guide

Page 7: CA_bg

Introduction

chapter

Page 8: CA_bg

IntroductionWhat is a Rapid Mart?1

What is a Rapid Mart?

BusinessObjects™ Rapid Marts provide packaged extraction of operational data to accelerate the deployment of business intelligence (BI). They are add-on products to BusinessObjects™ Data Integrator that combine domain knowledge with data integration best practices to deliver pre-built data models, transformation logic, and data flows for extracting data from enterprise applications from SAP, PeopleSoft, Oracle, J. D. Edwards, Siebel and Salesforce.com.Rapid Marts deliver pre-packaged business content and data flows in a single data platform optimized for BI and analytic applications. Rapid Marts enable business users to report on and gain insight into their enterprise information. Most include prebuilt Business Objects reports and universes that deliver domain knowledge on operational systems.BI tools and analytic tools can access Rapid Mart data directly through SQL queries or indirectly through a Data Integrator RealTime request-response system. Rapid Marts can be implemented individually, or in any combination, to form a single platform that delivers the infrastructure for your company’s internal and external information needs. They can also serve as a staging area for enterprise analytic applications.Rapid Marts provide IT with an accelerated time to value through rapid BI deployments because you can implement them quickly and easily customize them to meet specific analytic requirement.

Rapid Marts Accelerate Time to ValueRapid Marts are packaged data solutions that you can quickly deploy to address specific areas of business analysis. Available Rapid Marts include:• BusinessObjects Sales Rapid Mart• BusinessObjects Cost Center Rapid Mart• BusinessObjects Profitability Rapid Mart• BusinessObjects General Ledger Rapid Mart• BusinessObjects Accounts Receivable Rapid Mart• BusinessObjects Accounts Payable Rapid Mart• BusinessObjects Federal Financials Rapid Mart• BusinessObjects Fixed Assets Rapid Mart• BusinessObjects Purchasing Rapid Mart• BusinessObjects Inventory Rapid Mart

8 BusinessObjects Cost Center Rapid Mart Business Guide

Page 9: CA_bg

IntroductionWhat is a Rapid Mart? 1

• BusinessObjects Plant Maintenance Rapid Mart• BusinessObjects HR Rapid Mart• BusinessObjects Production Planning Rapid Mart• BusinessObjects Project Systems Rapid Mart• BusinessObjects Pipeline Rapid Mart• BusinessObjects Call Center Rapid Mart• BusinessObjects Campaign Rapid MartYou can combine multiple Rapid Marts into a single environment to build the foundation for your data warehouse or use them as a staging area for BusinessObjects Analytic Applications.

BusinessObjects Rapid Mart architectureRapid Marts provide a powerful jumpstart for building source-specific data marts for operational reporting and packaged data integration for enterprise analytic applications. The following diagram shows where Rapid Marts fit in the deployemt of business intelligence process:

BusinessObjects Cost Center Rapid Mart Business Guide 9

Page 10: CA_bg

IntroductionAbout this document1

About this document

This document describes the BusinessObjects Cost Center Rapid Mart. This document contains information for a variety of users—information that helps you understand the use of the Rapid Mart, the data in the Rapid Mart, the reports you can create with the Rapid Mart, and how to use and update the Rapid Mart.This document contains the following chapters:• Chapter 2: Overview — Describes the business problems you can solve

and the types of analyses you can do with this Rapid Mart• Chapter 3: Rapid Mart Subject Areas — Contains detailed information

about each componentized section in the Rapid Mart, including the processes each section captures

• Chapter 4: Reports — Provides examples of reports you can produce

10 BusinessObjects Cost Center Rapid Mart Business Guide

Page 11: CA_bg

Overview

chapter

Page 12: CA_bg

OverviewOverview2

Overview

This chapter describes the business problems you can solve with the BusinessObjects Cost Center Rapid Mart 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 includes the following topics:• What you can do with this Rapid Mart• Supported analyses• Related Rapid Marts• Fitting into the accounting process• Business Objects Cost Center Rapid Mart Schema

What you can do with this Rapid MartThe BusinessObjects Cost Center Rapid Mart is designed to handle data from the controlling (CO) module of SAP. The Rapid Mart enables businesses to manage and monitor expenses and meet internal accounting needs for users within management, marketing, finance, accounting, sales, and manufacturing.The BusinessObjects Cost Center Rapid Mart addresses 4 sub-modules of CO:• Cost element accounting (CO-CEL)• Cost center accounting (CO-OM-CCA)• Overhead (or internal) order accounting (CO-OM-OOA)• Profit Center Accounting (EC-PCA)The Rapid Mart simplifies the data organization in all three areas, making it easier to investigate, analyze, and report on accounting transactions and balances. Specifically, the Rapid Mart accesses the SAP master data files to create fact and dimension tables.Like other Rapid Marts, the BusinessObjects Cost Center Rapid Mart is made up of several componentized sections. Each section supports a subject related to analysis of business expenses: • Cost Transaction Section — Tracks actual primary and secondary cost

transactions for both internal and external costs at the line item level or rolled up to any dimension.

12 BusinessObjects Cost Center Rapid Mart Business Guide

Page 13: CA_bg

OverviewWhat you can do with this Rapid Mart 2

• Cost Summary Section — Tracks planned (budgeted) and actual cost period balances (both vertically and horizontally) by organization structure, cost object, fiscal period, and other dimensions. In vertical format, the data is presented with one row per fiscal period. In horizontal format, the data is presented with one row per fiscal year with upto 16 fiscal periods represented on each row of data. SAP only presents the horizontal format. The vertical format is achieved in the Rapid Mart ETL process with Data Integrator with Hierarchy Flattening Transforms, and Pivot Transforms.

• Profit Center Transactions Section — Tracks planned and actual costs and revenue by profit center, fiscal period, and other dimensions. The profit center transactions are categorized as either “Actuals” or “Planned” (Budget) transactions. SAP also segregates the data in this manner by storing the “Actuals” and “Planned” transactions is separate database tables.

Additionally, the Rapid Mart provides a series of hierarchies that are available to all sections. Hierarchies are a group of dimensions with flexible vertically and horizontally flattened accounting structures (or sets) for:

• Activities• Cost Center• Cost Elements• Internal Orders• Project Elements• Profit Centers

Each of these hierarchies is in turn linked to data from the sections (Cost Summary, Cost Transaction, and Profit Center).Each of the cost hierarchies may contain records that are valid in SAP but invalid for the Rapid Mart. This occurs when a node in the hierarchy is defined as both parent and child of itself. This results in a circular dependency that cannot be resoved by the Rapid Mart.The BusinessObjects Cost Center Rapid Mart identifies these records and loads them into separate validation tables. This allows you to correct the data in SAP and then re-load the Rapid Mart.Chapter 3: Rapid Mart Subject Areas discusses each of these sections in more detail and describes how to link them together to form a complete cost analysis solution.

BusinessObjects Cost Center Rapid Mart Business Guide 13

Page 14: CA_bg

OverviewSupported analyses2

Supported analyses

The BusinessObjects Cost Center Rapid Mart supports several types of analyses.

Business function Type of analysis Measures available in the Rapid Mart

Cost Center Accounting Costs and allocations • Drill down or roll up using cost center hierarchies

• Transaction and summary information (fixed and variable quantities, units of measure, and values, in transaction, cost center, and controlling area currencies) for all cost centers within a reporting period

• Cost allocation trends by period by year

Plan/Actual/Variance • Overview of costs incurred on a cost center or cost center hierarchy, by planned and actual values for a reporting period

• Overview of costs incurred on a cost center or cost center hierarchy, by planned and actual values during a fiscal year or other time horizon

• Analysis of cost planning efficiencyCost Element Accounting

Costs incurred by type • Drill down or roll up using cost element hierarchies

• Overview of costs for cost centers, internal orders and activities, by fixed and variable quantities, units of measure, and amounts in various currencies for a reporting period

Plan/Actual/Variance • Analysis of costs incurred by planned and actual values for a reporting period

• Analysis of cost elements rolled up by cost center or internal order, by planned and actual values during a fiscal year or other time horizon

14 BusinessObjects Cost Center Rapid Mart Business Guide

Page 15: CA_bg

OverviewSupported analyses 2

Project Element (WBS) accounting

Costs incurred by type • Drill down or roll up using Project Element hierarchies.

• Overview of costs by project element, by cost element, by fixed and variable quantities, units of measure, and amounts in various currencies for a reporting period

Plan/Actual/Variance • Analysis of costs incurred by planned and actual values for a reporting period

• Analysis of project elements rolled up by cost element, by planned and actual values during a fiscal year or other time horizon

Internal (Overhead) Orders

Costs and Allocations • Drill down or roll up using internal order hierarchies

• Transaction and summary information (fixed and variable quantities, units of measure, and values, in transaction, cost object, and controlling area currencies) for all cost centers within a reporting period

Plan/Actual/Variance • Overview of costs incurred on an order or order hierarchy, by planned and actual values for a reporting period

• Overview of costs incurred on an order or order hierarchy, by planned and actual values during a fiscal year or other time horizon

Business function Type of analysis Measures available in the Rapid Mart

BusinessObjects Cost Center Rapid Mart Business Guide 15

Page 16: CA_bg

OverviewSupported analyses2

Dimensions available to support these analysesThe BusinessObjects Cost Center Rapid Mart contains a number of dimension tables that use business intelligence tools to facilitate analysis. The Rapid Mart extracts these tables from SAP master data and customizable tables. The tables include enterprise entities (such as controlling area, business area, company code, vendor and material data) and CO module data (such as activity, value type, controlling object and internal order information). A complete list of dimensions is presented below:

Profitability Analysis Cost Based Profitability

• Plan/Actual/Variance for revenues by profit center based on cost of sales valuation approach.

• Drill up and down using profit center hierarchies.

• Overhead cost trends analysis by profit center.

Account Based Profitability

• Plan/Actual/Variance using cost and revenue elements by profit centers.

• Return on investment analysis• Comparison of revenues and imputed

costs by cost and revenue elements.

Business function Type of analysis Measures available in the Rapid Mart

Dimension Comment

ActivityActivity Hierarchy Hz Horizontal HierarchyActivity Hierarchy Vr Vertical HierarchyBusiness AreaBusiness Transaction TypeControlling VersionCompanyControlling AreaFunctional AreaValue TypeCost Center

16 BusinessObjects Cost Center Rapid Mart Business Guide

Page 17: CA_bg

OverviewSupported analyses 2

Cost Center Hierarchy Hz Horizontal HierarchyCost Center Hierarchy Vr Vertical HierarchyCost Center GeographyCost Center Contact NumbersCost ElementCost Element Hierarchy Hz Horizontal HierarchyCost Element Hierarchy Vr Vertical HierarchyGL AccountInternal OrdersInternal Order Hierarchy Hz Horizontal HierarchyInternal Order Hierarchy Vr Vertical HierarchyMaterialsMaterial Product HierarchyCompany Code CurrencyCtrl Area CurrencyObject Currency Transaction CurrencyObject ClassObject TypeProfit CenterProfit Center Hierarchy Hz Horizontal HierarchyProfit Center Hierarchy Vr Vertical HierarchyProfit Center GeographyProfit Center Contact NumbersProjectProject ProfilesProject ElementProject Element Hierarchy Hz Horizontal HierarchyProject Element Hierarchy Vr Vertical HierarchyProject Element DatesPosting Date Time Dimension

Dimension Comment

BusinessObjects Cost Center Rapid Mart Business Guide 17

Page 18: CA_bg

OverviewSupported analyses2

Booking (Creation) Date Time DimensionCtrl Area Fiscal PeriodsCompany Code Fiscal PeriodsUnits Of MeasureVendorVendor GeographyVendor Contact NumbersVendor Categories

Dimension Comment

18 BusinessObjects Cost Center Rapid Mart Business Guide

Page 19: CA_bg

OverviewRelated Rapid Marts 2

Related Rapid MartsComponents of the BusinessObjects Cost Center Rapid Mart are related to other Business Objects Rapid Mart components. For example,• Vendor and material components are included in the Purchasing Rapid

Mart and the Inventory Rapid Mart.• The internal orders in this Rapid Mart include the production planning

orders found in the Production Planning Rapid Mart.• Profitability analysis from the revenue reported in the Sales Rapid Mart.Each of the sections listed in “What you can do with this Rapid Mart” on page 12 is a component. You can identify a component within a Data Integrator job by a “C_” prefix before its name. For example, the component that contains cost transactions and the associated reporting dimensions is named C_CostTransaction_Section_SAP.

The same components can be used in multiple Rapid Marts. For example, a component that extracts information about materials bought, produced, and sold is needed for a Rapid Mart that supports sales analysis and also for a Rapid Mart that supports inventory analysis. Work flows that extract star schema “dimensions” are components. You can add a component to any Rapid Mart using a simple import procedure. A Data Integrator job can include multiple instances of a component. For example, each section includes all the required dimension components. Therefore, a job with several sections may include several instances of a particular dimension component. Components are set to execute only once within a job. This “execute once” feature ensures that shared components do not cause duplicate data extraction from SAP. For more information about the “execute once” feature, see the Data Integrator Designer Guide.

Fitting into the accounting processThe SAP Cost Accounting process consists of the following elements:• Personnel costs• G/L expenses• Asset depreciation• Billing documents• Sales orders• Goods issues

BusinessObjects Cost Center Rapid Mart Business Guide 19

Page 20: CA_bg

OverviewFitting into the accounting process2

• Purchase ordersYou can combine the sections contained in the BusinessObjects Cost Center Rapid Mart with the purchasing sections from the Purchasing Rapid Mart, the sales order section from the Sales Rapid Mart, the employee payroll section from the HR Rapid Mart, and the general ledger information from the Accounts Payable and the Accounts Receivable Rapid Marts to create a comprehensive view of costs incurred by your enterprise. .

GoodsIssues

SalesOrders

Cost & ProfitTransactions

PersonnelCosts

G/L Expenses

AssetDepreciation

BillingDocuments

Purchasing

CostCenter

PurchaseOrders

Sales

HR

AccountsPayable

AccountsReceivable

ProfitCenter

20 BusinessObjects Cost Center Rapid Mart Business Guide

Page 21: CA_bg

OverviewBusiness Objects Cost Center Rapid Mart Schema 2

Business Objects Cost Center Rapid Mart Schema

The following diagram shows an overview of the BusinessObjects Cost Center Rapid Mart components and their relationships. The larger boxes contain the fact tables corresponding to componentized sections; the smaller boxes indicate dimensional components that may apply to multiple sections.

BusinessObjects Cost Center Rapid Mart Business Guide 21

Page 22: CA_bg

OverviewBusiness Objects Cost Center Rapid Mart Schema2

22 BusinessObjects Cost Center Rapid Mart Business Guide

Page 23: CA_bg

Rapid Mart Subject Areas

chapter

Page 24: CA_bg

Rapid Mart Subject AreasOverview3

Overview

Each section in the BusinessObjects Cost Center Rapid Mart 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 develop reporting solutions for SAP Controlling module and need to understand the data in the Rapid Mart and how it relates to SAP. This chapter discusses: • Cost Analysis Basics• Cost Transaction Section• Cost Summary Section• Profit Center Transactions Section

Cost Analysis BasicsThe BusinessObjects Cost Center Rapid Mart details and processes transactional, summary, and master data obtained from cost accounting transactions, cost objects, and other areas. These include:• Cost Objects

• Cost Centers • Internal Orders• Project Elements• Activities

• Financial Organization Structure• Cost Elements• Projects• Profit Centers• Vendors• Accounting HierarchiesEach of these areas is detailed on the following pages.

24 BusinessObjects Cost Center Rapid Mart Business Guide

Page 25: CA_bg

Rapid Mart Subject AreasCost Analysis Basics 3

Cost ObjectsWIth Cost Objects, costs are identified according to how they are incurred. They are not an accounting system as such, but rather a detailed recording of data that forms the basis for cost accounting. They are used to post accounting transactions that describe such configured entities as Activities, Internal Orders, Cost Centers, an Project Elements. Cost Objects are mutually exclusive. That is, each Controlling transaction can refer to only one type of Cost Object. Thus, a transaction for an Internal Order, cannot also refer to a Project Element.SAP ties the various Cost Objects together with Cost Elements (a type of GL Account). Different types of Cost Objects will post to the same Cost Element. Thus, the Cost Element is used to consolidate these transactions. For more details see “Cost Elements” on page 28.

Cost CentersSAP’s cost center accounting sub-module tracks where costs occur in your company. Cost centers can be defined in several ways. For example, you can define each low-level organizational unit that has responsibility for managing costs as a cost center. As these organizational units incur costs, such as payroll, rent, and utilities, SAP posts the costs to the unit’s cost center. Cost centers can also be defined by functional requirement, allocation criteria, activities or services provided, geographic location, or by area of responsibility.Initially, cost center transactions are posted by other parts of SAP, such as financial accounting (FI) or materials management (MM). An assignment field in the transaction directs the costs to a cost center.Depending on the type of cost center, some or all of a transaction’s costs may be assigned to other cost centers or controlling objects. For example, a cafeteria provides internal services to other cost centers and might allocate its operating costs to those cost centers.SAP can allocate costs when work is completed, when other business events take place, or at the end of each accounting period. SAP can allocate costs based on specific measurements, such as number of employees in a cost center or on the actual cost incurred.In the Rapid Mart, cost elements are derived from the object number (SAP Field COEP.OBJNR) assignment on Cost Transactions. When object number starts with “KS” or “KL”, positions 7 - 16 of the object number are the cost element.

BusinessObjects Cost Center Rapid Mart Business Guide 25

Page 26: CA_bg

Rapid Mart Subject AreasCost Analysis Basics3

Internal Orders

SAP allows companies to track an internal order throughout its life cycle, from creation through the planning and posting of actual costs, up to final settlement.SAP uses internal orders to receive cost postings that track the costs associated with a particular accounting entity—be it an event, a transitional activity, or type of activity. By using internal orders, SAP enables and preserves detailed information regarding the types and amount of costs that these accounting entities incur. At the end of each accounting period, SAP can use the settlement function to allocate the order costs to the responsible cost center. Internal orders can receive cost postings through various types of transactions, and can also pass costs along to other objects in CO. When an internal order receives a cost posting that adds to the cost balance it carries (such as FI postings or goods issues from MM), SAP considers the transaction to be a debit posting to the order. When a transaction reduces the costs on an order (such as settlement to receivers either internal or external to CO), SAP considers the transaction to be a credit posting to the order.In the Rapid Mart, Internal Orders are derived from the object number (SAP Field COEP.OBJNR) assignment on Cost Transactions. When object number starts with “OR”, positions 3 - 14 of the object number are the Internal Order Number.

Project ElementsYou structure your project using Project Elements. They are also called WBS (Work Breakdown Structure). They are a hierarchical outline of an undertaking described in the project definition.Project Elements form the basis for the organization and coordination of a project. They organize project tasks into a hierarchy.The Project Elements describe specific tasks or actions in the project to be carried out within a specific time period.They are the functional basis for planning steps in a project, including: process planning, cost planning, scheduling, capacity planning or costing, as well as project control. They give you a clear picture of the project and facilitate the coordination and implementation of the project. They allow you to effectively manage a project. In SAP, individual Project Elements are assigned to the Cost Transactions. Actual Projects are not.

26 BusinessObjects Cost Center Rapid Mart Business Guide

Page 27: CA_bg

Rapid Mart Subject AreasCost Analysis Basics 3

In the Rapid Mart, Project elements are derived from the object number (SAP Field COEP.OBJNR) assignment on Cost Transactions. When object number starts with “PR”, positions 3 - 10 of the object number are the project element. When object number starts with “OR” and partner object (SAP Field COEP.PAROB1) starts with “PR”, positions 3 - 10 of the partner object are the project element.

ActivitiesYou can use the Activities to provide a business process oriented, cross-functional view of overhead costs in addition to the traditional, location-oriented view provided by Cost Center Accounting. Activities thus enhance the Cost Center Accounting.An Activity allocates process quantities based on resource and process drivers, allowing you to define cost allocation more exactly along the Value Added Chain that is possible with overhead rates. Likewise, an Activity enhances product costing by assigning the sources of costs to their originating business processes. Cost center resources can allocate to business processes based on their true utilization of activities.In contrast to traditional overhead cost accounting, Activities give a fairer assignment of the overhead costs to products, customers, distribution channels, and other objects. In the Rapid Mart, Activities are derived from the object number (SAP Field COEP.OBJNR) assignment on Cost Transactions. When object number starts with “KL”, positions 17 - 22 of the object number are the Activity ID. When object number starts with “KS” and partner object (SAP Field COEP.PAROB1) starts with “KL”, positions 17 - 22 of the partner object are the Activity ID.

BusinessObjects Cost Center Rapid Mart Business Guide 27

Page 28: CA_bg

Rapid Mart Subject AreasCost Analysis Basics3

Financial Organization Structure

The Financial Organization Structure from SAP that is covered by the Rapid Mart is shown in the diagram below:

Functional Areas are another optional organization related classification of cost accounting transactions. You can freely define these to categorize the accounting transactions in addition to other organizational elements.Some examples of Functional Areas are:

• Sales & Marketing• Administration• Manufacturing• Direct Production Costs• Research & Development

Functional Areas can be associated with:• G/L accounts• Cost Elements• Cost Centers • Activities

Cost ElementsSAP’s cost element module classifies a transaction according to the nature of the cost being posted to a given cost object (such as cost center or internal order). Each cost element maps back to a general ledger account specified in SAP’s financial accounting (FI) module.

Company Code

ControllingArea

ProfitCenter

CostCenter

BusinessArea

Key:Arrows indicate a “one to many” relationship:

one many

Example:One Controlling Area canhave many Company Codes

28 BusinessObjects Cost Center Rapid Mart Business Guide

Page 29: CA_bg

Rapid Mart Subject AreasCost Analysis Basics 3

There are two types of cost elements:• Primary — Directly incurred costs. Primary cost elements are those

relevant to cost accounting in the SAP CO. A general ledger expense account in the FI module must contain the cost element before it can be created in the CO.

• Secondary — Costs previously incurred and posted that are being reassigned to another cost object. Secondary cost elements are used exclusively for certain types of internal CO transactions. These transactions have no corresponding general ledger accounts or other definition in FI.

When SAP posts an FI transaction that uses an expense account with a primary cost element, it checks that there is a valid CO object assignment—such as to a cost center or an internal order—for that line item. SAP does not post an expense in FI unless the expense is passed as a cost to CO at the same time.Because Cost Elements are a subset of GL Accounts, the Rapid Mart stores the Cost Element ID’s as both GL Account ID’s and Cost Element ID’s. The values are identical in both fields for any given row of data. Both fields serve as foreign keys to two different dimensions: Cost Center and GL Account. The Cost Center dimension contains SAP Controlling module data. The GL Account dimension contains SAP General Ledger module data.

ProjectsIn SAP cost transactions can optionally be assigned to a project. A project is 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.Projects are generally part of the internal processes of a company. To be able to control all tasks in project execution, you need an organizational form that is specific to the project and which is shared by all departments involved. Before you can carry out a project in its entirety, the project goals must be precisely described and the project activities to be carried out must be structured. A clear, unambiguous project structure is the basis for successful project planning, monitoring, and control.A project is not directly assigned to a cost transaction in SAP. Only a Project Element is assigned directly. The Rapid Mart uses the Project Element to look up the Project ID as a Project Element can be associated with only one Project.

BusinessObjects Cost Center Rapid Mart Business Guide 29

Page 30: CA_bg

Rapid Mart Subject AreasCost Analysis Basics3

Profit Centers

This section describes Profit Centers as an organizational component, not as a type of Controlling transaction. For information on Profit Centers as a transaction see “Profit Center Transactions Section” on page 43Profit Centers are an organizational unit in Accounting that reflect 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-of-sales approach or the period accounting approach.A profit center represents an organizational subunit that operates independently on the market and bears responsibility for its own costs and revenues. You organize your organization into profit centers by assigning the master data of each profit-relevant objects (materials, cost centers, orders, projects, sales orders, assets, cost objects, and profitability segments) to a profit centerBy analyzing the fixed capital as well, you can expand your profit centers for use as investment centers. In the Rapid Mart, Profit Center are only associated with the profit center transactions.

VendorsBusiness partner to whom amounts are payable for goods delivered/ services performed. Examples of such services/goods include:

• Goods acquired • Business services received • The transfer of a right

In the Rapid Mart, Vendors are derived on Cost Transactions associated with Purchase Orders. When the reference order type on the cost transaction (SAP field COEP.RBEST) is “20” then the cost transaction is associated to a purchase order, and the purchase order number is stored in the cost transaction (SAP field COEP.EBELN). We use this purchase order number to lookup the Vendor ID on table LIFNR in SAP. Additionally, if the Value Type is “04” (Actuals) on a cost transaction (SAP field COEP.WRTTP = '04'), and the Controlling transaction is a through-posting from FI (SAP field COBK.VRGNG = 'COIN'), we get the Vendor ID from the associated Accounting Document (SAP table BSEG).

30 BusinessObjects Cost Center Rapid Mart Business Guide

Page 31: CA_bg

Rapid Mart Subject AreasCost Analysis Basics 3

Accounting HierarchiesThe Cost Center Rapid Mart has 6 hierarchy dimensions that report cost and profit breakdowns in the same manner as SAP. These hierarchies are organized in both horizontal and vertical format. They are:

• Activity• Cost Center• Cost Element• Project Element• Internal Orders • Profit Center

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. Horizontal hierarchies are organized so that all levels (or nodes) appear as columns on a single row of data. Vertical hierarchies represent each level or node with an individual row of data. For more details refer to chapter 5 (Universe) section on “Hierarchies” on page 124.

BusinessObjects Cost Center Rapid Mart Business Guide 31

Page 32: CA_bg

Rapid Mart Subject AreasCost Transaction Section3

Cost Transaction Section

The Cost Transaction Section extracts SAP data that allows cost transactions to be monitored and classified. Cost transaction data can be used to track costs that have been incurred (such as labor, postage or telephone costs), and to pinpoint where costs occur within a company. Cost transaction data can also be used to track costs associated with a particular accounting entity, such as a building project or a marketing event. Cost transaction data allows viewing details of individual accounting transactions such as transaction number, posting date, material, vendor, transaction amount and quantity.

Rapid Mart ProcessingExtracted cost transaction data is stored in the CO_TRANS_FACT table. The cost transaction section also captures the following dimensional attributes, and their associated dimension tables:

Attribute name Dimension Table Name

Activity and associated hierarchies

ACTIVITY,ACTIVITY_HIER,ACTIVITY_HIER_HR,ACTIVITY_HIER_VR

Business Area BUSINESS_AREABusiness Transaction CO_TRANSControlling Version CO_VERSIONCompany Code COMPANY_CODEControlling Area CONTROLLING_AREACost Center and associated hierarchies

COST_CENTERCOST_CNTR_HIER,COST_CNTR_HIER_HR,COST_CNTR_HIER_VR

Cost Element and associated hierarchies

COST_ELEMENT,COST_ELEM_HIER,COST_ELEM_HIER_HR,COST_ELEM_HIER_VR

Currency Codes CURRENCY

32 BusinessObjects Cost Center Rapid Mart Business Guide

Page 33: CA_bg

Rapid Mart Subject AreasCost Transaction Section 3

The cost transaction section extracts cost-related data from the SAP header and line item tables (tables COBK and COEP in SAP respectively).

Fact Table FieldsThe Cost Transaction Detail table (CO_TRANS_FACT) contains the following measures:• VALUE_TXN_CURR: Cost Transaction Value in Transaction Currency• VALUE_OBJ_CURR: Cost Transaction Value in Cost Center (Object)

Currency• VALUE_CO_CURR: Cost Transaction Value in Controlling Area Currency• VALUE_CO_CURR_FIX: Cost Transaction Fixed Value in Controlling

Area Currency• PRICE_VAR_CO_CURR: Cost Transaction Price Variance in Controlling

Area Currency

Fiscal Period FISC_PERIODS_DIMFunctional Area FUNCTIONAL_AREAGL Account GL_ACCOUNTInternal Order and associated hierarchies

INTERNAL_ORDERSINT_ORDER_HIER,INT_ORDER_HIER_HR,INT_ORDER_HIER_VR

Material MATERIALObject Class OBJECT_CLASSObject Type OBJECT_TYPEProject PROJECTProject Element and associated hierarchies

PROJECT_ELEMENT,PROJECT_ELEMENT_HIER,PROJECT_ELEMENT_HIER_HR,PROJECT_ELEMENT_HIER_VR

Creation Date & Posting Date TIME_DIMUnit of Measure UNITS_OF_MEASUREValue Type VALUE_TYPEVendor VENDOR

Attribute name Dimension Table Name

BusinessObjects Cost Center Rapid Mart Business Guide 33

Page 34: CA_bg

Rapid Mart Subject AreasCost Transaction Section3

• FIXED_VAR_CO_CURR: Cost Transaction Fixed Variance in Controlling Area Currency

• ACTUAL_VALUE_CO_CURR: Cost Transaction Actual Value Controlling Area Currency

• PLAN_VALUE_CO_CURR: Cost Transaction Planned (Budget) Value Controlling Area Currency

• ACTUAL_VALUE_TXN_CURR: Cost Transaction Actual Value Transaction Currency

• PLAN_VALUE_TXN_CURR: Cost Transaction Planned (Budget) Value Transaction Currency

• QTY: Cost Transaction Quantity• QTY_FIXED: Cost Transaction Fixed Quantity• QTY_ENTERED: Cost Transaction Entered Quantity• QTY_FIXED_ENTERED: Cost Transaction Fixed Entered Quantity

34 BusinessObjects Cost Center Rapid Mart Business Guide

Page 35: CA_bg

Rapid Mart Subject AreasCost Transaction Section 3

Rapid Mart DataThe cost transaction section includes cost information at the transaction level. The CO_TRANS_FACT table stores these details. The CO_TRANS_FACT table and associated dimension tables are organized as a star schema as shown below.

You can analyze transaction costs along several dimensions:• By Activity and Activity Hierarchies• By Cost Center and Cost Center Hierarchies• By Cost Element (GL Account) and Cost Element Hierarchies• By Fiscal Periods (Fiscal Year, Quarter, Month)• By Internal Orders and Internal Order Hierarchies• By Material and Product Hierarchies

BusinessObjects Cost Center Rapid Mart Business Guide 35

Page 36: CA_bg

Rapid Mart Subject AreasCost Transaction Section3

• By Monetary Currencies• By Object Type• By Object Class• By Financial Organization:

• Business Area• Company Code• Controlling Area• Functional Area

• By Project Element and Project Element Hierarchies• By Project• By Time Dimension (posting and creation dates)• By Business Transaction Type• By Controlling Version• By Value Type• By Unit of Measure• By VendorUsing the cost transaction section, you can answer questions like: • How much was spent on labor (or telephone, or insurance) last year, by

cost center?• What were the company’s total costs for trade shows this year?• Who are out top 10 vendors (amount spent) this year?• What is the cost breakdown by Product Hierarchy for this month?• Which Projects and Project Elements are costliest?• Which projects are over budget? • What is the breakdown of project over-runs by project element? • Which Activities have the highest expenses?• Are production orders (a type of internal orders) completed within

budgeted costs?• Which vendors can supply this material at the lowest cost?

36 BusinessObjects Cost Center Rapid Mart Business Guide

Page 37: CA_bg

Rapid Mart Subject AreasCost Summary Section 3

Cost Summary SectionThe cost summary section stores cost period totals (balances) by fiscal period and year.This is the main data source for financial reporting to view the company cost trends and to perform multi-dimensional analysis. It is also used for various financial ratios calculation when average or total of 12 rolling periods is involved.Cost summary data is organized both horizontally and vertically. Table CO_SUMMARY_FACT_HR stores the horizontal representation. Table CO_SUMMARY_FACT stores the vertical representation.

Rapid Mart ProcessingExtracted cost summary data is stored in the CO_TRANS_FACT and CO_SUMMARY_FACT_HR tables. The cost summary section also captures the following dimensional attributes, and their associated dimension tables:

Attribute name Dimension Table Name

Activity and associated hierarchies

ACTIVITY, ACTIVITY_HIER, ACTIVITY_HIER_HR, ACTIVITY_HIER_VR

Business Area BUSINESS_AREABusiness Transaction CO_TRANSCompany Code COMPANY_CODEControlling Version CO_VERSIONControlling Area CONTROLLING_AREACost Center and associated hierarchies

COST_CENTER, COST_CNTR_HIER, COST_CNTR_HIER_HR, COST_CNTR_HIER_VR

Cost Element and associated hierarchies

COST_ELEMENT, COST_ELEMENT_HIER, COST_ELEM_HIER_HR, COST_ELEM_HIER_VR

Currency CURRENCYFiscal Period FISC_PERIODS_DIMGL Account GL_ACCOUNT

BusinessObjects Cost Center Rapid Mart Business Guide 37

Page 38: CA_bg

Rapid Mart Subject AreasCost Summary Section3

The cost summary section extracts cost-related data from the SAP summary tables for internal and external costs: table COSS for internal costs, and table COSP for external costs.

Fact Table FieldsThe Cost Summary tables (CO_SUMMARY_FACT & CO_SUMMARY_FACT_HR) contain the following measures:• CO_SUMMARY_FACT (Vertical Organization):

• VALUE_TXN_CURR: Cost Summary Value in Transaction Currency• VALUE_OBJ_CURR: Cost Summary Value in Cost Center (Object)

Currency• VALUE_CO_CURR: Cost Summary Value in Controlling Area

Currency• VALUE_CO_CURR_FIX: Cost Summary Fixed Value in Controlling

Area Currency• PRICE_VAR_CO_CURR: Cost Summary Price Variance in

Controlling Area Currency• FIXED_VAR_CO_CURR: Cost Summary Fixed Variance in

Controlling Area Currency• ACTUAL_VALUE_CO_CURR: Cost Summary Actual Value in

Controlling Area Currency• PLAN_VALUE_CO_CURR: Cost Summary Planned (Budget) Value

in Controlling Area Currency

Internal Order and associated hierarchies

INTERNAL_ORDERS, INT_ORDER_HIER, INT_ORDER_HIER_HR, INT_ORDER_HIER_VR

Object Class OBJECT_CLASSObject Type OBJECT_TYPEProject PROJECTProject Element and associated hierarchies

PROJECT_ELEMENT, PROJECT_ELEMENT_HIER, PROJECT_ELEMENT_HIER_HR, PROJECT_ELEMENT_HIER_VR

Unit of Measure UNITS_OF_MEASUREValue Type VALUE_TYPE

Attribute name Dimension Table Name

38 BusinessObjects Cost Center Rapid Mart Business Guide

Page 39: CA_bg

Rapid Mart Subject AreasCost Summary Section 3

• ACTUAL_VALUE_TXN_CURR: Cost Summary Actual Value in Transaction Currency

• PLAN_VALUE_TXN_CURR: Cost Summary Planned (Budget) Value in Transaction Currency

• QTY: Cost Summary Quantity• FIXED_QTY: Cost Summary Fixed Quantity

• COST_SUMMARY_FACT_HR (Horizontal Organization):• FIX_VAL_CO_CUR_P01 - FIX_VAL_CO_CUR_P16: Cost Summary

Fixed Value in Controlling Area Currency (periods 1 - 16)• FIXED_QTY_P01 - FIXED_QTY_P16: Cost Summary Fixed

Quantity (periods 1 - 16)• FIXED_VAR_CO_CURR_P01 - FIXED_VAR_CO_CURR_P16: Cost

Summary Fixed Variance in Controlling Area Currency (periods 1 - 16)

• PRICE_VAR_CO_CURR_P01 - PRICE_VAR_CO_CURR_P16: Cost Summary Price Variance in Controlling Area Currency (periods 1 - 16)

• QTY_P01 - QTY_P16: Cost Summary Quantity (periods 1 - 16)• VALUE_CO_CURR_P01 - VALUE_CO_CURR_P16: Cost Summary

Value in Controlling Area Currency (periods 1 - 16)• VALUE_OBJ_CURR_P01 - VALUE_OBJ_CURR_P16: Cost

Summary Value in Cost Center (Object) Currency (periods 1 - 16)• VALUE_TXN_CURR_P01 - VALUE_TXN_CURR_P16: Cost

Summary Value in Transaction Currency (periods 1 - 16)

Rapid Mart DataThe CO_SUMMARY_FACT_HR table has one row summarizing cost information for each cost object for each fiscal year, with columns for quantity and value totals for all fiscal periods in each row. There can be upto 16 fiscal periods in the SAP system: 12 regular periods and 4 special posting periods used for adjustments.CO_SUMMARY_FACT, has the same information, but with one row for each fiscal period, resulting in upto 16 times as many rows in the table.The organization of the SAP source tables (COSS and COSP) follows the horizontal format. Therefore, CO_SUMMARY_FACT_HR is analogous to SAP. The Data Integrator uses the Pivot transform to create the vertical format for CO_SUMMARY_FACT.

BusinessObjects Cost Center Rapid Mart Business Guide 39

Page 40: CA_bg

Rapid Mart Subject AreasCost Summary Section3

Both the CO_SUMMARY_FACT and CO_SUMMARY_FACT_HR tables contain a Transaction Type Flag. The flag is set to “I” for Internal or “E” External. Data from SAP table COSS is flagged with “I” for Internal. Data from SAP table COSP is flagged with “E” for External.

40 BusinessObjects Cost Center Rapid Mart Business Guide

Page 41: CA_bg

Rapid Mart Subject AreasCost Summary Section 3

The following diagram shows the tables in the cost summary section:

BusinessObjects Cost Center Rapid Mart Business Guide 41

Page 42: CA_bg

Rapid Mart Subject AreasCost Summary Section3

You can analyze summary costs along several dimensions: • By Activity and Activity Hierarchies• By Cost Center and Cost Center Hierarchies• By Cost Element (GL Account) and Cost Element Hierarchies• By Fiscal Periods (Fiscal Year, Quarter, Month)• By Internal Orders and Internal Order Hierarchies• By Monetary Currencies• By Object Type• By Object Class• By Financial Organization:

• Business Area• Company Code• Controlling Area

• By Project Element and Project Element Hierarchies• By Project• By Business Transaction Type• By Controlling Version• By Value Type• By Unit of MeasureUsing the cost summary section, you can answer questions like: • “For which cost items is the company overall in variance?”• “How much was spent on labor (or telephone, or insurance) last year,

versus how much was planned?”• “Which cost centers are in variance for specific cost elements and which

activity types were involved?”• “What are the planned versus actual costs for a specific cost center or

group of cost centers?”• “What was the variance in planned versus actual costs for trade shows by

cost element?”• “Which activities were responsible for the variance?”• What is the variance between actual and planned (budget) amounts by

cost center hierarchy for this year?• Have I been able to reduce costs (by cost element hierarchy) this year

compared to last?• What are my cost trends for any rolling 12 month period?

42 BusinessObjects Cost Center Rapid Mart Business Guide

Page 43: CA_bg

Rapid Mart Subject AreasProfit Center Transactions Section 3

Profit Center Transactions SectionThe profit center transactions section stores cost and revenue transactions by profit center. It is organized a bit differently in SAP and also in the Rapid Mart.SAP divides the profit center data into Actuals and Planned (Budgeted) costs. These are stored in separate tables in SAP. The Data Integrator assigns an Actual or Budget Flag to each row of profit center data. Values are “A” for Actuals data, and “P” for Budget (or Planned) data.Sign Handling in Profit Center Transactions:For actual data as well as for planned (budget) data, SAP generally stores all measure values as positive. Negative values generally only occur for business transactions (such as reversals, credit memos or returns) that revise the business transaction results when claims are processed or errors are corrected.This applies to all revenues, sales deductions, and cost of goods manufactured, as well as to the different period costs, that flow into profit center transactions during Order Settlement or Periodic Overhead Allocation.

Rapid Mart ProcessingExtracted profit center transaction data is stored in the PROFIT_CENTER_FACT table. The profit center transaction section also captures the following dimensional attributes, and their associated dimension tables:

Attribute name Dimension Table Name

Business Area BUSINESS_AREACompany Code COMPANY_CODECost Center COST_CENTER,

COST_CNTR_HIER, COST_CNTR_HIER_HR, COST_CNTR_HIER_VR

Cost Element COST_ELEMENT, COST_ELEMENT_HIER, COST_ELEM_HIER_HR, COST_ELEM_HIER_VR

Controlling Area CONTROLLING_AREACurrency CURRENCYFiscal Period FISC_PERIODS_DIM

BusinessObjects Cost Center Rapid Mart Business Guide 43

Page 44: CA_bg

Rapid Mart Subject AreasProfit Center Transactions Section3

The profit center transactions section extracts data from the transaction tables for SAP module Profit Center Accounting (EC-PCA). Table GLPCA is the Actuals transactions. Table GLPCP is the Planned (or Budget) transactions.

Fact Table FieldsThe Profit Center Transaction table (PROFIT_CENTER_FACT) contains the following measures:• VALUE_TXN_CURR: Profit Center Transaction Value in Transaction

Currency• VALUE_COMPANY_CURR: Profit Center Transaction Value in Company

Currency• VALUE_PROFITCENTER_CURR: Profit Center Transaction Value in

Profit Center (Object) Currency• QTY: Profit Center Transaction Quantity

Functional Area FUNCTIONAL_AREAGL Account GL_ACCOUNTMaterial MATERIALInternal Order INTERNAL_ORDERS,

INT_ORDER_HIER, INT_ORDER_HIER_HR, INT_ORDER_HIER_VR

Posting Date, Creation (Booking) Date

TIME_DIM

Profit Center PROFIT_CENTER, PROFIT_CENTER_HIER, PROFIT_CENTER_HIER_HR, PROFIT_CENTER_HIER_VR

Unit of Measure UNITS_OF_MEASUREVendor VENDORVersion CO_VERSION

Attribute name Dimension Table Name

44 BusinessObjects Cost Center Rapid Mart Business Guide

Page 45: CA_bg

Rapid Mart Subject AreasProfit Center Transactions Section 3

Rapid Mart DataThe PROFIT_CENTER_FACT table merges data from both GLPCA and GLPCP tables. The structure in these tables is identical in SAP. You can determine the source of the data with the Actual or Budget Flag described earlier. The following diagram shows the tables in the profit center transactions section:

Profit Center Accounting (EC-PCA) lets you determine profits and losses by profit center using either period accounting or the cost-of-sales approach. It also lets you analyze fixed capital and so-called “statistical key figures” (number of employees, square meters, and so on) by profit center. Consequently, you can calculate all the key figures commonly used in cost accounting (return on investment, cash flow, sales per employee, and so on). A profit center is a management-oriented organizational unit used for internal controlling purposes. Dividing your company up into profit centers allows you to analyze areas of responsibility and to delegate responsibility to decentralized units, thus treating them as “companies within the company”.You can analyze profit center transactions along several dimensions: • By Cost Element (GL Account) and Cost Element Hierarchies

BusinessObjects Cost Center Rapid Mart Business Guide 45

Page 46: CA_bg

Rapid Mart Subject AreasProfit Center Transactions Section3

• By Fiscal Periods (Fiscal Year, Quarter, Month)• By Internal Orders and Internal Order Hierarchies• By Material and Product Hierarchies• By Monetary Currencies• By Financial Organization:

• Business Area• Company Code• Controlling Area• Functional Area

• By Profit Center and Profit Center Hierarchies• By Time Dimension (posting and creation dates)• By Controlling Version• By Unit of Measure• By VendorUsing the profit center transactions section, you can answer questions like: • Which Profit Centers bring in the most revenue?• What are my Actual vs. Planned costs (Variance) by Profit Center

hierarchy?• Which are my top 10 profit centers by fiscal year?• How did my profit center perform this year versus last year?• Which materials are most profitable by profit center?• What are my profit center transactions by internal order hierarchy?

46 BusinessObjects Cost Center Rapid Mart Business Guide

Page 47: CA_bg

Reports

chapter

Page 48: CA_bg

ReportsOverview4

Overview

You can use the BusinessObjects Cost Center Rapid Mart to perform adhoc analysis and produce many kinds of reports. This chapter provides examples of reports you could generate using the Cost Center Rapid Mart universe. The information in this chapter is useful for those who design reporting solutions for Cost and Profitability analysis.This chapter descirbes content of WebIntelligence (WEBI) reports shipped with the and the Rapid Mart Reporting Content package and recommended joins for each componentized section in the Rapid Mart, including:• Cost Details• Cost Summary• Profit Center Details• Hierarchy Data Discovery• Invalid HierarchiesNote that all report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

Cost DetailsCost details (or cost accounting transactions) are extracted from SAP’s Controlling accounting module. You can use this information to analyze incurred costs within each Controlling Area and/or Company Code by Cost Elements and several cost objects, such as Cost Center, Activity, Internal Order, Project Element.

ReportsUsing the cost detail information, you can complete numerous analyses and generate different reports including the following examples:• Transaction Summary by Material• Transaction Detail Listing• Top 10 Vendor Cost Accounting Docs

48 BusinessObjects Cost Center Rapid Mart Business Guide

Page 49: CA_bg

ReportsCost Details 4

Transaction Summary by MaterialView a Controlling Area transaction summary for each Vendor by Material. The results are limited to a single Fiscal Year and Fiscal Period.This report offers drill-down capability, by allowing the user to select a Material and open the Transaction Detail Listing to review all cost details.

Report SQLSELECT DISTINCT FISC_PERIOD_CTRL_AREA.FISCAL_YEAR, FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD, sum(CO_TRANS_FACT.VALUE_CO_CURR), MATERIAL.DESCRIPTION, VENDOR.VENDOR_NAME_1, sum(CO_TRANS_FACT.VALUE_CO_CURR_FIX), sum(CO_TRANS_FACT.PRICE_VAR_CO_CURR), sum(CO_TRANS_FACT.FIXED_VAR_CO_CURR), CURRENCY_CTRL_AREA.ISO_CURRENCY_ID, CONTROLLING_AREA.CTRL_AREA_ID, COST_CNTR_HIER_HR.LEVEL_0_ID,

CONTROLLING_AREA.CTRL_AREA_ID || ' - ' || CONTROLLING_AREA.DESCRIPTION

FROM CONTROLLING_AREA, CO_TRANS_FACT, MATERIAL,

BusinessObjects Cost Center Rapid Mart Business Guide 49

Page 50: CA_bg

ReportsCost Details4

VENDOR, VALUE_TYPE, CURRENCY CURRENCY_CTRL_AREA, FISC_PERIODS_DIM FISC_PERIOD_CTRL_AREA, COST_CNTR_HIER_HRWHERE ( CONTROLLING_AREA.CTRL_AREA_ID = CO_TRANS_FACT.CTRL_AREA_ID

) AND ( CO_TRANS_FACT.MATERIAL_ID = MATERIAL.MATERIAL_ID ) AND ( CO_TRANS_FACT.VENDOR_ID = VENDOR.VENDOR_ID ) AND ( VALUE_TYPE.VALUE_TYPE_ID = CO_TRANS_FACT.VALUE_TYPE_ID ) AND (

CURRENCY_CTRL_AREA.CURRENCY_ID=CO_TRANS_FACT.CURR_ID_CTRL_AREA )

AND ( CO_TRANS_FACT.PERIOD=FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD and

CO_TRANS_FACT.FISCAL_YEAR=FISC_PERIOD_CTRL_AREA.FISCAL_YEAR and

CO_TRANS_FACT.CTRL_AREA_FISC_VARIANT_ID = FISC_PERIOD_CTRL_AREA.FISC_YR_VARIANT_ID )

AND ( COST_CNTR_HIER_HR.COST_CENTER_ID=CO_TRANS_FACT.COST_CENTER_ID and COST_CNTR_HIER_HR.CTRL_AREA_ID=CO_TRANS_FACT.CTRL_AREA_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in 'H1' )

AND ( FISC_PERIOD_CTRL_AREA.FISCAL_YEAR = '1998' AND FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD = '01' AND VALUE_TYPE.VALUE_TYPE_ID = '04' AND MATERIAL.DESCRIPTION <> '?' AND

CONTROLLING_AREA.CTRL_AREA_ID || ' - ' || CONTROLLING_AREA.DESCRIPTION = '1000 - CO Europe'

)GROUP BY FISC_PERIOD_CTRL_AREA.FISCAL_YEAR, FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD, MATERIAL.DESCRIPTION, VENDOR.VENDOR_NAME_1, CURRENCY_CTRL_AREA.ISO_CURRENCY_ID, CONTROLLING_AREA.CTRL_AREA_ID, COST_CNTR_HIER_HR.LEVEL_0_ID, CONTROLLING_AREA.CTRL_AREA_ID || ' - ' ||

CONTROLLING_AREA.DESCRIPTION

50 BusinessObjects Cost Center Rapid Mart Business Guide

Page 51: CA_bg

ReportsCost Details 4

Transaction Detail ListingView detailed Controlling Area cost information for a selected Cost Center Hierarchy and Material. The results are limited to a single Fiscal Year and Fiscal Period.

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

Top 10 Vendor Cost Accounting DocsView the Top 10 Vendor Cost Accounting documents (for selected calendar year and month); grouped by Controlling Area. This report uses the Web Intelligence ranking feature to limit to the top 10 documents by Actual Value in Controlling Area Currency.

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

BusinessObjects Cost Center Rapid Mart Business Guide 51

Page 52: CA_bg

ReportsCost Details4

Recommended table joins

To analyze data from the cost transaction section, you will need to create joins between different tables. Specifically, you need to create joins between the CO_TRANS_FACT table and other dimension tables in the Rapid Mart as follows:

Dimension table Join Clause

CONTROLLING_AREA CONTROLLING_AREA.CTRL_AREA_ID = CO_TRANS_FACT.CTRL_AREA_ID

MATERIAL CO_TRANS_FACT.MATERIAL_ID = MATERIAL.MATERIAL_ID

VENDOR CO_TRANS_FACT.VENDOR_ID = VENDOR.VENDOR_ID

COMPANY_CODE CO_TRANS_FACT.COMPANY_CODE_ID = COMPANY_CODE.COMPANY_CODE_ID

CO_TRANS CO_TRANS.CO_TXN_ID = CO_TRANS_FACT.CO_TXN_ID

CO_VERSION CO_VERSION.CO_VERSION_ID = CO_TRANS_FACT.CO_VERSION_ID

VALUE_TYPE VALUE_TYPE.VALUE_TYPE_ID = CO_TRANS_FACT.VALUE_TYPE_ID

CURRENCY CURRENCY.CURRENCY_ID = CO_TRANS_FACT.CURR_ID_CO_OBJECT

INTERNAL_ORDERS INTERNAL_ORDERS.INTERNAL_ORDER_ID = CO_TRANS_FACT.INTERNAL_ORDER_ID

COST_CENTER COST_CENTER.COMPANY_CODE_ID=CO_TRANS_FACT.COMPANY_CODE_ID and COST_CENTER.COST_CENTER_ID=CO_TRANS_FACT.COST_CENTER_ID

COST_ELEMENT COST_ELEMENT.CHART_OF_ACCTS_ID=CO_TRANS_FACT.CHART_OF_ACCTS_ID and COST_ELEMENT.COST_ELEMENT_ID=CO_TRANS_FACT.COST_ELEMENT_ID

52 BusinessObjects Cost Center Rapid Mart Business Guide

Page 53: CA_bg

ReportsCost Details 4

COST_CNTR_HIER_HR COST_CNTR_HIER_HR.COST_CENTER_ID=CO_TRANS_FACT.COST_CENTER_ID and COST_CNTR_HIER_HR.CTRL_AREA_ID=CO_TRANS_FACT.CTRL_AREA_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Center Hierarchy','A','Cost Center Hierarchy Hz\Cost Center Level 0 ID',mono,free)

FUNCTIONAL_AREA FUNCTIONAL_AREA.FUNCTION_AREA_ID = CO_TRANS_FACT.FUNCTION_AREA_ID

OBJECT_CLASS OBJECT_CLASS.OBJECT_CLASS_ID = CO_TRANS_FACT.OBJECT_CLASS_ID

ACTIVITY ACTIVITY.ACTIVITY_ID=CO_TRANS_FACT.ACTIVITY_ID and ACTIVITY.CTRL_AREA_ID=CO_TRANS_FACT.CTRL_AREA_ID

ACTIVITY_HIER_HR ACTIVITY_HIER_HR.ACTIVITY_ID=CO_TRANS_FACT.ACTIVITY_ID and ACTIVITY_HIER_HR.CTRL_AREA_ID=CO_TRANS_FACT.CTRL_AREA_ID and ACTIVITY_HIER_HR.LEVEL_0_ID = @Prompt('Select Activity Hierarchy','A','Activity Hierarchy Hz\Activity Level 0 ID',mono,free)

INT_ORDER_HIER_HR CO_TRANS_FACT.INTERNAL_ORDER_ID = INT_ORDER_HIER_HR.INTERNAL_ORDER_ID and INT_ORDER_HIER_HR.LEVEL_0_ID in @Prompt('Select Internal Order Hierarchy','A','Internal Order Hierarchy Hz\Int Order Level 0 ID',mono,free)

BUSINESS_AREA CO_TRANS_FACT.BUSINESS_AREA_ID = BUSINESS_AREA.BUSINESS_AREA_ID

OBJECT_TYPE OBJECT_TYPE.OBJECT_TYPE_ID = CO_TRANS_FACT.OBJECT_TYPE_ID

Dimension table Join Clause

BusinessObjects Cost Center Rapid Mart Business Guide 53

Page 54: CA_bg

ReportsCost Details4

GL_ACCOUNT CO_TRANS_FACT.CHART_OF_ACCTS_ID=GL_ACCOUNT.CHART_OF_ACCTS_ID and CO_TRANS_FACT.GL_ACCOUNT_ID=GL_ACCOUNT.GL_ACCOUNT_ID and CO_TRANS_FACT.COMPANY_CODE_ID=GL_ACCOUNT.COMPANY_CODE_ID

PROD_HIERARCHY MATERIAL.PRODUCT_HIERARCHY=PROD_HIERARCHY.PRODUCT_HIERARCHY

PROJECT_ELEMENT_HIER_HR

CO_TRANS_FACT.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_HR.PROJ_ELEM_ID

PROJECT PROJECT.PROJECT_ID=CO_TRANS_FACT.PROJECT_ID

PROJECT_ELEMENT CO_TRANS_FACT.PROJ_ELEM_ID=PROJECT_ELEMENT.PROJ_ELEM_ID

CURRENCY CURRENCY.CURRENCY_ID=CO_TRANS_FACT.CURR_ID_CTRL_AREA

CURRENCY CURRENCY.CURRENCY_ID=CO_TRANS_FACT.CURR_ID_TXN

FISC_PERIODS_DIM CO_TRANS_FACT.PERIOD=FISC_PERIODS_DIM.FISCAL_PERIOD and CO_TRANS_FACT.FISCAL_YEAR=FISC_PERIODS_DIM.FISCAL_YEAR and CO_TRANS_FACT.CTRL_AREA_FISC_VARIANT_ID = FISC_PERIODS_DIM.FISC_YR_VARIANT_ID

TIME_DIM TIME_DIM.CALENDAR_DATE=CO_TRANS_FACT.CREATE_DATE

PROJECT_ELEMENT_HIER_VR

CO_TRANS_FACT.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_VR.DESCENDENT_ID

INT_ORDER_HIER_VR CO_TRANS_FACT.INTERNAL_ORDER_ID=INT_ORDER_HIER_VR.DESCENDANT_ID

Dimension table Join Clause

54 BusinessObjects Cost Center Rapid Mart Business Guide

Page 55: CA_bg

ReportsCost Details 4

COST_ELEM_HIER_VR CO_TRANS_FACT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_VR.CHART_OF_ACCTS_ID and CO_TRANS_FACT.COST_ELEMENT_ID=COST_ELEM_HIER_VR.DESCENDANT_ID

COST_CNTR_HIER_VR CO_TRANS_FACT.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and CO_TRANS_FACT.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID

COST_ELEM_HIER_HR CO_TRANS_FACT.COST_ELEMENT_ID=COST_ELEM_HIER_HR.COST_ELEMENT_ID and CO_TRANS_FACT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_HR.CHART_OF_ACCTS_ID and COST_ELEM_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Element Hierarchy','A','Cost Element Hierarchy Hz\Cost Element Level 0 ID',mono,free)

ACTIVITY_HIER_VR CO_TRANS_FACT.CTRL_AREA_ID=ACTIVITY_HIER_VR.CTRL_AREA_ID and CO_TRANS_FACT.ACTIVITY_ID=ACTIVITY_HIER_VR.DESCENDANT_ID

INTERNAL_ORDER_TYP INTERNAL_ORDERS.ORDER_TYPE_ID=INTERNAL_ORDER_TYP.ORDER_TYPE_ID

VENDOR_ACCT_GROUP VENDOR.ACCOUNT_GRP_ID=VENDOR_ACCT_GROUP.VENDOR_ACCT_GRP_ID

INT_ORDER_HIER_VR INTERNAL_ORDERS.INTERNAL_ORDER_ID=INT_ORDER_HIER_VR.DESCENDANT_ID

INT_ORDER_HIER_HR INTERNAL_ORDERS.INTERNAL_ORDER_ID=INT_ORDER_HIER_HR.INTERNAL_ORDER_ID and INT_ORDER_HIER_HR.LEVEL_0_ID in @Prompt('Select Internal Order Hierarchy','A','Internal Order Hierarchy Hz\Int Order Level 0 ID',mono,free)

Dimension table Join Clause

BusinessObjects Cost Center Rapid Mart Business Guide 55

Page 56: CA_bg

ReportsCost Details4

COST_ELEM_HIER_HR COST_ELEMENT.COST_ELEMENT_ID=COST_ELEM_HIER_HR.COST_ELEMENT_ID and COST_ELEMENT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_HR.CHART_OF_ACCTS_ID and COST_ELEM_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Element Hierarchy','A','Cost Element Hierarchy Hz\Cost Element Level 0 ID',mono,free)

COST_ELEM_HIER_VR COST_ELEMENT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_VR.CHART_OF_ACCTS_ID and COST_ELEMENT.COST_ELEMENT_ID=COST_ELEM_HIER_VR.DESCENDANT_ID

PROJECT_ELEMENT_HIER_VR

PROJECT_ELEMENT.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_VR.DESCENDENT_ID

PROJECT_ELEMENT_HIER_HR

PROJECT_ELEMENT.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_HR.PROJ_ELEM_ID

COST_CNTR_HIER_VR COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID

COST_CNTR_HIER_HR COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_HR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_HR.COST_CENTER_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Center Hierarchy','A','Cost Center Hierarchy Hz\Cost Center Level 0 ID',mono,free)

Dimension table Join Clause

56 BusinessObjects Cost Center Rapid Mart Business Guide

Page 57: CA_bg

ReportsCost Summary 4

Cost SummaryThe cost summary contains cost transaction balances by fiscal period. The summary data is presented in horizontal format, where each period balance is stored in a separate column (up to 16 periods), and in vertical format, where there is an individual record for each fiscal period.You can use this information to analyze planned versus actual costs and to determine the variance within each Controlling Area and/or Company Code by Cost Elements and several cost objects, such as Cost Center, Activity, Internal Order, Project Element.

ReportsUsing the cost summary information, you can complete numerous analyses and generate different reports including the following examples:• Cost Center Actual-Planned-Variance• Cost Center Activities• Cost Summary Trend by Cost Center• Cost Summary Trend by Cost Element• YTD Cost Drilldown by Activity and Cost Center

ACTIVITY_HIER_HR ACTIVITY.CTRL_AREA_ID=ACTIVITY_HIER_HR.CTRL_AREA_ID and ACTIVITY.ACTIVITY_ID=ACTIVITY_HIER_HR.ACTIVITY_ID and ACTIVITY_HIER_HR.LEVEL_0_ID = @Prompt('Select Activity Hierarchy','A','Activity Hierarchy Hz\Activity Level 0 ID',mono,free)

UNITS_OF_MEASURE UNITS_OF_MEASURE.UOM_ID=CO_TRANS_FACT.UOM

ACTIVITY_HIER_VR ACTIVITY.CTRL_AREA_ID = ACTIVITY_HIER_VR.CTRL_AREA_ID and ACTIVITY.ACTIVITY_ID = ACTIVITY_HIER_VR.DESCENDANT_ID

Dimension table Join Clause

BusinessObjects Cost Center Rapid Mart Business Guide 57

Page 58: CA_bg

ReportsCost Summary4

Cost Center Actual-Planned-Variance

View Cost Center Actual/Planned/Variance and Top 10 Analysis for a specified Fiscal Year and Fical Period range.

by Cost Element SummaryAnalyze Cost Center Actual/Planned/Variance values for a Controlling Area over a selected Fiscal Year and Fiscal Period range.

58 BusinessObjects Cost Center Rapid Mart Business Guide

Page 59: CA_bg

ReportsCost Summary 4

Top 10 AnalysisView basic Top 10 Analysis; including Top 10 Cost Centers by Actual Value and Planning Efficiency Analysis (based on variance %). This report uses the Web Intelligence ranking feature to limit to the top 10 Cost Centers.

Report SQLSELECT DISTINCT COST_CENTER.COST_CENTER_ID, COST_CENTER.NAME, COST_ELEMENT.COST_ELEMENT_ID, COST_ELEMENT.DESCRIPTION, sum(case when CO_SUMMARY_FACT.VALUE_TYPE_ID = '04' AND

CO_SUMMARY_FACT.CO_VERSION_ID = '000' THEN

CO_SUMMARY_FACT.VALUE_CO_CURR else 0 end) as ACT_VAL_IN_CTRL_AREA_CURRENCY,

sum(case when CO_SUMMARY_FACT.VALUE_TYPE_ID = '01' AND

CO_SUMMARY_FACT.CO_VERSION_ID = '000' THEN

BusinessObjects Cost Center Rapid Mart Business Guide 59

Page 60: CA_bg

ReportsCost Summary4

CO_SUMMARY_FACT.VALUE_CO_CURR else 0 end) AS PLAN_VAL_IN_CTRL_AREA_CURRENCY,

FISC_PERIOD_CTRL_AREA.FISCAL_YEAR, FISC_PERIOD_CTRL_AREA.FISCAL_QUARTER, FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD, CURRENCY_CTRL_AREA.ISO_CURRENCY_IDFROM COST_CENTER, COST_ELEMENT, CO_SUMMARY_FACT, FISC_PERIODS_DIM FISC_PERIOD_CTRL_AREA, CURRENCY CURRENCY_CTRL_AREA, CONTROLLING_AREA, COST_CNTR_HIER_VR, CO_SUMMARY_FACT_HRWHERE (

COST_ELEMENT.CHART_OF_ACCTS_ID=CO_SUMMARY_FACT_HR.CHART_OF_ACCTS_ID and COST_ELEMENT.COST_ELEMENT_ID=CO_SUMMARY_FACT_HR.COST_ELEMENT_ID )

AND ( CONTROLLING_AREA.CTRL_AREA_ID=CO_SUMMARY_FACT_HR.CTRL_AREA_ID )

AND ( CURRENCY_CTRL_AREA.CURRENCY_ID=CO_SUMMARY_FACT_HR.CURR_ID_CTRL_AREA )

AND ( COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID )

AND ( CO_SUMMARY_FACT_HR.COMPANY_CODE_ID=COST_CENTER.COMPANY_CODE_ID and CO_SUMMARY_FACT_HR.COST_CENTER_ID=COST_CENTER.COST_CENTER_ID )

AND ( CO_SUMMARY_FACT_HR.OBJECT_NUMBER = CO_SUMMARY_FACT.OBJECT_ID and

CO_SUMMARY_FACT_HR.FISCAL_YEAR = CO_SUMMARY_FACT.FISCAL_YEAR and

CO_SUMMARY_FACT_HR.VALUE_TYPE_ID = CO_SUMMARY_FACT.VALUE_TYPE_ID and

CO_SUMMARY_FACT_HR.CO_VERSION_ID = CO_SUMMARY_FACT.CO_VERSION_ID and

CO_SUMMARY_FACT_HR.COST_ELEMENT_ID = CO_SUMMARY_FACT.COST_ELEMENT_ID and

CO_SUMMARY_FACT_HR.CO_KEY_SUBNUMBER = CO_SUMMARY_FACT.CO_KEY_SUBNUMBER and

CO_SUMMARY_FACT_HR.CO_TXN_ID = CO_SUMMARY_FACT.CO_TXN_ID and

60 BusinessObjects Cost Center Rapid Mart Business Guide

Page 61: CA_bg

ReportsCost Summary 4

CO_SUMMARY_FACT_HR.PARTNER_OBJECT = CO_SUMMARY_FACT.PARTNER_OBJECT and

CO_SUMMARY_FACT_HR.ORIGIN_OBJECT = CO_SUMMARY_FACT.ORIGIN_OBJECT and

CO_SUMMARY_FACT_HR.DEB_CRED_IND = CO_SUMMARY_FACT.DEB_CRED_IND and

CO_SUMMARY_FACT_HR.CURR_ID_TXN = CO_SUMMARY_FACT.CURR_ID_TXN and

CO_SUMMARY_FACT_HR.PERIOD_BLOCK = CO_SUMMARY_FACT.PERIOD_BLOCK and

CO_SUMMARY_FACT_HR.TRANSACTION_TYPE = CO_SUMMARY_FACT.TRANSACTION_TYPE and

CO_SUMMARY_FACT_HR.TRADING_PARTNER_ID = CO_SUMMARY_FACT.TRADING_PARTNER_ID and

CO_SUMMARY_FACT_HR.BUSINESS_AREA_ID = CO_SUMMARY_FACT.BUSINESS_AREA_ID )

AND ( CO_SUMMARY_FACT.PERIOD=FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD and

CO_SUMMARY_FACT.FISCAL_YEAR=FISC_PERIOD_CTRL_AREA.FISCAL_YEAR and

CO_SUMMARY_FACT.CTRL_AREA_FISC_VARIANT_ID = FISC_PERIOD_CTRL_AREA.FISC_YR_VARIANT_ID )

AND ( CONTROLLING_AREA.CTRL_AREA_ID = '1000' AND ( COST_CNTR_HIER_VR.ANCESTOR_ID = 'J1010' ) AND FISC_PERIOD_CTRL_AREA.FISCAL_YEAR = '1998' )GROUP BY COST_CENTER.COST_CENTER_ID, COST_CENTER.NAME, COST_ELEMENT.COST_ELEMENT_ID, COST_ELEMENT.DESCRIPTION, FISC_PERIOD_CTRL_AREA.FISCAL_YEAR, FISC_PERIOD_CTRL_AREA.FISCAL_QUARTER, FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD, CURRENCY_CTRL_AREA.ISO_CURRENCY_ID

BusinessObjects Cost Center Rapid Mart Business Guide 61

Page 62: CA_bg

ReportsCost Summary4

Cost Center Activities

View Cost Center summary by Activity for a specified Controlling Area, including Actual/Planned/Variance amounts by Activity.

Top 10 AnalysisView Top 10 Cost centers according to highest Variance %. This report uses the Web Intelligence ranking feature to limit to the Top 10 Cost Centers based on Variance %.

62 BusinessObjects Cost Center Rapid Mart Business Guide

Page 63: CA_bg

ReportsCost Summary 4

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

Cost Summary Trend by Cost CenterView Cost Center period trends for a selected fiscal year. View graphical analysis of cost summary data to analyze cost center planning efficiency. This report offers drill down capability in order to further analyze cost details in Transaction Summary by Material.

by Actual Values

BusinessObjects Cost Center Rapid Mart Business Guide 63

Page 64: CA_bg

ReportsCost Summary4

by Variance %

Cost Center AnalysisView overall Variance vs Actual Value and Cost Center Actual Value Trends by Fiscal Month.

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

64 BusinessObjects Cost Center Rapid Mart Business Guide

Page 65: CA_bg

ReportsCost Summary 4

Cost Summary Trend by Cost ElementView Cost Element period trends for a selected fiscal year. View graphical analysis of cost summary data to analyze cost center planning efficiency.

by Actual Value

BusinessObjects Cost Center Rapid Mart Business Guide 65

Page 66: CA_bg

ReportsCost Summary4

by Variance %

Cost Element AnalysisView overall Variance vs Actual Value and Cost Elements Actual Value Trends by Fiscal Month.

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

66 BusinessObjects Cost Center Rapid Mart Business Guide

Page 67: CA_bg

ReportsCost Summary 4

YTD Cost Drilldown by Activity and Cost CenterView YTD cost summary breakdown (for a specified Controlling Area) by Activities or Cost Centers.

by Activity

BusinessObjects Cost Center Rapid Mart Business Guide 67

Page 68: CA_bg

ReportsCost Summary4

by Cost Center

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

68 BusinessObjects Cost Center Rapid Mart Business Guide

Page 69: CA_bg

ReportsCost Summary 4

Recommended table joins To analyze data from the cost summary information, you will need to create joins between different tables. Specifically, you need to create joins between the CO_SUMMARY_FACT_HR table and the other dimension tables in Rapid Mart as follows: Note: All references to CO_SUMMARY_FACT_HR in the table below can also be applied to CO_SUMMARY_FACT.

Dimension Table Join Clause

INTERNAL_ORDER_TYP

INTERNAL_ORDERS.ORDER_TYPE_ID=INTERNAL_ORDER_TYP.ORDER_TYPE_ID

VALUE_TYPE VALUE_TYPE.VALUE_TYPE_ID=CO_SUMMARY_FACT_HR.VALUE_TYPE_ID

CO_VERSION CO_VERSION.CO_VERSION_ID=CO_SUMMARY_FACT_HR.CO_VERSION_ID

COST_ELEMENT COST_ELEMENT.CHART_OF_ACCTS_ID=CO_SUMMARY_FACT_HR.CHART_OF_ACCTS_ID and COST_ELEMENT.COST_ELEMENT_ID=CO_SUMMARY_FACT_HR.COST_ELEMENT_ID

CO_TRANS CO_TRANS.CO_TXN_ID=CO_SUMMARY_FACT_HR.CO_TXN_ID

CURRENCY CURRENCY.CURRENCY_ID=CO_SUMMARY_FACT_HR.CURR_ID_TXN

BUSINESS_AREA CO_SUMMARY_FACT_HR.BUSINESS_AREA_ID=BUSINESS_AREA.BUSINESS_AREA_ID

CONTROLLING_AREA CONTROLLING_AREA.CTRL_AREA_ID=CO_SUMMARY_FACT_HR.CTRL_AREA_ID

GL_ACCOUNT GL_ACCOUNT.CHART_OF_ACCTS_ID=CO_SUMMARY_FACT_HR.CHART_OF_ACCTS_ID and GL_ACCOUNT.COMPANY_CODE_ID=CO_SUMMARY_FACT_HR.COMPANY_CODE_ID and GL_ACCOUNT.GL_ACCOUNT_ID=CO_SUMMARY_FACT_HR.COST_ELEMENT_ID

ACTIVITY ACTIVITY.CTRL_AREA_ID=CO_SUMMARY_FACT_HR.CTRL_AREA_ID and ACTIVITY.ACTIVITY_ID=CO_SUMMARY_FACT_HR.ACTIVITY_ID

BusinessObjects Cost Center Rapid Mart Business Guide 69

Page 70: CA_bg

ReportsCost Summary4

CURRENCY CURRENCY.CURRENCY_ID=CO_SUMMARY_FACT_HR.CURR_ID_CTRL_AREA

INTERNAL_ORDERS CO_SUMMARY_FACT_HR.INTERNAL_ORDER_ID=INTERNAL_ORDERS.INTERNAL_ORDER_ID

CURRENCY CURRENCY.CURRENCY_ID=CO_SUMMARY_FACT_HR.CURR_ID_COST_CTR

CURRENCY CURRENCY.CURRENCY_ID=CO_SUMMARY_FACT_HR.CURR_ID_COMP_CODE

PROJECT CO_SUMMARY_FACT_HR.PROJECT_ID=PROJECT.PROJECT_ID

PROJECT_ELEMENT PROJECT_ELEMENT.PROJ_ELEM_ID=CO_SUMMARY_FACT_HR.PROJ_ELEM_ID

INT_ORDER_HIER_VR INTERNAL_ORDERS.INTERNAL_ORDER_ID=INT_ORDER_HIER_VR.DESCENDANT_ID

INT_ORDER_HIER_HR INTERNAL_ORDERS.INTERNAL_ORDER_ID=INT_ORDER_HIER_HR.INTERNAL_ORDER_ID and INT_ORDER_HIER_HR.LEVEL_0_ID in @Prompt('Select Internal Order Hierarchy','A','Internal Order Hierarchy Hz\Int Order Level 0 ID',mono,free)

INT_ORDER_HIER_HR CO_SUMMARY_FACT_HR.INTERNAL_ORDER_ID = INT_ORDER_HIER_HR.INTERNAL_ORDER_ID and INT_ORDER_HIER_HR.LEVEL_0_ID in @Prompt('Select Internal Order Hierarchy','A','Internal Order Hierarchy Hz\Int Order Level 0 ID',mono,free)

INT_ORDER_HIER_VR CO_SUMMARY_FACT_HR.INTERNAL_ORDER_ID=INT_ORDER_HIER_VR.DESCENDANT_ID

PROJECT_ELEMENT_HIER_VR

CO_SUMMARY_FACT_HR.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_VR.DESCENDENT_ID

PROJECT_ELEMENT_HIER_HR

CO_SUMMARY_FACT_HR.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_HR.PROJ_ELEM_ID

COST_CNTR_HIER_VR CO_SUMMARY_FACT_HR.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and CO_SUMMARY_FACT_HR.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID

Dimension Table Join Clause

70 BusinessObjects Cost Center Rapid Mart Business Guide

Page 71: CA_bg

ReportsCost Summary 4

COST_CNTR_HIER_HR CO_SUMMARY_FACT_HR.CTRL_AREA_ID=COST_CNTR_HIER_HR.CTRL_AREA_ID and CO_SUMMARY_FACT_HR.COST_CENTER_ID=COST_CNTR_HIER_HR.COST_CENTER_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Center Hierarchy','A','Cost Center Hierarchy Hz\Cost Center Level 0 ID',mono,free)

ACTIVITY_HIER_VR CO_SUMMARY_FACT_HR.CTRL_AREA_ID=ACTIVITY_HIER_VR.CTRL_AREA_ID and CO_SUMMARY_FACT_HR.ACTIVITY_ID=ACTIVITY_HIER_VR.DESCENDANT_ID

ACTIVITY_HIER_HR CO_SUMMARY_FACT_HR.CTRL_AREA_ID=ACTIVITY_HIER_HR.CTRL_AREA_ID and CO_SUMMARY_FACT_HR.ACTIVITY_ID=ACTIVITY_HIER_HR.ACTIVITY_ID and ACTIVITY_HIER_HR.LEVEL_0_ID = @Prompt('Select Activity Hierarchy','A','Activity Hierarchy Hz\Activity Level 0 ID',mono,free)

COST_ELEM_HIER_HR COST_ELEMENT.COST_ELEMENT_ID=COST_ELEM_HIER_HR.COST_ELEMENT_ID and COST_ELEMENT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_HR.CHART_OF_ACCTS_ID and COST_ELEM_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Element Hierarchy','A','Cost Element Hierarchy Hz\Cost Element Level 0 ID',mono,free)

COST_ELEM_HIER_VR COST_ELEMENT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_VR.CHART_OF_ACCTS_ID and COST_ELEMENT.COST_ELEMENT_ID=COST_ELEM_HIER_VR.DESCENDANT_ID

PROJECT_ELEMENT_HIER_VR

PROJECT_ELEMENT.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_VR.DESCENDENT_ID

PROJECT_ELEMENT_HIER_HR

PROJECT_ELEMENT.PROJ_ELEM_ID=PROJECT_ELEMENT_HIER_HR.PROJ_ELEM_ID

COST_CNTR_HIER_VR COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID

Dimension Table Join Clause

BusinessObjects Cost Center Rapid Mart Business Guide 71

Page 72: CA_bg

ReportsCost Summary4

COST_CNTR_HIER_HR COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_HR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_HR.COST_CENTER_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Center Hierarchy','A','Cost Center Hierarchy Hz\Cost Center Level 0 ID',mono,free)

ACTIVITY_HIER_HR ACTIVITY.CTRL_AREA_ID=ACTIVITY_HIER_HR.CTRL_AREA_ID and ACTIVITY.ACTIVITY_ID=ACTIVITY_HIER_HR.ACTIVITY_ID and ACTIVITY_HIER_HR.LEVEL_0_ID = @Prompt('Select Activity Hierarchy','A','Activity Hierarchy Hz\Activity Level 0 ID',mono,free)

COST_ELEM_HIER_HR CO_SUMMARY_FACT_HR.COST_ELEMENT_ID=COST_ELEM_HIER_HR.COST_ELEMENT_ID and CO_SUMMARY_FACT_HR.CHART_OF_ACCTS_ID=COST_ELEM_HIER_HR.CHART_OF_ACCTS_ID and COST_ELEM_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Element Hierarchy','A','Cost Element Hierarchy Hz\Cost Element Level 0 ID',mono,free)

COST_ELEM_HIER_VR CO_SUMMARY_FACT_HR.CHART_OF_ACCTS_ID=COST_ELEM_HIER_VR.CHART_OF_ACCTS_ID and CO_SUMMARY_FACT_HR.COST_ELEMENT_ID=COST_ELEM_HIER_VR.DESCENDANT_ID

COMPANY_CODE COMPANY_CODE.COMPANY_CODE_ID=CO_SUMMARY_FACT_HR.COMPANY_CODE_ID

COST_CENTER CO_SUMMARY_FACT_HR.COMPANY_CODE_ID=COST_CENTER.COMPANY_CODE_ID and CO_SUMMARY_FACT_HR.COST_CENTER_ID=COST_CENTER.COST_CENTER_ID

OBJECT_CLASS OBJECT_CLASS.OBJECT_CLASS_ID=CO_SUMMARY_FACT_HR.OBJECT_CLASS_ID

OBJECT_TYPE OBJECT_TYPE.OBJECT_TYPE_ID=CO_SUMMARY_FACT_HR.OBJECT_TYPE_ID

Dimension Table Join Clause

72 BusinessObjects Cost Center Rapid Mart Business Guide

Page 73: CA_bg

ReportsCost Summary 4

CO_SUMMARY_FACT CO_SUMMARY_FACT_HR.OBJECT_NUMBER = CO_SUMMARY_FACT.OBJECT_ID and CO_SUMMARY_FACT_HR.FISCAL_YEAR = CO_SUMMARY_FACT.FISCAL_YEAR and CO_SUMMARY_FACT_HR.VALUE_TYPE_ID = CO_SUMMARY_FACT.VALUE_TYPE_ID and CO_SUMMARY_FACT_HR.CO_VERSION_ID = CO_SUMMARY_FACT.CO_VERSION_ID and CO_SUMMARY_FACT_HR.COST_ELEMENT_ID = CO_SUMMARY_FACT.COST_ELEMENT_ID and CO_SUMMARY_FACT_HR.CO_KEY_SUBNUMBER = CO_SUMMARY_FACT.CO_KEY_SUBNUMBER and CO_SUMMARY_FACT_HR.CO_TXN_ID = CO_SUMMARY_FACT.CO_TXN_ID and CO_SUMMARY_FACT_HR.PARTNER_OBJECT = CO_SUMMARY_FACT.PARTNER_OBJECT and CO_SUMMARY_FACT_HR.ORIGIN_OBJECT = CO_SUMMARY_FACT.ORIGIN_OBJECT and CO_SUMMARY_FACT_HR.DEB_CRED_IND = CO_SUMMARY_FACT.DEB_CRED_IND and CO_SUMMARY_FACT_HR.CURR_ID_TXN = CO_SUMMARY_FACT.CURR_ID_TXN and CO_SUMMARY_FACT_HR.PERIOD_BLOCK = CO_SUMMARY_FACT.PERIOD_BLOCK and CO_SUMMARY_FACT_HR.TRANSACTION_TYPE = CO_SUMMARY_FACT.TRANSACTION_TYPE and CO_SUMMARY_FACT_HR.TRADING_PARTNER_ID = CO_SUMMARY_FACT.TRADING_PARTNER_ID and CO_SUMMARY_FACT_HR.BUSINESS_AREA_ID = CO_SUMMARY_FACT.BUSINESS_AREA_ID

Dimension Table Join Clause

BusinessObjects Cost Center Rapid Mart Business Guide 73

Page 74: CA_bg

ReportsProfit Center Details4

Profit Center DetailsProfit Center Details contain actual and planned (or budget) transactions for profit centers. You can use this information to analyze profit center performance and trends within each Controlling Area and/or Company Code by Cost Elements, Cost Centers, Profit Centers, and other accounting transaction attributes.

FISC_PERIODS_DIM CO_SUMMARY_FACT.PERIOD=FISC_PERIODS_DIM.FISCAL_PERIOD and CO_SUMMARY_FACT.FISCAL_YEAR=FISC_PERIODS_DIM.FISCAL_YEAR and CO_SUMMARY_FACT.CTRL_AREA_FISC_VARIANT_ID = FISC_PERIODS_DIM.FISC_YR_VARIANT_ID

UNITS_OF_MEASURE UNITS_OF_MEASURE.UOM_ID=CO_SUMMARY_FACT_HR.UOM

FISC_PERIODS_DIM CO_SUMMARY_FACT.PERIOD=FISC_PERIODS_DIM.FISCAL_PERIOD and CO_SUMMARY_FACT.FISCAL_YEAR=FISC_PERIODS_DIM.FISCAL_YEAR and CO_SUMMARY_FACT.COMP_CODE_FISC_VARIANT_ID = FISC_PERIODS_DIM.FISC_YR_VARIANT_ID

FISC_PERIODS_DIM CO_TRANS_FACT.PERIOD=FISC_PERIODS_DIM.FISCAL_PERIOD and CO_TRANS_FACT.FISCAL_YEAR=FISC_PERIODS_DIM.FISCAL_YEAR and CO_TRANS_FACT.COMP_CODE_FISC_VARIANT_ID = FISC_PERIODS_DIM.FISC_YR_VARIANT_ID

ACTIVITY_HIER_VR ACTIVITY.CTRL_AREA_ID = ACTIVITY_HIER_VR.CTRL_AREA_ID and ACTIVITY.ACTIVITY_ID = ACTIVITY_HIER_VR.DESCENDANT_ID

Dimension Table Join Clause

74 BusinessObjects Cost Center Rapid Mart Business Guide

Page 75: CA_bg

ReportsProfit Center Details 4

ReportsUsing the profit center detail information, you can complete numerous analyses on revenue/cost and generate different reports including the following examples:• Profit Center Actual/Planned/Variance• Profit Center Summary Trend by Year• Profit Center Trend by Period• Top 10 Profit Centers Actual/Planned/VarianceAll profit center reports rely on the profit center hierarchy. In all reports, users are prompted for a single “Profit Center Hierarchy”.

Profit Center Actual/Planned/VarianceView Profit Center Actual/Planned/Variance and Top 10 Analysis for a specified Controlling Area and Fiscal Year. Use additional profit center hierarchy levels for further detailed analysis.

Report SQLSELECT DISTINCT sum(case when PROFIT_CENTER_FACT.ACTUAL_BUDGET_FLAG = 'A' then

PROFIT_CENTER_FACT.VALUE_TXN_CURR else 0 end), sum(case when PROFIT_CENTER_FACT.ACTUAL_BUDGET_FLAG = 'P' then

PROFIT_CENTER_FACT.VALUE_PROFITCENTER_CURR else 0 end), PROFIT_CENTER_FACT.FISCAL_YEAR, PROFIT_CENTER.DEPARTMENT, PROFIT_CENTER.NAME1, PROFIT_CENTER_HIER_HR.LEVEL_0_DESC,

BusinessObjects Cost Center Rapid Mart Business Guide 75

Page 76: CA_bg

ReportsProfit Center Details4

PROFIT_CENTER_HIER_HR.LEVEL_1_DESC, PROFIT_CENTER_HIER_HR.LEVEL_2_DESC, PROFIT_CENTER_HIER_HR.LEVEL_3_DESC, sum(case when PROFIT_CENTER_FACT.ACTUAL_BUDGET_FLAG = 'P' then

PROFIT_CENTER_FACT.VALUE_COMPANY_CURR else 0 end), sum(case when PROFIT_CENTER_FACT.ACTUAL_BUDGET_FLAG = 'A' then

PROFIT_CENTER_FACT.VALUE_COMPANY_CURR else 0 end), FISC_PERIOD_CTRL_AREA.FISCAL_MONTH,FISC_PERIOD_CTRL_AREA.FISCAL_YEAR || '-M' ||

FISC_PERIOD_CTRL_AREA.FISCAL_MONTH,CONTROLLING_AREA.CTRL_AREA_ID || ' - ' ||

CONTROLLING_AREA.DESCRIPTION, CURRENCY_CTRL_AREA.ISO_CURRENCY_ID, PROFIT_CENTER_HIER_HR.LEVEL_0_ID, PROFIT_CENTER_HIER_HR.LEVEL_1_ID, PROFIT_CENTER_HIER_HR.LEVEL_2_ID, PROFIT_CENTER_HIER_HR.LEVEL_3_ID, PROFIT_CENTER_HIER_HR.LEVEL_4_IDFROM PROFIT_CENTER_FACT, PROFIT_CENTER, PROFIT_CENTER_HIER_HR, FISC_PERIODS_DIM FISC_PERIOD_CTRL_AREA, CONTROLLING_AREA, CURRENCY CURRENCY_CTRL_AREAWHERE ( CONTROLLING_AREA.CTRL_AREA_ID =

PROFIT_CENTER_FACT.CTRL_AREA_ID ) AND (

PROFIT_CENTER_FACT.PERIOD=FISC_PERIOD_CTRL_AREA.FISCAL_PERIOD and

PROFIT_CENTER_FACT.FISCAL_YEAR=FISC_PERIOD_CTRL_AREA.FISCAL_YEAR and

PROFIT_CENTER_FACT.CTRL_AREA_FISC_VARIANT_ID = FISC_PERIOD_CTRL_AREA.FISC_YR_VARIANT_ID )

AND ( PROFIT_CENTER_FACT.PROFIT_CENTER_ID=PROFIT_CENTER.PROFIT_CENTER_ID and PROFIT_CENTER_FACT.CTRL_AREA_ID=PROFIT_CENTER.CTRL_AREA_ID )

AND ( CURRENCY_CTRL_AREA.CURRENCY_ID=PROFIT_CENTER_FACT.CURR_ID_CTRL_AREA )

AND ( PROFIT_CENTER.CTRL_AREA_ID=PROFIT_CENTER_HIER_HR.CTRL_AREA_ID and PROFIT_CENTER.PROFIT_CENTER_ID=PROFIT_CENTER_HIER_HR.PROFIT_CENTER_ID and PROFIT_CENTER_HIER_HR.LEVEL_0_ID in

'PC1000' ) AND (CONTROLLING_AREA.CTRL_AREA_ID || ' - ' ||

CONTROLLING_AREA.DESCRIPTION = '1000 - CO Europe' AND PROFIT_CENTER_FACT.FISCAL_YEAR In ('1997', '1998', '1999', '2000') )

76 BusinessObjects Cost Center Rapid Mart Business Guide

Page 77: CA_bg

ReportsProfit Center Details 4

GROUP BY PROFIT_CENTER_FACT.FISCAL_YEAR, PROFIT_CENTER.DEPARTMENT, PROFIT_CENTER.NAME1, PROFIT_CENTER_HIER_HR.LEVEL_0_DESC, PROFIT_CENTER_HIER_HR.LEVEL_1_DESC, PROFIT_CENTER_HIER_HR.LEVEL_2_DESC, PROFIT_CENTER_HIER_HR.LEVEL_3_DESC, FISC_PERIOD_CTRL_AREA.FISCAL_MONTH, FISC_PERIOD_CTRL_AREA.FISCAL_YEAR || '-M' ||

FISC_PERIOD_CTRL_AREA.FISCAL_MONTH, CONTROLLING_AREA.CTRL_AREA_ID || ' - ' ||

CONTROLLING_AREA.DESCRIPTION, CURRENCY_CTRL_AREA.ISO_CURRENCY_ID, PROFIT_CENTER_HIER_HR.LEVEL_0_ID, PROFIT_CENTER_HIER_HR.LEVEL_1_ID, PROFIT_CENTER_HIER_HR.LEVEL_2_ID, PROFIT_CENTER_HIER_HR.LEVEL_3_ID, PROFIT_CENTER_HIER_HR.LEVEL_4_ID

BusinessObjects Cost Center Rapid Mart Business Guide 77

Page 78: CA_bg

ReportsProfit Center Details4

Profit Center Summary Trend by Year

View Profit Center Trends for a specified profit center hierarchy by either Actual Amount or by Variance %. This report allows drill-down analysis on the selected profit center hierarchy, by allowing the user to see period trends in Profit Center Trend by Period.

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

78 BusinessObjects Cost Center Rapid Mart Business Guide

Page 79: CA_bg

ReportsProfit Center Details 4

Profit Center Trend by PeriodView Profit Center period trends for a specified profit center hierarchy and period range by either Actual Amount or by Variance %.

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

BusinessObjects Cost Center Rapid Mart Business Guide 79

Page 80: CA_bg

ReportsProfit Center Details4

Top 10 Profit Centers Actual/Planned/Variance

View Top 10 Profit Centers according to Actual amounts in Company Code currency.

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

80 BusinessObjects Cost Center Rapid Mart Business Guide

Page 81: CA_bg

ReportsProfit Center Details 4

Recommended table joins To analyze data from the profit center details, you will need to create joins between different tables. Specifically, you need to create joins between the PROFIT_CENTER_FACT table and the other dimension tables in Rapid Mart as follows:

Dimension table Join Clause

CONTROLLING_AREA CONTROLLING_AREA.CTRL_AREA_ID = PROFIT_CENTER_FACT.CTRL_AREA_ID

FISC_PERIODS_DIM PROFIT_CENTER_FACT.PERIOD=FISC_PERIODS_DIM.FISCAL_PERIOD and PROFIT_CENTER_FACT.FISCAL_YEAR=FISC_PERIODS_DIM.FISCAL_YEAR and PROFIT_CENTER_FACT.CTRL_AREA_FISC_VARIANT_ID = FISC_PERIODS_DIM.FISC_YR_VARIANT_ID

MATERIAL PROFIT_CENTER_FACT.MATERIAL_ID = MATERIAL.MATERIAL_ID

VENDOR PROFIT_CENTER_FACT.VENDOR_ID = VENDOR.VENDOR_ID

COMPANY_CODE PROFIT_CENTER_FACT.COMPANY_CODE_ID = COMPANY_CODE.COMPANY_CODE_ID

COST_CENTER COST_CENTER.COMPANY_CODE_ID=PROFIT_CENTER_FACT.COMPANY_CODE_ID and COST_CENTER.COST_CENTER_ID=PROFIT_CENTER_FACT.COST_CENTER_ID

PROFIT_CENTER PROFIT_CENTER_FACT.PROFIT_CENTER_ID=PROFIT_CENTER.PROFIT_CENTER_ID and PROFIT_CENTER_FACT.CTRL_AREA_ID=PROFIT_CENTER.CTRL_AREA_ID

BusinessObjects Cost Center Rapid Mart Business Guide 81

Page 82: CA_bg

ReportsProfit Center Details4

COST_ELEMENT PROFIT_CENTER_FACT.COST_ELEMENT_ID=COST_ELEMENT.COST_ELEMENT_ID and PROFIT_CENTER_FACT.CHART_OF_ACCTS_ID=COST_ELEMENT.CHART_OF_ACCTS_ID

COST_CNTR_HIER_HR COST_CNTR_HIER_HR.COST_CENTER_ID=PROFIT_CENTER_FACT.COST_CENTER_ID and COST_CNTR_HIER_HR.CTRL_AREA_ID=PROFIT_CENTER_FACT.CTRL_AREA_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Center Hierarchy','A','Cost Center Hierarchy Hz\Cost Center Level 0 ID',mono,free)

FUNCTIONAL_AREA FUNCTIONAL_AREA.FUNCTION_AREA_ID = PROFIT_CENTER_FACT.FUNCTION_AREA_ID

COST_ELEM_HIER_HR COST_ELEM_HIER_HR.CHART_OF_ACCTS_ID=PROFIT_CENTER_FACT.CHART_OF_ACCTS_ID and COST_ELEM_HIER_HR.COST_ELEMENT_ID = PROFIT_CENTER_FACT.COST_ELEMENT_ID and COST_ELEM_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Element Hierarchy','A','Cost Element Hierarchy Hz\Cost Element Level 0 ID',mono,free)

BUSINESS_AREA PROFIT_CENTER_FACT.BUSINESS_AREA_ID = BUSINESS_AREA.BUSINESS_AREA_ID

GL_ACCOUNT PROFIT_CENTER_FACT.COMPANY_CODE_ID=GL_ACCOUNT.COMPANY_CODE_ID and PROFIT_CENTER_FACT.CHART_OF_ACCTS_ID=GL_ACCOUNT.CHART_OF_ACCTS_ID and PROFIT_CENTER_FACT.GL_ACCOUNT_ID=GL_ACCOUNT.GL_ACCOUNT_ID

Dimension table Join Clause

82 BusinessObjects Cost Center Rapid Mart Business Guide

Page 83: CA_bg

ReportsProfit Center Details 4

PROFIT_CENTER_HIER_HR PROFIT_CENTER_FACT.CTRL_AREA_ID=PROFIT_CENTER_HIER_HR.CTRL_AREA_ID and PROFIT_CENTER_FACT.PROFIT_CENTER_ID=PROFIT_CENTER_HIER_HR.PROFIT_CENTER_ID and PROFIT_CENTER_HIER_HR.LEVEL_0_ID in @Prompt('Select Profit Center Hierarchy','A','Profit Center Hierarchy Hz\Profit Center Level 0 ID',mono,free)

CURRENCY CURRENCY.CURRENCY_ID=PROFIT_CENTER_FACT.CURR_ID_TXN

TIME_DIM TIME_DIM.CALENDAR_DATE=PROFIT_CENTER_FACT.BOOKING_DATE

TIME_DIM TIME_DIM.CALENDAR_DATE=CO_TRANS_FACT.POSTING_DATE

TIME_DIM TIME_DIM.CALENDAR_DATE=PROFIT_CENTER_FACT.POSTING_DATE

CURRENCY CURRENCY.CURRENCY_ID=PROFIT_CENTER_FACT.CURR_ID_PROF_CTR

CURRENCY CURRENCY.CURRENCY_ID=PROFIT_CENTER_FACT.CURR_ID_COMP_CODE

CURRENCY CURRENCY.CURRENCY_ID=PROFIT_CENTER_FACT.CURR_ID_CTRL_AREA

COST_ELEM_HIER_VR PROFIT_CENTER_FACT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_VR.CHART_OF_ACCTS_ID and PROFIT_CENTER_FACT.COST_ELEMENT_ID=COST_ELEM_HIER_VR.DESCENDANT_ID

PROFIT_CENTER_HIER_VR PROFIT_CENTER_FACT.CTRL_AREA_ID=PROFIT_CENTER_HIER_VR.CTRL_AREA_ID and PROFIT_CENTER_FACT.PROFIT_CENTER_ID=PROFIT_CENTER_HIER_VR.DESCENDENT_ID

INTERNAL_ORDER_TYP INTERNAL_ORDERS.ORDER_TYPE_ID=INTERNAL_ORDER_TYP.ORDER_TYPE_ID

Dimension table Join Clause

BusinessObjects Cost Center Rapid Mart Business Guide 83

Page 84: CA_bg

ReportsProfit Center Details4

PROFIT_CENTER_HIER_VR PROFIT_CENTER.CTRL_AREA_ID=PROFIT_CENTER_HIER_VR.CTRL_AREA_ID and PROFIT_CENTER.PROFIT_CENTER_ID=PROFIT_CENTER_HIER_VR.DESCENDENT_ID

PROFIT_CENTER_HIER_HR PROFIT_CENTER.CTRL_AREA_ID=PROFIT_CENTER_HIER_HR.CTRL_AREA_ID and PROFIT_CENTER.PROFIT_CENTER_ID=PROFIT_CENTER_HIER_HR.PROFIT_CENTER_ID and PROFIT_CENTER_HIER_HR.LEVEL_0_ID in @Prompt('Select Profit Center Hierarchy','A','Profit Center Hierarchy Hz\Profit Center Level 0 ID',mono,free)

INT_ORDER_HIER_VR INTERNAL_ORDERS.INTERNAL_ORDER_ID=INT_ORDER_HIER_VR.DESCENDANT_ID

INT_ORDER_HIER_HR INTERNAL_ORDERS.INTERNAL_ORDER_ID=INT_ORDER_HIER_HR.INTERNAL_ORDER_ID and INT_ORDER_HIER_HR.LEVEL_0_ID in @Prompt('Select Internal Order Hierarchy','A','Internal Order Hierarchy Hz\Int Order Level 0 ID',mono,free)

COST_ELEM_HIER_HR COST_ELEMENT.COST_ELEMENT_ID=COST_ELEM_HIER_HR.COST_ELEMENT_ID and COST_ELEMENT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_HR.CHART_OF_ACCTS_ID and COST_ELEM_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Element Hierarchy','A','Cost Element Hierarchy Hz\Cost Element Level 0 ID',mono,free)

COST_ELEM_HIER_VR COST_ELEMENT.CHART_OF_ACCTS_ID=COST_ELEM_HIER_VR.CHART_OF_ACCTS_ID and COST_ELEMENT.COST_ELEMENT_ID=COST_ELEM_HIER_VR.DESCENDANT_ID

Dimension table Join Clause

84 BusinessObjects Cost Center Rapid Mart Business Guide

Page 85: CA_bg

ReportsProfit Center Details 4

COST_CNTR_HIER_VR COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID

COST_CNTR_HIER_HR COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_HR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_HR.COST_CENTER_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in @Prompt('Select Cost Center Hierarchy','A','Cost Center Hierarchy Hz\Cost Center Level 0 ID',mono,free)

COST_CNTR_HIER_VR PROFIT_CENTER_FACT.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and PROFIT_CENTER_FACT.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID

INTERNAL_ORDERS PROFIT_CENTER_FACT.ORDER_ID=INTERNAL_ORDERS.INTERNAL_ORDER_ID

INT_ORDER_HIER_VR PROFIT_CENTER_FACT.ORDER_ID=INT_ORDER_HIER_VR.DESCENDANT_ID

INT_ORDER_HIER_HR PROFIT_CENTER_FACT.ORDER_ID = INT_ORDER_HIER_HR.INTERNAL_ORDER_ID and INT_ORDER_HIER_HR.LEVEL_0_ID in @Prompt('Select Internal Order Hierarchy','A','Internal Order Hierarchy Hz\Int Order Level 0 ID',mono,free)

CO_VERSION PROFIT_CENTER_FACT.VERSION_ID=CO_VERSION.CO_VERSION_ID

Dimension table Join Clause

BusinessObjects Cost Center Rapid Mart Business Guide 85

Page 86: CA_bg

ReportsHierarchy Data Discovery4

Hierarchy Data DiscoveryHorizontal and Vertical Hierarchy information is available in the Universe for all relevant common dimensions. You can use horizontal hierarchies to view information about all hierarchy levels. Whereas, the vertical hierarchy data is used to restrict to only a subset of the hierarchy based on a selected parent node.For more details on horizontal and vertical hierarchies, see “Hierarchies” on page 124.

ReportsThe reports listed in this chapter allow users to browse hierarchical master data. It can be helpful to understand data relationship to produce reports where a subset of hierarchical data needs to be analyzed. Each report displays the horizontal hierarchy data for a prompted parent hierarchy value. A data discovery report is included for each of the following hierarchies:• Activity Hierarchy Data Discovery • Cost Center Hierarchy Data Discovery • Profit Center Hierarchy Data Discovery• Cost Element Hierarchy Data Discovery• Internal Order Hierarchy Data Discovery• Project Element Hierarchy Data Discovery

UNITS_OF_MEASURE UNITS_OF_MEASURE.UOM_ID=PROFIT_CENTER_FACT.UOM

FISC_PERIODS_DIM PROFIT_CENTER_FACT.PERIOD=FISC_PERIODS_DIM.FISCAL_PERIOD and PROFIT_CENTER_FACT.FISCAL_YEAR=FISC_PERIODS_DIM.FISCAL_YEAR and PROFIT_CENTER_FACT.COMP_CODE_FISC_VARIANT_ID = FISC_PERIODS_DIM.FISC_YR_VARIANT_ID

Dimension table Join Clause

86 BusinessObjects Cost Center Rapid Mart Business Guide

Page 87: CA_bg

ReportsHierarchy Data Discovery 4

Activity Hierarchy Data DiscoveryView Activity Hierarchies for a specified Parent Activity and Activity Hierarchy (as defined in SAP).

Report SQLSELECT DISTINCT ACTIVITY_HIER_HR.ACTIVITY_ID, ACTIVITY_HIER_HR.CTRL_AREA_ID, ACTIVITY_HIER_HR.LEVEL_0_ID, ACTIVITY_HIER_HR.LEVEL_0_DESC, ACTIVITY_HIER_HR.LEVEL_1_ID, ACTIVITY_HIER_HR.LEVEL_1_DESC, ACTIVITY_HIER_HR.LEVEL_2_ID, ACTIVITY_HIER_HR.LEVEL_2_DESC, ACTIVITY_HIER_HR.LEVEL_3_ID, ACTIVITY_HIER_HR.LEVEL_3_DESC, ACTIVITY_HIER_HR.LEVEL_4_ID, ACTIVITY_HIER_HR.LEVEL_4_DESC, ACTIVITY_HIER_HR.LEVEL_5_ID, ACTIVITY_HIER_HR.LEVEL_5_DESC, ACTIVITY_HIER_HR.LEVEL_6_ID, ACTIVITY_HIER_HR.LEVEL_6_DESC, ACTIVITY_HIER_HR.LEVEL_7_ID, ACTIVITY_HIER_HR.LEVEL_7_DESC, ACTIVITY_HIER_HR.LEAF_LEVELFROM

BusinessObjects Cost Center Rapid Mart Business Guide 87

Page 88: CA_bg

ReportsHierarchy Data Discovery4

ACTIVITY_HIER_HR, ACTIVITY_HIER_VR, ACTIVITYWHERE ( ACTIVITY.CTRL_AREA_ID=ACTIVITY_HIER_HR.CTRL_AREA_ID and

ACTIVITY.ACTIVITY_ID=ACTIVITY_HIER_HR.ACTIVITY_ID and ACTIVITY_HIER_HR.LEVEL_0_ID = 'A1' )

AND ( ACTIVITY.CTRL_AREA_ID = ACTIVITY_HIER_VR.CTRL_AREA_ID and

ACTIVITY.ACTIVITY_ID = ACTIVITY_HIER_VR.DESCENDANT_ID ) AND ( ACTIVITY_HIER_HR.CTRL_AREA_ID = '1000' AND ACTIVITY_HIER_HR.CTRL_AREA_ID <> '?' AND ACTIVITY_HIER_HR.LEVEL_0_ID <> '?' AND ( ACTIVITY_HIER_VR.ANCESTOR_ID in ('A1') ) )

Cost Center Hierarchy Data Discovery View Cost Center Hierarchies for a specified Parent Cost Center and Cost Center Hierarchy (as defined in SAP).

88 BusinessObjects Cost Center Rapid Mart Business Guide

Page 89: CA_bg

ReportsHierarchy Data Discovery 4

Report SQLSELECT DISTINCT COST_CNTR_HIER_HR.COST_CENTER_ID, COST_CNTR_HIER_HR.CTRL_AREA_ID, COST_CNTR_HIER_HR.LEAF_LEVEL, COST_CNTR_HIER_HR.LEVEL_0_ID, COST_CNTR_HIER_HR.LEVEL_0_DESC, COST_CNTR_HIER_HR.LEVEL_1_ID, COST_CNTR_HIER_HR.LEVEL_1_DESC, COST_CNTR_HIER_HR.LEVEL_2_ID, COST_CNTR_HIER_HR.LEVEL_2_DESC, COST_CNTR_HIER_HR.LEVEL_3_ID, COST_CNTR_HIER_HR.LEVEL_3_DESC, COST_CNTR_HIER_HR.LEVEL_4_ID, COST_CNTR_HIER_HR.LEVEL_4_DESC, COST_CNTR_HIER_HR.LEVEL_5_ID, COST_CNTR_HIER_HR.LEVEL_5_DESC, COST_CNTR_HIER_HR.LEVEL_6_ID, COST_CNTR_HIER_HR.LEVEL_6_DESC, COST_CNTR_HIER_HR.LEVEL_7_ID, COST_CNTR_HIER_HR.LEVEL_7_DESC, COST_CNTR_HIER_HR.LEVEL_8_ID, COST_CNTR_HIER_HR.LEVEL_8_DESC, COST_CNTR_HIER_HR.LEVEL_9_ID, COST_CNTR_HIER_HR.LEVEL_9_DESC, COST_CNTR_HIER_HR.LEVEL_10_ID, COST_CNTR_HIER_HR.LEVEL_10_DESCFROM COST_CNTR_HIER_HR, COST_CENTER, COST_CNTR_HIER_VRWHERE ( COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_VR.CTRL_AREA_ID and

COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_VR.DESCENDANT_ID )

AND ( COST_CENTER.CTRL_AREA_ID=COST_CNTR_HIER_HR.CTRL_AREA_ID and COST_CENTER.COST_CENTER_ID=COST_CNTR_HIER_HR.COST_CENTER_ID and COST_CNTR_HIER_HR.LEVEL_0_ID in ('BUS_AREAS') )

AND ( COST_CENTER.CTRL_AREA_ID = '1000' AND COST_CNTR_HIER_HR.COST_CENTER_ID <> '?' AND ( COST_CNTR_HIER_VR.ANCESTOR_ID in ('BA_H1000') ) )

BusinessObjects Cost Center Rapid Mart Business Guide 89

Page 90: CA_bg

ReportsHierarchy Data Discovery4

Profit Center Hierarchy Data Discovery

View Profit Center Hierarchies for a specified Parent Profit Center and Profit Center Hierarchy (as defined in SAP).

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

90 BusinessObjects Cost Center Rapid Mart Business Guide

Page 91: CA_bg

ReportsHierarchy Data Discovery 4

Cost Element Hierarchy Data DiscoveryView Cost Element Hierarchies for a specified Parent Cost Element and Cost Element Hierarchy (as defined in SAP).

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

BusinessObjects Cost Center Rapid Mart Business Guide 91

Page 92: CA_bg

ReportsHierarchy Data Discovery4

Internal Order Hierarchy Data Discovery

View Internal Order Hierarchies for a specified Parent Internal Order and Internal Order Hierarchy (as defined in SAP).

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

92 BusinessObjects Cost Center Rapid Mart Business Guide

Page 93: CA_bg

ReportsInvalid Hierarchies 4

Project Element Hierarchy Data DiscoveryView Project Element Hierarchies for a specified Parent Project Element and Project Element Hierarchy (as defined in SAP).

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL".

Invalid HierarchiesThis Rapid Mart comes with the following tables for invalid hierarchy data:• ACTIVITY_HIER_BAD• COST_CNTR_HIER_BAD• COST_ELEMENT_HIER_BAD• INT_ORDER_HIER_BAD• PROFIT_CENTER_HIER_BAD

BusinessObjects Cost Center Rapid Mart Business Guide 93

Page 94: CA_bg

ReportsInvalid Hierarchies4

Upon running the Rapid Mart load, data is loaded into these tables where there are issues with values in the hierarchies. You have the ability to report on these tables via the Universe, and then remedy the issues with the data in the source SAP system.

ReportsThe Rapid Mart comes with 5 reports to analyze problems with the Rapid Mart hierarchies. All reports have the same structure, but report on the data in their respective “Bad” data table. Here is a sample for Invalid Cost Center Hierarchy:

Report SQLAll report SQL is located in the Rapid Mart installation directory under "\Sample\DDL". SQL for this report is as follows: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, COST_CNTR_HIER_BAD.CHILD_DESC, COST_CNTR_HIER_BAD.DI_ERRORACTION, COST_CNTR_HIER_BAD.DI_ERRORCOLUMNS, COST_CNTR_HIER_BAD.LEAF_FLAG, COST_CNTR_HIER_BAD.ROOT_FLAGFROM COST_CNTR_HIER_BAD

94 BusinessObjects Cost Center Rapid Mart Business Guide