Professional Documents
Culture Documents
Report Painter: More Advanced Concepts: CSU Chico
Report Painter: More Advanced Concepts: CSU Chico
Fall 1998
CSU Chico
SAP AG
CSU Chico
SAP AG
Exploding Rows
Creating Libraries
Creating Models Adding Text and other Layout Features Performing Calculations Finishing up Report Painter
CSU Chico
SAP AG
Exploding Rows
Occurs when you have a Row Value that consists of more values
Example: Cost Center Codes 40000 - 43000 could be split out to individual codes or collapsed
Default is to NOT explode To change this default: Edit --> Rows --> Explode
CSU Chico
SAP AG
Do not explode
Cost element group
Total
Cost elements Actual Total 400000 400100 * Group 1 600000 600100 * Group 2 ** Total 5.000 5.000 10.000 10.000 10.000 20.000 30.000
Explode
Group 1 400000 400100
Group 2
600000 600100
Cost elements Actual 400000 400100 600000 600100 5.000 5.000 10.000 10.000
CSU Chico
SAP AG
Single values
5.000
Defines Selected:
Characteristics (attributes that are key fields) Key Figures (types of measures or values -- typically numeric) Pre-Defined Columns
Defined by SAP Consist of Key Figures and Characteristics Can Define Your own
CSU Chico
SAP AG
Library
A library contains: - Characteristics
Criteria for selecting data records (cost element, version...) Report group C Report group B Report group A
- Key figures
Value fields in selected data records
- content-related
reports
- Predefined columns
Combinations of characteristics and key figures
CSU Chico
SAP AG
Report Painter --> Report Writer --> Library --> Display --> Utilities -> Catalog
CSU Chico
SAP AG
Library Maintenance
Characteristics
Name X X X X X X Controlling area Cost center Cost element Order Fiscal year Period : : Position 1 2 3 4 5 6 X X X X X X
Key figures
Name Position 1 2 3 4 5 6 Costs Quantity Activity quantity Stat. quantity Costs in obj. currency Variable costs : :
Predef. columns
Name X X X X X X Position 1 2 3 4 5 6 Actual costs Plan costs Act. qty. current period Act. activity fiscal year Stat. quantity plan Disp. activity fiscal year : :
LIBRARY : Z01 TABLE : CCSS CSU Description: Cost Center Accounting Reports
Chico
SAP AG
Models are Static: If you Change a Model you Must Change All Reports That Use the Model OR Have Reports with Different Versions of the Model
Report Painter --> Model --> Create
Use for column Definition: Within Report Definition: Edit --> Columns --> Get Column Model Edit Rows -- > Get Row Model (for Rows)
CSU Chico
SAP AG
?
PERBL
?
KSTAR
Resulting selection screen: Controlling area from fiscal year to fiscal year ----------------------------------------
-----------------------------------------------------------
Year, Starting Period and Ending Period, etc. for the Data
Types of Variables:
Value: single Value such as Controlling Area, Company Code, Work Center, Plant, etc.
CSU Chico
SAP AG
Value Variables
Variable Field name 1PERIV PERBL
Entry: Characteristic values Controlling area: Fiscal year: 001 1996 to Period: to Cost center: 1PERIV 1PERIB
to
Use parameter ID
or group
1KOSET
CSU Chico
SAP AG
Formula Variables
Default values from the system
Formula variable 1GJAHLJ: System exit that determines the current fiscal year from the controlling area and the fiscal year variant. Formula variable 1GJAHVJ: Internal variable that determines the previous year 1GJAHVJ = 1GJAHLJ - 1
CSU Chico
SAP AG
Variable
1KOSET
Field name
Reference set Description Table
KOSTL
1-S-KOSTL-AL Cost center group CCSS
to
Cost center: to or group
1PERIB
1KOSET
CSU Chico
SAP AG
Example: Planned and Actual Costs by Cost Center and by Product Group Column Structure is identical for all row blocks Menu Path: Go To --> New Section
CSU Chico
SAP AG
Sections Example
Cost elements 400000 400100 : Activity types Direct labor hours Direct repair hours : Actual Plan Var. Actual Plan Var.
Section 1
Section 2
Actual
Plan
Section 3
Chico
SAP AG
CSU Chico
SAP AG
Title page
Entering Text
Menu Path: Extras --> Report Text Enter directly Can also use variables, parameters, characteristics, etc.
CSU Chico
SAP AG
Entering Text
Standard variables
Report name: From period: Fiscal year : Cost center: < < > > > > > Page: < > To period: < > Report name Page number Date of selection Author of report Library description ...... for example
<
<
Selection parameters
for example From period (value) To period (value) Fiscal year (value) ....
Special variables
Characteristics
for example Controlling area Cost center
CSU Chico
SAP AG
Standard Layouts
Standard layouts used in many companies so all reports have same look and feel
Menu Path: Report Writer --> Standard layout --> Create Attach a layout to a report by displaying it -- this is used for the report you are working on Defaults provided by SAP (see drop down list)
CSU Chico
SAP AG
Layout Settings
Column width No. format +/- sign Text type
---------
---------
---------
---------
Level of detail
Cost element 4200 Salaries .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... ....
Color
* Total
CSU Chico
SAP AG
Standard Layout
Report Definition Column totals Totals position X left right Layout Column width Right margin Unit width 1 to 5 X 3 characters Standard Layout: TRAINING Column break none X line
Other character
Other value
Variants
1 to 5
Column texts Text type Alignment Master data text Left-justified X Field value and text X Centered Field name and fld value Right-justified Field value Suppress
CSU Chico
SAP AG
Suppress Rows and Columns that you want to use for calculations but dont want to show
Z001
Z002
CSU Chico
SAP AG
Predefined column
Formula
Formula:
X001 / Z001
Section 2
Stat. key figures Employee
Z001 Employee / actual Actual costs
Actual
Plan
Telephone units
X001
X002
Plan costs
Total
Employee
Chico
SAP AG
Section 2
Stat. key figures Actual Plan
.............
............. ............. .............
Employee
Telephone costs Cell Z002 Formula: Z001 / Z002
.............
Total
Cell Z001
Section 3
Actual Plan Z001 Z002
Costs / Actual Employee / Act.
Chico
SAP AG
1.000
500
1.500
2000
3000
4.000
700
1.000
300
5.000
1.000
4000
2.000
2.000
4.000
Additional Considerations
Variation: Allows you to run the same report at detail or summary level determined at run time
Define the Variation function in Report Definition under General Data Selection At Run time push variation button and select the desired variation level Execute the Report Group
Multiple Selection: Run the same report but separate every time by variable, I.e. Cost Center
CSU Chico
SAP AG
Multiple Selection
Reports to be output
CoArea 0001 FYear 1992 CoArea 0001 FYear 1993 4 combinations 1 2 3 4 CoArea 0002 FYear 1992 CoArea 0002 FYear 1993
CSU Chico
SAP AG
S02000 Warehouse
S02000 ENERGY
-2210 Electricity
S02110 Warehouse1 S02120 Warehouse2 -2220 Water -2230 Gas
Fixed
Hierarchy
Selected groups
X "" ""
"" X ""
S02000 1 Area report all sets 5 Reports only basic sets S02110, S02120, S02200 3 Reports
CSU Chico
Variation
S02000
S02000 Warehouse
S02110 Warehouse 1
S02120 Warehouse 2
Explode
Do not explode
Single values
CSU Chico
SAP AG
When you create the report use Options --> Copy From
CSU Chico
SAP AG