Upload
sergey-sarmatov
View
393
Download
9
Embed Size (px)
Citation preview
8/2/2019 Sap Report Painter Document
1/92
8/2/2019 Sap Report Painter Document
2/92
2005 2006 sapficoconsultant.com. All rights reserved. No part of this e-bookshould be reproduced or transmitted in any form, or by any means, electronic ormechanical including photocopying, recording or by any information storageretrieval system without permission in writing from www.sapficoconsultant.com
This e-book version is for an individual. No corporation, training classes, traininginstitutes are allowed to use this e -book.
SAP is a trademark of SAP Aktiengesellschaft, Systems, Applications andProducts in Data Processing, Neurottstrasse 16, 69190 Walldorf, Germany.SAP AG is not the publisher of this e-book and is not responsible for it under anyaspect.
Warning and Disclaimer
This e-book is sold as is, without warranty of any kind, either express or implied.While every precaution has been taken in the preparation of this e-book,www.sapficoconsultant.com assumes no responsibility for errors or omissions.Neither is any liability assumed for damages resulting from the use of theinformation or instructions contained herein. It is further stated that the publisheris not responsible for any damage or loss to your data or your equipment thatresults directly or indirectly from your use of this e-book.
www.sapficoconsultant.com Page 2 of 92
8/2/2019 Sap Report Painter Document
3/92
TABLE OF CONTENTS
INTRODUCTION..............................................................................................................41.2.3.4.5.
Libraries .....................................................................................................................8Create Variable .......................................................................................................18Create Report .........................................................................................................22Report Group ..........................................................................................................76Transporting Reports .............................................................................................90
www.sapficoconsultant.com Page 3 of 92
8/2/2019 Sap Report Painter Document
4/92
INTRODUCTION
Report painter is the main tool for defining reports in the information system incontrolling module.
All of the controlling reports (Cost center accounting, internal orders and profitcenter accounting) are created using report painter. You can also create reportsin FI.
With Report Painter you can define reports quickly and easily across rows andcolumns.
You can use standard reports delivered by SAP as a base, copy them and dominor modifications, so as to suit your requirement.
Very often it is felt that the standard reports delivered by SAP do not meet theusers requirement. Therefore you need to create new reports.
www.sapficoconsultant.com Page 4 of 92
8/2/2019 Sap Report Painter Document
5/92
Scenario:
A Ltd. is allocating cost using distribution cycle for allocating cost between cost
centers.If you recollect from what we learnt in the Cost center accounting configurationbook distribution is a method of allocation which uses the original cost elementfor allocation between cost center.
The canteen cost center (1000) incurs various cost which are shown below underdebit. This cost is allocated to the Admin cost center (1001) 40%, Engineeringcost center (1002) 60%.
Canteen cost center 1000
______________________________________________________________Debit $ Credit $
450001 Salaries & Wages 100,000100,000
450001 Salaries & Wages
460100 Groceries400,000
400,000
500,000
460100 Groceries
500,000
Engineering cost center incurs costs on Salaries and wages 200,000, spare partsetc (300,000). Further it receives cost from allocation from the Canteen costcenter (60% broken down into Salaries & Wages 60,000 Groceries 240,000
www.sapficoconsultant.com Page 5 of 92
8/2/2019 Sap Report Painter Document
6/92
Engineering cost center 1002______________________________________________________________Debit $ Credit $
450001 Salaries & Wages 260,000(200,000 +60,000)460100 Groceries
470100 Spare parts
240,000
300,000
800,000
If you see above in the engineering cost center (which is the receiver cost center)the salaries costs have got merged 260,000 (Cost incurred by it 200,000 which isa primary cost and cost received from the engineering cost center 60,000 whichis a secondary cost center)
You are not able to see the above break up.
In SAP, a standard report is available which tries to give a break up.
The name of the transaction code is:-
S_ALR_87013615 - Cost Centers: Breakdown by Partner
The output of the report looks like this:-
www.sapficoconsultant.com Page 6 of 92
8/2/2019 Sap Report Painter Document
7/92
The above report shows cost on the receiver cost center.
It shows its own cost and cost center received from other cost center.
If you notice all the cost elements are just showing blank blue lines. Whereasunder Telephone you find CTR 2 -1210 which is the sending cost center.
If you notice the report is very difficult to distinguish the primary and secondarycosts.
The user wants to see them in columnar form primary and secondary costs.
Therefore we develop a new report for the user.
We will see how to go about creating the new report
www.sapficoconsultant.com Page 7 of 92
8/2/2019 Sap Report Painter Document
8/92
1. LibrariesLibraries is a base (or transfer structure) for Report Painter. In a Library you usea report table, which is defaulted by SAP and cannot be maintained. The Libraryprovides a logical view of various database tables and includes all
characteristics, key figures, and predefined columns.
In Cost Center Accounting, table CCSS is used as the transfer structure.
In a library, you collect the characteristics, key figures, and predefinedcolumns from the report table, which you need for your Report Painterreports. The table name is stored in the header of each library.
www.sapficoconsultant.com Page 8 of 92
8/2/2019 Sap Report Painter Document
9/92
The fields from these libraries are used in creation of a report.
The Path to display a Library is as follows:-
SAP Standard Menu Accounting Controlling Cost Center Accounting
Information system
Tools
Report Painter
Report Writer
Library
GR23 - Display
or
SAP standard menu Information Systems Ad Hoc Reports ReportPainter Report Writer Library GR23 Display
Let us see the Library 1VK which we are going to use for creating a report:-
Update the following:-
Click
www.sapficoconsultant.com Page 9 of 92
8/2/2019 Sap Report Painter Document
10/92
Click
www.sapficoconsultant.com Page 10 of 92
8/2/2019 Sap Report Painter Document
11/92
What are Characteristics?
Characteristics are non-numerical fields. They represent criteria, by which you canselect data records. Examples of characteristics are the controlling area andfiscal year.
www.sapficoconsultant.com Page 11 of 92
8/2/2019 Sap Report Painter Document
12/92
Important Characteristics:
Controlling Area (KOKRS)
Fiscal Year (GJAHR)
Period (PERBL)
Cost Element (KSTAR)
Cost Center (KOSTL)
Activity Type (LSTAR)
Statistical Key Figure (STAGR)
Value Type (WTTP): Indicator for distinguishing different value categories (suchas actual costs, plan costs, target costs and so on) in database tables.
Version (VRSN): year-dependent indicators for plan data
Debit/Credit Indicator (CO): Indicator used to distinguish debit and creditpostings in CO.
www.sapficoconsultant.com Page 12 of 92
8/2/2019 Sap Report Painter Document
13/92
8/2/2019 Sap Report Painter Document
14/92
What are Key figures?
Key figures are numeric fields, which can be evaluated in a report. Examplesinclude overall costs and activity quantities.
Key Figures:
Costs (SWKG): The controlling area currency is the currency used for costaccounting in CO.Costs in Object Currency (SWOG): The object currency is the currency definedin the master record of a Controlling objectCosts in Transaction Currency (SWTG): The transaction currency is thecurrency in which the given documents are posted.Activity Quantity (SLST): Posted quantities for activity typesStatistical Quantity (SSME): Posted quantities for statistical key figures
Click
www.sapficoconsultant.com Page 14 of 92
8/2/2019 Sap Report Painter Document
15/92
Click on
www.sapficoconsultant.com Page 15 of 92
8/2/2019 Sap Report Painter Document
16/92
Click
Predefined columns consist of a key figure and one or more characteristics. Theyare used for the fast definition of frequently-used columns. Examples include
www.sapficoconsultant.com Page 16 of 92
8/2/2019 Sap Report Painter Document
17/92
0 For SAP internal use only
1 Cost Center Accounting2 LIS
3 LIS
4 FI-LC
5 Reconciliation Ledger
6 Overhead Orders and Project Mgmt
7 Product cost controlling
8 Profit center accounting
9 Activity Based costing
total actual costs for the current fiscal year or plan fixed costs for the previousfiscal year.
The standard reports delivered with Cost Center Accounting are summarized in the
following libraries:-
1VK library - Full cost methods
1GK library - Marginal cost
1AB library - Variance analyses
Standard Naming Procedure of Library:-
You can establish your own naming conventions for object names that do notbegin with a numeral to create a Library.
www.sapficoconsultant.com Page 17 of 92
8/2/2019 Sap Report Painter Document
18/92
2. Create Variable
SAP Easy access Accounting Controlling Cost Center AccountingInformation system Tools Report Painter Report Writer VariableGS11 - Create
We will create a variable for cost element group group CL. Cost element groupCL is a grouping of all cost elements grouped according to logical grouping.Revenues, Salaries & Wages, Logistical costs, Admin costs.
This cost element grouping will be in used in the report so as to show thegrouping of costs. If you do not require any grouping of cost elements you neednot create any variable.
www.sapficoconsultant.com Page 18 of 92
8/2/2019 Sap Report Painter Document
19/92
Click
www.sapficoconsultant.com Page 19 of 92
8/2/2019 Sap Report Painter Document
20/92
www.sapficoconsultant.com Page 20 of 92
8/2/2019 Sap Report Painter Document
21/92
Update the following
Click
www.sapficoconsultant.com Page 21 of 92
8/2/2019 Sap Report Painter Document
22/92
3. Create Report
Accounting Controlling Cost Center Accounting Information SystemTools Report Painter GRR1 - Create
Report Painter functions similar to Report Writer, but is easier to use. Most of thefunctions found in Report Writer have been built into Report Painter; however,you do not need to be familiar with all Report Writer concepts such as Sets inorder to use Report Painter.Report Painter uses a graphical report structure, which forms the basis for yourreport definition and displays the rows and columns as they appear in the finalreport output.
Advantages of Report Painter are:-Flexible and simple report definition
Report definition without using setsDirect layout control: The report rows and columns are displayed for your reportdefinition just as they appear in the final report output. This makes test runsunnecessary.
Let us now create a report in the report painter.
www.sapficoconsultant.com Page 22 of 92
8/2/2019 Sap Report Painter Document
23/92
Click on
Update Section 0001
www.sapficoconsultant.com Page 23 of 92
8/2/2019 Sap Report Painter Document
24/92
Double click on
www.sapficoconsultant.com Page 24 of 92
8/2/2019 Sap Report Painter Document
25/92
www.sapficoconsultant.com Page 25 of 92
8/2/2019 Sap Report Painter Document
26/92
Double click
www.sapficoconsultant.com Page 26 of 92
8/2/2019 Sap Report Painter Document
27/92
www.sapficoconsultant.com Page 27 of 92
8/2/2019 Sap Report Painter Document
28/92
Select the following
www.sapficoconsultant.com Page 28 of 92
8/2/2019 Sap Report Painter Document
29/92
Click
www.sapficoconsultant.com Page 29 of 92
8/2/2019 Sap Report Painter Document
30/92
Update the following:-
Click
Click
www.sapficoconsultant.com Page 30 of 92
8/2/2019 Sap Report Painter Document
31/92
Double click
www.sapficoconsultant.com Page 31 of 92
8/2/2019 Sap Report Painter Document
32/92
Click
www.sapficoconsultant.com Page 32 of 92
8/2/2019 Sap Report Painter Document
33/92
www.sapficoconsultant.com Page 33 of 92
8/2/2019 Sap Report Painter Document
34/92
Click
KS cost center
www.sapficoconsultant.com Page 34 of 92
8/2/2019 Sap Report Painter Document
35/92
Click
Click
Click
Double click
www.sapficoconsultant.com Page 35 of 92
8/2/2019 Sap Report Painter Document
36/92
www.sapficoconsultant.com Page 36 of 92
8/2/2019 Sap Report Painter Document
37/92
Click
www.sapficoconsultant.com Page 37 of 92
8/2/2019 Sap Report Painter Document
38/92
Update the following:-
Click
Click
Double click
www.sapficoconsultant.com Page 38 of 92
8/2/2019 Sap Report Painter Document
39/92
www.sapficoconsultant.com Page 39 of 92
8/2/2019 Sap Report Painter Document
40/92
www.sapficoconsultant.com Page 40 of 92
8/2/2019 Sap Report Painter Document
41/92
Click
Update the following :-
Click
Click
www.sapficoconsultant.com Page 41 of 92
8/2/2019 Sap Report Painter Document
42/92
Double click
www.sapficoconsultant.com Page 42 of 92
8/2/2019 Sap Report Painter Document
43/92
Update the following:-
www.sapficoconsultant.com Page 43 of 92
8/2/2019 Sap Report Painter Document
44/92
Click
Position the cursor on
www.sapficoconsultant.com Page 44 of 92
8/2/2019 Sap Report Painter Document
45/92
Select
Click
www.sapficoconsultant.com Page 45 of 92
8/2/2019 Sap Report Painter Document
46/92
We need to change the column width
www.sapficoconsultant.com Page 46 of 92
8/2/2019 Sap Report Painter Document
47/92
www.sapficoconsultant.com Page 47 of 92
8/2/2019 Sap Report Painter Document
48/92
Change the Lead column width from 20 to 50
www.sapficoconsultant.com Page 48 of 92
8/2/2019 Sap Report Painter Document
49/92
Click
www.sapficoconsultant.com Page 49 of 92
8/2/2019 Sap Report Painter Document
50/92
Further we want to see individual cost centers rather than as a group
www.sapficoconsultant.com Page 50 of 92
8/2/2019 Sap Report Painter Document
51/92
8/2/2019 Sap Report Painter Document
52/92
Click
We want to add variance % columns for Primary cost (actual/plan) andSecondary costs(actual/plan).
Double click
www.sapficoconsultant.com Page 52 of 92
8/2/2019 Sap Report Painter Document
53/92
Click
Again Click
Click
Click
Click
Click
Click Click Click
www.sapficoconsultant.com Page 53 of 92
8/2/2019 Sap Report Painter Document
54/92
You can even manually enter the above formula
Click
Click
Update the following:-
www.sapficoconsultant.com Page 54 of 92
8/2/2019 Sap Report Painter Document
55/92
Position the cursor on
Click
www.sapficoconsultant.com Page 55 of 92
8/2/2019 Sap Report Painter Document
56/92
8/2/2019 Sap Report Painter Document
57/92
Click
Click
Double click
www.sapficoconsultant.com Page 57 of 92
8/2/2019 Sap Report Painter Document
58/92
Let us type in manually now
www.sapficoconsultant.com Page 58 of 92
8/2/2019 Sap Report Painter Document
59/92
Click
Update the following:-
www.sapficoconsultant.com Page 59 of 92
8/2/2019 Sap Report Painter Document
60/92
Now position the cursor on
Click
www.sapficoconsultant.com Page 60 of 92
8/2/2019 Sap Report Painter Document
61/92
8/2/2019 Sap Report Painter Document
62/92
www.sapficoconsultant.com Page 62 of 92
8/2/2019 Sap Report Painter Document
63/92
Click
www.sapficoconsultant.com Page 63 of 92
8/2/2019 Sap Report Painter Document
64/92
Click
Click
Position cursor on
Click
www.sapficoconsultant.com Page 64 of 92
8/2/2019 Sap Report Painter Document
65/92
Change to following
www.sapficoconsultant.com Page 65 of 92
8/2/2019 Sap Report Painter Document
66/92
8/2/2019 Sap Report Painter Document
67/92
Click
Click
The report group is generated. It will take you to the following screen:-
www.sapficoconsultant.com Page 67 of 92
8/2/2019 Sap Report Painter Document
68/92
Click on the to execute
www.sapficoconsultant.com Page 68 of 92
8/2/2019 Sap Report Painter Document
69/92
Clicking on will open the cost center group screen on the left like this
www.sapficoconsultant.com Page 69 of 92
8/2/2019 Sap Report Painter Document
70/92
You can open the cost center group by double clicking
Let us now do some formatting for the report such as title header etc.
www.sapficoconsultant.com Page 70 of 92
8/2/2019 Sap Report Painter Document
71/92
Click on
www.sapficoconsultant.com Page 71 of 92
8/2/2019 Sap Report Painter Document
72/92
Update the following:-
Take a drop down in Report:-
www.sapficoconsultant.com Page 72 of 92
8/2/2019 Sap Report Painter Document
73/92
Click on
Click on
www.sapficoconsultant.com Page 73 of 92
8/2/2019 Sap Report Painter Document
74/92
Click on
www.sapficoconsultant.com Page 74 of 92
8/2/2019 Sap Report Painter Document
75/92
Update the following
Click on
The Report is ready
www.sapficoconsultant.com Page 75 of 92
8/2/2019 Sap Report Painter Document
76/92
Now we will go to the Report group
4. Report Group
SAP Easy access Accounting Controlling Cost Center AccountingInformation system Tools Report Painter Report Writer Report group GR52 Change
Report groups incorporate all the reports within a library that access similar databut format these data differently.All reports within a report group are executed at the same time, thus giving youthe opportunity to jump between individual reports within the report displayscreen.Generally there is one to one co-relation between report and report group.
In this step we will also assign some additional reports and transactioncodes, so that the user can drill down to these additional transaction orreports:-
We will assign:-
1) Transaction code - KSBP (Plan line items)
2) Transaction code KSB1 (Actual line items)3) Report group - 1SIP (actual/plan/variance)
www.sapficoconsultant.com Page 76 of 92
8/2/2019 Sap Report Painter Document
77/92
Click enter.
www.sapficoconsultant.com Page 77 of 92
8/2/2019 Sap Report Painter Document
78/92
Update the description:-
www.sapficoconsultant.com Page 78 of 92
8/2/2019 Sap Report Painter Document
79/92
Click
www.sapficoconsultant.com Page 79 of 92
8/2/2019 Sap Report Painter Document
80/92
Click
Take a drop down in Report group
Click
www.sapficoconsultant.com Page 80 of 92
8/2/2019 Sap Report Painter Document
81/92
Double click
www.sapficoconsultant.com Page 81 of 92
8/2/2019 Sap Report Painter Document
82/92
Click
Click
www.sapficoconsultant.com Page 82 of 92
8/2/2019 Sap Report Painter Document
83/92
Click
Click
Click
www.sapficoconsultant.com Page 83 of 92
8/2/2019 Sap Report Painter Document
84/92
Update the following:-
Scroll to the right
www.sapficoconsultant.com Page 84 of 92
8/2/2019 Sap Report Painter Document
85/92
Click
www.sapficoconsultant.com Page 85 of 92
8/2/2019 Sap Report Painter Document
86/92
8/2/2019 Sap Report Painter Document
87/92
www.sapficoconsultant.com Page 87 of 92
8/2/2019 Sap Report Painter Document
88/92
Click on
www.sapficoconsultant.com Page 88 of 92
8/2/2019 Sap Report Painter Document
89/92
Click on
www.sapficoconsultant.com Page 89 of 92
8/2/2019 Sap Report Painter Document
90/92
5. Transporting Reports
SAP Easy access Accounting Controlling Cost Center AccountingInformation system Tools Report Painter Utilities Transport Reportgroups GCTR - Transport request
A report can be transported from one system to another (i.e. Development toQuality system) using this transaction code.
Click
www.sapficoconsultant.com Page 90 of 92
8/2/2019 Sap Report Painter Document
91/92
Click
Select the report
www.sapficoconsultant.com Page 91 of 92
8/2/2019 Sap Report Painter Document
92/92
Click to create the request
That brings us to an end to report painter creation.
Let us summarize how we went about creating the report painter report:-
1) We first identified the Library which has the relevant characteristics andkey figures 1VK
2) We created a variable which was required to be used in the report painter
3) We created a report ZCC8-PK1 (a form) using the library 1VK. While
saving the report we added the report to a report group ZCPK.
4) In the final steps we assigned some additional reports, transactions(KSBP, KSB1 and report group 1SIP)in the Report group ZCPK whichcan be used as drill down report in this report.
You can likewise create various reports on your own, based on the users requirement.