CA705

Basics of Report Painter/Report Writer
mySAP ERP Financials

F o r

o n l y

i n t e r n a l

C S C

Date Training Center Instructors Education Website

u s e

b y

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

Participant Handbook
Course Version: 2005 Q2 Course Duration: 2 Day(s) Material Number: 50073808

An SAP course - use it to learn, reference it for work

Copyright
Copyright © 2005 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

Trademarks
• • • • • • Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of Microsoft Corporation. IBM®, DB2®, OS/2®, DB2/6000®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX®, S/390®, AS/400®, OS/390®, and OS/400® are registered trademarks of IBM Corporation. ORACLE® is a registered trademark of ORACLE Corporation. INFORMIX®-OnLine for SAP and INFORMIX® Dynamic ServerTM are registered trademarks of Informix Software Incorporated. UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group. Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc. HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. JAVA® is a registered trademark of Sun Microsystems, Inc. JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.com are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other products mentioned are trademarks or registered trademarks of their respective companies.

F o r

o n l y

i n t e r n a l

C S C

• • • •

u s e

b y

u s e

i n t e r n a l

b y

C S C

Disclaimer
THESE MATERIALS ARE PROVIDED BY SAP ON AN "AS IS" BASIS, AND SAP EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR APPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THESE MATERIALS AND THE SERVICE, INFORMATION, TEXT, GRAPHICS, LINKS, OR ANY OTHER MATERIALS AND PRODUCTS CONTAINED HEREIN. IN NO EVENT SHALL SAP BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES OF ANY KIND WHATSOEVER, INCLUDING WITHOUT LIMITATION LOST REVENUES OR LOST PROFITS, WHICH MAY RESULT FROM THE USE OF THESE MATERIALS OR INCLUDED SOFTWARE COMPONENTS.

o n l y

F o r

About This Handbook
This handbook is intended to complement the instructor-led presentation of this course, and serve as a source of reference. It is not suitable for self-study.

Typographic Conventions
American English is the standard used in this handbook. The following typographic conventions are also used. Type Style Example text Description Words or characters that appear on the screen. These include field names, screen titles, pushbuttons as well as menu names, paths, and options. Also used for cross-references to other documentation both internal (in this documentation) and external (in other locations, such as SAPNet). Example text EXAMPLE TEXT Emphasized words or phrases in body text, titles of graphics, and tables Names of elements in the system. These include report names, program names, transaction codes, table names, and individual key words of a programming language, when surrounded by body text, for example SELECT and INCLUDE. Screen output. This includes file and directory names and their paths, messages, names of variables and parameters, and passages of the source text of a program. Exact user entry. These are words and characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Pointed brackets indicate that you replace these words and characters with appropriate entries.

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

Example text

o n l y

F o r

Example text

<Example text>

2005/Q2

© 2005 SAP AG. All rights reserved.

iii

About This Handbook

CA705

Icons in Body Text
The following icons are used in this handbook. Icon Meaning For more information, tips, or background Note or further explanation of previous point Exception or caution Procedures

F o r

o n l y

i n t e r n a l

C S C

Indicates that the item is displayed in the instructor’s presentation.

u s e

b y

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

iv

© 2005 SAP AG. All rights reserved.

2005/Q2

................................... 38 F o r o n l y Unit 3: Row and Column Models ..187 2005/Q2 © 2005 SAP AG. 27 Generating and Executing Reports ....................................................................................... 93 b y u s e Unit 5: Formatting Reports .................................. 167 Assigning and Transporting Report Groups ............ All rights reserved.................................................127 u s e i n t e r n a l Unit 6: Variations and Extracts ........... 145 Using Variations and Extracts in Mass Reports...........................................................................................................146 b y C S C Unit 7: Reports in a Live System .......... 78 i n t e r n a l C S C Unit 4: Section and Horizontal Pages .............................................. 77 Using Row and Column Models ................3 Unit 2: Creating Reports Using Report Painter .......................... 185 Introduction to Sets ............ 25 Structuring Reports ................ 125 Using Standard Layouts and Format Groups .................. 91 Defining Sections and Horizontal Pages.........vii Course Objectives .................................................... vii Course Goals ... 1 Report Painter/Report Writer Overview ........................vii Unit 1: Introduction to Report Painter/Report Writer ..........................168 o n l y F o r Unit 8: Working with Sets ....................... v ..........................................................Contents Course Overview .............................................

.................................Contents CA705 Appendix 1: Course Appendix ...................................................................................... 231 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r vi © 2005 SAP AG. 205 ...................................................... 219 .. 225 Appendix 5: Menu Paths Index ............................ 211 Appendix 2: Authorization Maintenance Appendix 3: Data in Exercises Appendix 4: Glossary ............... 217 .. All rights reserved... 2005/Q2 ....................................

you will learn to use basic sets and single-dimension sets in a report definition. To begin with. you will learn about the relationship between individual Report Writer components and learn to create a library and define a report with variables and permanent selection criteria. The course will cover information on how to structure a report and perform calculations in a report. library. You will learn to use standard layouts and formatting functions in a report. you will be able to: • • Explain the relationship between a reporting table. In addition. All rights reserved. You will also learn to transport and assign report groups.Course Overview The course provides an overview of the basic functions of the Report Painter and Report Writer. F o r o n l y Target Audience This course is intended for the following audiences: • Project team members responsible for the information system i n t e r n a l C S C b y Course Prerequisites Required Knowledge • SAP01 SAP Overview u s e u s e Recommended Knowledge • • • • Knowledge of Cost Center Accounting AC010 AC040 AC405 i n t e r n a l b y C S C o n l y F o r Course Goals This course will prepare you to: • Explain the basic functions of the Report Painter Course Objectives After completing this course. Finally. report. vii . and report group Create a library 2005/Q2 © 2005 SAP AG. you will learn to create row and column templates.

2005/Q2 . All rights reserved.Course Overview CA705 • • • • • • • • • • • Define a report with variables and permanent selection criteria Create row and column templates to help you define reports Structure a report using sections and horizontal pages Perform calculations within a report using cells and formulas Use the layout and formatting functions for a Report Painter report Use integrated report groups in a live system Assign report groups to an activity group Define a report/report interface to branch to a different report or a transaction Transport reporting objects Send reports using mail Use basic sets and single-dimension sets in a report definition o n l y SAP Software Component Information The information in this course pertains to the following SAP Software Components and releases: F o r i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r viii © 2005 SAP AG.

such as reporting table. you will be able to: • • • List the reporting tools available in SAP System Explain the uses of the Report Painter Explain the relationship between the Report Writer components u s e b y u s e i n t e r n a l b y Unit Contents Lesson: Report Painter/Report Writer Overview............. To begin with....... key figure.. 1 ...... F o r o n l y i n t e r n a l C S C Unit Objectives After completing this unit.... 11 C S C o n l y F o r 2005/Q2 © 2005 SAP AG... Then...3 Exercise 1: Report Components .......... which are reporting tools available in SAP System.... the unit also explains the uses of the Report Painter and the relationship between the various Report Writer components.......... the unit lists the reporting tools available in SAP System.............. and library. All rights reserved....Unit 1 Introduction to Report Painter/Report Writer Unit Overview This unit provides a detailed overview of the Report Painter and the Report Writer....

Unit 1: Introduction to Report Painter/Report Writer CA705 F o r o n l y i n t e r n a l C S C Figure 1: CA705 – Course Overview Diagram u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2 © 2005 SAP AG. All rights reserved. 2005/Q2 .

the lesson lists the reporting tools available in SAP System. Finally. You begin your task by exploring the various Report Writer components to be used for creating this report. the lesson explains the relationship between the various Report Writer components. You need to create this report using the Report Writer. you will be able to: • • • List the reporting tools available in SAP System Explain the uses of the Report Painter Explain the relationship between the Report Writer components F o r o n l y C S C Business Example You work as a financial consultant for XYZ Cement Company. 3 .CA705 Lesson: Report Painter/Report Writer Overview Lesson: Report Painter/Report Writer Overview Lesson Overview This lesson provides an overview of the Report Painter and Report Writer. Next. i n t e r n a l u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. the lesson explains the uses of the Report Painter. Lesson Objectives After completing this lesson. To begin with. The company needs Cost Center Accounting reports. All rights reserved.

Flexible analyses can be used to evaluate SAP data structures and form the basis for ad-hoc analyses. With the Report Painter. thereby supporting more complex reports. statistics. Standard analyses are based on statistics files or information structures in the Logistics Information System to which important key figures are updated directly from the relevant application. users can report on data from a wide variety of applications.Unit 1: Introduction to Report Painter/Report Writer CA705 Overview of Reporting Tools and Applications in SAP System F o r o n l y i n t e r n a l C S C b y Figure 2: Overview of the Reporting Tools in SAP System Quick Viewer and SAP Query are menu-driven tools that help a user compile lists. and ranked lists. such as straightforward lists. The drill-down reporting facility provided by SAP is an online information system featuring user-friendly functions that help you navigate through your data. The form layout tool enables a user to see the report in the form in which it will appear when the data is output. SAP Query comprises an extensive suite of functions for defining reports and compiling various types of reports. The Report Writer uses sets exclusively to map the row and column structures. The user can choose the data for the list from any SAP System table. With this interactive drill-down reporting facility. The data can be analyzed in the Logistics Information System using both standard and flexible analyses. you can use any key figures to describe your report. 2005/Q2 . It can also be used to evaluate your data on the basis of all the features contained in the data description. u s e u s e i n t e r n a l b y C S C o n l y F o r 4 © 2005 SAP AG. All rights reserved.

CA705 Lesson: Report Painter/Report Writer Overview F o r o n l y i n t e r n a l C S C Figure 3: Overview: Applications b y The graphic is an overview of the applications that work with the Report Painter/Writer. 5 . u s e Uses of Report Painter u s e i n t e r n a l b y C S C o n l y F o r Figure 4: Using the Report Painter 2005/Q2 © 2005 SAP AG. All rights reserved.

such as to define: • • • Planning layouts Drill-down reports Report Writer reports In this course. 2005/Q2 . The Report Painter uses a graphical report structure that forms the basis of report definition and displays the rows and columns of the report as they will appear when the report is compiled. All rights reserved. F o r o n l y i n t e r n a l u s e b y C S C u s e Figure 5: Report Painter as a User Interface i n t e r n a l The Report Painter performs a similar function to the Report Writer but is much easier to use.Unit 1: Introduction to Report Painter/Report Writer CA705 The graphical user interface (GUI) of the Report Painter can be used for various purposes. Reports created in the Report Painter are converted and executed by the system in the Report Writer. To create reports with the Report Painter. The Report Painter represents the interface between the user and Report Writer. b y C S C o n l y F o r 6 © 2005 SAP AG. The Report Painter is based on the What You See Is What You Get (WYSIWYG) principle. you do not need to be familiar with the set concept of the Report Writer. you will learn how to compile Report Writer reports using the Report Painter.

executable ABAP programs are created to select and format the data. “cost centers”. When a report group is generated. this is the table CCSS. With Overhead Cost Controlling reports. and key figures that are selected from the entries in a Report Writer table. Examples of characteristics include “accounts”. such as “local currency”. Before a report can be run. and “activity quantity”. SAP ships a wide variety of standard libraries.CA705 Lesson: Report Painter/Report Writer Overview Report Writer Components F o r o n l y i n t e r n a l C S C Figure 6: Report Writer Components b y u s e Each Report Writer report is based on a reporting table. which you can reuse in your reports. it must be included in a report group. A report group can contain one or more reports. 7 . Basic key figures are numeric value fields. Characteristics are non-numeric fields. A library is a collection of characteristics. “total cost”. u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. The logical reporting table can include one or more physical database tables. Every new report must be created for a library. You can also create your own libraries to satisfy your reporting requirements. and “business areas”. All rights reserved. Examples of key figures include “actual costs in the current fiscal year” and “planned costs in the closed fiscal year”. basic key figures. A key figure comprises a basic key figure and one or more characteristics. The reporting table contains all of the fields that can be used to compile a report. You can use key figures to define standard columns.

The standard libraries include the library 1 VK Cost Center – Absorption Costing and the library 601 Internal Orders. Note: Other examples are provided in the Appendix. and key figures that are selected from the entries in a Report Writer table. 2005/Q2 . A library is a collection of characteristics. 8 © 2005 SAP AG. All rights reserved. u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 8: Library Every report is assigned to a library. basic key figures.Unit 1: Introduction to Report Painter/Report Writer CA705 F o r o n l y i n t e r n a l C S C Figure 7: Hierarchy of the Report Writer Components: Example The reporting table CCSS is shipped for Overhead Cost Controlling reports.

F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l Figure 9: Library Maintenance b y The position assigned to the characteristics. 9 . Examples of key figures include “local currency”. and “activity quantity”. You can use key figures to define standard columns. A basic key figure is a numeric value field. basic key figures. which you can reuse in your reports. and “business areas”.CA705 Lesson: Report Painter/Report Writer Overview A characteristic is a non-numeric field. A key figure comprises a basic key figure and one or more characteristics. C S C o n l y F o r 2005/Q2 © 2005 SAP AG. “total cost”. Examples of key figures include “actual costs in the current fiscal year” and “planned costs in the closed fiscal year”. All rights reserved. “cost centers”. Examples of characteristics include “accounts”. and key figures when the library is maintained determines the order of these objects when the report is defined.

All rights reserved.Unit 1: Introduction to Report Painter/Report Writer CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 10 © 2005 SAP AG. 2005/Q2 .

You know that there are many other reporting tables out there. Library. F o r o n l y Task 1: Explain the relationship between a Reporting Table. Library. 11 . Report Group.CA705 Lesson: Report Painter/Report Writer Overview Exercise 1: Report Components Exercise Objectives After completing this exercise. locate some of the libraries associated with that table. What is the purpose of a reporting table? Name some reporting tables in mySAP ERP and the applications for which they were created. you use the CCSS table. you will be able to: • Explain the relationship between a Reporting Table. What is the purpose of a library? For one of the Reporting Tables listed in step 2. Reporting table Description i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C 3. All rights reserved. What is the purpose of a report group? Continued on next page 2005/Q2 © 2005 SAP AG. and Report. 1. 2. Report Group. and you have heard that the Report Painter can be used in other application areas as well. 4. Reporting table Library o n l y F o r 5. and Report Business Example Since you have to build Report Painter reports to address internal reporting needs in Management Accounting.

All rights reserved. answer the following questions. Report 1SIP-001 Reporting table Library Report group 2. For this report.Unit 1: Introduction to Report Painter/Report Writer CA705 Task 2: The report 1SIP-001 is shipped with mySAP ERP. 1. How did you locate the information? F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Continued on next page 12 © 2005 SAP AG. 2005/Q2 .

delete the selections for all key figures.CA705 Lesson: Report Painter/Report Writer Overview Task 3: Note the characteristics. F o r Create library Z## (## = group number) with description ‘CA705 group ##’. As a template. basic key figures. those for all basic key figures. First. The characteristics. use library 1VK. and key figures that you require are listed below. basic key figures. and key figures of the following report: F o r o n l y i n t e r n a l b y C S C Figure 10: u s e u s e i n t e r n a l b y Figure 11: C S C 1. All rights reserved. 13 . Content: Library Z## Characteristics Controlling area (KOKRS) Cost center (KOSTL) Basic key figures Key figures Costs (SWKG) Quantities (SMEG) Actual costs (ISWKG) Actual qty (ISMEG) o n l y Continued on next page 2005/Q2 © 2005 SAP AG. and then.

F o r i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 14 © 2005 SAP AG. 2005/Q2 . basic key figures. and key figures in the order they are listed in the table. All rights reserved.Unit 1: Introduction to Report Painter/Report Writer CA705 Cost elements (KSTAR) Fiscal year (GJAHR) Period (PERBL) Value type (WRTTP) Version (VERSN) Statistical key figures (STAGR) Valuation (VALUTYP) Stat qty (SSME) Actual stat qty (ISSME) Plan costs (PSWKG) Plan qty (PSMEG) Plan stat qty (PSSME) o n l y Position the characteristics.

All rights reserved. Continued on next page Description For Controlling reports EC-PCA Totals Table Product Costing in CO For SIS reports in LIS u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. basic key figures. Library. Reporting table Description F o r i n t e r n a l b y C S C u s e a) Reporting table CCSS GLPCT KKBC S001 3. These characteristics and basic key figures are the data fields accumulated for your application area. Therefore. libraries can be used to restrict access to certain data for your report builders.CA705 Lesson: Report Painter/Report Writer Overview Solution 1: Report Components Task 1: Explain the relationship between a Reporting Table. libraries can be used to organize reports by their content. What is the purpose of a reporting table? a) Reporting tables contain a list of the characteristics. 2. and key figures for which you are reporting. For one of the Reporting Tables listed in step 2. 1. o n l y Name some reporting tables in mySAP ERP and the applications for which they were created. In addition. 15 . locate some of the libraries associated with that table. and key figures that can be used to build your report library. It can be used to create a more precise list of characteristics. and Report. basic key figures. Users are authorized to use libraries. What is the purpose of a library? a) A library is a subset of the fields in a reporting table. 4. Report Group.

1. answer the following questions.Unit 1: Introduction to Report Painter/Report Writer CA705 Reporting table Library a) Reporting table CCSS GLPCT KKBC Library 1VK. 1AB 8A0. What is the purpose of a report group? a) Report Group helps group similar reports to enhance performance. 7KC. 8A2 7K0. All rights reserved. Report 1SIP-001 Reporting table Library Report group a) Report ISIP-001 Reporting table Library Report group CCSS 1VK 1SIP i n t e r n a l b y C S C o n l y F o r Continued on next page 16 © 2005 SAP AG.Table –Possible entries (F4). data is selected faster and processing time is shorter because report data is selected only once for all reports in the group.… F o r o n l y Choose Report Painter → Utilities → Catalog → Reports – Selection criteria . 7KE. as opposed to individually for each report. 5. For this report. 2005/Q2 . i n t e r n a l u s e b y C S C u s e Task 2: The report 1SIP-001 is shipped with mySAP ERP. 8A1. When reports contain the same characteristics and share the same data.

All rights reserved. 17 . Then.CA705 Lesson: Report Painter/Report Writer Overview 2. How did you locate the information? a) Use the Cataloging function to locate information on the report. information. Choose Information Systems → Ad-Hoc Reports → Report Painter → Utilities → Catalog → Reports to locate the library information. As a template. basic key figures. basic key figures. and key figures that you require are listed below. execute the report ( → Goto → Execute) and read the technical information by choosing Extras → Tech. those for all basic key figures. and key figures of the following report: F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C Figure 12: o n l y F o r Figure 13: 1. and then. use library 1VK. The characteristics. delete the selections for all key figures. Continued on next page 2005/Q2 © 2005 SAP AG. Create library Z## (## = group number) with description ‘CA705 group ##’. First. Task 3: Note the characteristics.

All rights reserved.Unit 1: Introduction to Report Painter/Report Writer CA705 Content: Library Z## Characteristics Controlling area (KOKRS) Cost center (KOSTL) Cost elements (KSTAR) Fiscal year (GJAHR) Period (PERBL) Value type (WRTTP) Version (VERSN) Statistical key figures (STAGR) Valuation (VALUTYP) Basic key figures Key figures Costs (SWKG) Quantities (SMEG) Stat qty (SSME) Actual costs (ISWKG) Actual qty (ISMEG) Actual stat qty (ISSME) Plan costs (PSWKG) Plan qty (PSMEG) Plan stat qty (PSSME) F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Continued on next page 18 © 2005 SAP AG. 2005/Q2 .

Click Key figures.CA705 Lesson: Report Painter/Report Writer Overview Position the characteristics. Select the characteristics listed in the table above. Click Basic key figures. and key figures in the order they are listed in the table. Click Basic key figures. basic key figures. 19 . Select the key figures shown in the table. Arrange the basic key figures in the order they are listed in the table. Arrange the characteristics in the order they are listed in the table. a) Choose Report Writer → Library → Create Library: Table: Enter: Description: CA705 Group ## Z## Leave blank 1VK Copy from: Click Key figures. Save the library with Library → Save or by choosing Save or Ctrl+S. All rights reserved. Click Characteristics. Position the key figures in the order they are listed in the table. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Deselect all of the key figures by choosing Deselect All. Deselect all the key figures by choosing Deselect all. Select the basic key figures listed above.

All rights reserved.Unit 1: Introduction to Report Painter/Report Writer CA705 Lesson Summary You should now be able to: • List the reporting tools available in SAP System • Explain the uses of the Report Painter • Explain the relationship between the Report Writer components F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 20 © 2005 SAP AG. 2005/Q2 .

CA705 Unit Summary Unit Summary You should now be able to: • List the reporting tools available in SAP System • Explain the uses of the Report Painter • Explain the relationship between the Report Writer components F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. All rights reserved. 21 .

Unit Summary CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 22 © 2005 SAP AG. All rights reserved. 2005/Q2 .

□ □ 2. Fill in the blanks to complete the sentence. All rights reserved. F o r o n l y 3. True False The provided by mySAP ERP is an online information system featuring user-friendly functions that help navigate data. What are the uses of the graphical user interface of the Report Painter? i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 23 . basic key figures. A Report Writer library is a collection of characteristics. Determine whether this statement is true or false. and key figures that are selected from the entries in a Report Painter table.CA705 Test Your Knowledge Test Your Knowledge 1.

What are the uses of the graphical user interface of the Report Painter? Answer: The graphical user interface of the Report Painter can be used to define planning layouts. The drill-down reporting facility provided by mySAP ERP is an online information system featuring user-friendly functions that help navigate data. Answer: drill-down reporting facility 3. A Report Writer library is a collection of characteristics. 2005/Q2 . Answer: True A Report Writer library is a collection of characteristics. and key figures that are selected from the entries in a Report Writer table. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 24 © 2005 SAP AG. and key figures that are selected from the entries in a Report Painter table. 2.Test Your Knowledge CA705 Answers 1. drill-down reports. basic key figures. All rights reserved. basic key figures. and Report Writer reports.

...... This involves exploding rows and sorting hierarchies in reports. 35 Lesson: Generating and Executing Reports ......... this unit explains how report groups are used to generate and execute reports....... 25 . the unit explains how to define rows............... All rights reserved. Next....... and general data selections in a Report Painter report...... The unit begins with the description of the structure of a Report Painter report. Further................ generate..............Unit 2 Creating Reports Using Report Painter Unit Overview This unit explains how to structure...... F o r o n l y i n t e r n a l C S C Unit Objectives After completing this unit. 27 Exercise 2: Components of a Report Painter Report .......... 45 Exercise 4: Using Hierarchies: Explode function ........... Finally..... you will be able to: • • • • • • • Define the structure of a Report Painter report Define rows in a Report Painter report Define columns in a Report Painter report Define general data selections in a Report Painter report Explain how report groups are used to generate and execute reports Use variables for report definition Enter text in reports u s e b y u s e i n t e r n a l b y C S C F o r Unit Contents Lesson: Structuring Reports.......... 53 Exercise 5: Using Hierarchies: Sequence (Sort)........... columns......... 61 o n l y 2005/Q2 © 2005 SAP AG.... the unit describes how variables can be used for report definition and how text can be entered in reports. 38 Exercise 3: Building and Executing a Report With a Total Row ..... and execute a Report Painter report..................

2005/Q2 .Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y i n t e r n a l C S C Figure 14: Structure of Report Painter Reports: Overview u s e b y u s e i n t e r n a l b y C S C o n l y F o r 26 © 2005 SAP AG. All rights reserved.

CA705

Lesson: Structuring Reports

Lesson: Structuring Reports
Lesson Overview
This lesson explains how to structure a Report Painter report. First, the lesson describes the structure of a Report Painter report. Next, it explains how to define rows and columns in a Report Painter report. Finally, the lesson explains how to define general data selections in a Report Painter report.

Lesson Objectives
After completing this lesson, you will be able to: • • • • Define the structure of a Report Painter report Define rows in a Report Painter report Define columns in a Report Painter report Define general data selections in a Report Painter report

F o r

o n l y

i n t e r n a l

C S C

Business Example
You work as a financial consultant for XYZ Cement Company. You are a member of the project team responsible for creating reports using Report Painter and Report Writer. The management of your company wants to know how much each cost center is spending toward each account. You need to create a report using Report Painter, which shows these details.

u s e

b y

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

2005/Q2

© 2005 SAP AG. All rights reserved.

27

Unit 2: Creating Reports Using Report Painter

CA705

Structure of Report Painter Reports

F o r

o n l y

i n t e r n a l

C S C

Figure 15: Basic Report Structure

b y

To define a report, you must determine the row and column structure and the general data selection criteria.

u s e

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

Figure 16: Report Painter Report Structures

With the format presented by the Report Painter, you can easily enter rows, columns, and general selection criteria.

28

© 2005 SAP AG. All rights reserved.

2005/Q2

CA705

Lesson: Structuring Reports

The rows constitute characteristic values or groups. The columns contain basic key figures, such as costs and quantities with characteristic values for key figures, which are combinations of predefined basic key figures/characteristic values. General data selections are carried out using characteristic values, which are valid throughout the entire report.

Defining Rows and Columns

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

Figure 17: Row and Column Definition

C S C

You can use either a combination of characteristic values or a formula to define a row. Columns contain a combination of a key figure and optional restricting characteristic values. You can also use predefined columns to display business-relevant combinations of key figures and characteristics, such as, actual costs in the current period and scheduled activity.

o n l y

F o r

2005/Q2

© 2005 SAP AG. All rights reserved.

29

Unit 2: Creating Reports Using Report Painter

CA705

F o r

o n l y

i n t e r n a l

C S C

Figure 18: Row Definition

b y

To define rows, you select the characteristics you want to display in these rows and enter the appropriate values. You can enter specific values, intervals of values, or a group. In the report definition, you can use groups created in the master data maintenance.

u s e

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

Figure 19: Formula Rows

You can use the formula editor to define formula rows. The formulas used can refer to other rows in the same section and to cells selected in the report.

30

© 2005 SAP AG. All rights reserved.

2005/Q2

To restrict the characteristics. All rights reserved. You can copy these predefined columns directly into your reports and modify them as required. u s e i n t e r n a l b y C S C o n l y F o r Figure 21: Defining a Single Column One way to define a column is to combine a key figure with several characteristics.CA705 Lesson: Structuring Reports F o r o n l y i n t e r n a l C S C Figure 20: Using Key Figures u s e b y SAP delivers a number of predefined columns for the libraries in Overhead Cost Management. 31 . you can enter intervals or groups as in the case of defining single values for the report rows. 2005/Q2 © 2005 SAP AG.

u s e Restricting Data in Reports u s e i n t e r n a l b y C S C o n l y F o r Figure 23: General Data Selection 32 © 2005 SAP AG. All rights reserved.Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y Figure 22: Formula Columns i n t e r n a l C S C b y Using the formula editor. you can calculate additional columns within a section. The formulas used can refer to other columns in the same section or to cells selected in the report. 2005/Q2 .

The additional criteria you select will restrict the data processed in the report. you can define additional criteria that are valid for the entire report. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. All rights reserved.CA705 Lesson: Structuring Reports After you have defined the rows and columns. 33 . These restrictions are stored in so-called general data selections.

2005/Q2 .Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 34 © 2005 SAP AG. All rights reserved.

and key figure Business Example Management requires the summary values for specific cost centers that were derived from certain cost element accounts. you will be able to: • Explain the following key terms in the Report Painter: Characteristic. 1. F o r o n l y i n t e r n a l C S C Task: Using your own words.CA705 Lesson: Structuring Reports Exercise 2: Components of a Report Painter Report Exercise Objectives After completing this exercise. define the key terms associated with Report Painter. 35 . All rights reserved. 4. basic key figure. 3. This means that you have to create it using the Report Painter. You know that this report is not included in the Management Accounting reporting tree. What is a characteristic? What is a basic key figure? What is a key figure? What is the purpose of the General Data Selections? u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 2.

such as transaction currency. you can also define criteria that are valid throughout the entire report. F o r o n l y 2. In the report 1SIP-001 shipped with the system. to further restrict the data processed in the report. and quantities. What is a basic key figure? a) i n t e r n a l C S C 3. For data fields. What is a key figure? a) u s e b y u s e i n t e r n a l 4. These restrictions are specified in the general data selections. and “business areas”. the general data selections contain the characteristics ’Company code’. are used as additions to the basic key figure. which can be characteristic values or characteristic groups. group currency. key figures (which are predefined columns) can be used to define reports more quickly. Your organizational elements can be regarded as characteristics. These characteristics.Unit 2: Creating Reports Using Report Painter CA705 Solution 2: Components of a Report Painter Report Task: Using your own words. when combined. 2005/Q2 . Examples of characteristics include “accounts”. “cost centers”. In addition to the explicit data in the rows and columns. which are represented frequently in reports. A key figure contains a basic key figure. Basic key figures are used to determine which value fields are displayed in a report. is a non-numeric field. such as posted amounts or quantities. What is a characteristic? a) A characteristic. All rights reserved. and ’Cost center’. What is the purpose of the General Data Selections? a) b y C S C o n l y F o r 36 © 2005 SAP AG. ’Fiscal year’. which is combined with restricting characteristics. The characteristics. form a unique key that identifies your data records for database data retrieval. also called ’field’ or ’dimension’ in previous releases. A basic key figure is a value field. such as the value type actual and plan. 1. define the key terms associated with Report Painter. ’Period’.

All rights reserved.CA705 Lesson: Structuring Reports Lesson Summary You should now be able to: • Define the structure of a Report Painter report • Define rows in a Report Painter report • Define columns in a Report Painter report • Define general data selections in a Report Painter report F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 37 .

The lesson also describes how variables can be used for report definition and how text can be entered in reports. You have created this report using the Report Painter. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 38 © 2005 SAP AG.Unit 2: Creating Reports Using Report Painter CA705 Lesson: Generating and Executing Reports Lesson Overview This lesson explains how report groups are used to generate and execute reports. All rights reserved. Reports that read the same data should be grouped together in report groups to improve processing times. you will be able to: • • • Explain how report groups are used to generate and execute reports Use variables for report definition Enter text in reports F o r o n l y Business Example You work as a financial consultant for XYZ Cement Company. The company wants you to group this report to a report group. The management of the company wants a report with the details of how much each cost center is spending toward each account. Assign this report to a report group and generate and execute the report group. Lesson Objectives After completing this lesson. 2005/Q2 .

the data source. All rights reserved. data is selected from the database. The last ABAP formats data so that it can be output. Combining several reports in a report group can be useful if the reports are intended to evaluate the same dataset. You cannot process reports from different libraries in the same report group. inputs are proposed and verified with regard to output parameters.CA705 Lesson: Generating and Executing Reports Using Report Groups F o r o n l y i n t e r n a l C S C Figure 24: Report Generation and Execution b y Before a report can be output. When a report group is generated. it must be included in a report group. and extract parameters. u s e u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 39 . In addition. values or sets are proposed for selection if the report definition contains variables. A report group is a collection of reports in a library that are executed in one run. In the first ABAP. the data is read once and then distributed among different reports. the system creates ABAP reports that you can run. In the second ABAP. In this case.

b y u s e i n t e r n a l Sorting Hierarchies b y C S C o n l y F o r Figure 26: Sorting Hierarchies 40 © 2005 SAP AG. All rights reserved.Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y i n t e r n a l C S C Figure 25: Exploding Report Rows u s e When using groups or several single values to define rows. The system is set up in such a way that only those rows are displayed for which corresponding data exists. you can define whether only a totals row is to be displayed. or the complete group hierarchy with subtotals is to be exploded. 2005/Q2 . or every single value in a row is to be displayed.

an input field appears on the report selection screen for each variable used. b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. variables for groups (set variables). and formula variables. you can choose the hierarchical sequence in which the characteristics are displayed. Using Variables in Reports F o r o n l y i n t e r n a l u s e b y C S C u s e Figure 27: Flexible Reports with Variables i n t e r n a l Instead of using fixed values in the report definition. All rights reserved. you can also use variables. When you execute a report group.CA705 Lesson: Generating and Executing Reports If you use a combination of several characteristics in a row block and this row block is exploded. There are three types of variables: value variables. 41 .

say.Unit 2: Creating Reports Using Report Painter CA705 Defining Text F o r o n l y i n t e r n a l C S C Figure 28: Texts You can define texts at the following points within a report: • • • • Title page Header Footer Final page u s e b y u s e i n t e r n a l When the report is exported. All rights reserved. do not appear in the worksheet. to Excel. This also applies to the title page and final page. the worksheet header is taken from the exported text. 2005/Q2 . The header and footer in the report are intended for lists and. b y C S C o n l y F o r 42 © 2005 SAP AG. therefore.

and final page. All rights reserved. 43 . You can also use the following types of text variables: • • • • General variables Selection parameters Characteristics Special variables u s e u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. footer. header.CA705 Lesson: Generating and Executing Reports F o r o n l y i n t e r n a l C S C Figure 29: Entering Text b y You can enter text directly for the title page.

2005/Q2 . All rights reserved.Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 44 © 2005 SAP AG.

w.CA705 Lesson: Generating and Executing Reports Exercise 3: Building and Executing a Report With a Total Row Exercise Objectives After completing this exercise. the current fiscal year. Note: Define column 1 using a key figure. 45 . You need to use the Report Painter to create this report. Name the report Z1##-001 (description: “Rep. Define column 1 using ’Basic key figure with characteristics’. and the periods 1 . All rights reserved. the cost center group H1010. Use the following cost element groups: o n l y Continued on next page 2005/Q2 © 2005 SAP AG. you will be able to: • Create a Report Painter report • Assign reports to other report groups • Execute a report Business Example The management wants you to create a report that displays cost center-wise actual costs vis-à-vis planned costs and the resulting variances for the current year. Create your report for your own library Z##. Use the Report Painter to build this report. F o r o n l y i n t e r n a l C S C Task: You have been asked to create a report that contains the following information: u s e b y u s e i n t e r n a l b y C S C Figure 30: F o r The general selection criteria throughout the report are the controlling area 1000.12. totals lines”) and assign it to the report group Z1##. 1.

Execute the Report 2.Define Column 1 .Assign the Report to a Report Group .Define Formula (Variance) Column .Plan Costs . .Unit 2: Creating Reports Using Report Painter CA705 Cost element group OAS_WAGES OAS_SALAR OAS_P_IMP Description Wages Salaries Inc. 2005/Q2 .Actual Costs . 3. All rights reserved. How do you access the row information? How do you access the column information? What is the difference between the two element types that can be used to define a column: a) a key figure and b) a basic key figure with characteristics? What is the difference between generating and executing a report group? Which menu path did you use to link your report to a report group? F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 46 © 2005 SAP AG. 6.Check and Save the Report .Define General Data Selections .Define Formula (Total) Row .Define Column 2 . costs Instructions for defining the report Z1##-001.Define Rows . 5. 4.

Use the Report Painter to build this report. All rights reserved. the cost center group H1010. 47 . and the periods 1 .Define Rows .Plan Costs Continued on next page 2005/Q2 © 2005 SAP AG. Define column 1 using ’Basic key figure with characteristics’.CA705 Lesson: Generating and Executing Reports Solution 3: Building and Executing a Report With a Total Row Task: You have been asked to create a report that contains the following information: F o r o n l y i n t e r n a l C S C Figure 31: The general selection criteria throughout the report are the controlling area 1000.Define Column 1 .Define Formula (Total) Row . w.12. Name the report Z1##-001 (description: “Rep. totals lines”) and assign it to the report group Z1##.Define Column 2 . Use the following cost element groups: Cost element group OAS_WAGES OAS_SALAR OAS_P_IMP Description Wages Salaries Inc. the current fiscal year. Note: Define column 1 using a key figure. Create your report for your own library Z##. . costs u s e b y u s e i n t e r n a l b y C S C o n l y F o r Instructions for defining the report Z1##-001.Actual Costs . 1.

Select the cost element in the Available Characteristics dialog box. In the Selected characteristics pane. C S C o n l y F o r Continued on next page 48 © 2005 SAP AG. Click Confirm or Enter. 2005/Q2 . Select Characteristics. Click Confirm or Enter.Check and Save the Report . All rights reserved.Unit 2: Creating Reports Using Report Painter CA705 . use the pushbuttons at the bottom of the screen to define the Total Row as Y001 + Y002 + Y003.Execute the Report a) Instructions for defining the report Z1##-001. When you define Rows 2 and 3. u s e b y u s e i n t e r n a l b y You have defined row 1. 2. Click Confirm or Enter. Click Confirm or Enter. From the main R/3 menu. an additional prompt is displayed in which you can choose the element type.Assign the Report to a Report Group .Define General Data Selections . 2. totals lines’. 1. w. Now define the remaining three rows. choose Formula. choose 1. Information Systems → Ad-hoc Reports → Report Painter Report → Create Library: Report: Z## Z1##-001 ’Rep. In the Select Element Type screen. Click Move selected to left. click the Group field and enter the cost element group OAS_WAGES. In the Enter Formula screen. Define Rows Double-click row 1. Define Formula (Total) Row Double-click row 4. F o r o n l y Description: i n t e r n a l C S C Click Create to access the report definition interface. 2. 1.Define Formula (Variance) Column .

In the Select Element Type screen. 49 . Click Confirm. Click Confirm or Enter. In the Select Element Type screen. All rights reserved. choose Actual costs. enter texts for the variance column. F o r o n l y You have now defined column 1. In the Enter Texts screen.CA705 Lesson: Generating and Executing Reports 3. Define Column 2 . these screens display the basic key figures and characteristics and their values that were used to define the key figure. In the Choose Predefined Column screen. Define Column 1 . In the Enter Formula screen. Click Confirm or Enter. Copy the text to the Medium and Long fields. In the Enter Texts screen. 3. choose Costs. choose Predefined key figure. Enter the value 01 for the Value Type to denote plan values. Continued on next page o n l y F o r 2005/Q2 © 2005 SAP AG. Copy the text to the Medium and Long fields. 1. Click Confirm or Enter to review the ensuing screens. In the Select Element Type screen. 1. 4. Click Confirm or Enter.Actual Costs Double-click column 1. Under ’Basic key figure’. Enter the value 0 for the version to denote the current version and enter a suitable text. Click Confirm or Enter. 1. enter texts for the total row.Plan Costs Double-click column 2. 2. Click Confirm or Enter. use the pushbuttons to define the Variance Column as X001 – X002. Click Confirm or Enter. 2. choose Formula. Define Formula (Variance) Column Double-click column 3. Click Confirm or Enter. 2. 3. Click Move selected to left. These screens show how the key figure is defined. 3. Select Value type and Version in the Available Characteristics pane. That is. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C You have now defined column 2. choose Key figure with characteristics.

Click Confirm or Enter. In the Selected Characteristics pane. Controlling area Fiscal year Period Cost center 1000 in the From field Current fiscal year in the From field 1 to 12 in the From and To fields respectively H1010 in the Group field F o r o n l y i n t e r n a l C S C You have now defined the general data selections. Assign the Report to a Report Group You can assign the report to a report group by choosing: Environment → Assign report group. 2. Continued on next page 50 © 2005 SAP AG. 1. data selection. 3. by choosing Report → Check or use Check or F6. Save the Report via Report → Save or use Save or CTRL+S. Enter the value Z1##. How do you access the row information? a) Double-click the row to access the detail screens. 2005/Q2 . Click Move selected to left. Check and Save the Report Check the report for any errors. 2. choose the characteristics that are to be included in the general parameters for the report (see table below). In the Available Characteristics pane. Choose Edit → Gen. u s e b y u s e i n t e r n a l b y C S C o n l y F o r This creates the report group which is assigned to the library Z##. enter the parameter values for the report. All rights reserved. or missing characteristics. Use the following table for the characteristic and the associated values. Execute the Report Choose Report → Execute.Unit 2: Creating Reports Using Report Painter CA705 Define General Data Selections 1.

CA705 Lesson: Generating and Executing Reports 3. Executing the report group executes the ABAP code. you can dynamically select your basic key figures and characteristics. What is the difference between the two element types that can be used to define a column: a) a key figure and b) a basic key figure with characteristics? a) A key figure has already been defined in mySAP ERP by SAP or by another member of your reporting team. A basic key figure column with restricting characteristics is a column in which you can define your column information “on-the-fly”. 4. choose: Environment → Assign report group. All rights reserved. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. That is. What is the difference between generating and executing a report group? a) F o r o n l y 6. Which menu path did you use to link your report to a report group? a) From the report definition. How do you access the column information? a) Double-click the column to access the detail screen. 5. 51 . Generating a report group creates the ABAP code for the report.

All rights reserved.Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 52 © 2005 SAP AG. 2005/Q2 .

3. 53 . how would the report results screen appear when the explode level was set to ’explode’? If the hierarchy was used as a report row. If the hierarchy was used as a report row. Now. you will be able to: • Analyze an existing hierarchy and use different explode options for your report • Use the explode function Business Example The management was delighted to see how quickly you generated the report.CA705 Lesson: Generating and Executing Reports Exercise 4: Using Hierarchies: Explode function Exercise Objectives After completing this exercise. All rights reserved. F o r o n l y C S C Task 1: Use the diagram below to answer the following questions: i n t e r n a l u s e b y u s e i n t e r n a l b y C S C Figure 32: o n l y F o r 1. 2. how would the report results screen appear when the explode level was set to ’Do Not Explode’? If set to single values? Continued on next page 2005/Q2 © 2005 SAP AG. they want you to create the same report for the entire company’s cost element hierarchy.

The report should contain automatic subtotals because cost element groups are used instead of row formulas. 3. Use the appropriate explode level to obtain this row structure. . All rights reserved.Define Rows .Unit 2: Creating Reports Using Report Painter CA705 Task 2: Create another report Z2##-001 with the following structure: F o r o n l y Figure 33: The general selection criteria throughout the entire report are the controlling area 1000.Assign the Report to a Report Group . 2005/Q2 . Name the report Z2##-001 and assign it to the report group Z2##. including the subtotals listed in this report.12. the cost center group H1010. 1.Execute the Report 2. and the periods 1 . i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 54 © 2005 SAP AG.Define General Data Selections . The cost element group CA705_COST contains all the accounts.Check and Save the Report .Define Columns . Which menu path did you use to set the explode level for your report row? Modify your report to test the explode options and look at the changes in your report results. Instructions for defining the report Z2##-001. the current fiscal year.Define Formula (Variance) . Use the library Z##.

how would the report results screen appear when the explode level was set to ’explode’? a) 1 2 3 *Q1 4 5 6 *Q2 **First six months 7 8 9 *Q3 10 11 Continued on next page u s e u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 55 . If the hierarchy was used as a report row.CA705 Lesson: Generating and Executing Reports Solution 4: Using Hierarchies: Explode function Task 1: Use the diagram below to answer the following questions: F o r o n l y i n t e r n a l C S C Figure 34: b y 1. All rights reserved.

how would the report results screen appear when the explode level was set to ’Do Not Explode’? a) 3. The cost element group CA705_COST contains all the accounts. Continued on next page 56 © 2005 SAP AG. including the subtotals listed in this report. a) Year 1 2 3 … 10 11 12 If set to single values? F o r o n l y i n t e r n a l b y C S C Task 2: Create another report Z2##-001 with the following structure: u s e u s e i n t e r n a l b y C S C o n l y F o r Figure 35: The general selection criteria throughout the entire report are the controlling area 1000. If the hierarchy was used as a report row. The report should contain automatic subtotals because cost element groups are used instead of row formulas. the cost center group H1010. and the periods 1 . Use the appropriate explode level to obtain this row structure. 1. All rights reserved.12.Unit 2: Creating Reports Using Report Painter CA705 12 *Q4 **Second six months ***Year 2. the current fiscal year. 2005/Q2 .

Information Systems → Ad-hoc Reports → Report Painter Report → Create Library: Report: Enter. Click the Expand pushbutton. Define Columns Continued on next page 2005/Q2 © 2005 SAP AG.Check and Save the Report . Use the library Z##. 57 . Instructions for defining the report Z2##-001. Description: Cost element group Click Create to access the report definition interface. In Characteristic Values pane. From the main SAP System menu.Execute the Report a) Instructions for defining the report Z2##-001.Define General Data Selections . Click Move selected to left. 1.Define Formula (Variance) . choose 1.Define Rows .Define Columns . Select the cost element in the Available Characteristics dialog box. Z## Z2##-001 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 3. All rights reserved. Copy this text to the medium and long text fields. Define Rows Double-click row 1.CA705 Lesson: Generating and Executing Reports Name the report Z2##-001 and assign it to the report group Z2##. 2.Assign the Report to a Report Group . define texts for the row. Click Confirm or Enter. 2. enter the value CA705_COST in the Group field. . Click row 1 and choose Edit → Rows → Expand. You have defined the row. In the Enter Texts screen.

Use the following table for the characteristic and the associated values. In the Select Element Type screen. To define the second column. Click Confirm or Enter. Copy this text to the medium and long text fields. o n l y F o r Continued on next page 58 © 2005 SAP AG.Unit 2: Creating Reports Using Report Painter CA705 Double-click column 1. 4. That is. 2. In the Selected Characteristics pane. Click Confirm or Enter. use the pushbuttons to define the Variance Column as X001 – X002. 2. data selection. choose Formula. These screens show how the key figure is defined. Choose Edit → Gen. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l Define General Data Selections 1. you can use a key figure or define the column dynamically. Click Confirm or Enter. Click Confirm or Enter. In the Choose Predefined Column screen. choose Actual costs. 1. In the Select Element Type screen. You have defined the first column. In the Available Characteristics pane. choose Key figure. 3. Click Move selected to left. Click Confirm or Enter. 1. Click Confirm or Enter. these screens display the key figures and characteristics and their values used to define the key figure. 2005/Q2 . In the Enter Formula screen. 2. All rights reserved. b y C S C 3. Click Confirm or Enter to check the ensuing screens. In Enter Texts screen. enter the parameter values for the report. define texts for the row. which is Planned Costs. Define Formula (Variance) Double-click column 3. choose the characteristics that are to be included in the general parameters of the report (see table below). 3.

Save the Report via Report → Save or use Save or CTRL+S. To assign the report to a report group. Enter the value Z2##.CA705 Lesson: Generating and Executing Reports Controlling area Fiscal year Period Cost center 1000 in From field Current fiscal year in the From field 1 to 12 in the From and To fields respectively H1010 in the Group field You have now defined the general data selections. All rights reserved. 2. u s e i n t e r n a l Execute the Report 1. b y Which menu path did you use to set the explode level for your report row? Choose Edit → Rows → Expand. 59 . b y u s e 2. a) Choose Report → Execute. Check and Save the Report 1. choose the following in the Report Definition environment: Environment → Assign report group. 2. Check the report for any error or missing characteristics by choosing Report → Check or use Check or F6. 3. a) C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Modify your report to test the explode options and look at the changes in your report results. F o r o n l y i n t e r n a l C S C Assign the Report to a Report Group 1.

All rights reserved. 2005/Q2 .Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 60 © 2005 SAP AG.

They now want to know the details – how much each cost center is spending toward each account.12. the current fiscal year. The report should provide information for the cost centers listed in the group H1010 and the cost elements in CA705_COST. Instructions for defining the report Z3##-001. The general selection criteria throughout the entire report are the controlling area 1000. you will be able to: • Describe the implications of using hierarchies as part of the row structure • Sort the data after it has been output Business Example The management has come to you with an urgent request. The report should have the following appearance. All rights reserved. F o r o n l y Task 1: You have been asked to write another report but need to show a detailed cost breakdown for each cost center. 61 . Name the report Z3##-001 and assign it to the report group Z3##. and the periods 1 . Use the library Z## again. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 36: 1.CA705 Lesson: Generating and Executing Reports Exercise 5: Using Hierarchies: Sequence (Sort) Exercise Objectives After completing this exercise. Continued on next page 2005/Q2 © 2005 SAP AG.

All rights reserved.Execute the Report 2. Name the report Z3##-002 and assign it to one of the report groups you created. 4. What explode level did you set for the cost center? What explode level did you set for the cost elements? Modify your report a few times to vary the explode levels for the cost centers and cost elements? Did the report results appear as you expected? F o r o n l y Task 2: Some employees will want to see the report with emphasis on the cost centers while others will want the emphasis on the cost elements. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 37: 1. 3.Check and Save the Report .Unit 2: Creating Reports Using Report Painter CA705 . 2005/Q2 . The report should have the following structure.Define Columns .Assign the Report to a Report Group .Define Formula (Variances) Column .Define Rows .Define General Data Selections . Create a new report that focuses on the cost elements. Continued on next page 62 © 2005 SAP AG.

the current fiscal year. What impact does this have on the input screen? Use the following variables: Char. 3. 63 . 4. Variable 1PERIV (From Period) 1PERIB (To Period) 1GJAHR F o r o n l y i n t e r n a l C S C b y How do you make reports flexible? Where are you able to use variables in a Report Painter report? Modify the report Z3##-001 to add certain texts. and the controlling area. 2. Period to Header Page x of n Controlling area u s e u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.CA705 Lesson: Generating and Executing Reports 2. Period Fiscal year 1. the from/to period. All rights reserved. you use variables for the cost center group. Use the table below as a guide to the information you should display. how did you switch between reports within the report group? Task 3: For greater flexibility when defining your reports. 3. What did you do to change the sort sequence? What menu path did you choose? In which report group did you place the report Z3##-002? Why? In the report output. Title page Author of report Date of output Report name Library Report group General Variables: Selection Parameters: Characteristic-Related Text Variables (Features): Fiscal year Period from.

. and the periods 1 .Execute the Report Continued on next page b y C S C o n l y F o r 64 © 2005 SAP AG.Define Rows .Check and Save the Report .Define Columns . The general selection criteria throughout the entire report are the controlling area 1000. All rights reserved. i n t e r n a l The report should provide information for the cost centers listed in the group H1010 and the cost elements in CA705_COST.Define Formula (Variances) Column .Unit 2: Creating Reports Using Report Painter CA705 Solution 5: Using Hierarchies: Sequence (Sort) Task 1: You have been asked to write another report but need to show a detailed cost breakdown for each cost center. Use the library Z## again. 2005/Q2 . The report should have the following appearance. F o r o n l y i n t e r n a l b y C S C u s e Figure 38: u s e 1.12.Assign the Report to a Report Group .Define General Data Selections . Instructions for defining the report Z3##-001. the current fiscal year. Name the report Z3##-001 and assign it to the report group Z3##.

enter the characteristic values for the report. / Cstel Description: Click Create to access the report definition interface. Click Move selected to left. Click Confirm or Enter. In the Enter Texts screen. Use the following table for the characteristic and the associated values. Click on row 1 and choose Edit → Rows → Expand. Information Systems → Ad-hoc Reports → Report Painter Report → Create Library: Report: Z## Z3##-001 Cost ctr. Copy this text to the medium and long text fields.CA705 Lesson: Generating and Executing Reports a) Instructions for defining the report Z3##From the main SAP System menu. choose Cost Element and Cost Center. You have defined the row. All rights reserved. Click Confirm or Enter. 4. This text will appear in the Overall Total row. 1. Click Confirm or Enter. Define Columns Double-click column 1. In the Select Element Type screen. In the Choose Predefined Column screen. 2. In the Characteristic Values pane. choose Actual costs. 65 . enter the row texts. In the Available Characteristic pane. 1. 2. Cost element Cost center CA705_COST in the Group field H1010 in the Group field F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l 3. choose 1. Click Confirm or Enter. choose Key figure. Choose the Explode option for the cost center and single value for the cost element. 2. Now. Define Rows Double-click row 1. b y C S C o n l y F o r Continued on next page 2005/Q2 © 2005 SAP AG.

In the Select Element Type screen. 1. Click Confirm or Enter. 3. Choose Edit → Gen. Click Confirm or Enter to check the ensuing screens. In the Enter Texts screen. data selection. enter the parameter values for the report. All rights reserved. choose Formula. Check and Save the Report 1. Click Confirm or Enter. these screens display the key figures and characteristics and their values that were used to define the key figure. you can use a key figure or define the column dynamically. In the Selected Characteristics pane.Unit 2: Creating Reports Using Report Painter CA705 3. Define Formula (Variance) Column Double-click column 3. These screens show how the key figure is defined. Click Confirm or Enter. use the pushbuttons to define the Variance Column as X001 – X002. Use the following table for the characteristic and the associated values. 2. 2005/Q2 . 3. Controlling area Fiscal year Period 1000 in the From field Current fiscal year in the From field 1 to 12 in the From and To fields respectively u s e u s e i n t e r n a l b y C S C o n l y F o r You have now defined the general data selections. You have defined the first column. Click Confirm or Enter. Continued on next page 66 © 2005 SAP AG. To define the second column (Planned Costs). In the Enter Formula screen. choose the characteristics that are to be included in the general parameters of the report (see table below). In the Available Characteristics pane. Click Confirm or Enter. define texts for the Variance column. Check the report for any error or missing characteristics by choosing Report → Check or use Check or F6. That is. 2. F o r o n l y i n t e r n a l C S C b y Define General Data Selections 1.

All rights reserved. choose the following in the Report Definition environment: Environment → Assign report group. To assign the report to a report group. Save the Report by choosing Report → Save or use Save or CTRL+S. Execute the Report Choose Report → Execute. Enter the value Z3##.CA705 Lesson: Generating and Executing Reports 2. Assign the Report to a Report Group 1. 2. What explode level did you set for the cost center? a) a) Drill-down Single values What explode level did you set for the cost elements? Modify your report a few times to vary the explode levels for the cost centers and cost elements? Did the report results appear as you expected? a) F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Continued on next page 2005/Q2 © 2005 SAP AG. 4. 3. 67 . 2.

Library: Report: Z## Z3##-002 Celem w/ CCtr detail Z3##-001 b y C S C o n l y F o r Description: Copy from: Click Create to access the report definition environment. 2005/Q2 . a) Instructions for defining the report Z3##-002. Create a new report that focuses on the cost elements. Continued on next page 68 © 2005 SAP AG. The report should have the following structure. 2. F o r o n l y i n t e r n a l b y C S C u s e Figure 39: u s e 1. All rights reserved. Choose Information Systems → Ad-hoc Reports → Report Painter.Unit 2: Creating Reports Using Report Painter CA705 Task 2: Some employees will want to see the report with emphasis on the cost centers while others will want the emphasis on the cost elements. 1. Choose Report → Create. i n t e r n a l Name the report Z3##-002 and assign it to one of the report groups you created.

the current fiscal year. Period Fiscal year 1. Choose the corresponding variables. 3. or for characteristics used to define key figure columns. Click the Variable pushbutton. To use variables in the general data selections. cost center should be set to single values and cost elements should be set to Explode.CA705 Lesson: Generating and Executing Reports 2. Where are you able to use variables in a Report Painter report? a) Variables can be used for characteristics in rows. What did you do to change the sort sequence? What menu path did you choose? a) Choose Edit → Rows → Expand. how did you switch between reports within the report group? a) Use the menu path Goto → Other Report or click Other Report. the from/to period. general data selections. 4. choose Edit → General Selections. All rights reserved. F o r i n t e r n a l C S C Task 3: For greater flexibility when defining your reports. Cost element should be set to 1 and cost center should be set to 2. you use variables for the cost center group. Change the numeric field to the left of the characteristic. o n l y F o r 2. What impact does this have on the input screen? Use the following variables: Char. In addition. Continued on next page 2005/Q2 © 2005 SAP AG. Variable 1PERIV (From Period) 1PERIB (To Period) 1GJAHR u s e b y u s e i n t e r n a l b y C S C How do you make reports flexible? a) Use variables to prompt inputs from the user at runtime. In which report group did you place the report Z3##-002? Why? a) The report Z3##-002 should be assigned to the report group Z3## because it extracts the same data as Z3##-001. and the controlling area. 69 . o n l y In the report output.

Save the header page tests. 2005/Q2 . Use the table below as a guide to the information you should display. Library: Report: Z## Z3##-001 Fiscal year Period from. Choose your variables. General Variables: Position your cursor where you would like the text to be displayed on the Title Page. Title page Author of report Date of output Report name Library Report group General Variables: Selection Parameters: Characteristic-Related Text Variables (Features): a) Choose Report → Change. u s e u s e i n t e r n a l b y C S C o n l y F o r 70 © 2005 SAP AG. Period to Header Page x of n Controlling area F o r o n l y i n t e r n a l C S C b y Choose Extras → Report Texts → Title Page. type the text directly on the header page. Check Selection Parameters or choose Goto → Selection Parameters. Click on Standard Variables or choose Goto → Standard Variables. Note: If you want a description to appear before a standard variable. All rights reserved. Repeat this procedure to define the header texts. Choose Extras → Report Texts → Header. They are marked on the Title Page with a < > symbol. Repeat this procedure for all the standard variables you require. Modify the report Z3##-001 to add certain texts.Unit 2: Creating Reports Using Report Painter CA705 3. Characteristic-related text variables (Features): Position your cursor where you would like the selection information to be displayed on the header page. Selection Parameters: Position your cursor where you would like the selection information to be displayed on the Header Page.

CA705 Lesson: Generating and Executing Reports Lesson Summary You should now be able to: • Explain how report groups are used to generate and execute reports • Use variables for report definition • Enter text in reports F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. All rights reserved. 71 .

2005/Q2 . All rights reserved.Unit Summary CA705 Unit Summary You should now be able to: • Define the structure of a Report Painter report • Define rows in a Report Painter report • Define columns in a Report Painter report • Define general data selections in a Report Painter report • Explain how report groups are used to generate and execute reports • Use variables for report definition • Enter text in reports F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 72 © 2005 SAP AG.

You can use the Fill in the blanks to complete the sentence. i n t e r n a l b y C S C 6. 3. When you execute a report group that has reports defined with variables. appears on the report selection screen for each an variable used. The additional criteria defined for a report restrict the data processed in that report. o n l y To restrict the characteristics in a column. o n l y F o r 7. Fill in the blanks to complete the sentence. List the points in a report where text can be defined. Fill in the blanks to complete the sentence. you can enter intervals or as you do in the case defining single values for rows. □ □ 2. 73 . When a report group is generated. Fill in the blanks to complete the sentence. 2005/Q2 © 2005 SAP AG. What are the components of a Report Painter report? u s e 5. F o r i n t e r n a l u s e b y C S C 4. True False to define formula rows. All rights reserved. Determine whether this statement is true or false. the system creates that can be executed.CA705 Test Your Knowledge Test Your Knowledge 1.

Answer: Text can be defined at the following points in a report: • • • • Title page Header Footer Final page C S C o n l y F o r 6. Rows Columns General data selections F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y List the points in a report where text can be defined. Answer: ABAP reports 74 © 2005 SAP AG. the system creates ABAP reports that can be executed. 2005/Q2 . Answer: formula editor 3. To restrict the characteristics in a column. 2. The additional criteria defined for a report restrict the data processed in that report. Answer: True The additional criteria defined for a report restrict the data processed in that report. All rights reserved. You can use the formula editor to define formula rows. Answer: groups 4. When a report group is generated.Test Your Knowledge CA705 Answers 1. you can enter intervals or groups as you do in the case defining single values for rows. What are the components of a Report Painter report? Answer: The components of a Report Painter report are: • • • 5.

an input field appears on the report selection screen for each variable used. Answer: input field F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 75 .CA705 Test Your Knowledge 7. When you execute a report group that has reports defined with variables. All rights reserved.

All rights reserved. 2005/Q2 .Unit 2: Creating Reports Using Report Painter CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 76 © 2005 SAP AG.

..... 78 Exercise 6: Building Row and Column Models .......... 81 u s e u s e i n t e r n a l b y C S C o n l y F o r Figure 40: Models: Overview 2005/Q2 © 2005 SAP AG........... you will be able to: • Create row and column models i n t e r n a l b y C S C Unit Contents Lesson: Using Row and Column Models ...................... All rights reserved. 77 . These models help you define reports in less time..... F o r o n l y Unit Objectives After completing this unit..... The unit also explains how these models can be used in reports and libraries...Unit 3 Row and Column Models Unit Overview This unit explains how reports having similar row and column structures can be put into row and column models.......

2005/Q2 . You can copy row models and column models into a report. This is the quickest way to define a report. All rights reserved. Lesson Objectives After completing this lesson. The company needs Cost Center Accounting reports.Unit 3: Row and Column Models CA705 Lesson: Using Row and Column Models Lesson Overview This lesson explains how to create row and column models in reports. You need to evaluate different methods of defining reports so that you are able to define your reports quickly. These models help you define reports in less time. You realize that most of your reports have the same row and column characteristics. You need to create these reports using the Report Writer. F o r o n l y i n t e r n a l C S C u s e b y Defining Reports Using Row and Column Models u s e i n t e r n a l b y C S C o n l y F o r Figure 41: Model Rows and Columns You can store frequently used row and column structures in row and column models. 78 © 2005 SAP AG. you will be able to: • Create row and column models Business Example You work as a financial consultant for XYZ Cement Company.

u s e u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Note that you can only copy models form one library to another if the target library has the required fields.CA705 Lesson: Using Row and Column Models F o r o n l y i n t e r n a l C S C Figure 42: Model Rows and Columns b y Row and column models must be created for libraries. All rights reserved. These can only be used in reports in the same library. 79 . If you want to use the same models in different libraries. you have to copy them.

Unit 3: Row and Column Models CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 80 © 2005 SAP AG. 2005/Q2 . All rights reserved.

and variances. you look for ways to define your reports more quickly. use set variable 1KOSET. For the characteristic cost center. All rights reserved. The general selection criteria that will apply throughout the report are the cost center group H1010. Create a report group Z4## with the Report Writer and insert your report. In addition. As these general selections are to be kept variable. the periods 1 . Name the row model Z##-ELEMENT. What Explode level did you use to itemize the cost element accounts in OAS_PRIM? How will you integrate your models into your report? That is. Plan. 4.CA705 Lesson: Using Row and Column Models Exercise 6: Building Row and Column Models Exercise Objectives After completing this exercise. This report should itemize the accounts in OAS_PRIM. Use your library Z##. F o r o n l y Task: Since many of your reports compare actual costs. you will be able to: • Create row and column models • Integrate models into reports Business Example You realize that most of your reports have the same or at least similar row or column structures. Build a row model based on OAS_PRIM. Generate and execute your report group. planned costs.12. i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. you create a column model to help you create your reports more quickly. 5. and Variance in costs for those cost element accounts in OAS_PRIM. 81 . use the same variants as given in Task 3 in the exercise Using Hierarchies: Sequence (Sort). Therefore. Assign this report to the report group Z4##. i n t e r n a l u s e b y C S C u s e 3. what menu path will you use? Build a new report Z4##-001 using your new model. The controlling area contains the constant value 1000. Name your column model Z##-APV. 1. the current fiscal year. 2. many of your reports itemize the cost elements within the cost element group OAS_PRIM. and the controlling area 1000. This report will detail the Actual.

planned costs. Library: Copy from: Description: Structure: Z## Z##-APV APV Col Model Column model F o r o n l y Click Create to proceed to the Create Model screen. Name your column model Z##-APV. 2005/Q2 . All rights reserved. 1. a basic key figure with characteristic(s) column.Unit 3: Row and Column Models CA705 Solution 6: Building Row and Column Models Task: Since many of your reports compare actual costs. Double-click each column to define it as a key figure. Save the model. Proceed as you would normally in defining a report column. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Continued on next page 82 © 2005 SAP AG. you create a column model to help you create your reports more quickly. a) Choose Model → Create. or a formula column. and variances. Use your library Z##.

All rights reserved. As these general selections are to be kept Continued on next page 2005/Q2 © 2005 SAP AG. the periods 1 . Proceed as you would normally when defining report rows.12. choose Edit → Rows → Expand. 83 . Click row 1. and Variance in costs for those cost element accounts in OAS_PRIM. Click Move selected to left. define row text. This report will detail the Actual. Build a row model based on OAS_PRIM. u s e What Explode level did you use to itemize the cost element accounts in OAS_PRIM? a) Single values How will you integrate your models into your report? That is. The general selection criteria that will apply throughout the report are the cost center group H1010. the current fiscal year. This report should itemize the accounts in OAS_PRIM. 3. Copy this text to the medium and long text fields. In the Enter Texts screen. 2. Assign this report to the report group Z4##.CA705 Lesson: Using Row and Column Models 2. 1. Plan. 4. In the Characteristic Values pane. Save the model. F o r o n l y i n t e r n a l b y C S C u s e 3. a) Choose Model → Create. Build a new report Z4##-001 using your new model. what menu path will you use? a) From the report definition. Select a cost element in the Available Characteristics dialog box. Name the row model Z##-ELEMENT. choose: Edit → Column → Get Column Model Edit → Row → Get Row Model i n t e r n a l b y 4. and the controlling area 1000. Double-click the first element. enter the value OAS_PRIM in the Group field. Library: Copy from: Description: Structure: Z## Z##-ELEMENT Celem row model Row model Click Create to proceed to the Model screen. Click Confirm or Enter. many of your reports itemize the cost elements within the cost element group OAS_PRIM. C S C o n l y F o r 5. In addition.

2. Define Rows Choose Edit → Rows → Get Row Model. Use the following table for the characteristic and its associated variables. Continued on next page u s e b y u s e i n t e r n a l b y C S C o n l y F o r 84 © 2005 SAP AG. 3. Then. select a variable to hold the user values. Create a report group Z4## with the Report Writer and insert your report. Choose Edit → Gen. Select your column model Z##-APV. Z##-ELEMENT. use the same variants as given in Task 3 in the exercise Using Hierarchies: Sequence (Sort). Select your row model. 2005/Q2 . Define General Data Selections 1. The controlling area contains the constant value 1000. For the characteristic cost center. instead of entering permanent values for each characteristic. choose: 1. choose the characteristics that are to be included in the general parameters of the report (see table below). use set variable 1KOSET. Click Move selected to left. In the Available Characteristics pane. click Variables On/Off to activate the variables.Unit 3: Row and Column Models CA705 variable. 2. Information Systems → Ad-hoc Reports → Report Painter Report → Create Library: Report: Z## Z4##-001 Models F o r o n l y Description: i n t e r n a l C S C Click Create to access the report definition environment. Generate and execute your report group. Define Columns Choose Edit → Columns → Get Column Model. In the Characteristic Values screen. a) Instructions for defining the report Z4##-001 From the main SAP System menu. All rights reserved. data selection.

Save the report group. 5. 2. Double-click Execute. choose: 1. Click Reports. All rights reserved. Enter a description for the report group. b y C S C Execute the Report Click Generate. Check the report for any errors or missing characteristics. Z## Z4## u s e b y u s e i n t e r n a l Click Header or Enter. Information Systems → Ad hoc reports → Report Painter Report Writer → Report Group → Create Rep. 2. 85 . Use the following table for the Selection values: Fiscal year Period Cost Center Group Click Execute. Save the Report via Report → Save or use Save or CTRL+S.CA705 Lesson: Using Row and Column Models Char. Enter Z4##-001 in the Report field. Current year 1 to 12 H1010 o n l y F o r 2005/Q2 © 2005 SAP AG. Group: Library: 3. by choosing Report → Check or use Check or F6. Period Fiscal year Cost center Variable 1PERIV (From Period) 1PERIB (To Period) 1GJAHR 1KOSET You have now defined the general data selections. Check and Save the Report 1. 4. F o r o n l y i n t e r n a l C S C Assign the Report to a Report Group From the main SAP System menu.

All rights reserved.Unit 3: Row and Column Models CA705 Lesson Summary You should now be able to: • Create row and column models F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 86 © 2005 SAP AG. 2005/Q2 .

CA705

Unit Summary

Unit Summary
You should now be able to: • Create row and column models

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

2005/Q2

© 2005 SAP AG. All rights reserved.

87

Unit Summary

CA705

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

88

© 2005 SAP AG. All rights reserved.

2005/Q2

CA705

Test Your Knowledge

Test Your Knowledge
1. You can only copy models form one library to another if the target library has the required fields.
Determine whether this statement is true or false.

□ □ 2.

True False and

The quickest way to define a report is to copy into a report.
Fill in the blanks to complete the sentence.

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

2005/Q2

© 2005 SAP AG. All rights reserved.

89

Test Your Knowledge

CA705

Answers
1. You can only copy models form one library to another if the target library has the required fields. Answer: True You can only copy models form one library to another if the target library has the required fields. 2. The quickest way to define a report is to copy row models and column models into a report. Answer: row models, column models

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

90

© 2005 SAP AG. All rights reserved.

2005/Q2

Finally.................... you will learn how to define sections with calculated key figures..................... Next.. 93 Exercise 7: Working with Horizontal Pages ...... To begin with.......... you will be able to: • • • Explain the concept of sections Use cells in formulas Define sections with calculated key figures u s e b y u s e i n t e r n a l Unit Contents Lesson: Defining Sections and Horizontal Pages . F o r o n l y i n t e r n a l C S C Unit Objectives After completing this unit.... 111 Exercise 10: Working with Dependent Sections and Cells ... 91 ..... All rights reserved....105 Exercise 9: Using Cells in Column Formulas ... you will learn about the structure of reports and how to extend reports by creating a new section..................Unit 4 Section and Horizontal Pages Unit Overview This unit provides an overview of section and Horizontal Pages... you will learn how to use cells in formulas to carry out mathematical operations in your reports.......... 115 b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.101 Exercise 8: Working with Independent Sections ................

All rights reserved. 2005/Q2 .Unit 4: Section and Horizontal Pages CA705 F o r o n l y Figure 43: Sections and Horizontal Pages: Overview i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 92 © 2005 SAP AG.

Finally. Lesson Objectives After completing this lesson. 93 . You are a member of the project team responsible for creating reports using the Report Painter and Report Writer. All rights reserved. For example. the lesson explains how to use cells in formulas to carry out mathematical operations in your reports. the lesson explains the division of a report into sections and division of sections into Horizontal Page. To begin with. you will be able to: • • • Explain the concept of sections Use cells in formulas Define sections with calculated key figures F o r o n l y i n t e r n a l C S C Business Example You work as a financial consultant for XYZ Cement Company.CA705 Lesson: Defining Sections and Horizontal Pages Lesson: Defining Sections and Horizontal Pages Lesson Overview This lesson provides an overview of sections and Horizontal Page in a report. costs and quantities. u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. You realize that most of the reports to be created comprise different groups of key figures related by business content. the lesson explains how to define sections with calculated key figures. The company needs Cost Center Accounting reports. You want to mirror this structure by dividing your reports into several pages. Then. You use the functions of Horizontal Pages to do this. You need to create these reports using the Report Writer.

2005/Q2 . A report can consist of several sections. You can define the following texts in each report: • • • • Title page Header text Footer Last page u s e b y u s e i n t e r n a l b y C S C o n l y F o r 94 © 2005 SAP AG.Unit 4: Section and Horizontal Pages CA705 Overview of Sections F o r o n l y i n t e r n a l C S C Figure 44: Report Structure To define a report. Each section may contain one or more Horizontal Pages that have a common row structure. All rights reserved. you must determine the row and column structure and the general data selection criteria.

95 . All of the Horizontal Pages in a section have the same row structure.CA705 Lesson: Defining Sections and Horizontal Pages F o r o n l y Figure 45: Horizontal Pages C S C Each section in a report can comprise several Horizontal Pages. All rights reserved. i n t e r n a l u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 46: Sections Every report can be broken down into several sections: There are two types of sections: • • Sections with characteristics and key figures Sections with Calculated Key Figures 2005/Q2 © 2005 SAP AG. Formula columns can refer to columns from all Horizontal Pages in the same section.

and Key Figures F o r o n l y i n t e r n a l u s e b y C S C u s e Figure 47: Calculations Using Cells i n t e r n a l You can use cells to carry out mathematical operations in your reports. section with calculated key figures. “Costs/Employee” and “Telephone Units/Employee”. b y C S C o n l y F o r 96 © 2005 SAP AG. The example above shows the cells that must be selected to perform the calculations in the first section. it can use the cell in formulas. however. Once the Report Writer has identified a location or interval (or a coordinate). Calculating Formula Rows. All rights reserved. Each section has its own specific row structure. A cell defines a certain location or interval in the row/column matrix of a report. can be used to calculate individual key figures from other data displayed in the report.Unit 4: Section and Horizontal Pages CA705 The majority of sections contain characteristics and key figures. in the “Actual/Employee” column formula. 2005/Q2 . Columns. and in the 3rd section.

you can use the cells selected in the report to define new key figures.CA705 Lesson: Defining Sections and Horizontal Pages F o r o n l y i n t e r n a l C S C Figure 48: Cells in Formula Columns u s e b y You can use the cells selected in the report to calculate formula columns in the same way as standard columns. All rights reserved. 97 . 2005/Q2 © 2005 SAP AG. u s e i n t e r n a l b y C S C o n l y F o r Figure 49: Sections with Calculated Key Figures In sections with calculated key figures.

If you want to choose cells for a subgroup. All rights reserved. F o r o n l y i n t e r n a l b y C S C Figure 50: Sections with Calculated Key Figures u s e You cannot select cells in exploded rows. The reference value in the row for a cell is the maximum total of the respective hierarchy. define each individual cell using the formula editor. u s e i n t e r n a l b y C S C o n l y F o r Figure 51: Suppressed Rows and Columns 98 © 2005 SAP AG. and hide the report row. you must define texts for the rows and columns in the section. you have to define an additional report row for the subgroup. choose the required cell. 2005/Q2 . Then.Unit 4: Section and Horizontal Pages CA705 To define a section with calculated key figures.

99 . F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. You can use the hidden rows and columns to calculate formula rows or formula columns or to define sections with calculated key figures.CA705 Lesson: Defining Sections and Horizontal Pages As already explained in the previous example. All rights reserved. you can suppress or hide individual rows and columns in a report.

2005/Q2 .Unit 4: Section and Horizontal Pages CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 100 © 2005 SAP AG. All rights reserved.

All rights reserved. you will be able to: • Create reports using Horizontal Pages Business Example You have realized that most of the reports you want to build comprise different groups of key figures. Use your library Z## for this purpose. 1. o n l y Task: You need to build a report that has the following structure. 101 . Create Z5##-001 by copying Z4##-001. You need to ensure that when this report prints it causes a page break between breaks in groups of columns.CA705 Lesson: Defining Sections and Horizontal Pages Exercise 7: Working with Horizontal Pages Exercise Objectives After completing this exercise.Check and Save the Report .Define Formula (Variance) Column .Define Columns . You wish to mirror this structure by dividing your reports into several pages.Define New Horizontal Page . such as costs and quantities. Assign the report Z5##-001 to the report group Z5##.Execute the Report o n l y F o r 2005/Q2 © 2005 SAP AG.Assign the Report to a Report Group . F o r i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C Figure 52: report . Make the relevant changes in your new report. related by business content.

You need to ensure that when this report prints it causes a page break between breaks in groups of columns.Define Formula (Variance) Column . 1.Define New Horizontal Page . F o r o n l y i n t e r n a l C S C Figure 53: report b y . Use your library Z## for this purpose.Execute the Report a) Report → Create Library: Report: Z## Z5##-001 Horizontal Pages u s e u s e i n t e r n a l b y C S C o n l y F o r Description: Copy From Report: Z4##-001 Define New Horizontal Pages Choose Edit → Horizontal Page → New Horizontal Page.Unit 4: Section and Horizontal Pages CA705 Solution 7: Working with Horizontal Pages Task: You need to build a report that has the following structure. Define Columns Continued on next page 102 © 2005 SAP AG. Create Z5##-001 by copying Z4##-001. Make the relevant changes in your new report. Assign the report Z5##-001 to the report group Z5##.Assign the Report to a Report Group .Define Columns . 2005/Q2 .Check and Save the Report . All rights reserved.

Define Formula (Variance) Double-click the next available column. Click Confirm or Enter. Click Confirm or Enter. Check the report for any error or missing characteristics by choosing Report → Check or use Check or F6. Qty – Planned Qty. choose Key figure. Report → Execute 2005/Q2 © 2005 SAP AG. You have completed the Act. 103 . Copy the text to the Medium and Long fields. 1. i n t e r n a l b y C S C Assign the Report to a Report Group From the report definition interface. Click Confirm or Enter. In the Select Element Type screen. In the Choose Predefined Column screen. use the pushbuttons to define the Variance Column as Act. That is. they display the basic key figures and characteristics and their values that were used to define the predefined column. These screens show how the key figure was defined. 1. 2. 2. Environment → Assign report group Enter Z5##. define texts for the variance column. select Formula. Qty Column definition. qty. Click Confirm or Enter. choose: 1. choose Act. Click Confirm or Enter. 3.CA705 Lesson: Defining Sections and Horizontal Pages Double-click the next available column. In the Enter Formula screen. F o r o n l y i n t e r n a l b y C S C 3. 2. Save the Report via Report → Save or use Save or CTRL+S. In the Enter Texts screen. u s e u s e Check and Save the Report 1. In the Select Element Type screen. All rights reserved. o n l y F o r Execute the Report 1. Click Confirm or Enter to review the ensuing screens. Proceed to define the Planned Qty Column using the key figures or define the column dynamically. 2.

All rights reserved.Unit 4: Section and Horizontal Pages CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 104 © 2005 SAP AG. 2005/Q2 .

you will be able to: • Extend your report by creating a new section with characteristics and key figures • Explain how to define independent sections Business Example You realize that most of the reports to be built comprise different groups of key figures.Name the New Section Continued on next page 2005/Q2 © 2005 SAP AG. u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 54: Name this report Z6##-001 and assign it to the report group Z6##. Use your library Z## for this purpose. Section 1 for Costs and Section 2 for Statistical key figures. 105 . related by business content. . You need to create two sections for this purpose. All rights reserved.Define New Section . such as costs and quantities. You now need to create a report that contains the information contained within the two boxes.CA705 Lesson: Defining Sections and Horizontal Pages Exercise 8: Working with Independent Sections Exercise Objectives After completing this exercise. F o r o n l y i n t e r n a l C S C Task: 1.

2005/Q2 .Define Rows .Execute the Report F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 106 © 2005 SAP AG.Define Columns .Link Report to Report Group (Report Writer method) . All rights reserved.Check and Save the Report .Unit 4: Section and Horizontal Pages CA705 .

Check and Save the Report .Define New Section .Define Rows . All rights reserved. You now need to create a report that contains the information contained within the two boxes. F o r o n l y i n t e r n a l b y C S C Figure 55: u s e u s e Name this report Z6##-001 and assign it to the report group Z6##. . 107 .CA705 Lesson: Defining Sections and Horizontal Pages Solution 8: Working with Independent Sections Task: 1.Link Report to Report Group (Report Writer method) .Name the New Section .Define Columns . Use your library Z## for this purpose.Execute the Report a) Report → Create Library: Report: Copy From Continued on next page Z## Z6##-001 New Section i n t e r n a l b y C S C o n l y F o r Description: 2005/Q2 © 2005 SAP AG.

F o r o n l y i n t e r n a l b y C S C u s e Employee Square meters Telephone units 9100 9101 9201 u s e i n t e r n a l b y 3. The new section is displayed. Continue to define the rows and columns as you would normally for a report. In response to the New Report Section prompt. These screens show how the key figures were defined. In the Select Element Type screen. Use the following table for the characteristic and its associated value. choose ’Key figure’. In the Characteristic Values screen. In the Enter Texts screen. 1. 1. Click Confirm or Enter. 2. choose Stat. they display the basic key figures and characteristics and their values that were used to define the key figure. Click Move selected to left. select Section with characteristics and key figures. Click Confirm or Enter. You have completed the definition for the Employees Row. 3. enter the value for the report row. Key Figures. Click Confirm or Enter to review the ensuing screens. Copy this text to the medium and long text fields. Define Rows Double-click the first available row. Click Confirm or Enter. That is. Name the New Section Make sure to add text to describe this new section. Continued on next page C S C o n l y F o r 108 © 2005 SAP AG. 2. select Statistical Key Figure. 2005/Q2 . define the remaining two statistical key figure rows.Unit 4: Section and Horizontal Pages CA705 Report: Z5##-001 Define New Section Choose Edit → Sections → New section. In the Choose Characteristic screen. Define Columns Double-click the first available column. In the Choose Key Figure screen. Click Confirm or Enter. All rights reserved. define a row text. Now.

Use the following table for the Selection values. i n t e r n a l C S C b y Assign the Report to a Report Group From the Report Writer menu. 3. Click Confirm or Enter. Save the report group. use the pushbuttons to define the Variance Column as X001 – X002. All rights reserved.CA705 Lesson: Defining Sections and Horizontal Pages You have completed the Actual Stat. Copy the text to medium and long text fields. 2. Report Writer → Report Group → Create Rep. choose: 1. choose Formula. In the Enter Texts screen. Controlling area Fiscal year Period Cost Center Group Click Execute. Save the Report via Report → Save or use Save or CTRL + S. In the Select Element Type screen. Key Figures Column definition. Click Confirm or Enter. C S C Execute the Report Click Generate. Define Formula (Variance) Column Double-click the next available column. 1000 Current Year 1 to 12 H1010 o n l y F o r 2005/Q2 © 2005 SAP AG. Enter a description for the report group. 4. Enter Z6##-001 in the reports field. 2. Check the report for any errors or missing characteristics by choosing Report → Check or use Check or F6. 1. Proceed to define the Column containing Statistical Key Figures. 3. In the Enter Formula screen. plan. Group: Library: 2. F o r o n l y Check and Save the Report 1. or dynamically defining the column. Click Reports. define texts for the variance column. Z6## Z## u s e u s e i n t e r n a l b y Click Header or Enter. using a predefined column. Click Confirm or Enter. Click Execute two times. 109 .

Unit 4: Section and Horizontal Pages CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 110 © 2005 SAP AG. 2005/Q2 . All rights reserved.

F o r o n l y Task: The report required now is displayed below. 1.Check and Save the Report .Select cell needed for calculation . All rights reserved. 111 .Assign the Report to the Report Group Z6## . Create the report shown below and call it Z6##-002 (base it on Z6##-001).Add the New Formula Column . to normalize costs. You will use a cell in a column formula to do this. such as number of employees.CA705 Lesson: Defining Sections and Horizontal Pages Exercise 9: Using Cells in Column Formulas Exercise Objectives After completing this exercise. Imagine that you want to reference a single value.Execute the Report 2005/Q2 © 2005 SAP AG. you will be able to: • Define cells to use them in column formulas Business Example You learned how to reference columns and rows in column formulas and row formulas. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 56: . respectively.

All rights reserved. b y C S C o n l y F o r Description: 112 © 2005 SAP AG.Execute the Report a) Report → Create Library: Report: Copy From Report: Z6##-001 Select Cell Needed for Calculation Continued on next page Z## Z6##-002 Cell in form. 1. col.Select cell needed for calculation .Unit 4: Section and Horizontal Pages CA705 Solution 9: Using Cells in Column Formulas Task: The report required now is displayed below.Check and Save the Report .Add the New Formula Column . Create the report shown below and call it Z6##-002 (base it on Z6##-001).Assign the Report to the Report Group Z6## . 2005/Q2 . F o r o n l y i n t e r n a l u s e b y C S C u s e Figure 57: i n t e r n a l .

Click Execute twice.XXX” in the cell located at the intersection of Employee and Act Stat Qty. 1000 Current Year 1 to 12 H1010 b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Check and Save the Report 1. Save the report group. Save the Report via Report → Save or use Save or CTRL+S.CA705 Lesson: Defining Sections and Horizontal Pages Goto → Section → Next section or choose Next section. 2. choose Report Writer → Report Group → Change Rep. 2. Select the cell: Double-click the “XXX. Use the pushbuttons to define the formula ‘X001’ / ‘Z001’. i n t e r n a l u s e b y C S C u s e i n t e r n a l Execute the Report Click Generate. Controlling area Fiscal year Period Cost Center Group Click Execute. 113 . Add New Formula Column Add a new formula column to the right of the variance column: Ensure you are currently in Horizontal Page 1. Check the report for any error or missing characteristics by choosing Report → Check or use Check or F6. All rights reserved. Group: Z6## Library: Z## 1. where X001 represents the Actual Costs column and Z001 represents the Employee/Actual Stat Qty. Click Reports. Use the following table for the selection values. Enter Z6##-002 in the reports field. Choose Goto → Previous Section. F o r o n l y Assign the Report to a Report Group From the Report Writer menu.

All rights reserved. 2005/Q2 .Unit 4: Section and Horizontal Pages CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 114 © 2005 SAP AG.

such as calculated key figure block • Explain the term . Mark the cells that you need to perform the calculation in the new sections. Therefore. u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 58: Continued on next page 2005/Q2 © 2005 SAP AG.dependent section Business Example The underlying Reporting Table does not directly offer some of the key figures relevant to your business. these key figures can be calculated from the data. you will access data cells from previous sections of the report to calculate your own key figures. F o r o n l y i n t e r n a l C S C Task: 1. However. All rights reserved. Create the report Z6##-003 (base it on Z6##-002). The report continues to build where it now calculates the Personnel Costs/Employee in addition to displaying the information account by account. Note: Use the set OAS_PERS for the personnel costs. 115 . you will be able to: • Extend reports to calculate your own key figures by referencing data from previous sections of the report.CA705 Lesson: Defining Sections and Horizontal Pages Exercise 10: Working with Dependent Sections and Cells Exercise Objectives After completing this exercise.

Execute the Report Hint: To toggle between reports in the same report group.Define Formula Cells . 3.Select Cells (Employee: Actual and Plan) .Define Column Text .Define Row Text . 2.Define Additional Row for Personnel Costs (OAS_PERS) . Why do you need to Set the Explode level on the Cost Elements to Explode or Do Not Explode? What is meant by Dependent Section? F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 116 © 2005 SAP AG.Unit 4: Section and Horizontal Pages CA705 .Hide Personnel Costs Row .Name the Section . 2005/Q2 . use the menu path Goto → Other Report or click on Other Report.Select Cells (Personnel Costs: Actual and Plan) .Create a Calculated Key Figure Section .Assign the Report to the Report Group Z6## .Check and Save the Report . All rights reserved.

Create a Calculated Key Figure Section . 117 . Create the report Z6##-003 (base it on Z6##-002).Define Formula Cells Continued on next page o n l y F o r 2005/Q2 © 2005 SAP AG. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C Figure 59: . All rights reserved.Define Column Text . The report continues to build where it now calculates the Personnel Costs/Employee in addition to displaying the information account by account.Define Row Text .Define Additional Row for Personnel Costs (OAS_PERS) . Mark the cells that you need to perform the calculation in the new sections.Hide Personnel Costs Row .Select Cells (Employee: Actual and Plan) .Name the Section . Note: Use the set OAS_PERS for the personnel costs.Select Cells (Personnel Costs: Actual and Plan) .CA705 Lesson: Defining Sections and Horizontal Pages Solution 10: Working with Dependent Sections and Cells Task: 1.

Choose Edit → Rows → Hide. Select Cells (Employee) Choose Goto → Section → Next section. All rights reserved. Then. use the menu path Goto → Other Report or click on Other Report. Library: Report: Copy From Report: Z6##-002 Select Cells (Personnel Costs) To use the personnel costs as part of the formula.Execute the Report Hint: To toggle between reports in the same report group. a) Choose Report → Create. proceed to select the cells. hide the Personnel Costs row. Double-click the cell defined by the intersection of Personnel Costs and Plan. Ensure the row is either in explode or do not explode setting. After the explode setting is correctly set. Double-click the cell defined by the intersection of Personnel Costs and Actual. Create a Calculated Key Figure Section Choose Edit → Sections → New section. you have to enter the set OAS_PERS in a separate line to access the top totals levels. 2005/Q2 . Double-click the cell defined by the intersection of Employees and Plan Stat Qty.Assign the Report to the Report Group Z6## . Z## Z6##-003 Calculated key figures Description: F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Continued on next page 118 © 2005 SAP AG.Check and Save the Report . Double-click the cell defined by the intersection of Employees and Act Stat Qty. This is required to access the grand total line of the costs.Unit 4: Section and Horizontal Pages CA705 .

Double-click the cell defined by the intersection of Personnel Costs/Emp and Plan and enter the formula. All rights reserved.g. choose: 1. ‘personnel costs plan’ / ‘employee plan’ Check and Save the Report 1.CA705 Lesson: Defining Sections and Horizontal Pages In response to the New Report Section prompt. Use the following table for the Selection values. Personnel Costs/Emp). Do the same for column 2 (Plan).. Z## Z6## C S C o n l y F o r Click on Reports. Name the Section Provide a text description for the section. Define Row Text Double-click Row 1 and enter the text for the row (e. Execute the Report Click Generate. Click Execute twice. Define Column Text Double-click Column 1 to define text for the Actual column.. Report Writer → Report Group → Change Rep. ‘personnel costs actual’/‘employee actual’. Check the report for any errors or missing characteristics by choosing Report → Check or use Check or F6. Add Z6##-003 to the reports field. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y Assign the Report to a Report Group From the Report Writer menu. The new section is displayed straight away. depending on the relationship of your Z number to the cell value. Continued on next page 2005/Q2 © 2005 SAP AG. Your formula will reference Z001. select Section with calculated key figures. 3. Save the Report via Report → Save or use Save or CTRL + S. 2. Save the report group. Z002 etc. Define Formula Cells Double-click the cell defined by the intersection of Personnel Costs/Emp and Actual and enter the formula. 119 . Group: Library: 2.

you do not have access to the grand total. If the OAS_PRIM set is defined as Single Values. A Dependent Section is a section of the report where no new data is extracted from the summary tables. 1000 1 to 12 Current Year H1010 Why do you need to Set the Explode level on the Cost Elements to Explode or Do Not Explode? a) This is because you need to have access to the grand total of the hierarchy. All rights reserved. 2005/Q2 . What is meant by Dependent Section? a) i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 120 © 2005 SAP AG. 2. Only existing data from other sections of the report are referenced and used in calculations.Unit 4: Section and Horizontal Pages CA705 Controlling area Period Fiscal year Cost Center Group Click Execute. F o r o n l y 3.

CA705 Lesson: Defining Sections and Horizontal Pages Lesson Summary You should now be able to: • Explain the concept of sections • Use cells in formulas • Define sections with calculated key figures F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 121 . All rights reserved.

2005/Q2 .Unit Summary CA705 Unit Summary You should now be able to: • Explain the concept of sections • Use cells in formulas • Define sections with calculated key figures F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 122 © 2005 SAP AG. All rights reserved.

CA705 Test Your Knowledge Test Your Knowledge 1. □ □ 2. □ □ □ □ 3. You can use the cells selected in the report to calculate formula columns in the same way as standard columns. True False When defining a section with a calculated key figure. 123 . All rights reserved. Determine whether this statement is true or false. u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. A B C D Define an additional report row Choose the required cell Select cells in exploded rows Hide the report row F o r o n l y i n t e r n a l C S C Name the two types of sections in a report. what are the steps you must follow to choose cells for a subgroup? Choose the correct answer(s).

you have to define an additional report row for the subgroup. Answer: A report has the following types of sections: • • Sections with characteristics and key figures Sections with calculated key figures F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 124 © 2005 SAP AG. D When defining a section with calculated key figure. When defining a section with a calculated key figure. Name the two types of sections in a report. 2. if you want to choose cells for a subgroup. 3. what are the steps you must follow to choose cells for a subgroup? Answer: A. You can use the cells selected in the report to calculate formula columns in the same way as standard columns. B. All rights reserved.Test Your Knowledge CA705 Answers 1. Answer: True You can use the cells selected in the report to calculate formula columns in the same way as standard columns. 2005/Q2 . choose the required cell. and hide the report row.

.. F o r o n l y i n t e r n a l C S C Unit Objectives After completing this unit.. 125 ...... you will learn how to use the formatting options in sections.....Unit 5 Formatting Reports Unit Overview This unit explains how to format reports.135 b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. you will learn how to use a section layout locally for a section in your report...... you will learn how to use the standard layout in reports.........127 Exercise 11: Section Layout and Attributes ........ All rights reserved.... To begin with.. you will be able to: • • • • Use the formatting options in sections Use the standard layouts Use format groups to format columns Use the section layout u s e b y u s e i n t e r n a l Unit Contents Lesson: Using Standard Layouts and Format Groups ......... you will learn how to use the format groups to format columns in a section..... Next.......133 Exercise 12: Format Groups and Other Formatting Issues .. Finally... Then..

Unit 5: Formatting Reports CA705 F o r o n l y i n t e r n a l u s e b y C S C Figure 60: Formatting: Overview u s e i n t e r n a l b y C S C o n l y F o r 126 © 2005 SAP AG. All rights reserved. 2005/Q2 .

you will be able to: • • • • Use the formatting options in sections Use the standard layouts Use format groups to format columns Use the section layout F o r o n l y i n t e r n a l C S C Business Example You work as a financial consultant for XYZ Cement Company. First the lesson explains how to use the formatting options in sections. The management wants you to create a report of how much each cost center is spending toward each account. Further. the lesson explains how to use the section layout in a report. Next. They also need you to different attributes for each section of the report.CA705 Lesson: Using Standard Layouts and Format Groups Lesson: Using Standard Layouts and Format Groups Lesson Overview This lesson focuses on using standard layouts and format groups. Finally. they need you to divide the report layout into two different sections: Actual vis-a-vis plan costs and statistical key figure section. 127 . the lesson explains how to use the format groups to format columns in a section. the lesson explains how to use the standard layouts in a report. You need to use the section layout and functions of attributes to do this. u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. All rights reserved. Then. Lesson Objectives After completing this lesson.

Choose format groups for the columns to optimize the number format and column width. All rights reserved. u s e b y u s e i n t e r n a l b y C S C o n l y F o r 128 © 2005 SAP AG. or a single-line long text for all columns. 2005/Q2 . Expand/compress the summarization levels. Define color and overscore/underscore options to emphasize a summarization (*) level.Unit 5: Formatting Reports CA705 Formatting Sections F o r o n l y i n t e r n a l C S C Figure 61: Formatting Sections You can use the following formatting options in the section of a report definition: • • • • Select a short text. medium text.

In the layout. 129 . All rights reserved. the SAP layout is used. you can define parameters that control: • • • • • • • Rows Lead column Columns Column headings Representation Language-specific parameters Graphics u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. This standard layout defines the format of your report. If you are not working with a standard layout you created yourself.CA705 Lesson: Using Standard Layouts and Format Groups Using Standard Layouts F o r o n l y i n t e r n a l C S C Figure 62: Standard Layout You create a standard layout independent of a report. You assign the standard layout to your report.

you can either use the standard layout entered in the header of the Report Painter report or copy it locally as a report layout for this report and modify selected parameters for this report. The settings in this report are applicable for the report. This flag determines whether modifications to the layout parameters can be saved.Unit 5: Formatting Reports CA705 o n l y Figure 63: Standard Layout for Defining Reports F o r In the report definition. you can assign a standard layout to a report in the report header. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 64: Layout Changes During Output When a report group is output on the screen. You can modify this report layout permanently if the ’Change allowed during execution’ flag is set in the layout. All rights reserved. 130 © 2005 SAP AG. 2005/Q2 .

Using Format Groups F o r o n l y i n t e r n a l u s e b y C S C u s e Figure 65: Format Groups i n t e r n a l You may have to define different formats form amounts in different columns.CA705 Lesson: Using Standard Layouts and Format Groups With reports that are under development. Once the report has left the development phase it should no longer be possible to save the parameters online otherwise every user can change the report layout constantly. All rights reserved.sign b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. the parameter version that matches the format group is always used. The number is referred to as a format group. Examples of these parameters include: • • • • • • Column width Number of decimal places Scale Flag: print units Right margin Flag: reverse +/. you use the format groups for this purpose. The Report Writer comprises a series of layout parameters in six different variants. These format groups can be entered above the columns. 131 . which are numbered in a sequence. In a report. you can save the parameters to allow you define the report layout. In the Report Writer.

You can specify a separate text and page break for each section. All rights reserved. If you insert a layout in a report header. if the section starts in the middle of a page. These sections are output in the order defined by their sequence number. any changes made to the layout of the report automatically affects these sections. You can also decide whether the section is to be output on a new page or. 2005/Q2 . In this case.Unit 5: Formatting Reports CA705 Section Layouts and Attributes F o r o n l y i n t e r n a l C S C Figure 66: Section Layout and Attributes b y u s e A Report Writer report comprises one or more sections. You can also specify layout parameters for specific sections in the report definition. it will apply globally to all of the sections within the report. whether the column heading is to be printed. The section layout contains control information on: • • • Row totals Row texts Column texts u s e i n t e r n a l b y C S C o n l y F o r The section settings can also be modified in the report output. These take precedence over the global layout settings. 132 © 2005 SAP AG.

CA705 Lesson: Using Standard Layouts and Format Groups Exercise 11: Section Layout and Attributes Exercise Objectives After completing this exercise. 4. F o r o n l y Task 1: 1. 3. ’section layout’. 133 . Describe the terms ’standard layout’. 1. All rights reserved. 2. You need to create a standard layout and assign it to an existing report. i n t e r n a l C S C Task 2: Modify your report Z6##-003 so that you can try different layout settings. How would you link your report to a different standard layout? How do you change the section attributes? How would you link your report to a different section layout? u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. you will be able to: • Describe the purpose of the standard layout and link it to the Report Painter Report • Describe the purpose of the section layout and attributes Business Example Management requires different attributes for each section of the report that you create. Create a separate standard layout Z##-NEW and assign it to the report. and ’section attributes’.

you can define the following attributes for each section: Page break/overscore/underscore/print column header F o r o n l y i n t e r n a l C S C Task 2: Modify your report Z6##-003 so that you can try different layout settings. in the executed report. choose Formatting → Section overview or. choose Edit → Report header or double-click the name of the standard layout currently linked to the report. number and decimal representation. How would you link your report to a different standard layout? a) From within the report definition. In the report definition. How would you link your report to a different section layout? a) 134 © 2005 SAP AG. The layout provides some general guidelines for which all reports linked to the layout follows. Describe the terms ’standard layout’. 2005/Q2 . a) The standard layout is similar in thought to a stylesheet in a word processing package. and location of the lead column. Create a separate standard layout Z##-NEW and assign it to the report. The layout can define column widths.Unit 5: Formatting Reports CA705 Solution 11: Section Layout and Attributes Task 1: 1. How do you change the section attributes? a) 4. ’section layout’. Settings → Section layout. The layout name is located in the header row of the Report Painter report definition interface. All rights reserved. and ’section attributes’. Standard layout: Z##-New Copy from: SAP Define your own layout and assign it to the report 2. choose Formatting → Section layout or. Using the section attributes. Settings → Section attributes. 1. You can use the section layout to define different layout settings for each report section. You can either copy the settings from the standard layout or change them to suit your requirements. a) Choose Ad-hoc reports → Report Painter → Report Writer → Standard layout → Create. In the report definition. u s e b y u s e i n t e r n a l b y C S C o n l y F o r 3. Position the cursor on the section whose layout you want to edit. for each section in the report.

F o r o n l y i n t e r n a l C S C Task: 1. you will be able to: • Use format groups to format columns in your reports • Use overscores and underscores to highlight a particular level of a row • Use local summation levels to hide details Business Example You need to modify the layout of an existing report to highlight various levels of rows. Modify your report Z5##-001 to test the use of format groups.CA705 Lesson: Using Standard Layouts and Format Groups Exercise 12: Format Groups and Other Formatting Issues Exercise Objectives After completing this exercise. u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 67: Assign Format Groups Update Format Group 1 Information Update Format Group 0 Information Emphasize Subtotal Rows with Lines Continued on next page 2005/Q2 © 2005 SAP AG. 135 . All rights reserved. You use overscores and underscores and local summarization levels to do this.

2005/Q2 .Unit 5: Formatting Reports CA705 2. Make the appropriate change to Z5##-001. How does the report know which format group you are currently modifying? Check and Save the Report Execute the Report from the Report Definition Interface 3. Suppose you prefer not to see the details of the report but just the grand totals and the next level subtotals as shown below. All rights reserved. F o r o n l y i n t e r n a l C S C Figure 68: Check and Save the Report Execute the Report from the Report Definition Interface u s e b y u s e i n t e r n a l b y C S C o n l y F o r 136 © 2005 SAP AG.

CA705 Lesson: Using Standard Layouts and Format Groups Solution 12: Format Groups and Other Formatting Issues Task: 1. F o r o n l y i n t e r n a l u s e b y C S C Figure 69: u s e Assign Format Groups Update Format Group 1 Information Update Format Group 0 Information i n t e r n a l b y C S C o n l y F o r Continued on next page 2005/Q2 © 2005 SAP AG. Modify your report Z5##-001 to test the use of format groups. 137 . All rights reserved.

Update Format Group 0 Information Column Width: Position your cursor in the Actual or Plan column and choose Formatting → Columns → Maintain format groups. Update Format Group 1 Information Column Width: While your cursor is positioned on the Variance column. Library: 1VK Report: Z5##-001 Assign Format Groups Set the format group for the variance column to the format group 1. 2005/Q2 . Emphasize Subtotal Rows with Lines Place your cursor on a subtotal row and choose Formatting → Row → Underscore/Overscore. (Drill-down) Reduce the width of the Variance column (Costs) and show zero decimal places. Expand the whole line. Enter an appropriate column width. Decimal notation: While your cursor is positioned on the Variance column. Select both the underscore and overscore boxes. How does the report know which format group you are currently modifying? Check and Save the Report Continued on next page F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 138 © 2005 SAP AG. Increase the size of the Actual and Plan column (Costs) and show two decimal places.Unit 5: Formatting Reports CA705 Emphasize Subtotal Rows with Lines a) 1. Decimal notation: Position your cursor in the Actual or Plan column and choose Formatting → Columns → Maintain format groups. 2. Choose Report → Change. Enter an appropriate column width. Choose the 0.00 decimal places format. 2. choose Formatting → Columns → Maintain format groups. Choose the 0 decimal places format. choose Formatting → Columns → Maintain format groups. Modify the report so the subtotal rows (** level) are marked by underscores and overscores. All rights reserved. 3. 4. Leave the remain format groups set to 0.

1000 Current year 1 to 12 H1010 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 70: Check and Save the Report Continued on next page 2005/Q2 © 2005 SAP AG. 3. Check and Save the Report Check the report for any error or missing characteristics by choosing Report → Check or use Check or F6.CA705 Lesson: Using Standard Layouts and Format Groups Execute the Report from the Report Definition Interface a) Based on the current position of your cursor in a column. you modify the format group 2 when you make changes to column width. Save the Report via Report → Save or use Save or CTRL + S. All rights reserved. Controlling area Fiscal year Period Cost Center Group Click Execute. If your cursor is positioned in a column that is the format group 2. Suppose you prefer not to see the details of the report but just the grand totals and the next level subtotals as shown below. 139 . Use the following table for the Selection values. Make the appropriate change to Z5##-001. Execute the Report from the Report Definition Interface Choose Report → Execute.

Now. the report shows only the 3 and 4-asterisk levels. Save the Report via Report → Save or use Save or CTRL + S. 1000 Current Year 1 to 12 Group H1010 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 140 © 2005 SAP AG. then proceed to the menu Formatting → Collapse to. Select 3-Asterisk Level. All rights reserved. Execute the Report from the Report Definition Interface Choose Report → Execute.Unit 5: Formatting Reports CA705 Execute the Report from the Report Definition Interface a) Choose Report → Change. Check and Save the Report Check the report for any error or missing characteristics by choosing Report → Check or use Check or F6. 2005/Q2 . Library: Report: 1VK Z5##-001 Place your cursor on a subtotal row. Use the following table for the Selection values: Controlling area Fiscal year Period Cost Center Click Execute.

CA705

Lesson: Using Standard Layouts and Format Groups

Lesson Summary
You should now be able to: • Use the formatting options in sections • Use the standard layouts • Use format groups to format columns • Use the section layout

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

2005/Q2

© 2005 SAP AG. All rights reserved.

141

Unit Summary

CA705

Unit Summary
You should now be able to: • Use the formatting options in sections • Use the standard layouts • Use format groups to format columns • Use the section layout

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

142

© 2005 SAP AG. All rights reserved.

2005/Q2

CA705

Test Your Knowledge

Test Your Knowledge
1. It is possible to expand or compress the summarization levels using the formatting options in the section of a report definition.
Determine whether this statement is true or false.

□ □ 2.

True False

The format group numbers are entered below the columns in a section.
Determine whether this statement is true or false.

□ □ 3.

True False

F o r

o n l y

You can modify a report layout permanently if the flag is set in the layout.
Fill in the blanks to complete the sentence.

i n t e r n a l

C S C

b y

4.

The section layout contains control information on , and .
Fill in the blanks to complete the sentence.

,

u s e

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

2005/Q2

© 2005 SAP AG. All rights reserved.

143

Test Your Knowledge

CA705

Answers
1. It is possible to expand or compress the summarization levels using the formatting options in the section of a report definition. Answer: True It is possible to expand or compress the summarization levels using the formatting options in the section of a report definition. 2. The format group numbers are entered below the columns in a section. Answer: False The format group numbers are entered above the columns in a section. 3. You can modify a report layout permanently if the Change allowed during execution flag is set in the layout. Answer: Change allowed during execution 4. The section layout contains control information on row totals, row texts, and column texts. Answer: row totals, row texts, column texts

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

144

© 2005 SAP AG. All rights reserved.

2005/Q2

...153 Exercise 14: Extracts . The unit begins by explaining the use of variation and why variation helps in reducing the system load......... you will be able to: • • • Use the variation function Create extracts Execute reports with background jobs u s e b y u s e i n t e r n a l Unit Contents Lesson: Using Variations and Extracts in Mass Reports ...... the unit explains how to create extracts and handle them with extract management.................. F o r o n l y i n t e r n a l C S C Unit Objectives After completing this unit.157 Exercise 15: Background Jobs ........... All rights reserved. 145 ............................................. Then....... Finally. the unit explains how to execute reports with a background job..........................159 b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.........................Unit 6 Variations and Extracts Unit Overview This unit focuses on variations and extracts in mass reports......146 Exercise 13: Variation...................

u s e b y u s e i n t e r n a l b y C S C o n l y F o r 146 © 2005 SAP AG. you have been asked to provide end users with easy access to these reports. After closing each posting period. every cost center manager requires reports. First. All rights reserved. You have been asked to set up a standard procedure to provide these reports. the end users need to drill down to more detailed data to analyze the reason for the variation. Then. Finally. the lesson explains how to use the variation function in a report. 2005/Q2 . Lesson Objectives After completing this lesson. The company has defined a set of reports that have been optimized according to the company’s needs. the lesson explains how to execute reports with background jobs for proper system utilization. you will be able to: • • • Use the variation function Create extracts Execute reports with background jobs F o r o n l y i n t e r n a l C S C Business Example You work as a financial consultant for XYZ Cement Company. If an unexpected variance between the actual and planned costs appears.Unit 6: Variations and Extracts CA705 Lesson: Using Variations and Extracts in Mass Reports Lesson Overview This lesson provides and overview on how to use variation and extracts in mass reports. In addition. the it explains how to create extracts for extracting large amounts of data faster.

you can interactively navigate within the hierarchy structure. If you want to use the variation function when outputting a report. All rights reserved. For this reason. you can generate a report for every node and each single value in a hierarchy of characteristics used in the general data selection of a report. u s e u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. the variation can often be used to reduce the system load. you only need to carry out one selection run on the database for all the reports produced. you must specify this in the report definition. 147 . When using the variation function. If the variation is used.CA705 Lesson: Using Variations and Extracts in Mass Reports Using Variations F o r o n l y Figure 71: Variation i n t e r n a l C S C b y Using the variation function.

This navigation bar also allows you to switch between the various variation reports. 2005/Q2 .Unit 6: Variations and Extracts CA705 F o r o n l y i n t e r n a l C S C Figure 72: Variation: Navigating in the Report Output b y The navigation bar can be displayed to the left of the report to help you navigate through the report. u s e u s e i n t e r n a l b y C S C o n l y F o r 148 © 2005 SAP AG. All rights reserved. provided that the report group contains at least two reports. if the variation function is active for the current report. The navigation bar is also displayed for switching between the various reports in the report group.

all of the Report Writer functions such as defining threshold values and sorting lists are also available. u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 74: Extract Management 2005/Q2 © 2005 SAP AG. 149 . These functions can also be used after a selection run via the database.CA705 Lesson: Using Variations and Extracts in Mass Reports Creating Extracts F o r o n l y i n t e r n a l C S C Figure 73: Creating Extracts You can select and output data without creating an extract. you can decide to select the data and store it as an extract with or without outputting it. When you output an extract. This means that the time required to output an extract is less. you do not need to select it again. All rights reserved. Alternatively. If the data is stored as an extract.

All rights reserved. you can decide whether you want to display extracts (default) or select data from the database or from archive files. the system performs all additional steps without user intervention. This ensures that in the event of high-system utilization additional processing time is not required. the system finds all the extracts that match the selection criteria you defined. o n l y F o r 150 © 2005 SAP AG. If a report has been executed for a whole cost center hierarchy using the variation. For reports with large amount of data. Using Background Jobs F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y Figure 75: Background Processing C S C You can also execute reports in the background. Once you release the background job. it is advised to create an extract in the background and display and process the data online. When you start a report. 2005/Q2 .Unit 6: Variations and Extracts CA705 Each stored extract is identified by its report group and selection criteria. By choosing the data source. the system stores extracts for all cost center groups and single cost centers contained in that hierarchy.

u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Activate the flags "Create extract" and "Explode" for the variation. This enables you to create reports and extracts for a whole hierarchy of cost centers using only one job. This background job can run when the system load is low. This variant contains the extract and variation parameters. Your end users can access the extracts created to display their reports very quickly. The variant created can be used to schedule a background job.CA705 Lesson: Using Variations and Extracts in Mass Reports F o r o n l y i n t e r n a l C S C Figure 76: Month-end Reporting: Potential Scenarios You save the selection criteria for a specific report in a variant. All rights reserved. 151 .

2005/Q2 . All rights reserved.Unit 6: Variations and Extracts CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 152 © 2005 SAP AG.

use the variation function. This is time-consuming. As you have just read. You can run the indicated report individually for each cost center. After closing each posting period. 3. All rights reserved.CA705 Lesson: Using Variations and Extracts in Mass Reports Exercise 13: Variation Exercise Objectives After completing this exercise. you are asked to provide end users with easy access to these reports. Maintain the relevant texts. each cost center manager requires reports. Alternatively. every cost center manager requires reports. u s e u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. If an unexpected variance between the actual and planned costs appears. How did you activate the variation in the report? How did you use the variations after the report was run? Prefer displaying the name of the Cost Center in the header of the report as a reminder of which cost center you are currently viewing. Use variations to execute report Z4##-001 (report group Z4##). You can deal with this situation in two ways. you will be able to: • Define reports that use variation for different characteristics • Explain why the variation is a method that helps to reduce the system load Business Example Your company has defined a set of reports that have been optimized to your company’s needs. the end users need to drill-down to more detailed data to analyze the reason for the variation. 2. Also. F o r o n l y i n t e r n a l C S C b y Task: 1. You are asked to set up a standard procedure to provide these reports. 4. 153 .

Library: Report: Z## Z4##-001 F o r o n l y C S C Variations must be activated within the report definition to be available at runtime for the user of this report. choose Edit → Variation. Use variations to execute report Z4##-001 (report group Z4##). 2005/Q2 . Alternatively. choose Edit → Variation. You can view the values of each cost center on the result screen using the control. As you have just read. You can run the indicated report individually for each cost center. You can also use icons to navigate through the hierarchy instead of using the menu bar. The selected cost center’s values will be displayed. use the navigation control to drill down the hierarchy to an individual cost center. each cost center manager requires reports. All rights reserved. How did you activate the variation in the report? a) 3. select Variations at the Single Values level. Then. Select Enter. i n t e r n a l u s e b y u s e i n t e r n a l b y C S C o n l y F o r How did you use the variations after the report was run? a) Continued on next page 154 © 2005 SAP AG. To do this. 2. a) Choose Report → Change. the system displays the values for this cost center. Navigate to a different position in the hierarchy. You can navigate through the cost center hierarchy by choosing Settings → Dialog settings or by using the Navigation on/off button. After you checked the results screen. You can deal with this situation in two ways. use the variation function. This is time-consuming.Unit 6: Variations and Extracts CA705 Solution 13: Variation Task: 1. Save the report. Select the radio button Single Values for the characteristic Cost Center. You can display the name of the cost center by extending your header text. For the Cost Center characteristic. Click a cost center to select it. Execute the report with Variations. Then. Enter the report via Report → Change.

Variable type: Characteristic-related text variable Characteristic: Cost center Text type: Value Value type: Value/Group 4. Then. In this way. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 155 . Save the Header. Prefer displaying the name of the Cost Center in the header of the report as a reminder of which cost center you are currently viewing. Return to the report and choose Settings → Texts → Headers.CA705 Lesson: Using Variations and Extracts in Mass Reports 4. Variable type: Characteristic-related text variable Characteristic: Cost center Text type: Description Value type: Value/Group 3. a) 1. Maintain the relevant texts. the text "cost center" is displayed. Respond with Yes to regenerate. Save and execute the report. Select the following values and position the variables in the header. 5. All rights reserved. you can display the key for the selected cost centers. 2.

All rights reserved.Unit 6: Variations and Extracts CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 156 © 2005 SAP AG. 2005/Q2 .

F o r o n l y Task: 1. 157 . you will be able to: • Create extracts and handle them with extract management Business Example Management would like to reduce the time required to display the output of the report Z5##-001 where selection parameters remain unchanged except for selection of cost center/cost center group.CA705 Lesson: Using Variations and Extracts in Mass Reports Exercise 14: Extracts Exercise Objectives After completing this exercise. Create an extract from the report Z5##-001. You need to create extract by executing the report for a whole cost center hierarchy. All rights reserved. Execute the Report from the Extract i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Execute the extract using the report groups interface from the Report Writer.

In the Results screen. This executes the report from the saved extract data instead of reading from the database again. Enter an extract name and optional password. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 158 © 2005 SAP AG. Execute the extract using the report groups interface from the Report Writer. choose Report → Save. Execute the Report from the Extract a) Choose Report Writer → Report Group → Execute.Unit 6: Variations and Extracts CA705 Solution 14: Extracts Task: 1. Rep. Create an extract from the report Z5##-001. Group: Z5## Click Execute. All rights reserved. double-click the extract you created in the previous step. 2005/Q2 . Enter password. Group: Z5## Choose Data extracts Click Execute to see a list of extracts From the Extract Management screen. if necessary. Exit the Report. Enter the selection parameters. Rep. Execute the Report from the Extract: Choose Report Writer → Report Group → Execute.

F o r o n l y i n t e r n a l u s e b y C S C u s e Task: 1. You need to use the variations feature to print out each manager’s report. 159 . extracts and background jobs provide a powerful method to produce all reports needed after month-end closing Business Example It is the end of the month and department managers are requesting reports. . . set the Append Report flag under output control. When you arrive at work. you will want to view the report and have the ability to maneuver within the report. the variation reports should be printed in an individual spool request.Spool Request: Display Report i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.CA705 Lesson: Using Variations and Extracts in Mass Reports Exercise 15: Background Jobs Exercise Objectives After completing this exercise. These reports will take some time to execute so you decide to create a background job to execute your report during off-peak system hours.Check whether the variation is active for cost centers (drill-down).Job Status . Define a background job for the report Z4##-001.Maintain Output Parameters . To do this.Define Background Job . you will be able to: • Execute reports with a background job • Recognize that the combination of variation.Define Variant . For the spool output. Recall that each manager will want to see the data for his/her respective department.Define Extract Parameters . you will need to have the background job also create an extract. Ensure variations is activated in the report and turned on for the background job. All rights reserved. Therefore.

2005/Q2 .Check whether the variation is active for cost centers (drill-down).Job Status F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Continued on next page 160 © 2005 SAP AG. .Define Background Job .Unit 6: Variations and Extracts CA705 Solution 15: Background Jobs Task: 1.Define Extract Parameters . .Maintain Output Parameters . All rights reserved. Define a background job for the report Z4##-001.Define Variant .

In the Variant field. Define Background Job Utilities → Background Job → Execute Choose Step. Save this information in a variant by choosing Goto → Variants → Save as variant… Enter a variant name and a description. Define Variant Enter your selection parameters in the Selection screen. Return to the Execute Report Group initial screen. Choose Start condition. Rep. Job Status To verify the status of your job. Save. Group: Z4## Click Execute. Choose Continue or Enter. Save. Choose Save. Click Execute. Choose Job Overview. Define Extract Parameters Choose Extract parameters in the Selection screen. All rights reserved. enter the name of the variant you defined earlier. Then. Select your job and choose Change to go to the Edit Step 1 screen.Spool Request: Display Report a) Choose Report Writer → Report Group → Execute. Save the background job. Select Mode: Create Extract. choose System → Own Jobs.CA705 Lesson: Using Variations and Extracts in Mass Reports . Select the spool request and display your report. such as Z4##VAR. you return to the Selection screen. Click on the green arrow to return to the Define Background Job screen. You can enter a description of the extract and a password. Click Spool. Click Execute. such as Z5##VAR. 161 . Select your job. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Choose Immediate.

Unit 6: Variations and Extracts CA705 Lesson Summary You should now be able to: • Use the variation function • Create extracts • Execute reports with background jobs F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 162 © 2005 SAP AG. 2005/Q2 . All rights reserved.

All rights reserved.CA705 Unit Summary Unit Summary You should now be able to: • Use the variation function • Create extracts • Execute reports with background jobs F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 163 .

Unit Summary CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 164 © 2005 SAP AG. All rights reserved. 2005/Q2 .

165 . True False The allows you to switch between the various variation reports if the variation function is active for the current report. All rights reserved. o n l y 3. Fill in the blanks to complete the sentence. Fill in the blanks to complete the sentence. the system performs all additional steps without user intervention. Each stored extract is identified by its . and F o r i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.CA705 Test Your Knowledge Test Your Knowledge 1. □ □ 2. Determine whether this statement is true or false. When you release the background job.

2. 2005/Q2 . the system performs all additional steps without user intervention. Answer: navigation bar 3.Test Your Knowledge CA705 Answers 1. the system performs all additional steps without user intervention. All rights reserved. Each stored extract is identified by its report group and selection criteria. The navigation bar allows you to switch between the various variation reports if the variation function is active for the current report. Answer: report group. When you release the background job. Answer: True When you release the background job. selection criteria F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 166 © 2005 SAP AG.

... the unit explains how to define send-receiver relationships for the report/report interface. the unit explains how to transport a report group with dependent objects......................... Next..................Unit 7 Reports in a Live System Unit Overview This unit focuses on reports in a live system... the unit explains how to send reports to other SAP System users through mail..... F o r o n l y i n t e r n a l C S C Unit Objectives After completing this unit............ All rights reserved.....168 Exercise 16: Report/Report Interface ........177 Exercise 17: Send Reports as Mail ... Then. 167 .............179 C S C o n l y F o r 2005/Q2 © 2005 SAP AG. you will be able to: • • • • • Explain the concept of online settings and office integration in reports Mail a report Use the report/report interface Assign users and report groups to a role Transport report objects u s e b y u s e i n t e r n a l b y Unit Contents Lesson: Assigning and Transporting Report Groups. This unit begins by explaining how to assign report groups........ Finally..

First. Finally. u s e u s e i n t e r n a l b y C S C o n l y F o r 168 © 2005 SAP AG. The users would also want to call up a report from other report groups. You have set up a standard procedure to provide these reports. You need to add a report interface for these reports. 2005/Q2 . Then. Then. Once the interface has been defined. The users would like to be able to drill back to more detail to investigate any reasons for variations. In addition. After closing each posting period. every cost center manager requires reports.Unit 7: Reports in a Live System CA705 Lesson: Assigning and Transporting Report Groups Lesson Overview This lesson provides an overview on assigning and transporting report groups. The company has defined a set of reports that have been optimized according to the company’s needs. the lesson explains how to transport report objects between different systems or different clients. the lesson explains how to send reports through mail. the lesson explains how to use the report/report interface. you will be able to: • • • • • Explain the concept of online settings and office integration in reports Mail a report Use the report/report interface Assign users and report groups to a role Transport report objects F o r o n l y i n t e r n a l b y C S C Business Example You work as a financial consultant for XYZ Cement Company. Next. the end users need to drill-down to more detailed data to analyze the reason for the variation. If an unexpected variance between the actual and planned costs appears. Lesson Objectives After completing this lesson. you need to run your report group to test the interface. All rights reserved. the lesson explains how to assign users and report groups to a role. you have provided end users with easy access to these reports. the lesson explains the concept of online settings and office integration in reports.

CA705

Lesson: Assigning and Transporting Report Groups

Online Settings and Connections

F o r

o n l y

Figure 77: Online Settings

i n t e r n a l

C S C

u s e

Navigation bar: In the report output, the navigation between the various reports and variation reports in the report group is simplified by the navigation bar that is displayed on the left-hand side of the report. This bar displays the reports in the report group as well as the various variation reports. By simply clicking the relevant report, you can switch between the variation reports and the reports in the report group. You can activate or deactivate the navigation bar in the report output by choosing Settings → Dialog settings. Display icons: This flag determines whether icons are to be displayed when the report is output on the screen. Icons are used to identify sorted columns, columns for which a threshold condition has been stored, and totals rows that can be expanded or collapsed.

b y

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

Figure 78: Office Integration

2005/Q2

© 2005 SAP AG. All rights reserved.

169

Unit 7: Reports in a Live System

CA705

Office integration: Supports the interactive output of a report to an Office document. The Office application runs as a control in the SAP System window. This means that the SAP System functions can also be applied to the worksheet in the Office application. Interactive display switchover: Using the dialog settings, you can output the report in the standard list format or to an Office document. The selected setting is permanently stored in the user parameters. The dialog settings can also be modified in the initial screen of the report group, under the output parameters. Worksheet protection: If the report is output to an Office document, the worksheets created as a result are protected. This ensures that the data on the front end is consistent with the data in SAP System. Consistency is necessary for context-sensitive functions, such as calling up reports and changing column attributes. You can deactivate worksheet protection permanently under the dialog settings or temporarily in the relevant Office application. This enables you to modify the worksheet locally. If you insert columns or rows in the worksheet, the context-sensitive functions may not refer to the correct cells. Changes made locally are overwritten again the next time a dialog step is carried out in SAP System.

F o r

o n l y

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

Figure 79: Mail Connection

You can use e-mail to send reports within an SAP System. As of release 4.6, you can append the current report to the e-mail in the HTML format. If you have activated Microsoft Office integration, the report is additionally sent as a Microsoft Excel file.

170

© 2005 SAP AG. All rights reserved.

2005/Q2

CA705

Lesson: Assigning and Transporting Report Groups

After you send the report, it appears in the recipient’s inbox. The recipient can list the name of the report group, the selection time, and additional information by selecting ’Display’. The report results are displayed using ’Process’.

Using the Report/Report Interface

F o r

o n l y

i n t e r n a l

b y

C S C

Figure 80: Report/Report Interface

When displaying your report online, you can use data from a report in the report/report interface. Other reports are called up based on the corresponding selection criteria. You can specify the receiver reports in the header of every report group or in the library. You can use other Report Writer reports, transactions, report portfolio reports, drill-down reports, or ABAP programs as receiver reports.

u s e

u s e

i n t e r n a l

b y

C S C

o n l y

F o r

2005/Q2

© 2005 SAP AG. All rights reserved.

171

Unit 7: Reports in a Live System

CA705

o n l y

Figure 81: Report/Report Interface (2)

F o r

Using the report/report interface, you can call up various reports while displaying your report data. The selection criteria used to call up the receiver report depends on the section marked in the sender report. Procedure for using the report/report interface: • • • Select the data to be analyzed in the sender report. The receiver reports are displayed for selection. The report/report interface also allows you to call up reports from other applications.

i n t e r n a l

u s e

b y

C S C

u s e

i n t e r n a l

b y

Assigning User and Report Groups to a Role

C S C

o n l y

F o r

Figure 82: Create/Change Role

172

© 2005 SAP AG. All rights reserved.

2005/Q2

All rights reserved. You can call up Report Writer reports. The structure and terminology of the functions contained in the menu are freely definable. SAP delivers a preconfigured reporting tree for each application. SAP provides a series of standard roles. In this case. Internet/Intranet links. In addition to the user menu. report portfolios. If your user is assigned to one or more roles. Business-process user can define the menu structure for a role and combine certain transactions. 173 . reports and report portfolio reports from the reporting tree. ABAP reports. You can enter reports with/without variants and skip the selection screen. drill-down reports. The transactions for the user menus can be entered directly. the overall view (SAP menu) contains all of the functions provided by SAP. You can compile your own favorites in your work center menu by using drag & drop. F o r 2005/Q2 © 2005 SAP AG. such as from the SAP menu. A user-dependency relationship is set up by assigning area menus to roles in the profile generator. transactions. you will receive your personal work center menu in the form of a tree control when you log onto the system. and Report Writer report groups to form a user menu. End users can call up reports directly from the reporting trees. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C Figure 83: Assigning Report Groups to a Role o n l y In the role group maintenance function (transaction PFCG). drill-down reports.CA705 Lesson: Assigning and Transporting Report Groups Standard reports and user-defined can be installed in the reporting tree. You should use this overall view only if user menus have not been defined yet or when the Business-process user wants to create new user menus. ABAP. authorizations are combined automatically.

Authorizations can be created automatically for a role. reports. it will be displayed automatically when you log onto the system. such as transactions. Then. and Web addresses that are required for the user’s day-to-day work. you can create an authorization profile automatically from these fields using the Profile Generator and assign it to certain users. u s e u s e i n t e r n a l b y C S C o n l y F o r 174 © 2005 SAP AG. All rights reserved. The role also contains authorizations that the users need to access the transactions and reports in the menu. You can modify these default values or add blank fields. 2005/Q2 . Most of the field contents of these authorizations are defaulted by SAP. If your system administrator has defined a user menu for you. The user menu only contains the entries.Unit 7: Reports in a Live System CA705 F o r o n l y Figure 84: Assigning Users to a Role i n t e r n a l C S C b y A role can be assigned to any number of users.

u s e b y u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. and models can be transported to these dependent objects from the Report Painter menu. You can transport Report Writer objects between different clients in the same SAP System in one step. Otherwise. You can transport Report Writer objects between various SAP systems or between different clients. you can use the alternatives: create an export file or create a transport request for transport to a different system. Report groups. All rights reserved.CA705 Lesson: Assigning and Transporting Report Groups Transporting Report Objects F o r o n l y i n t e r n a l C S C Figure 85: Transport Connection Report Writer objects are client dependent objects. 175 . reports.

2005/Q2 .Unit 7: Reports in a Live System CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 176 © 2005 SAP AG. All rights reserved.

You need to develop the report/report interface and run your report group to test the interface. The users want to call up the report in the report groups 1SMA and go to transaction KSB1. 177 . In case of an unexpected variance between the actual and planned costs. F o r o n l y Task: 1. you will be able to: • Define sender-receiver relationships for the report/report interface • Identify the technical background of the report/report interface Business Example You have provided end users with an access to the reports you created. run your report group to test the interface. After the interface is defined. All rights reserved. the end users need to drill down to more detail data to analyze the reason for the variation. Add a report/report interface for those reports in report group Z3##. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. The users want to call up report from other report group as well. The users would like to drill back to more detail to investigate any reasons for variations.CA705 Lesson: Assigning and Transporting Report Groups Exercise 16: Report/Report Interface Exercise Objectives After completing this exercise.

All rights reserved. Double-click a detail cell to drill down to one of the receiver reports you just added. Enter 1SHK and choose Confirm. 2005/Q2 . Enter 1SMA. Click Other Report Type and choose the transactions as the report type (double-click the transactions to select them). a) Choose Report Writer → Report Group → Change. Click Confirm. In the Report/Report Interface section. Click Confirm. Again. The users want to call up the report in the report groups 1SMA and go to transaction KSB1. You will initially be prompted to enter a report group. choose Configure for the report group. Again. Save the report group. Click Save to save the R/R Interface definitions. you will be promoted to enter a report group. you will be promoted to enter a report group. After the interface is defined. Group: Z3## Choose Enter or Header to access the Header screen. Enter KSB1. Click Insert Line to add an entry to the R/R Interface. Execute the Report Group. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 178 © 2005 SAP AG. run your report group to test the interface. Click Insert Line to add a second entry to the R/R Interface. Click Insert Line to add a second entry to the R/R Interface. The users would like to drill back to more detail to investigate any reasons for variations. Rep.Unit 7: Reports in a Live System CA705 Solution 16: Report/Report Interface Task: 1. Add a report/report interface for those reports in report group Z3##.

you need to demonstrate the end users of the report how to mail their report to another mySAP ERP user and to the end users themselves. o n l y Task: 1. F o r i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Send (mail) a report of your choice to a neighboring group in the class and to yourself as well. 179 . you will be able to: • Send a report to other SAP System users. All rights reserved. Business Example As a special request from management.CA705 Lesson: Assigning and Transporting Report Groups Exercise 17: Send Reports as Mail Exercise Objectives After completing this exercise.

a) Execute your report to display the Results screen. you will be prompted to save the data. and password information. Double-click the e-mail to access the note. Choose Office → Workplace. Click Send or choose Report → Send. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 180 © 2005 SAP AG.Unit 7: Reports in a Live System CA705 Solution 17: Send Reports as Mail Task: 1. return to the main SAP System menu. For this. You may need to enter a password. Send (mail) a report of your choice to a neighboring group in the class and to yourself as well. Click Confirm. if necessary. Click Send. Enter the name of the recipient(s). All rights reserved. Enter the extract data. Enter your logon id CA-## and your neighbor’s as the two recipients of the report. 2005/Q2 . To confirm receipt of the mail. Add any additional notes. Choose Inbox → Unviewed documents. Choose Document → Execute to execute the extract. If an extract for the report does not exist. first choose Yes.

All rights reserved.CA705 Lesson: Assigning and Transporting Report Groups Lesson Summary You should now be able to: • Explain the concept of online settings and office integration in reports • Mail a report • Use the report/report interface • Assign users and report groups to a role • Transport report objects F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 181 .

2005/Q2 . All rights reserved.Unit Summary CA705 Unit Summary You should now be able to: • Explain the concept of online settings and office integration in reports • Mail a report • Use the report/report interface • Assign users and report groups to a role • Transport report objects F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 182 © 2005 SAP AG.

CA705 Test Your Knowledge Test Your Knowledge 1. With the help of office integration. the report results are displayed using . 183 . □ □ 2. True False After the report is sent through a mail. All rights reserved. you can create an authorization profile automatically from authorization fields using the and assign it to certain users. SAP System functions can be applied to a worksheet in the Microsoft Office application. Fill in the blanks to complete the sentence. When assigning a role to a user. What is the procedure for using the report/report interface? F o r i n t e r n a l C S C u s e b y 4. What alternatives can you use if it is not possible to transport Report Writer between different clients in the same SAP system? b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Determine whether this statement is true or false. u s e i n t e r n a l 5. Fill in the blanks to complete the sentence. o n l y 3.

SAP System functions can be applied to a worksheet in the Microsoft Office application. Select the data to be analyzed in the sender report. After the report is sent through a mail. 4. With the help of office integration. 2. you can use the following alternatives: • • Create an export file Create a transport request for transport to a different system F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 184 © 2005 SAP AG. What is the procedure for using the report/report interface? Answer: Procedure for using the report/report interface: 1. The receiver reports are displayed for selection. you can create an authorization profile automatically from authorization fields using the Profile Generator and assign it to certain users. What alternatives can you use if it is not possible to transport Report Writer between different clients in the same SAP system? Answer: If it is not possible to transport Report Writer between different clients in the same SAP system. SAP System functions can be applied to a worksheet in the Microsoft Office application. Answer: Profile Generator 5. 2005/Q2 . The report/report interface also allows you to call up reports from other applications.Test Your Knowledge CA705 Answers 1. When assigning a role to a user. 2. the report results are displayed using Process. Answer: Process 3. Answer: True With the help of office integration. All rights reserved. 3.

....................Unit 8 Working with Sets Unit Overview This unit provides an overview of sets..... 185 ......... F o r o n l y Unit Objectives After completing this unit........ you will learn how to create basic and single-dimension sets for all characteristics of a reporting table and use these sets in reports.187 Exercise 18: Single-Dimension Sets... In this unit............... All rights reserved...... you will be able to: • • Create and use basic sets in reports Create and use single-dimension sets in reports i n t e r n a l b y C S C u s e Unit Contents Lesson: Introduction to Sets........191 u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG....................

2005/Q2 .Unit 8: Working with Sets CA705 F o r o n l y i n t e r n a l C S C Figure 86: Overview Diagram – Sets u s e b y u s e i n t e r n a l b y C S C o n l y F o r 186 © 2005 SAP AG. All rights reserved.

All rights reserved. 2. 1997. The management of the company has wants cost element reports on a yearly basis with subtotals at specific breakpoints.CA705 Lesson: Introduction to Sets Lesson: Introduction to Sets Lesson Overview This lesson focuses on sets. and 3 are collected together in a basic set ’Quarter1’ and the years 1995. you will be able to: • • Create and use basic sets in reports Create and use single-dimension sets in reports o n l y Business Example You work as a financial consultant for XYZ Cement Company. F o r i n t e r n a l C S C Basic Sets u s e b y u s e i n t e r n a l b y C S C Figure 87: Basic Set F o r A basic set contains values. In the example shown in the graphic above. such as single values or value ranges that use the same characteristic. Lesson Objectives After completing this lesson. 1996. and 1998 in a basic set ’Years’. 187 . You need to use sets to fulfill this requirement. The lesson explains how to create and use basic sets and single-dimension sets in reports. the periods 1. o n l y 2005/Q2 © 2005 SAP AG.

. 188 © 2005 SAP AG. enter the ID of this set. All rights reserved. give a description for each set line. u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 89: Basic Set: Basic Entries After entering a description for the set in the header. such as ’From’.Unit 8: Working with Sets CA705 F o r o n l y Figure 88: Basic Set i n t e r n a l C S C You enter a Set ID.g. Optionally.. PERBL for Period). If you want to use an existing set as a reference for your new set. ’To’ values. 2005/Q2 . the set type and for basic and single-dimension sets the field name ( e.. the table name for the set. you can enter values as single values or intervals of values.

’GXX-Q4’. All rights reserved. You display a set by double-clicking. such as ’GXX-Q1’. The sets ’GXX-HALF1’ and ’GXX-HALF2’ incorporate the corresponding Basic Sets for the quarter years. ’GXX-Q2’. All these Sets grouped together are Sets defined commonly for PERBL. which includes the two Single-Dimension Sets ’GXX-HALF1’ and ’GXX-HALF2’. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 91: Single-Dimension Sets: Basic Entries In single-dimension sets. 189 . 2005/Q2 © 2005 SAP AG.CA705 Lesson: Introduction to Sets Single-Dimension Sets Figure 90: Example of Single-Dimension Sets The example in the graphic above shows a Single-Dimension Set ’GXX-YEAR’. ’GXX-Q3’. you enter a basic or single-dimension set in the set lines.

2005/Q2 . All rights reserved. the resulting output of the report shows sub totals for each set you use in this hierarchy. u s e b y u s e i n t e r n a l b y C S C o n l y F o r 190 © 2005 SAP AG.Unit 8: Working with Sets CA705 F o r o n l y Figure 92: Single-Dimension Sets: Resulting Output i n t e r n a l C S C If you use a single-dimension set in the row of your report definition.

F o r o n l y Task 1: 1. Build the basic and single-dimension sets for this diagram. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 93: Use the names of the nodes for the set names. 191 .CA705 Lesson: Introduction to Sets Exercise 18: Single-Dimension Sets Exercise Objectives After completing this exercise. Continued on next page 2005/Q2 © 2005 SAP AG. Provided is a sample hierarchy diagram based on the characteristic period. Using sets is more efficient than defining formulas. you will be able to: • Recognize the use of basic and single-dimension sets • Create basic sets and single-dimension sets for all characteristics of a reporting table and use these sets in reports Business Example You require cost element reports on yearly basis with subtotals at specific breakpoints. All rights reserved.

Define Columns .Define General Data Selections . The general data selections should restrict this data to the cost elements in the set OAS_PRIM for the cost centers in H1010 in the controlling area 1000 for the current fiscal year.Unit 8: Working with Sets CA705 Task 2: 1. 2005/Q2 . All rights reserved. The report contains a period drill-down for actual and plan costs. . Build a report which provides the following information. Use your library Z## for this purpose.Check and Save the Report .Assign the Report to a Report Group . F o r o n l y i n t e r n a l u s e b y C S C u s e Figure 94: i n t e r n a l Name the report Z7##-001 and assign it to the report group Z7##.Execute the Report b y C S C o n l y F o r 192 © 2005 SAP AG.Define Rows .

Build the basic and single-dimension sets for this diagram.CA705 Lesson: Introduction to Sets Solution 18: Single-Dimension Sets Task 1: 1. 193 . F o r o n l y i n t e r n a l u s e b y C S C u s e Figure 95: i n t e r n a l b y C S C o n l y F o r Continued on next page 2005/Q2 © 2005 SAP AG. All rights reserved. Provided is a sample hierarchy diagram based on the characteristic period.

Set ID: Table: Set type: Z##-H1 CCSS single set F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l Click Hierarchy maintenance. The report contains a period drill-down for actual and plan costs. The solutions below are intended to help you build a single set for the first six months. Build a report which provides the following information. Continued on next page 194 © 2005 SAP AG. You can use the same method to build the remaining basic and single-dimension sets. Similarly. All rights reserved. Enter PERBL as the field name in the dialog box displayed. The general data selections should restrict this data to the cost elements in the set OAS_PRIM for the cost centers in H1010 in the controlling area 1000 for the current fiscal year. You can also choose Set lines. Click Lower level and add the relevant basic set for Quarter 1. Choose Report Writer → Set → Create. Save the set.Unit 8: Working with Sets CA705 Use the names of the nodes for the set names. build the remaining single sets. Enter PERBL as the field name in the dialog box displayed. Set ID: Table: Set type: Z##-Q1 CCSS Basic Set Click Hierarchy maintenance. Choose Report Writer → Set → Create. Save the set. 2005/Q2 . b y C S C o n l y F o r Task 2: 1. Enter a description for the set and continue to add the lower-level sets. a) The solutions below are intended to help you build a basic set for the 1st quarter. Enter a description for the set and continue to define the contents of the set by choosing Value/interval. You can add the basic set for Quarter 2 by positioning the cursor on Z##-B1 and clicking Same level. Enter the set values on a separate line under the From Value column.

Assign the Report to a Report Group .Define Columns . . 195 .Define Rows . Information Systems → Ad-hoc Reports → Report Painter Report → Create Library: Report: Z## Z7##-001 Set usage u s e b y u s e i n t e r n a l b y C S C o n l y F o r Description: Define Rows Click Create to access the report definition interface.CA705 Lesson: Introduction to Sets F o r o n l y i n t e r n a l C S C Figure 96: Name the report Z7##-001 and assign it to the report group Z7##. All rights reserved. Continued on next page 2005/Q2 © 2005 SAP AG. From the main SAP System menu.Define General Data Selections . choose 1. 2.Check and Save the Report . Use your library Z## for this purpose.Execute the Report a) Instructions for defining the report Z7##-001.

2. choose Edit → Rows → Explode to explode the hierarchy. Select Z##-APV. In the Enter Texts screen. Check and Save the Report 1. Click Confirm or Enter. Use the following menu path in the Report Definition interface to assign the report to a report group: Environment → Assign report group. 2. Click Move selected to left. enter the value Z##-YEAR in the Group field. Choose Edit → Gen. All rights reserved. 3. enter the parameter values for the report. Define General Data Selections 1.Unit 8: Working with Sets CA705 Double-click row 1. In the Available Characteristics screen. you have defined the general data selections. Save the Report by choosing Report → Save or use Save or CTRL + S. enter row texts. Check the report for any errors or missing characteristics by choosing Report → Check or use Check or F6. In the Characteristic Values screen. Continued on next page 196 © 2005 SAP AG. 2005/Q2 . choose characteristics to be included in the general parameters of the report (see table below). Copy this text to the medium and long text fields. While your cursor is positioned on Row 1. Click Move selected to left. 1. Click Confirm or Enter. 2. Controlling area Fiscal year Cost Center Group Cost element group 1000 Current fiscal year H1010 OAS_PRIM u s e i n t e r n a l b y C S C Now. Select Period in the Available Characteristics dialog box. u s e Use the characteristics and associated values in the following table. F o r o n l y i n t e r n a l C S C b y 3. In the Selected Characteristics pane. Define Columns Choose Edit → Columns → Get Column Model. o n l y F o r Assign the Report to a Report Group 1. data selection.

This creates the report group that is assigned to the library Z##. Choose Report → Execute. 197 . Enter the value Z7##. All rights reserved.CA705 Lesson: Introduction to Sets 2. Execute the Report 1. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.

All rights reserved. 2005/Q2 .Unit 8: Working with Sets CA705 Lesson Summary You should now be able to: • Create and use basic sets in reports • Create and use single-dimension sets in reports F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 198 © 2005 SAP AG.

All rights reserved.CA705 Unit Summary Unit Summary You should now be able to: • Create and use basic sets in reports • Create and use single-dimension sets in reports F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 199 .

2005/Q2 .Unit Summary CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 200 © 2005 SAP AG. All rights reserved.

All rights reserved. □ □ 2. the for each set.CA705 Test Your Knowledge Test Your Knowledge 1. True False If you use a single-dimension set in the row of your report definition. Determine whether this statement is true or false. output of the report shows Fill in the blanks to complete the sentence. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. 201 . You can use an existing set as a reference for your new set by entering the ID of the set.

Test Your Knowledge CA705 Answers 1. 2005/Q2 . Answer: sub totals F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 202 © 2005 SAP AG. the output of the report shows sub totals for each set. 2. You can use an existing set as a reference for your new set by entering the ID of the set. All rights reserved. Answer: True You can use an existing set as a reference for your new set by entering the ID of the set. If you use a single-dimension set in the row of your report definition.

and report group Create a library Define a report with variables and permanent selection criteria Create row and column templates to help you define reports Structure a report using sections and horizontal pages Perform calculations within a report using cells and formulas Use the layout and formatting functions for a Report Painter report Use integrated report groups in a live system Assign report groups to an activity group Define a report/report interface to branch to a different report or a transaction Transport reporting objects Send reports using mail Use basic sets and single-dimension sets in a report definition F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.CA705 Course Summary Course Summary You should now be able to: • • • • • • • • • • • • • Explain the relationship between a reporting table. 203 . library. report. All rights reserved.

All rights reserved.Course Summary CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 204 © 2005 SAP AG. 2005/Q2 .

SAP System combines state-of-the-art technology with comprehensive business administration functions to provide a fully-integrated business solution for your company. SAP System uses advanced development techniques to achieve comprehensive integration of business administration and data processing. All rights reserved. 2005/Q2 © 2005 SAP AG.Appendix 1 Course Appendix F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C Figure 97: mySAP ERP Messages from o n l y F o r SAP System has set new norms for standard software that can be universally implemented. 205 .

All rights reserved.6) 206 © 2005 SAP AG.Appendix 1: Course Appendix CA705 F o r o n l y i n t e r n a l C S C Figure 98: CA705 – Course Overview Diagram u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 99: New Terminology (as of 4. 2005/Q2 .

You can use variables in rows. the variable default value is displayed on the selection screen of the appropriate report. columns. You can overwrite this default value. If you activate the “Use parameter ID” indicator. 207 .CA705 Appendix 1: Course Appendix F o r o n l y i n t e r n a l C S C Figure 100: Reporting Tables and Standard Libraries u s e b y u s e i n t e r n a l b y C S C o n l y F o r Figure 101: Value Variables You can use a value variable instead of a single characteristic value in a report definition. and in the general data selection criteria. All rights reserved. If you do not activate the “Use parameter ID” indicator. 2005/Q2 © 2005 SAP AG. the system uses a set/get parameter to “record” the last value entered.

1GJAHVJ for the previous year is determined by the standard variable. a corresponding input field appears on the report selection screen. Formula variables calculated from other variables are automatically flagged as internal variables. (Example: The standard variable (delivered by SAP). When you use formula variables that are not flagged as internal variables.Appendix 1: Course Appendix CA705 o n l y Figure 102: Formula Variables F o r You can use formula variables like value variables. 2005/Q2 .) i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Figure 103: Variables for Groups (Set Variables) 208 © 2005 SAP AG. This means that an input field does not appear on the report selection screen.1. The default value of the formula variable is dynamically determined by the exits delivered by SAP or by a formula stored in the variable definition. All rights reserved. 1GJAHLJ for the current year: 1GJAHVJ = 1GJAHLJ .

headers: Current page. Text for export: Section) Used in reports with variation to show the current value of the variation node • F o r o n l y i n t e r n a l u s e b y C S C – u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. you can enter a group. an interval. or several single values to restrict the data displayed in the report when you execute the report. The system uses the parameter ID to "record" the last value entered. All rights reserved. Selection parameters – Display the values entered for a variable on the selection screen – Remain unchanged for the whole report group Characteristic variables – Display the value that is valid for the characteristic in the current area of the report (title page: Complete report. • • Variables used in the report definition can be embedded in report texts as selection parameters or as characteristic variables.CA705 Appendix 1: Course Appendix If you use variables for groups (set variables) in a report definition. You can also enter a parameter ID for set variables. 209 .

Appendix 1: Course Appendix CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 210 © 2005 SAP AG. 2005/Q2 . All rights reserved.

Users without any create. 03 Display a set. or deleting sets. changing. or delete authorization do not have access to the sets without an authorization group because they cannot call up the transactions for creating. it is recommended to create all authorizations either with authorization group ‚* or with any (fictitious) authorization group. and 06 Delete a set Authorization group from the table TBRG for the authorization object G_800S_GSE – The table TBRG is maintained by the customer If you temporarily do not want to assign authorization groups to sets. The users that have an authorization for the authorization group G_800S_GSE have all authorizations for all sets without an authorization group. 211 . 02 Change a set. i n t e r n a l b y C S C u s e • u s e i n t e r n a l b y C S C F o r Sets: Variable: Authorization object G_802G_GSV • Action from the table TACT 01 Create a variable. change. displaying. 03 Display a variable. All rights reserved. 02 Change a variable. and 06 Delete a variable Authorization group from the table TBRG for the authorization object G_802G_GSV – o n l y • Report Writer: Report: Authorization object G_800_GRP 2005/Q2 © 2005 SAP AG.Appendix 2 Authorization Maintenance F o r o n l y Set maintenance: Authorization object G_800S_GSE • • Activity from the table TACT – 01 Create a set. display.

and deleting a report (transactions GR31. displaying. • Action from the table TACT 01 Create a Report Writer. 02 Change. 02 Change a Report Writer. • Activity from the table TACT 01 Create. All rights reserved. Possible actions include creating. GR22. GR32. GR52). and deleting standard layouts (transactions GR11. GR24). 06 Delete Authorization group from the table TBRG for the authorization object G_801K_GLB – F o r o n l y i n t e r n a l C S C • u s e b y Report Writer: Standard Layout: Authorization Object G_801U_GSY This authorization object refers to standard layouts. 02 Change. displaying. GR34) as well as using a report in report groups (GR51. Create reports for the library and. GR13. changing. 03 Display.Appendix 2: Authorization Maintenance CA705 This authorization refers to reports. as well as creating reports for a library (GR31). GR32). GR12. Possible actions include creating. and deleting a library (transactions GR21. referencing in reports and. 06 Delete a Report Writer Authorization group from the table TBRG for the authorization object G_800_GRP – • Report Writer: Library: Authorization Object G_801K_GLB This authorization object refers to libraries. GR14) as well as referencing standard layouts in reports (GR31. 2005/Q2 . Use in Report Groups and. changing. GR23. 03 Display a Report Writer. 06 Delete u s e i n t e r n a l b y C S C F o r Authorization group from the table TBRG for the authorization object G_801U_GSY o n l y Report Writer: Report Group: Authorization Object G_803J_GJB 212 © 2005 SAP AG. GR33. displaying. Possible actions include creating. 03 Display. changing. • Action from the table TACT – • 01 Create.

output and variation). • Action from the table TACT – 01 (Create). output. 213 . GR54) as well as starting the selection. 06 (Delete). and EP (Prioritizing) Delete • Authorization group from the table TBRG for the authorization object G_803J_GJB o n l y Report Writer: Scheduling as background job S_PROGRAMM Reporting on data: Previously: Authorization object K_REPO_CCA (CO: Reporting on cost centers/cost elements) Fields: Action (27 Display totals record. E0 (Saving extracts). and variation (GR55). Defined Fields The authorization object contains the following fields: • • • Authorization check actions for CO-OM Cost element CO-OM area of responsibility for authorizations F o r i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Relevant actions for reporting: • • • 3027: Select total records 3028: Select line items 3029: Display extracts 2005/Q2 © 2005 SAP AG. displaying. 02 (Change). Additionally you can protect the saving of extracts (GR55) with this authorization object as well as the deletion of your own or other extracts (GRE0). Order type. 29 Display stored data) Controlling area. Cost element Previously: Authorization object K_REPO_OPA (CO: Reporting on orders) Fields: Action (27 Display totals record. 28 Display individual items. manual cost center planning.CA705 Appendix 2: Authorization Maintenance This authorization object refers to report groups. and the information system.0A) Use this authorization object to issue authorizations within Cost Center Accounting for the maintenance of cost center master data. E6 (Deleting own extracts). changing. E7 (Deleting other extracts). GR52. 03 (Display. GR53. 28 Display individual items. Possible actions include creating. Cost center. start the selection. All rights reserved. and deleting a report group (transactions GR51. Cost element K_CCA (new as of Release 4. You can issue authorizations for a Management Accounting (CO-OM) area of responsibility. 29 Display stored data) Controlling area.

o n l y 214 © 2005 SAP AG. 2005/Q2 .Appendix 2: Authorization Maintenance CA705 If the CO-OM area of responsibility is a node in the standard hierarchy of Cost Center Accounting. and nodes to the standard hierarchy for Cost Center Accounting. the CO-OM area of responsibility applies only to the order. K_ORDER (new as of Release 4. or a node in the standard hierarchy of Cost Center Accounting. The authorization object contains the following fields: • • • • • Actions for the CO-OM authorization check Order type Authorization for internal orders: authorization phase Cost element CO-OM area of responsibility for authorizations F o r o n l y i n t e r n a l u s e b y u s e i n t e r n a l Relevant actions for reporting: • • • 3027: Select totals records 3028: Select individual items 3029: Display extracts b y C S C F o r You can enter individual orders. you have the authorization for that order only. authorization is valid for all nodes and their cost centers. cost centers. the responsible cost center. All rights reserved. If your authorization in this field contains an order. If there is no responsible cost center. you have authorization for all orders that belong to the responsible cost center. the CO-OM area of responsibility can include the order.0A) You can use this authorization object to issue access for the following actions while working with internal orders: • • • • Maintenance of order master data Manual order planning Budgeting of orders Actions in the information system C S C You can use authorizations for an area of responsibility in Management Accounting (CO-OM area of responsibility). If your authorization contains a cost center. If there is a cost center responsible for the order.

you have authorization for all orders in this area.CA705 Appendix 2: Authorization Maintenance If your authorization contains a node in the standard hierarchy. Note: Authorization objects K_REPO_CCA and K_REPO_OPA are not to be used with K_CCA and K_ORDER. It is recommended that authorization object K_CCA be used and the users for authorization objects K_REPO_CCA and K_REPO_OPA should receive all authorizations (*). which belongs to this node in the standard hierarchy or to a subordinate node. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. All these orders belong to a cost center. 215 . All rights reserved.

2005/Q2 . All rights reserved.Appendix 2: Authorization Maintenance CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 216 © 2005 SAP AG.

9201 Telephone Units 1VK 1PERIV (value variable for from period) 1PERIB (value variable for to period) 1KOKRE (value variable for controlling area) 1KOSET (set variable for cost center group) i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C F o r Reports: names reserved for exercises Report groups: names reserved for exercises Models: names reserved for exercise Z1##-001 to Z7##-001 Z1## to Z7## Z##-APV column model Z##-ELEMENT row model o n l y 2005/Q2 © 2005 SAP AG. OAS_P_IMP.Appendix 3 Data in Exercises F o r o n l y Type of Data Cost element groups Cost center groups Controlling area Statistical key figures Library Variables Data in the Training System OAS_PERS. 9101 square meters. H1010 1000 9100 employees. All rights reserved. 217 .OAS_WAGES. OAS_SALAR. OAS_PRIM H1.

Appendix 3: Data in Exercises CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 218 © 2005 SAP AG. All rights reserved. 2005/Q2 .

219 . Basic key figures: A basic key figure is a value field. group currency. which forms a logical unit in a Report Painter report. sections with calculated key figures that use the selected cells in the report in formulas are required to determine new key figures. A section consists of one or more physical rows and columns. In Report Writer reports. Report groups: Group of reports that use the same library. such as the value type actual and plan are used as additions to the basic key figure. General Data Selection: In addition to the explicit data in the rows and columns. and quantities. In Report Painter reports.Appendix 4 Glossary F o r o n l y Section: An independent block in a report definition. you can enter the key figures (predefined columns) directly in the report columns. You can combine a basic key figure with one or more other characteristics to create a key figure (predefined column). Sections contain characteristics and key figures. such as transaction currency. These characteristics. Reporting Tree (area menu): Hierarchical structure that can contain standard SAP reports and user-defined reports. you can also define criteria that are valid throughout the entire report. you use key figures (predefined columns) in data sets. to further restrict the data processed in the report. such as posted amounts or quantities. i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. such as characteristic values or characteristic groups. However. All rights reserved. These restrictions are specified in the general data selections. Each section may contain one or more Horizontal Pages that have a common row structure. Basic key figures are used to determine which value fields are displayed in a report.

4. 3. 2005/Q2 . All rights reserved. Display and print the reports in a report group: The system edits and formats the data selected for the report group and outputs the reports on the specified medium. Report/Report Interface: Interface that allows a receiver report to be called from a sender report. After you output a report that has been modified. A report group can have one or more reports. data is processed in the background while other functions can be carried out simultaneously on the screen. You do not have to redefine the report group. With this method. the processing time is shorter because the report data for all of the reports in the report group only has to be selected once. 2. and decimal places Background processing: Processing that is not carried out on the screen. A library is a collection of characteristics. you can call these reports up at any time without having to select data from the database again. Examples of layout parameters for which format groups can be defined: Column width. The values of the associated characteristics are forwarded via this interface to the receiver report where they are included in the data selection. such as on the screen or printer. units width. Extract: File containing the required report data. The report column(s) is/are formatted using the layout parameters for the specified format group. Determine which reports are to be contained in the report group. or to an external file. Generate the report group: The report group is successfully generated if no error messages are displayed.Appendix 4: Glossary CA705 After you create a report. Reports in a report group must be assigned to the same library. The system selects the data that is to be used by the individual reports in the group. Select the data to be sent in the sender report. Format Groups: Format groups are used to inform the Report Painter of the format to be used for a column. To create and run a report group: 1. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 220 © 2005 SAP AG. basic key figures. If you save reports in an extract. Select data for the report group. Library: Every report is assigned to a library. regenerate the report group containing the selected report and allow the system to select and output the data. and key figures (predefined columns) that were selected from the entries in a Report Writer table. If the reports access the same characteristics and data. You can change the texts displayed on the selection screens when you run the report group. you must assign it to a report group. Create the report group.

You can create both basic data-controlled lists (ad-hoc reports) and complex. and exceptions. and "business areas". Many of the functions of the Report Writer have been integrated in the Report Painter. If this field is not selected. formulas. The Report Painter uses a graphical report structure that forms the basis of your report definition and displays the rows and columns of the report as they will appear when the report is compiled. such as sets. All rights reserved. variables. ABC analyses. you can also use the Report Writer to define reports. they do not interact with the system. you can report on data from different applications. 221 . Report Painter: The purpose of the Report Painter is similar to that of the Report Writer. also known as "predefined column" in previous releases. However. Drill-down reporting contains functions for navigating in the database and for processing lists interactively. In all subsequent screens. is a non-numeric field. to work with the Report Painter. they have the same priority as online processes. also called ’field’ or ’dimension’ in previous releases. and key figures to compile reports. and the Excel Listviewer.CA705 Appendix 4: Glossary Although background processes are not visible to the user. sorting. SAPmail. The Report Writer has an extensive range of functions and requires experience to use it. Drill-down reporting: With the drill-down reporting function. The current value of the parameter is displayed on selection screens as the default value for the variable. which you can then reuse in your reports. Report Writer: In addition to the Report Painter. This company code can be stored in the memory under the corresponding parameter ID at the start of a transaction. comprises a basic key figure and one or more characteristics. cells. A key figure. Examples of key figures include "actual costs in the current fiscal year" and "planned costs in the closed fiscal year". that is. it is easier to use. Examples of characteristics include "accounts". You can use a parameter ID to fill a field with default values from the SAP memory. Example: A user only has authorization for company code 001. the parameter ID of the characteristic is used as a set/get parameter for the variable. You can use hierarchies. Drill-down reporting also has an interface to SAP Graphics. fields that refer to the "company code" data element can be filled automatically with the value 001. formatted lists (form reports). "cost centers". the default value of the variable is used. Characteristic: A characteristic. ranked lists. You can use key figures to define standard columns. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. You do not need to be familiar with the Report Writer concepts. Parameter ID: If this field is selected.

such as account numbers and cost center numbers. Statistical key figures can be used to distribute. such as the page format of the report and the number format of the report data. Set types: Basic sets: Basic sets contain certain values. 222 © 2005 SAP AG. Multidimension sets: Multidimension sets are used to combine sets that contain values from different dimensions. You can create your own key figures by combining a basic key figure with one or more other dimension(s). column sets. data sets. You can link your report to a different standard layout. Horizontal Page: A Horizontal Page combines several physical columns in a report that form a logical unit. Each report is initially assigned the SAP standard layout shipped with each SAP System. you can use the following options: • • • You can use the standard SAP layout for your report. You can use basic sets. Statistical key figures are used in cost accounting for assessments and to distribute costs. All rights reserved. Reporting table (Report Writer table): Name of a database table used by the Report Writer to compile reports. Standard layout: You assign each report you define a standard layout. Sets: Sets are used to group data and define data hierarchies. it can be defined within the Report Writer as a logical table (table T804E) and can comprise several physical tables. the table must be entered in the control table T804A. Data sets: Data sets contain certain key figures. assess. This standard layout determines the format in which your report will be output. you can build a hierarchy of basic sets and/or other single-dimension sets (with the same dimension. within a dimension). and profit centers. orders. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r Statistical key figures: Numbers that identify cost centers. and selection sets. Technical information: Before the Report Writer can report on a certain database table. or calculate further key figures. They form the basis for calculating the debit for the receiver object. You can change the parameters in the standard layout for your specific report. and multidimension sets to define your report. The structure and content of your report depend on the sets used as row sets. business processes.Appendix 4: Glossary CA705 The Report Writer uses sets to structure and select the report data. When you define a report. Statistical key figures can be created using maintenance transactions and posted to cost centers or planned and actual orders. single-dimension sets. The database table does not have to exist as a physical table. 2005/Q2 . Single-dimension sets: In a single-dimension set.

Basic sets and single-dimension sets can be used as default sets.CA705 Appendix 4: Glossary A statistical key figure could be the number of employees in each cost center. formula variables (&FVAR). the planned and actual number of employees can be recorded for each cost center. as well as SAP and user-defined exits (#S001. Formula variable: With formula variables for numeric fields. A variable could be a company. 223 . The name of the FORM pool for user-defined exists is stored in the table T80I. and a list for each hierarchy node in the group. the default set is used. Variables are wildcards for data that can be changed when a report is run. the representative data elements of the fields must be identical. These figures can be used to apportion the cafeteria costs among all the other costs centers. There are three types of variables: • • Value variable: A value variable always has a default value for a characteristic. Some applications allow you to replace the default set with a different set directly before the variable is used. Group: You receive a list containing the total of all the characteristic values in the group. predefined report structure in which rows and columns can be inserted from a Report Painter report. The table field of a default set must match the table field of the set variable. This program contains a model exit that can be used as a template for user exits. Several characteristic values: You receive a list containing the total of all the characteristic values and a separate list for each characteristic value. the current year. User-defined exits can be entered in this FORM pool. #U001). Otherwise. value variables (&WVAR). Variation: If you have entered several characteristic values or a group for a characteristic in the general data selections. 1. Standard exists are provided in the RGSVS000 program. a set that contains all of the values for the table field of the set variable is used as a default set. These formulas can contain constants (1993). that is. you can create several lists by activating the ’Variation: Explode’ flag. Model: A one-dimensional. • Set variable: A set variable can contain a default set. All rights reserved. 2. After you have created a statistical key figure called EMPLOY. the default value of the variable is determined by calculating the specified formulas. The program RGSVU000 is set by default. only one list containing the total of all the characteristic values is output. Users can also create their own FORM pool and enter it in the T80I table. or the current month. If you do not activate the variation function. a separate list for each characteristic value. If the set variable does not have a default set. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. for example.

If you select cells in exploded rows in a group. the selection always refers to the highest summation level in the group. 2005/Q2 . If you need a subgroup to process the cells. you have to define an additional report row for the subgroup. in all sections and Horizontal Pages. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 224 © 2005 SAP AG. All rights reserved. and hide the row. select the required cell. that is. Cells point to a certain position or a certain range of the row/column matrix in a report.Appendix 4: Glossary CA705 Cell: Cells are the points of intersection between rows and columns. When you select cells. they are available in the Formula Editor throughout the entire report.

information Library: i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. Execute Report: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Utilities → Catalog → Reports → Select report → Program → Execute 4. Catalog Report Groups: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Utilities → Catalog → Report groups 3.Appendix 5 Menu Paths F o r o n l y The following section lists all of the menu paths used in the course in the order in which they appear. General navigation: Application Menu Paths: SAP Menu: Information Systems → Ad hoc reports → Report Painter Functions: Report → Model → Utilities → Report Writer Unit – Introduction to Report Painter/Report Writer Navigation: 1. Execute Report Group: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Utilities → Catalog → Report Group → Select report group → Program → Execute → List → Execute report group 5. All rights reserved. 225 . Retrieving technical information on report groups: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Utilities → Catalog → Reports → Select report → Program → Execute → on output screen: Extras → Tech. Catalog Reports: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Utilities → Catalog → Reports 2.

Row model: Edit → Row → Get row model 2. 2005/Q2 . Create Report: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report → Create (Change. Assign a report to a report group: → Environment: Assign report group 3.From the report group menu in the Report Writer: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Report group → Execute 4.From the report definition (Report Painter): → Environment: Assign report group Alternative B . headers.From the report definition (Report Painter): → Extras: Report texts (title page.Appendix 5: Menu Paths CA705 1. All rights reserved. Column Model: Edit → Column → Get column model Unit – Sections and Horizontal Pages Settings from the report definition: F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 226 © 2005 SAP AG. footers. Report: Execute Alternative A . footers.From the report group output in the Report Writer: → Report group → Execute → Settings → Texts (title page. end page) Alternative B . headers. end page) Unit – Row and Column Models Create: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Model → Create Integrate model in a report: In the report definition: 1. Create Library: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Library → Create (Header – Characteristics – Basic key figures – Key figures) Unit – Creating Reports Using Report Painter 1. Delete) 2. Add Text: Alternative A .

number format. Format rows: Over/underscore. delete): Edit → Row → Show hidden rows (change. Show hidden rows (change.sign. Create new section (with characteristics and key figures): Edit → Sections → New section (section with characteristics and key figures) 3. number format.. Create new Horizontal Page: Edit → Horizontal page → New Horizontal Page 2. delete) 6. striketh. Hide columns: Edit → Columns → Hide 7. page break. delete): Edit → Columns → Show hidden columns (change/display. Show hidden columns (change/display. Section layout: Create section layout: Formatting→ Section layout → Define section layout (rows. column texts. delete) Unit – Formatting Reports Settings from the report definition: 1. hdr. show unit): Formatting → Columns 3. and color settings: Formatting→ Row 2. reverse +/. Format row/column texts: Row texts. Create new section (with calculated key figures): Edit → Sections → New section (section with calculated key figures) 4.CA705 Appendix 5: Menu Paths 1. column headings) 6. and lead columns: Formatting→ Row/column texts 4. lead column. Copy report layout for section: Formatting→ Section layout → Copy report layout 7.. All rights reserved. columns. Assign different report layout to report: Edit → Report header → Settings: Add other standard layout 8. 227 . Format columns: Assign format group (column format. and cntr): Formatting → Section overview Settings in the Report Output: F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.top. Section overview (display/change section attributes: Position. underl. Rows: expand/collapse to * level: Formatting→ Expand/compress to 5. Hide rows: Edit → Rows → Hide 5.

From the report output: Report → Save: Enter description and. ABAP report): Save: Save report group Option 2: F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 228 © 2005 SAP AG. if necessary. transaction. Extract catalog from ’Select’ screen: Environment → Extract catalog 4. All rights reserved. password and expiry date 3. and do not explode) Create extracts: 1. save settings (and lock). 2005/Q2 . section layout. From the ’Select’ screen: Extract parameters → Create extract: Enter description and. section attribute. delete. if necessary. dialog settings: Settings Unit – Variations and Extracts Variation: Settings from the report definition: Edit → Variation (variation setting: Explode. Report/Report Interface: Option 1: Entry in the report group header: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Report group → Change → Goto → Header: Report/Report Interface: Choose Configure: Insert row(s): Insert report group or other type (for example. single values.Appendix 5: Menu Paths CA705 Column attributes. password and expiry date With repeated selection: Data source → Display extract 2. print extracts. change expiry date from the report group menu: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Report group → Display → Utilities → Extracts Unit – Reports in a Live System Create activity menu: SAP Easy Access: Choose Create menu Create activity group: Enter description: Choose Menu: Add folder: Assign report(s) to a folder: Choose Report: Choose Report Writer: Enter report group(s): Confirm: Save Assign users to an activity group: Choose User: Enter user ID(s): Save. Display. report layout.

transaction. position the cursor on the end node and insert the values. Provided that the structure is not the standard hierarchy in cost center accounting or activity-based costing. if necessary. you can build your group successively. a to value.CA705 Appendix 5: Menu Paths Entry in the library header: SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Library → Change → Goto → Header: Report/Report Interface: Choose Configure: Insert row(s): Insert report group or other type (for example. You can also use the F4 Help. password and expiry date Transport Connection SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Report group → Display: ’Utilities’ menu option: ’Transport’: ’Copy from client’ example: choose source client and other options Unit – Working with Sets SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Set → Create/Change/Display/Delete: Choose hierarchy maintenance or standard maintenance Enter the set name and table and enter (for basic and single sets) the field name For basic sets. choose Enter or Copy change. for single sets enter basic or single sets (for the same field) Hierarchy maintenance: In the structure representation of the group. You can enter a from value and. Fields are displayed in the structure in which you can enter a name and a description for the new subgroup (node). position the cursor on the node where you want to expand the group and choose Add to same level or Insert as subnode. To assign individual values to an end node. You can also use the F4 Help. All rights reserved. enter values. fields will appear at the required position in the structure. Then. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG. To do so. ABAP report): Save: Save library Mail Connection Option 1: Enter when the report group is started (in the selection screen): SAP Menu: Information Systems → Ad-Hoc Reports → Report Painter → Report Writer → Report group → Execute: Choose ’Output parameters’: Choose ’Send mail’ as output medium: Confirm: Enter recipient: Confirm Option 2: Entry in report output: Report → Send: Save data: Fill out ’Send with note’ screen: Send Create extract: Enter description and. if necessary. 229 .

Appendix 5: Menu Paths CA705 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 230 © 2005 SAP AG. 2005/Q2 . All rights reserved.

4 Report Writer objects. 97 Formula rows. 30 C S C o n l y F o r G General data selections. 4 Report Writer. 150 Basic key figures. 129 Suppression. 172 Reporting table. 95. 175 Report/Report interface. 147 L Layout parameters. 97 Cell. 170 o n l y C Calculated key figures. 99 b y F Format groups. 7 Row model. 42 H Horizontal Page. 147 Variation function. 41 Variation. 187 N Navigation bar. 4 B Background job. 7 V Variables. 130 Report Painter. 131 Library. 29 F o r Q Quick Viewer. 78 i n t e r n a l b y D Display icons. 169 Drill-down reporting facility. 4 C S C R Report group. 33 Graphical user interface (GUI). 7 Basic Set. 43 Texts. 169 O Office integration. 151 i n t e r n a l S SAP Query. 4 u s e u s e E Exploded rows. 39 Report header. 6 T Table CCSS. 132 Sections. 96 Characteristics. 94 Single-dimension sets. 7 Target library. 149. 130 Standard Layout. 95 K Key figure. 7 2005/Q2 © 2005 SAP AG. 98 Extract. 7 Column model. 78 Columns. 39 Logistics Information System. 231 . 189 Standard layout. 79 Text variables. 148. All rights reserved.Index A ABAP reports. 131 Formula columns. 4 Section. 95 Section Layout.

All rights reserved. 2005/Q2 .Index CA705 W WYSIWYG. 6 F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 232 © 2005 SAP AG.

All rights reserved. If you have any corrections or suggestions for improvement. F o r o n l y i n t e r n a l u s e b y C S C u s e i n t e r n a l b y C S C o n l y F o r 2005/Q2 © 2005 SAP AG.Feedback SAP AG has made every effort in the preparation of this course to ensure the accuracy and completeness of the materials. 233 . please record them in the appropriate place in the course evaluation.

Sign up to vote on this title
UsefulNot useful