Professional Documents
Culture Documents
Report Painter - ERP Financials - FI CO
Report Painter - ERP Financials - FI CO
com/wiki/display/ERPFI/Report+Painter
Community WIKI SAP Community Welcome, Guest Login Register Search the Community
Report Painter
Created by SAI KRISHNA VALLURUPALLI, last modified by Nathan Genez on Oct 26, 2007
2 CONSTRAINTS
RP/RW only works with reporting structures that have been pre-defined. The existing database tables are linked through a reporting structure - like "CCSS" - and then there is further RW Control tables
definition. This last step is very technical and is not recommended for SAP customers or for that matter most consultants.
Also, the RW tables have the Authorization Check assigned - e.g. CCSS has E14_AUTHORITY_CHECK and filler routines for the fields. For user-defined tables there may need to be additional
Authorization Check routines written and assigned to the RW table.
[See GRCT for technical set-up of a RW "table".] Also, SAP recommends using selection variants and display variants for Line Item reports. Note : only the CO line items have the Fund field, not the
CO totals tables.
3 SAP HELP
See : Financials / Special Purpose Ledger / Tools
See : Financials / Controlling / Cost Center Accounting / Information System / Report Definition
- Reports
- Sets
- Report titles
- Report footers
- Page numbering
- Libraries are usually set up, delivered and supported by SAP. It is possible to set up your own, but this can be a comlex task, depending on the reporting requirements and a Logical Database,
1 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
- RPPS Project System Summarization table- COFIT CO/FI Reconciliation Ledger - use standard reports.
- Sxxx Various Purchasing and SIS reporting structures
- 1xx Various different CCA reports- 1VK Most Standard Cost Center reports are in here
- 6P3 Project reporting - this has the "Object" field and is linked to the PS component, so the selection fields for the LDB PSJ are automatically included.
- ZVK Copy of 1VK - with Fund field activated. In DV1.210 and 220 only.
o Note : Fund is on Line Item table, so if referenced the report will take longer to run. Use a Cost Center group by Fund instead (see section 4.4 on Sets).
Library definition
- Characteristics for reporting : like Cost Center, Fiscal Year, Cost Element, Plan/Actual Indicator.
- Basic Key Figures : numeric fields from the tables - e.g. costs. Behind the scenes the Key Figure is categorized as value field or a field group with period counter in field name.
- (Predefined) Key Figures : basic key figures with additional characteristics - e.g. costs for the current fiscal year or the current period. Prefix for CO Module predefined Key Figures are typically :
- I = actuals, P = planned
See Appendix B.
b. The Report Group is the only way to run the report. It is the generated program based on the report code, variable definition, set definition etc.
- A report can be in more than one report group - e.g. in a group by itself, in a monthly run group with a few other reports and in a year-end group with many other reports.
d. A Report Group can be set up to re-generate each time it is executed - all reports in it will be recompiled before executing. Or the setting can be for manual generation, which is recommended in a
production system - move the report group there, generate it and it does not waste time recompiling each time it is run.
e. When a Report Group is executed (GR55), the user has the option to deselect any reports not required.
f. The Report Group (or the Library) can also identify other reports (or transactions) to call up when drilling down on a cell in the executed report. E.g.
2 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
4.4 REPORTS
4.4.1 REPORTS - General
a. A report is always created with reference to the pre-defined library.
b. A standard SAP library can be copied and amended - e.g. 1VK can be copied to ZVK and changed so the "Fund" field is made available for reporting.
c. A characteristic can be specified in only one place - column, row or general selection criteria.
d. Most standard SAP reports focus on Cost Centers, or orders or Projects. Only a few cover more than one :
- Report 1SOP-001 has CC, Internal Order & WBSE - based on the Responsible Cost Center in the Order and WBSE.
- Report 1SO1-002 + 1SO1-003 has CC and Internal Order reported separately but run together.
b. If a characteristic (e.g. Fiscal Year) is specified with the Key Figure - the characteristic cannot be used for row definition or general data selection.
c. Note: often use Value Type in the column 1 = Plan, 4 = Actual - if it is not already part of the Key Figure definition.
d. The column can also be a simple formula - for ratios and variances.
f. Columns can be used for intermediate calculations - and hidden if they are not required to be reported.
g. Column Header can have a variable. Prefix with "&". Also, if the variable is numeric, can have a calculation in the heading: e.g. "&CURYEAR - 1".
- If several characteristics are specified, they appear in the same column, not separate columns, as a roll-up : e.g. Fund / Cost Center / Cost Element. The sequence of the fields can be specified in
Edit à Rows à Explode. Also :
o If Explode is chosen and a hierarchical set is specified, the report will sub-total on the nodes in the hierarchy.
c. More complex selection criteria for each row will require several rows to be defined (e.g. one row for revenues, with a specific set and selections, and a second row with costs using a different set
and selections).
b. If the report requires Orders and/or Projects to be selected on the basis of the Responsible Cost Center on the cost object master record, a special characteristic must be included in the General
Selection Criteria :
If Cost Centers, Order and Project WBS are needed together, they are usually in separate sections of the one report. The Cost Center set is repeated in each section's lead
column.
c. Reports can be set up in separate "sections" to get two or more reports in one.
- E.g. a summary section first, based on the results of a second, detailed section.
- However, to simplify development, creating separate reports and running them in the same report group can be easier to manage.
3 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
- Where Variations have been used, it is recommended to display the value and text associated with each characteristic used in the variation. So if the navigation tree (on the screen LHS) is not
displayed, the user can still see where they are.
d. End Page
- If Variations were used, then the header should include the fields in the variation so when the user drills down, the report clearly shows the characteristic values being reported.
b. If a number range is used in selection, the "expand/explode" option is not applicable and you get a list.
c. When the users run the report, they can also influence the Variation to some extent - if originally "expand/explode" they can select "Single value" or Do not expand/explode.
a. Define any required Variations for the characteristic selected in the GSC. A "Variation" allows specification of output format if hierarchical sets/groups are used - show with hierarchy and sub-totals,
or list individual items in the group with no sub-totals, or have one total with no detail.
- In most cases the Variation requirement can be amended at report run time - usually requesting a list or no explosion instead of an exploded set.
d. Later, it can be assigned to several report groups and those can have several reports each, if the same selection criteria apply and the users wants all reports at once.
e. Use GR52 to assign more reports, or delete reports from the group.
- Formatting - Row
- Formatting - Column
- etc
4.5 SETS
a. Sets are user-defined groups of a characteristic (e.g. a cost center group).
4 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
c. Master data sets are single characteristic -Cost Element.d. Multi-dimension sets can have several characteristics - e.g. Cost Element and DR/CR Indicator. This is more for Report Writer than
Report Painter.
e. Sets are assigned to classes. Not all set classes can be used in CO reporting. See Set Class table (SETCLS) :
a. Reporting only one total line in a report where the set has an interval
b. Reporting only one total line in a report where the set includes lower level sets.
c. Flagging an empty set - text only, for additional headings in the report - and the Formatting à Report Layout à Rows needs to be set to "Form printout" as well.
- P/M indicator : "+" means report if Debit (positive) balance or zero, "-" means report only if a CR (negative) balance. This can be used for :
a. For one account, have the DR in one set and the CR in another set.
b. Can be used for a text element (heading) in a report, in conjunction with the "Suppress" indicator (see above).g. CCSS Groups in DV1.210 and .220
4.6 VARIABLES
a. Allows runtime selection of data :
- For sets
- can use "IF xxx THEN xxxx ELSE xxxx " logic like IF '&1PERIK' < 12 THEN '&1GJAHR' - 1 ELSE '&1GJAHR'
c. The formula variables are usually identified as "Internal" so that the user cannot see or amend them.
d. It is best to define a variable for the specific Table/Structure & Field/Component which the variable applies to.
- Please do not use a variable defined for another table/structure even if the field/component is the same.
e. The variable can be included in the column headings - prefix with an "&" before or after text. For numeric variables, the heading can have text and "&VAR1 - 2" to subtract 2 from the value of the
variable.
f. Some variables have Parameter Ids (PID) which can be set on the individual User Master record.
g. Standard Variables available for use with CCSS - please use them if possible (or see T802G) :
c. Also, they can be exported to the PC and imported from the PC across systems. Powerful, but how to control this ?
5 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
Note : project WBSE reports require some special settings, since is used a logical database :
- Use the field OBJNR, not PSPID or POSID.
6 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
GRRT Report Painter: Translate reports 7 APPENDIX A : REPORT PAINTER / WRITER VARIABLES FOR STRUCTURE CCSS - FROM TABLE T802G
Variable
Variable text
Field Name
Default Value
Variable type
Parameter ID
Formula text
Set class
1AUFSET
Order Group
AUFNR
Set Variable
AST
103
1BEKSET
Debit/Credit Indicator
BELKZ
1-S-BELKZ-AL.CCSS
Set Variable
1CGJAHE
Fiscal Year
7 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
GJAHR
1993
GJR
1CGJAHP
Plan Year
GJAHR
1992
GJV
1CGJAHV
Comparison Year
GJAHR
1992
GJV
1CKOKRE
Controlling Area
KOKRS
1
CAC
1CKOSET
Cost Center Group
KOSTL
1C-KS1-ALL.CCSS
Set Variable
KSG
101
1CKSTAR
Cost Element Group
KSTAR
1-S-KSTAR-AL.CCSS
Set Variable
KAG
102
1CLSTAR
Activity Type
LSTAR
1C-BZ1-LSTAR.CCSS
Set Variable
LST
105
1CPERBL
To period
PERBL
365
BPE
1CPERIB
To Period
PERBL
13
1CPERIV
From Period
PERBL
1
1CVERP1
VERSN
0
KVS
1CVERP2
VERSN
0
KVS
1CVERP3
VERSN
0
KVS
1CVERPA
VERSN
0
KVS
1CVERSB
To Version
VERSN
0
KVS
1CVERSP
Plan Version
VERSN
0
KV2
1CVERSV
From Version
VERSN
0
KVS
1CWRTTB
8 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
To value type
WRTTP
99
1CWRTTV
From value type
WRTTP
0
1GJAH-R
Rolling Fiscal Year
GJAHR
Formula - Internal
IF '&1PERIK' < 12 THEN '&1GJAHR' - 1 ELSE '&1GJAHR'
1GJAHLJ
Fiscal Year
GJAHR
Formula
'#S001'
1GJAHR
Fiscal Year
GJAHR
Formula
'#S001'
1GJAHS1
Fiscal Year Object 1
GJAHR
Formula
'#S001'
1GJAHS2
Fiscal Year Object 2
GJAHR
Formula
'#S001'
1GJAHVJ
Previous Year
GJAHR
Formula - Internal
&1GJAHLJ'-1
1GJAHVV
Year Before Last
GJAHR
Formula - Internal
'&1GJAHLJ'-2
1GJLJW
Fiscal Year
GJAHR
Formula - Internal
'#S001'
1GJSET
Fiscal Year
GJAHR
1-S-GJAHR-AL.CCSS
Set Variable
1GJVJW
Previous Year
GJAHR
Formula - Internal
'&1GJLJW'-1
1KOKRE
Controlling Area
KOKRS
1
CAC
1KOSET
Cost Center Group
KOSTL
Set Variable
KSG
101
1KOSTL
CostCenter
KOSTL
BUKRS
KOS
1KSTAR
Cost Element Group
KSTAR
Set Variable
KAG
102
1KSTS1
Cost Center Group 1
KOSTL
Set Variable
KSG
9 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
1KSTS1
Cost Center Group 1
KOSTL
Set Variable
KSG
1KSTS2
Cost Center Group 2
KOSTL
Set Variable
KSG
1LSTAR
Activity Type Group
LSTAR
Set Variable
LSG
105
1PER-R1
Rolling Period 1
PERBL
Formula - Internal
IF '&1PERIK' < 12 THEN '&1PERIK' + 1 ELSE 1
1PER-R2
Rolling Period 2
PERBL
Formula - Internal
IF '&1PERIK' < 12 THEN 12 ELSE 1
1PER-R3
Rolling Period 3
PERBL
Formula - Internal
IF '&1PERIK' < 12 THEN 1 ELSE 2
1PERIB
To Period
PERBL
12
1PERIK
Period
PERBL
Formula
'#S006'
1PERIKV
Previous Period
PERBL
Formula - Internal
'&1PERIK'-1
1PERIL
PERBL
1
1PERIV
From Period
PERBL
1
1PERVP
Previous Period
PERBL
Formula - Internal
IF '&1PERIK' > 1 THEN '&1PERIK'-1 ELSE 1.
1PERW
Period
PERBL
Formula - Internal
'#S006'
1PESET
Period
PERBL
1-S-PERBL-AL.CCSS
Set Variable
1PLSTR
Activity Type Group
PLSTR
1-S-PLSDUMMY.CCSS
Set Variable
1ROLLUP
Summarization
ROLLUP
CRO
1STAGR
Statistical Key Figure Group
STAGR
Set Variable
SKG
104
1VALU
Actual Valuation
10 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
VALUTYP
Formula
'#S011'
1VALUTP
Actual Valuation
VALUTYP
Formula
'#S011'
1VERI
Actual Version
VERSN
0
KVT
1VERP
Plan Version
VERSN
0
KVS
1VERP-A
Plan Version A
VERSN
0
KVS
1VERP-B
Plan Version B
VERSN
1
KVS
1VERP-C
Plan Version C
VERSN
2
KVS
1VERSN
Plan Version
VERSN
0
KVS
1VKOSTL
Summarization Area
VKOSTL
KSG
1WBSSET
WBS Element Group
POSID
Set Variable
110
1WRTTP
Value Type
WRTTP
4
5J2CBRI
RECIND
CB
5JC-PR1
PERBL
Formula - Internal
IF '&1PERIK' > 1 THEN '&1PERIK' - 1 ELSE 12
5JC-PR2
PERBL
Formula - Internal
IF '&5JC-PR1' > 1 THEN '&5JC-PR1' - 1 ELSE 12
5JC-PR3
PERBL
Formula - Internal
IF '&5JC-PR2' > 1 THEN '&5JC-PR2' - 1 ELSE 12
5JC-YR1
GJAHR
Formula - Internal
IF '5JC-PR1' < '1PERIK' THEN '1GJAHLJ' ELSE '1GJAHLJ' - 1
5JC-YR2
GJAHR
Formula - Internal
IF '5JC-PR2' < '5JC-PR1' THEN '5JC-YR1' ELSE '5JC-YR1' - 1
5JC-YR3
GJAHR
Formula - Internal
IF '5JC-PR3' < '5JC-PR2' THEN '5JC-YR2' ELSE '5JC-YR2' - 1
5JCPOSI
WBS Elements
POSID
Set Variable
PSG
5JCPVG
11 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
VERSN
?
5JCPVN
VERSN
?
5JCRI
Recovery indicator
RECIND
Set Variable
6-AUFGR
Order Group
AUFNR
Set Variable
AST
103
6-AUFNR
Order
AUFNR
0
ANR
6-GJAH1
Fiscal Year 1
GJAHR
Formula
'#S001' - 1
6-GJAH2
Fiscal Year 2
GJAHR
Formula
'#S001'
6-GJAHB
To Fiscal Year
GJAHR
9999
GJR
6-GJAHL
Fiscal Year
GJAHR
Formula
'#S001'
6-GJAHR
Fiscal Year
GJAHR
Formula
'#S001'
6-GJAHV
From Fiscal Year
GJAHR
1900
GJV
6-GJHVJ
Previous Year
GJAHR
Formula - Internal
'&6-GJAHL'-1
6-KOKRS
Controlling Area
KOKRS
1
CAC
6-KSTAR
Cost Element Group
KSTAR
Set Variable
KAG
102
6-OBJNR
Object Number (Project Reps)
OBJNR
6P-OBJNR-B.CCSS
Set Variable
6-PERBB
To Period
PERBL
12
BPE
6-PERBV
From Period
PERBL
1
VPE
6-PERIK
Period
PERBL
12 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
Formula
'#S006'
6-STAGR
Statistical Key Figure Group
STAGR
Set Variable
SKG
104
6-VALU
Actual Valuation
VALUTYP
Formula
'#S011'
6-VERP
Plan Version
VERSN
0
KVS
6-WORKL
Worklist
OBJNR
Set Variable
ZYRBS
Biennium Start Year
GJAHR
2003
ZYRM1
Bien Start - 1
GJAHR
Formula - Internal
'ZYRBS' - 1
ZYRM2
Bien Start - 2
GJAHR
Formula - Internal
'ZYRBS' - 2
ZYRM3
Bien Start - 3
GJAHR
Formula - Internal
'ZYRBS' - 3
ZYRM4
Bien Start - 4
GJAHR
Formula - Internal
'ZYRBS' - 4
ZYRP1
Bien Start + 1
GJAHR
Formula - Internal
'ZYRBS' + 1
APPENDIX B : BASIC KEY FIGURES FOR RW TABLE CCSS
KEY FIGURE
TABLE
FIELD
TABLE
FIELD
TABLE
FIELD
TABLE
FIELD
EAUSP
Output -> LIs
COEJL
AUS+++
EDISP
Scheduled activity -> LIs
COEJL
DIS+++
EKAPP
Capacity -> LIs
COEJL
KAP+++
ELSTP
Activity quantity -> LIs
COEJL
LST+++
EMBGI
Actual qty posted -> LIs
COEP
MBGBTR
EMEFI
Actual qty fix -> LIs
COEP
13 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
MEFBTR
EMEFP
Plan fixed qty -> LIs
COEJ
MEF+++
EMEGI
Actual quantity -> LIs
COEP
MEGBTR
EMEGP
Plan quantity -> LIs
COEJ
MEG+++
EMEVP
Plan variable qty -> LIs
CCR1S
MEV+++
COEJ
EPAFI
Act. price variance fix -> LIs
COEP
PAFBTR
EPAFP
Plan fix price variance -> LIs
COEJ
PAF+++
EPAGI
Actual price variance -> LIs
COEP
PAGBTR
EPAGP
Plan price variance -> LIs
COEJ
PAG+++
EPAVP
LI: Price variance variable
CCR1S
PAV+++
COEJ
ESMAI
Max. stat. actual qty -> LIs
COEPR
SMABTR
ESMAP
Max. stat. planned qty -> LIs
COEJR
SMA+++
ESMEI
Statistical actual qty -> LIs
COEPR
SMEBTR
ESMEP
Statistical planned qty -> LIs
COEJR
SME+++
EWKFI
Actual costs -> LI
COEP
WKFBTR
EWKFP
Plan fix costs -> LIs
COEJ
WKF+++
EWKGI
Actual costs -> LIs
COEP
WKGBTR
EWKGP
Plan costs -> LIs
COEJ
WKG+++
EWKVP
LI: Variable costs plan
CCR1S
WKV+++
COEJ
EWOFP
LI: Plan fix costs in obj.crcy
CCR1S
WOF+++
COEJ
EWOGI
Tot.act.costs in obj.crcy->LIs
COEP
14 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
WOGBTR
EWOGP
Tot.plan costs in obj.crcy>LIs
COEJ
WOG+++
EWOVP
LI: Variable costs in obj.crcy
CCR1S
WOV+++
COEJ
EWTFP
Plan fixed costs in TCrcy
CCR1S
WTF+++
COEJ
EWTGI
Actual costs in TCrcy -> LIs
COEP
WTGBTR
EWTGP
Plan costs in TCrcy -> LIs
COEJ
WTG+++
EWTVP
LI: Variable costs in TCrcy
CCR1S
WTV+++
COEJ
SAUS
Output
COSL
AUS+++
SCKF
Fixed costs in CO area cur.
COSP
WKF+++
COSS
WKF+++
SCKG
Costs in CO area currency
COSP
WKG+++
COSS
WKG+++
COSPP
WKG+++
COSSP
WKG+++
SCKV
Variable costs in CO area cur.
CCR1S
CKV+++
COSP
COSS
SDIS
Scheduled activity quantity
COSL
DIS+++
SKAP
Capacity
COSL
KAP+++
SLST
Activity quantity
COSL
LST+++
SMEF
Fixed quantity
COSP
MEF+++
COSS
MEF+++
SMEG
Quantity
COSP
MEG+++
COSS
MEG+++
COSPP
MEG+++
COSSP
MEG+++
SMEV
Variable quantity
15 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
CCR1S
MEV+++
COSP
COSS
SMLST
Sender activity
CCR1S
SMLST+++
COSL
SPAF
Fixed price variance
COSS
PAF+++
SPAG
Price variance
COSP
PAG+++
COSS
PAG+++
SPAV
Variable price variance
CCR1S
PAV+++
COSP
COSS
SSMA
Maximum statistical quantity
COSR
SMA+++
SSME
Statistical quantity
COSR
SME+++
SWKF
Fixed costs
CCR1S
RKF+++
COSP
COSS
SWKG
Costs (primary & secondary)
CCR1S
RKG+++
COSP
COSS
COSPP
SWKGS
Secondary costs
COSS
WKG+++
COSSP
WKG+++
SWKV
Variable costs
CCR1S
RKV+++
COSP
COSS
SWOF
Fixed costs in object currency
CCR1S
WOF+++
COSP
COSS
SWOG
Total costs in object currency
COSP
WOG+++
COSS
WOG+++
COSPP
WOG+++
COSSP
WOG+++
SWOV
Variable costs in object crcy
CCR1S
16 z 17 21.07.2017, 22:02
Report Painter - ERP Financials - SCN Wiki https://wiki.scn.sap.com/wiki/display/ERPFI/Report+Painter
WOV+++
COSP
COSS
SWPG
Costs projected in CO crcy
CCR1S
WPG+++
COSP
COSS
SWTF
Fixed costs in trans. currency
CCR1S
WTF+++
COSP
COSS
SWTG
Total costs in trans. currency
COSP
WTG+++
COSS
WTG+++
COSPP
WTG+++
COSSP
WTG+++
SWTV
Variable costs in trans. crcy
CCR1S
WTV+++
COSP
COSS
SWZG
Total costs in target currency
CCR1S
WZG+++
COSP
COSS
COSPP
ZKVE
Vbl. act. costs LI (CO object)
COVP
WKGBTR
No labels
1 Comment
Christophe GANDIN
When you use LIS and report painter or report writer, SAP generates ratio keys in T804B. You can change these entries using transaction GRCT. It's the only way I've found to add ratios in
flexible analysis.
Christophe
17 z 17 21.07.2017, 22:02