Download presentation
Presentation is loading. Please wait.
1
Report Writer: Lecture 2
Fall 1998 Gail Corbitt 11/14/2018 Report Writer #2
2
MINS 298C ABAP: Report Writer
Copyright Gail corbitt Contents of this file are for the exclusive use of the special MINS 298C class dealing with SAP software at CSU Chico for the Fall 1998 semester. Any other use in either electronic or hardcopy form is prohibited without the express written permission of the author. This material is confidential. Do not share it with anyone not enrolled in the class. Report Writer Lecture #2 01/26/98 11/14/2018 Report Writer #2 1 1 1 1 1 1
3
Report Writer: Lecture 2
Objectives: Go Over Steps to Create a Simple Report Present Layout Options Examine Levels of Reporting Techniques Show How to Set Up Page Breaks 11/14/2018 Report Writer #2
4
Layout Options Data Suppression
Levels of Reporting (Specifying level of Detail, Summation and Subtotaling) Page Breaks Threshold Values Sorting Layout Standards Print Class 11/14/2018 Report Writer #2
5
Steps to Build a Report Examine Your Report Layout and Make Sure all Sets are Already Created Path: Info Systems > Ad Hoc Reports > Report Painter > Report Writer > Report > Create Name the Report and Library (Can Use Copy) Define Row Sets (Go To > Rows) Define Column Sets (Go To > Columns) Define Data Selection Criteria (Go To > Data Selection) Check for Errors 11/14/2018 Report Writer #2
6
Steps to Build a Report cont.
Assign to Report Group (or Create New Group) Generate Report Execute Report 11/14/2018 Report Writer #2
7
Data Sets: Example Report
The example shows a report with a data set of the following structure: DATA SET ISWKG PSWKG Actual/Plan costs Salaries / Administration ACTUAL Total PLAN Total 3200 Personnel dept. 50, , Accounting 60, , Purchasing 40, , Cafeteria 25, ,000.00 * Salary 175, ,000.00 3200 Personnel dept. 20, , Accounting 15, , Purchasing 10, , Cafeteria 6, , * Vacation pay 51, ,550.00 ** Salaries 226, ,550.00 11/14/2018 Report Writer #2
8
Multi-Dimension Set in a Column (Only Characteristics)
Column set GXX-FY-PER Set ID Characteristic GXX-PY-CY GJAHR GXX-QUART PERBL GJAHR PERBL GXX-PY-CY GXX-QUART Q1 Q2 Q3 Q4 - &VJR ('1996') - &AJR ('1997') Q1 Q2 Q Q Q1 Q2 Q Q D.L. costs XXX XXX XXX XXX XXX XXX XXX XXX I.L. costs XXX XXX XXX XXX XXX XXX XXX XXX P.T. salaries : : : : : : : Overtime * Wages XXX XXX XXX XXX XXX Salaries : : : : : : : : General Data Selection: Basic set : KOKRS Data set: ACTTOT ISWKG 11/14/2018 Report Writer #2
9
Data Set (Multi-Dimension Set in a Column)
Periods/ Act./Plan/Variance PERBL *D Basic set Periods: HALFYEAR 1 Data set Act./Plan/Var. No. From To 001 1 Jan 002 2 Feb 003 3 Mar 004 4 Apr 005 5 May 006 6 Jun No. From To ISWKG Act. PSWKG Pln 003 = '001' - '002' Var. PER- APV CElem. January Act Pln Var. February March April May June Periods Wages Salaries 11/14/2018 Report Writer #2
10
Data Set (Multi-Dimension Set in a Row)
Var.KSTAR-Group/ Act./Plan/Variance Data Set Act./Plan/Var. *D No. Set ID 001 &KARTGR 002 GXX-APV Field name KSTAR *D Cost element group Act./Plan/Var. No. From To ISWKG Actual PSWKG Plan 003 = '001' - '002' Var. Half year 1 Jan Feb March April May June ... CElem/ Act.-Plan-Var. Personnel costs Actual Plan Variance Wages Salaries ...... 20,000 15,000 5,000 33,000 25,000 8,000 30,000 15,000 20,000 44,000 25,000 19,000 40,000 15,000 25,000 55,000 30,000 50,000 15,000 35,000 66,000 25,000 41,000 60,000 15,000 45,000 77,000 25,000 52,000 70,000 15,000 55,000 88,000 25,000 63,000 11/14/2018 Report Writer #2
11
Data Set ('Key Figure') Row
Total/Quantity No. From To ZZSWKG Total costs ZZSMEG Total quantity 003 = '001' / '002' Unit price PER- UNIT Jan Feb March April May June COST- QUANTITY GENERAL DATA SELECTION S E T F O R Costs Quantity Unit price Value type: 0 (act.) Version: 000 CO Area: 1000 Fiscal year: &ajr Cost elem.: &kstar 11/14/2018 Report Writer #2
12
RW Layout Options Levels of Reporting Default is Detail
Can Suppress Detail at Any Level See S Flag in Basic Entry Use Suppress Indicator in Row Set to Get Summary Totals Path: Report Writer > Report > Create/change > Go To > Rows 11/14/2018 Report Writer #2
13
1. Suppress Indicator for Intervals in Basic Sets
GXX - PERSONNL Selected records: D.L.costs 30,000.00 I.L.costs 10,000.00 P.T.salaries 4,500.00 GXX - WAGES GXX- SALARY GXX- INCIDENT 431000 430000 434000 432000 440000 44,500.00 Report output Personnel costs Total actual costs Labor costs Overtime pay 25, WAGES 70,000.00 Salary 85, Standard vacation pay 14, SALARIES 99,000.00 Sick pay 8, Legal social expenses 10, INCIDENTAL COSTS 19, PERSONNEL COSTS 44,500.00 GXX-WAGES S Flag X Labor costs Overtime pay 11/14/2018 Report Writer #2
14
2. Suppress Indicator in Single Dimension and Multi-Dimension Sets
GXX-PERSONNL GXX-WAGES GXX-SALARY GXX-INCIDENT 431000 430000 434000 432000 440000 Report output Personnel costs Total actual costs Direct labor costs 20, Indirect labor costs 15, Part-time salaries 9, Overtime pay 25, WAGES 70, SALARIES 99, Sick pay 8, Legal social expenses 10, INCIDENTAL COSTS 19, PERSONNEL COSTS 188,000.00 GXX-PERSONNL Further entries 001 GXX-WAGES S Flag 002 GXX-SALARY X 003 GXX-INCIDENT 11/14/2018 Report Writer #2
15
3. Total Levels in the Report Definition
Example: Annual Set (Periods) Level Year 1 First half 1 Second half 2 2 Quarter 1 Quarter 2 Quarter 3 Quarter 4 3 1 2 3 4 5 6 7 8 9 4 Total Level Level 1 2 3 .. Set hierarchy Single value 11/14/2018 Report Writer #2
16
Total Levels Variables in the Row Indicator
S = Suppress Y/N B = Treatment of + and - sign (trailing or not) P = Print class Positive Level Numbers Indicate Level of Summation You Want Negative Level Numbers Turn Off Summation and Give Level of Detail 11/14/2018 Report Writer #2
17
3. Total Levels (1) Report Definition Set ID Character Total level
Example: Annual Set ( Periods ) Year Second half Year First half Second half : Direct labor csts XX.XXX,XX XX.XXX,XX XX.XXX,XX Indirect labor costs : : : Part-time salaries : : : Overtime pay : : : SALARIES : : : : Quarter 3 Quarter 4 7 8 9 Report Definition Set ID Character Total level GXX- PERIODS PERBL 2 11/14/2018 Report Writer #2
18
3. Total Levels (2) Report definition
Example: Individual cost centers and their groups Level Level W10 W11 WHS1 W20 W21 WHS2 EN1 EN2 EN3 ENRG D.L. XX XX XX XX XX XX XX XX XX XX I.L. : : : : : : : : : : P.T. : : : : : : : : : : : : : : : : : : : : : : : : : : WAGES CCTR LOGISTICS WAREHS ENERGY 2- -EN1 -EN2 -EN3 1- 2- WHS1 WHS2 1- -W10 -W20 -W11 -W21 Report definition Set ID Characteristic Total level LOGISTICS KOSTL 2- Total level Level 1 2 3 . Basic set Single values Set hierarchy 11/14/2018 Report Writer #2
19
4. Summation Levels ( Layout )
SUMMATION LEVELS ( row totals ) *** Cost element total ** Cost element group 35.00 * Account A 10.00 Cost center Cost center * Account B 25.00 Cost center Cost center ** Cost element group * Account C 35.00 Cost center Cost center * Account D 40.00 Cost center Cost center *** Cost element total ** Cost element group ** Cost element group * Cost element A 10.00 * Cost element B 25.00 * Cost element C 35.00 * Cost element D 40.00 No! 1 to 1 ! GREAT! LAYOUT (GLOBAL) In the report definition Summation level From level: 2 To level: 3 11/14/2018 Report Writer #2
20
4. Comparison: Summation Levels / Total Levels
*** Total of account groups ** Account group ** Account group KSTAR KOSTL 1 KTOGES KST1-2 1 CCtr 1 CCtr 2 * Cost element A CCtr B * Cost element B .... CCtr 1 CCtr 2 2 KGR1 KGR2 Cost centers for individual accounts ??? OH NO !!!!! CElem A CElem C CElem B CElem D Set ID Charac. Total level KSTARGES KSTAR 2 KST1-2 KOSTL 1 11/14/2018 Report Writer #2
21
Keep Levels Used ONLY in Multi-Dimensional Sets
Applies to All But First Characteristic in MD Sets Where There Are More Than 2 Levels Used to Indicate What Subtotals to Keep for A specified Characteristic (Row or Column) When a Keep Level is Specified a Running Total of the Sub-Totals is Kept and Reported in the Report Example: Wages subtotal + Salaries Subtotal to a Keep Level for Personnel Costs 11/14/2018 Report Writer #2
22
5. Keep Level in a Row (for Characteristics)
Report output . WAGES . Salary . Incident LS LS11 WAGES SALARY INCIDENT WARHS1 . . . WARHS2 WAREHOUSE KOSTL GXX-WRH-PER KSTAR WAREHOUSE PERSONNEL 1 WRH1 WRH2 WAGES SALARY INCIDENT 2 LS LS20 LS LS21 . . . . Report definition Set ID Charac. Keep level WAREHOUSE KOSTL PERSONNL KSTAR 2 11/14/2018 Report Writer #2
23
5. Subtotal (Keep Level) Report output Report definition Row set
Act. consumption - KG kilogram - TO ton *CON:paints - KG kilogram - TO ton *CON:salts GXX-CELM-CON RM-MATER KSTAR GXX-RAW-AUX RAW -CON: Paints -CON: Salts GXX-RAW1 - KG kilogram - TO ton AUX -CON:HS -CON:BS ** RAW GXX-AUX1 - KG kilogram 50.00 - TO ton 60.00 *CON:OS - KG kilogram 40.00 - TO ton 80.00 *CON:FS CONSUMPTION MEINH -KG kilogram -TO Ton GXX-QTY Report definition - KG kilogram 90.00 - TO ton Set ID Keep level **AUX - KG kilogram - TO ton GXX-CELM-CON GXX-QTY 1- 11/14/2018 Report Writer #2 *** RM MATER
24
Page Breaks Splits up Output into Separate Pages for Each Row and Column Set Place Page Break After a Row Set or anywhere within the Set Double Click on Set You Want and Get Set-up; Use Within Characteristic to Insert a Page Break Can Also be Conditional If You Want All of One Row or Column Set to Appear on the Same Page 11/14/2018 Report Writer #2
25
Page Break Level Level 1 1 2 2 3 KOSTL KSTAR GXX-WRH-PER IG control
WAREHOUSE PERSONNEL 1 1 IG control Recvng warehouse Issuing warehouse (1-) 2 WAGES SALARY INCIDENT D.L. costs I.L. costs P.T. salaries Overtime pay Salary Vacation pay Sick pay Legal social expenses 2 3 (1-) Set ID Charact. Page break 1- GXX-WAREHS KOSTL - GXX-PERSONNL KSTAR - - 11/14/2018 Report Writer #2
26
Page Break (Example) WAREHOUSE PAGE 1 PAGE 2 PAGE 3 D.L. costs
I.L. costs P.T. salaries Overtime pay Wages Salary Vacation pay SALARIES Sick pay Legal soc. expenses ADDITIONAL COSTS GOODS RECEIPT CONTROL D.L. costs I.L. costs P.T. salaries Overtime pay Wages Salary Vacation pay SALARIES Sick pay Legal soc. expenses ADDITIONAL COSTS RECEIVING WAREHOUSE D.L. costs I.L. costs P.T. salaries Overtime pay Wages Salary Vacation pay SALARIES Sick pay Legal soc. expenses ADDITIONAL COSTS ISSUING WAREHOUSE WAREHOUSE 11/14/2018 Report Writer #2
27
Varying the Display Options on Totals
Change Color, Lines, Number of Empty Lines, etc. “Pretty’s” the Display of Totals to Make Them More Visible to the User Format Characteristics within Set Definition Digits 1-9 are Reserved (in Row Sets only) for the Number of Blank Lines you Want After a Row Total 11/14/2018 Report Writer #2
28
Totals Display Row set Level 1 2 3 D.L. costs I.L. costs P.T. salaries
Overtime pay Row set Level PERSONNL 1 Personnel costs SALARIES WAGES SALARY INCIDENT 2 Salary Vacation pay 3 (1-) : : : : WAGES Set ID GXX-PERSONNL Cost element group Characteristic KSTAR Cost element Sick pay Legal social expenses TOTALS DISPLAY From level Highlight To level Color 1- X INCIDENTAL COSTS Additional: .. Color 3 Color 4 Color 6 Color 7 PERSONNEL COSTS From level Highlight To level Color Lower border Upper border Single line Double line 2 X O O 11/14/2018 Report Writer #2
29
Totals Display (1) Jan Feb Mar Q1 Apr May Jun Q2 F.half Q Q4 S.half Year Level Column set Year 1 First half Second half 2 Quarter 1 Quarter 2 Quarter 3 Quarter 4 3 (4) 1- Set ID: GXX-Per-Year Characteristic: PERBL TOTALS DISPLAY From level To level 3 Left border Right border 3 11/14/2018 O Single line Report Writer #2 O Single line
30
Threshold Values Used to Set Format Style if the Value on the Report Meets the Condition Set in the Threshold Can also be User Defined at the Time the Report is Run Consists of the Following: Condition: Equal To, Greater Than, Less Than, etc. Threshold Value:The Actual Value you are Looking for in the Condition Reference Column: The Column Number (Ignoring the First Column) that you are Using for the Threshold 11/14/2018 Report Writer #2
31
Threshold Values (Report definition or output) Condition >
EXAMPLE 1 (Report definition or output) Condition > Threshold value 5000 Reference column 1 (Actual) Cost elements Act, Plan Var, ,000 4,000 1,000 ,000 5,000 2,000 * Wages 12,000 9,000 3,000 ,000 7, ,000 1, * Salary 10,000 9,000 1,000 ,000 1,000 1,000 , * Incident 3,000 1,500 1,500 ** PERSONNEL 25,000 19,500 5,500 EXTRAS: Print selected rows only Cost elements Act. Plan Var. ,000 5,000 2,000 * Wages 12,000 9,000 3,000 ,000 7, * Salary 10,000 9,000 1,000 ** PERSONNEL 30,000 17,000 11,500 Cost elements Act. Plan Var. ,000 4,000 1,000 ,000 5,000 2,000 * Wages 12,000 9,000 3,000 ,000 7, ,000 1, * Salary 10,000 9,000 1,000 ,000 1,000 1,000 , * Incident 3,000 1,500 1,500 ** PERSONNEL 25,000 19,500 5,500 EXAMPLE 2 Condition >= Threshold value 2000 Reference column 3 ( Var. ) EXTRAS: Highlight selected rows ( red ) 11/14/2018 Report Writer #2
32
Sorting Like an Order By Clause in SQL
Choices are Ascending or Descending Need to Specify the Reference Column (Sorting of Rows is done by Placement of the Row Sets) 11/14/2018 Report Writer #2
33
Sorting (Report Output- Example)
Sort in ascending order according to column 3 Cost elements Act. Plan Var. Cost elements Act. Plan Var. ,000 5,000 2,000 ,000 4,000 1,000 * Wages 12,000 9, ,000 ,000 7, ,000 1, * Salary 10,000 9,000 1,000 ,000 1,000 1,000 , * Incident 3,000 1,500 1,500 ** PERSONNEL 25,000 19,500 5,500 ,000 4,000 1,000 ,000 5,000 2,000 * Wages 12, , ,000 ,000 7, ,000 1, * Salary , , ,000 ,000 1, , ,000 * Incident 3,000 1,500 1,500 ** PERSONNEL 25,000 19,500 5,500 11/14/2018 Report Writer #2
34
Standard Layouts Path: Info Systems > Ad Hoc Reports > Report painter > Report Writer > Standard Layout Define in Report Header Copy and Change (like Report Painter) Allows for Standard Look and Feel for All Reports Change 6 Screens that Format: Page Control, Row Totals, Row Text, Column Totals, Column Text, Representation 11/14/2018 Report Writer #2
35
Standard Layout Report Definition Standard Layout: SCHULUNG
Column Totals Totals position Column break character Left None Right Line Other character Layout Column width Right margin Unit width Variants Characters 1 to 5 3 Characters Other value Column Text Text type Orientation Miscellaneous Description Left-justified Suppress zero columns Key and description Centered Underline column break char. Name and key Right-justified Key Suppress X X X X X 11/14/2018 Report Writer #2
36
Print Classes Formats How to Print all Sets Specifies for Columns:
Column Width Decimal Places Scaling Print Unit Right Margin Display of Sign (+/-) Sign is the only thing that Pertains to Rows 11/14/2018 Report Writer #2
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.