Report Painter: More Advanced Concepts: Sap Ag
Report Painter: More Advanced Concepts: Sap Ag
Report Painter: More Advanced Concepts: Sap Ag
SAP AG
Report Painter: More Advanced concepts
SAP AG
Report Painter: More Advanced concepts
Objectives:
Exploding Rows
Creating Libraries
Creating Models
Adding Text and other Layout Features
Performing Calculations
Finishing up Report Painter
SAP AG
Exploding Rows
SAP AG
Exploding Report Rows
Cost elements Actual Plan Var.
SAP AG
Report Painter: Creating New Libraries
SAP AG
Library
A library contains:
Report group C
- Characteristics Report group B
Report group A
Criteria for selecting
data records
(cost element, version...)
- Key figures
Value fields in selected
data records
- content-related
- Predefined columns reports
Combinations of
characteristics and
key figures
SAP AG
Report Painter: Creating New Libraries
SAP AG
Library Maintenance
LIBRARY : Z01
TABLE : CCSS
Description: Cost Center Accounting Reports
SAP AG
Report Painter: Models
Model = Template
Sets of Rows OR Columns You May Want to Re-use
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)
SAP AG
Flexible Reports with Variables
KOKRS GJAHR
Controlling area Fiscal year
? &1KOKRE ? &1GJAHV - &1GJAHB
PERBL KSTAR
Period
? &1PERIV - &1PERIB ? Cost Element & 1KSTAR
SAP AG
Value Variables
or group 1KOSET
Use parameter ID
SAP AG
Formula Variables
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
SAP AG
Variables for Groups (Set Variables)
SAP AG
Adding Blocks and Sections
SAP AG
Sections Example
Cost elements Actual Plan Var.
400000
400100 Section 1
:
Employee
Telephone costs
Section 3
:
SAP AG
Column Blocks Example
: : : : : : : :
SAP AG
Adding Text to a Report
Types of Text
Title page
Header (top of every page)
Footer (foot of every page)
Last Page
Entering Text
Menu Path: Extras --> Report Text
Enter directly
Can also use variables, parameters, characteristics, etc.
SAP AG
Entering Text
Standard variables
Report name: < > Page: < > for example
From period: < > To period: < >
Fiscal year : < > Report name
Page number
Cost center: < > Date of selection
Author of report
Person responsible: < >
Library description
......
Selection parameters
for example
From period (value)
To period (value)
Fiscal year (value)
....
SAP AG
Standard Layouts
SAP AG
Layout Settings
Column width No. format +/- sign Text type
Overscore and
underscore
SAP AG
Standard Layout
Report Definition
Standard Layout: TRAINING
Column totals
Totals position Column break
X left none
right X line Other character
Layout
Column width
Right margin
Unit width
1 to 5
X 3 characters Other value Variants 1 to 5
Column texts
Text type Alignment Miscellaneous
Master data text Left-justified Suppress zero columns
X Field value and text X Centered Underline col. break
Field name and fld value Right-justified character
Field value
Suppress
SAP AG
Calculations in Report Painter
Z001
Z002
SAP AG
Cells in Formula Columns
Section 1
Costs Act. Plan Act. per employee Key figure with
characteristics
Predefined column
Formula
Formula:
X001 / Z001
Section 2
Stat. key figures Actual Plan
Employee
Z001 Employee / actual
Telephone units
X001 Actual costs
Total Employee
Employee
Total
Costs
Costs / Employee
Telephone units /
Employee
SAP AG
Sections with Calculated Key Figures
Section 1 Section 2
Costs Actual Plan Var. Stat. key figures Actual Plan
............. Employee
.............
Telephone costs
.............
.............
Cell Z002
.............
Total Formula:
Z001 / Z002
Cell Z001
Section 3
Actual Plan Z001 Costs / Actual
SAP AG
Suppressed Rows and Columns
suppressed columns
SAP AG
Additional Considerations
SAP AG
Multiple Selection
Example
Reports to be output
CoArea from 0001 to 0002
(or set)
CoArea 0001
FYear from 1992 to 1993 FYear 1992
(or set) CoArea 0001
FYear 1993
CoArea 0002
1 FYear 1992
4
CoArea 0002
combinations 2 FYear 1993
3
4
SAP AG
Multiple Selection (continued)
Hierarchy S02000
S02000 S02000
Warehouse ENERGY
-2210 Electricity
S02110 S02120
-2220 Water
Warehouse1 Warehouse2
-2230 Gas
SAP AG
Variation
S02000
S02000 S02000
Warehouse ENERGY
-2240 Electricity
S02110 S02120 -2250 Water
Warehouse 1 Warehouse 2 -2260 Gas
Variation
Explode Do not explode Single values
SAP AG
Leveraging Existing Reports
SAP AG