Beruflich Dokumente
Kultur Dokumente
Release 4.0B
Copyright
1999 by SAP AG. All rights reserved.
Neither this documentation nor any part of it may be copied or reproduced in any form or by
any means or translated into another language, without the prior consent of SAP AG.
SAP AG makes no warranties or representations with respect to the content hereof and
specifically disclaims any implied warranties of merchantability or fitness for any particular
purpose. SAP AG assumes no responsibility for any errors that may appear in this document.
The information contained in this document is subject to change without notice. SAP AG
reserves the right to make any such changes without obligation to notify any person of such
revision or changes. SAP AG makes no commitment to keep the information contained herein up
to date.
Trademarks
SAP, the SAP logo, R/2, R/3, ABAP, and other SAP related products mentioned herein are
registered or unregistered trademarks of SAP AG. All other products mentioned in this document
are registered or unregistered trademarks of their respective companies.
R/3 Simplification Group
SAP Labs, Inc.
3475 Deer Creek Road
Palo Alto, CA 94304
www.saplabs.com/simple
simplify-r3@sap.com
Second edition
Printed in the United States of America.
ISBN 1-893570-63-0
This book uses EcoFLEX lay-flat binding. With this lay-flat feature
developed by and exclusively available at Johnson Printing Service (JPS)
you can open this book and keep it open without it snapping shut on you.
You need not worry about breaking the spine. EcoFLEX makes books like
this one easier to use.
Contents at a Glance
About This Guide..............................................................................................................xi
Part 1: Core Report Development Tools
Chapter 1: Choosing the Right Report Development Tool............................................11
Chapter 2: ABAP Query.................................................................................................21
Chapter 3: Report Painter/Report Writer.......................................................................31
Chapter 4: Drilldown Reporting.....................................................................................41
Chapter 5: LIS Standard Analyses................................................................................51
Chapter 6: LIS Flexible Analyses..................................................................................61
Part 2: Business Information Warehouse
Chapter 7: Overview of Reporting in the Business Information Warehouse ..............71
Chapter 8: Creating Workbooks....................................................................................81
Chapter 9: Creating Queries..........................................................................................91
Chapter 10: Working With the BEx Browser...............................................................101
Chapter 11: Business Information Warehouse: Special Topics.................................111
Part 3: Other Report Development Topics
Chapter 12: ABAP Report Templates..........................................................................121
Appendix A: The ABAP List Viewer..............................................................................A1
Appendix B: Extended Export of Lists (XXL)...............................................................B1
Appendix C: SAP Open Information Warehouse...........................................................C1
Appendix D: Web Reporting..........................................................................................D1
Appendix E: LIS Information Structures.......................................................................E1
Appendix F: Creating a Drilldown Report in the Executive InformationSystem (EIS). F1
Appendix G: Glossary...................................................................................................G1
iii
Acknowledgments
The publisher thanks the following individuals who provided time, expertise, and
resources to help make the Reporting Made Easy series possible.
Julie Beehler and John Huck (Anheuser-Busch, Inc.)
Ron Greenfield, David Jones, and Ben Matteson (Anthro Corporation)
Ann Zediker and Chuck Marx (Arthur Andersen, LLP)
Bruce Scott (BrightStar Information Technology Group, Inc.)
Amy Vorbeck (CCAi, Inc.)
Nancy White (Chevron Corporation)
Tom Eisenhart (Lucent Technologies, Inc.)
Hans Hess, Sven Jensen (Metamor Enterprise Solutions)
Igor Smelansky and Winnie Chang (Network Associates)
Erin Andrews (PricewaterhouseCoopers LLP)
Mohamad Hakim (Softline, Inc.)
Clare Carver (The Pair Group)
Margie Coolidge, Ron Giovannelli, and Patrick Zalamea (Ziatech Corporation)
Pamela Anderson and Robert Smith (publishing consultants)
Werner Aigner, Simone Baeumer, Tami Becker, Randi Bethel, Sylvia Chaudoir, Muge Das,
Elisa Davis, Ray Fan, Sampath Gomatam, Maria Gregg, Darrin Griggy, Reiner Herde,
Michael Hielbrink, James Hill, Reiner Hoeltke, Claus Horn, Beverly Kennedy, Ruediger
Kretschmer, Michael LaStella, Sylvia Lehnen, Robert Loughran, Bob Mackenzie, Rhondda
Macleod, Natascha Marienfeld, Steffen Mock, Heinrich Mueller, Rolf Neuhaus, Doug
OBrian, Mary Odabashian, Wolfgang Otter, Brian Potter, Lori Ritzert, L.Kay Roberts,
Thomas Rumbach, Sabine Scheppat-Hinze, Stefan Sigg, Donald Silva, Birgit Starmanns,
Gerald Steele, Henri Stein, Peter Tillert, Cindy Vineberg, Wolfgang Weiss, Daniela
Weckesser, April Wu, Daniel-Benjamin Zaidspiner, Peter Zimmerer, and Theo
Zimmermann (SAP)
iv
Review...................................................................................................................................338
Where to Learn More...........................................................................................................338
Chapter 4: Drilldown Reporting.....................................................................................41
Learning the Basics of Drilldown Reporting.......................................................................42
What Is Drilldown Reporting?...................................................................................................42
Drilldown Functions................................................................................................................... 42
Where Is Drilldown Reporting Used?.......................................................................................43
Types of Drilldown Reports......................................................................................................43
Basic Report.............................................................................................................................. 43
Form Report.............................................................................................................................. 44
How Is Drilldown Reporting Organized?..................................................................................44
Key Figures............................................................................................................................... 45
Characteristics.......................................................................................................................... 45
Forms........................................................................................................................................ 45
Related Terminology.................................................................................................................. 45
How Does Drilldown Reporting Differ From Other Reporting Tools?.......................................46
What are the Prerequisites?.....................................................................................................46
Quick View of the Output.........................................................................................................47
Creating a Drilldown Report: Profitability Analysis............................................................47
Basics Steps in Creating Drilldown Reports in COPA............................................................49
Creating a Two-axis Form Report With Key Figures (in CO-PA).............................................49
Step 1: Set Operating Concern and Currency.........................................................................410
Step 2: Define the First Axis (Columns)...................................................................................412
Step 3: Define the Second Axis (Rows)...................................................................................415
Step 4: Select General Data and Desired Characteristics.......................................................417
Step 5: Attach Your Form to a Report......................................................................................419
Step 6: Execute Report and Analyze Data..............................................................................421
Getting the Most from Drilldown Reporting: Tips & Tricks.............................................423
Characteristic Variable...........................................................................................................424
Report/Report Interface..........................................................................................................425
Exceptions..............................................................................................................................426
Cells.......................................................................................................................................427
Freezing Report Data.............................................................................................................429
Background Processing.........................................................................................................430
Characteristic Hierarchies......................................................................................................432
Review...................................................................................................................................433
Where to Learn More...........................................................................................................434
Chapter 5: LIS Standard Analyses................................................................................51
What Is the Logistics Information System (LIS)?...............................................................52
Learning the Basics of Standard Analyses.........................................................................52
Terminology..............................................................................................................................53
Information Structure................................................................................................................. 53
Characteristic............................................................................................................................ 54
Key Figure................................................................................................................................. 54
Periodicity (or Period Unit)........................................................................................................ 54
vii
Initial List................................................................................................................................... 54
Drilldown List............................................................................................................................. 54
viii
ix
Workbook Shortcuts.............................................................................................................1011
Moving Shortcuts from the Desktop to the BEx Browser.......................................................1012
Review.................................................................................................................................1013
Chapter 11: Business Information Warehouse: Special Topics.................................111
Using the Administrator Workbench..................................................................................112
Working with SAP DemoCubes..........................................................................................113
Activating the SD DemoCube.................................................................................................113
Loading Data into SD DemoCube..........................................................................................114
Activating the SD DemoCube Channel..................................................................................115
Assigning Users to the SD DemoCube Channel....................................................................116
Viewing Data in the SAP DemoCube.....................................................................................117
Using the InfoCatalog........................................................................................................1110
Accessing the InfoCatalog....................................................................................................1110
From the BW Main Screen.................................................................................................... 1110
From the BW Administrator Workbench.................................................................................1111
Arranging Workbooks in the Enterprise InfoCatalog............................................................1112
Creating Directories in the Enterprise InfoCatalog..........................................................1112
Getting the Most out of BW: Tips & Tricks......................................................................1114
Predefining Options in Queries not Workbooks...................................................................1114
Protecting Workbooks..........................................................................................................1114
Checking Version Information for the BEx Analyzer.............................................................1115
Using Percentage Functions in Queries...............................................................................1115
Disabling Interactive Drilldown.............................................................................................1118
Using Visual Basic: API-Calls...............................................................................................1119
Creating a Drilldown Pushbutton........................................................................................... 1119
Automatically Refreshing Workbook Data.............................................................................1120
Embedding a Logo in the BEx Browser...............................................................................1122
Step 1: Save Logo as a Bitmap (BMP)..................................................................................1122
Step 2: Define the Logo Characteristics in the BW System...................................................1123
Using the Style Tool..............................................................................................................1125
Part 3: Other Report Development Topics
Chapter 12: ABAP Report Templates..........................................................................121
First Things First..................................................................................................................122
Before You Consider ABAP....................................................................................................122
Before You Start.....................................................................................................................122
ABAP Reporting Basics......................................................................................................123
Basic Structure.......................................................................................................................123
Types of ABAP Reports..........................................................................................................124
Traditional Reports.................................................................................................................. 124
Interactive Reports.................................................................................................................. 125
Traditional Versus Interactive Reports...................................................................................126
Template Approach to Report Development.....................................................................127
Why Use a Report Template?................................................................................................127
Working With Report Templates.........................................................................................128
Report Specification Form and Report Templates...................................................................128
Traditional Report Template.................................................................................................... 129
Interactive Report Template.................................................................................................. 1215
xi
Getting the Most from ABAP Report Development: Tips & Tricks................................1217
General Programming Hints................................................................................................1218
Where to Learn More.........................................................................................................1218
Appendix A: ABAP List Viewer......................................................................................A1
Overview.................................................................................................................................A2
What Is The ABAP List Viewer?...........................................................................................A2
ABAP List Viewer: Cost Versus Benefit Analysis..............................................................A3
Report Lists Without ABAP List Viewer..............................................................................A4
Report Lists With ABAP List Viewer....................................................................................A5
Technical Notes.....................................................................................................................A9
Sample Code Using ALV (Release 4.0B)...........................................................................A10
Review..................................................................................................................................A15
Where to Learn More...........................................................................................................A15
Appendix B: Extended Export of Lists (XXL)................................................................B1
Overview.................................................................................................................................B2
Functional Areas......................................................................................................................B3
XXL Support in the R/3 System............................................................................................B3
The XXL List Viewer..............................................................................................................B4
Where to Learn More.............................................................................................................B7
Appendix C: SAP Open Information Warehouse...........................................................C1
What Is the SAP Open Information Warehouse?...............................................................C2
Basic Terminology...................................................................................................................C3
OIW Information Catalog.......................................................................................................... C3
OIW Browser............................................................................................................................ C3
Information Object.................................................................................................................... C3
Add-In....................................................................................................................................... C3
Data Sources............................................................................................................................ C3
OIW Frontend for Microsoft Excel...........................................................................................C4
The OIW BAPI.................................................................................................................... C4
Working With OIW Source and Meta Data...........................................................................C5
Defining the OIW Meta Data....................................................................................................C5
Display Standard OIW Information Catalog............................................................................C7
Creating a Self-Defined OIW Information Catalog..................................................................C8
Activating the OIW Browser in Excel.....................................................................................C10
Downloading/Refreshing the OIW Information Catalog in Excel...........................................C11
Defining and Fine-tuning OIW Reports in Excel....................................................................C12
Running OIW Reports in Excel..........................................................................................C15
Running an OIW Report With Automatic Update..................................................................C15
Running an OIW Report Without Automatic Update/Calculation..........................................C17
Saving and Running an OIW Report as a Snapshot Version................................................C18
Getting the Most from SAP OIW: Tips & Tricks................................................................C20
Review..................................................................................................................................C20
Creating Reports with OIW....................................................................................................C21
Where to Learn More...........................................................................................................C21
xii
xiii
xiv
xv