SAP Report Painter
SAP Report Painter
Looking at Report Painter: The basics Identifying the proper data source Getting the most out of statistical key figures and variables Working with currency translation and authorization groups
What Well Cover Looking at Report Painter: The basics Identifying the proper data source Getting the most out of statistical key figures and variables Working with currency translation and authorization groups
An SAP-standard visual report development tool Painter can be utilized within all financial submodules Painter offers 80%-90% of RW functionality but is 100% easier to use! GUI Interface makes development a snap Unlike in drill-down reporting where reports and forms are separate, in Painter, the report form is the report
Painter has remained consistent across R/3 versions This has allowed the tool to remain a staple for any reporting strategy
Consider using it if the data you are looking for can be sourced within Painter Use Painter instead of Writer when layout management is critical Painter is a GUI-based utility, so its easier to control report appearance
Don't Forget
Use Painter when you dont need Writers full functionality like
! ! !
Report Writers eliminations functionality Report Writers user-defined Key Figure Sets (data sets) Complex set matrixes
Don't Forget
If you need full RW functionality at a later date Field > Characteristic Data Set > Key Figure Set Data Field > Basic Key Figure
What Well Cover Looking at Report Painter: The basics Identifying the proper data source Getting the most out of statistical key figures and variables Working with currency translation and authorization groups
All reporting data is maintained in one or more reporting tables Of the 17,000 + tables that make up the SAP database, you will use maybe 5-8 for all your non-ABAP reporting needs Understanding the data flows is critical to building good reporting
CCSS is a central structure Contains updates for most CO objects (e.g. internal orders cost centers) Many standard CO Painter reports use CCSS as the reporting structure
Where to FIND it
KKBC (Product Cost Controlling: Cost Elements) COFIT (Cost Element Reporting) RPPS (Project Systems) GLPCT (Profit Center Accounting)
Traditional RW table, but can be used from within Report Painter KKBC is used in SAP-delivered costing reports Great source for cost element-based product cost reports Provides origin-level data that is key in a cost report !Examples: For resource input analysis, like materials consumed from the BOM, origins are key Can be used together with summarization objects like order groups Great for Cost Object Hierarchy (COH) reporting
! !
The scenario
!
Manufacturing client was converting to Cost Object Hierarchies and required a new manufacturing activity report Leverage KKBC to provide the manufacturing Activity detail Offered a chance to manage by COH
By assigning additional, detail level reports, we were able to view the activity for this unique group of cost objects
The solution
! !
If you are not fully aware of how your product costing system has been configured, KKBC can be tricky to use
Do you use order-based or period-based costing? Which variance categories are active in your system? Which cost elements and posting rules are you using for WIP and Variance updates? What target cost versions do you have active within the system, and how do they differ?
Different than standard reporting tables Characteristics (e.g., Plan, Material, Vendor) Key Figures (e.g., Sales Volume, Order Quantity, Execution Time) Period Units ( e.g., Day, Week, Month, Period) S001 SIS: Customer S021 SFIS: Production Order S032 Inventory: Stocks
Not a common source for Painter reporting Not being broad enough during design in the areas of Characteristic and Key Figure inclusion Identifying the proper update events for your structure !Proper timing will lead to accurate reporting data
Overcome these problems by not trying to cover too many reporting needs at once
It will be easier to tackle your reporting needs if you have a strategy and stick to it
The scenario
! ! !
Client wished to have a report that provided price and valuation information for its top 50 materials They wanted to quickly see material price changes from period to period The difficulty was in finding a utility that would allow me to customize the layout to meet the clients request Leverage an info structure, S012 in this case, to provide the material price detail needed Build the report using Painter to meet the reports layout requirements
Solution
The solution
! !
Identifying the Proper Data Source Info Structures: A Practical Example (cont.)
Painter example
!
Data would not have been available to Painter through standard reporting tables
Can be saved automatically during execution Provide the benefit of freezing the report data for an unlimited amount of time Great way to control point-in-time reporting Easy to create and delete Standardization of data sources for statutory reporting Additional level of authorization control
Benefits include
! ! !
When exiting the report, SAP can be designed to prompt you to create an extract
! !
Select the Create Extract field Be sure to provide a unique naming convention
Begin by entering the proper characteristic values for the reporting data in question Next, select the Data Source button in the header
Once selected, the system will return to the reporting screen and you can execute
To review the selection log for your report, use the menu path:
!
Extract Id
Extras>Selection Log
No Extract Used
What Well Cover Looking at Report Painter: The basics Identifying the proper data source Getting the most out of statistical key figures and variables Working with currency translation and authorization groups
Statistical object within the CO/PCA modules that can be used to hold statistical quantitative data The SKF can be used to enhance both plan/actual allocations and reporting
Manually, through an entry transaction !KB31N CO Object like Cost Center/Internal Order/WBS Element !9KE5 PCA Automatically, through a link to an LIS information structure !This is what well cover!
Automatic updates make month end processing easier Increased accuracy in the numbers, because the actual data is coming directly from the transactional source Nice integration back to the LIS structure for reconciliation
The following example will link an SKF used to capture confirmed hours with the appropriate LIS key figure
Statistical Key Figures and Variables Step 1 Create the SKF-LIS Link
SKF Example
! !
Standard Key Figure Notice the section at the bottom of the screen titled LIS Data This indicates the origin of the update; the info structure/set accessed, and the LIS key figure linked
Be sure to choose the proper info structure Info Sets are used predominantly to capture sales related data
With this example, we are linking to an Info Structure Select the proper application you wish to link your key figure to
Here weve selected the Shop Floor Control selection Our next selection brings us closer by now choosing the proper Info Structure
And finally, we choose the key figure This will be the last selection in linking our statistical key figure with the LIS key figure
SKF-CCA assignment
! !
You must make the proper assignment if the key figures are going to transfer from LIS Enter the Cost Center of your choosing and hit enter
T-code KVA2
Select the SKF and the corresponding Variant you want updated At this point you may not have maintained a variant
!
Depending on the key figure being linked, the data on the variant screen will change This example shows LIS key figure for actual hours executed
SKF-LIS Transfer
!
Actual Key Figure transfer program Remember to maintain the LIS Reference data LIS Reference data provides the transaction with the planning version and fiscal year
T-code KVA5
Remember to select the proper key figure when defining the row/column in your report You may have to activate the key figure in your library
Think of a variable as a placeholder When the report is executed, the system will replace the value of the variable with either: !One entered by the user, or !One that is interpreted by the system
Value !Single field; values individually assigned Formula !For a level of complexity, formulas can be used to automatically determine the variable replacement Set !Variable that assists in finding the value of a set !Can be either manual or automatic
Consider this a basic single value entry variable Value can later be used by Formula variables
Value Variables are the most basic of the three variable types However, the complexity and level of importance can be elevated when they are used as the basis for more complex Formula Variables
!
The data entered in the value variable becomes a component in the Formula variables algorithm
Internal Variable: !Activation will remove the capability of the user to change the default value of the variable during report execution !The variable will not appear in the selection screen Use Parameter ID: !When you want the field replacement to be controlled by the parameter ID, activate this field !To change the parameter ID, use the menu path Goto>Parameter ID
Key component of this formula variable is the value entered for Z130, a Value variable.
Most functional of the three variable types, as you can automate value determination and replacement The formulas rely on Boolean Logic for its logic control Additional value determination control offered through variable user exits
Simple inclusion of the SAP delivered Exit ID on the formula line is enough to activate the exit
!
To see a selection of SAP delivered Exits, select the Formula Exit button.
To get this selection screen to appear, hit the Formula Exit button Twelve selections in all
Choose from one of the twelve exits offered. (Only nine are shown here).
User defined exits following the naming pattern Uxxx Before including the exit ID in the variable, it must first be defined in the Exit Pool
!
Similar to the SAP defined exits, the User defined exits all begin with U.
SAP delivered exits always begin with S User defined exits begin with a U Your Basis team may have copied the program to a new program name to protect the integrity of the delivered program See settings in table T80I to see what the program name assigned to the exits might be
What Well Cover Looking at Report Painter: The basics Identifying the proper data source Getting the most out of statistical key figures and variables Working with currency translation and authorization groups
Standard functionality that allows a single report to be run and viewed in multiple currencies. Allows the user to control the exchange rate during report execution. Requires some set-up Tied to key figure selection during report development No real configuration required Basic understanding of how currencies are used within your system
Report Painter will manage currency translation as it relates to the following currencies in CO:
! ! ! !
Controlling Area Transaction Object Target Maintain your reporting libraries Maintain the currency exchange rate tables Review the currency settings within the FI/CO modules to determine what is active.
Requires activating the proper Key Figures !SWZG Costs in Target Currency !SWKG Costs in Reporting Currency More often than not these key figures are active by default, but check anyway Target currency will be used by the system as the translation basis The key figure will house the translated currency
Using reporting currency offers some additional flexibility for standardization and automation More on this later
Always be certain these two key figures, or a derivative of the figures, are active in your report development library
Activate
Activate
If you are already in a multi-currency environment, than you are already doing this. However, it cant hurt for your report development team to become familiar with the settings Exchange rate type Exchange rate dates
Exchange Rate Type is the key Validity Date controls whether the setting will be accessed during report execution
Validity Date
SAP offers a number of standard reports that you provide currency translation functionality Use these as a point of reference if necessary
As a result of using SWZG, the translation section will appear at the bottom of your selection screen Enter the target currency, exchange rate date and the rate type Output for the translation will be the target key figure
Same report run in MXN Same report layout; same transaction code for execution; unique result
Another option to currency translation reporting is to leverage the Reporting Currency Key Figure
!
Basic development will establish currency translation defaults for the key figure There is a unique transaction code within each CO sub-module:
! ! !
Cost Center Accounting RPC0 Cost Element Accounting RPA0 Internal Order Accounting RPO0
Output from a report utilizing both Object Currency ($USD) and Euros -- Simple to build and maintain
Little used tool to grant authorization control to a very specific level. Linked to an authorization object, the authorization group can give you control over Creation/Change/Display/Execution transactions. Authorization group settings can be maintained at the following levels: !Library !Report group !Sets/Variables !Report Painter Reports
"
"
Great for limiting access to certain reports, without taking it to a transaction level Because authorization control can be extended to an individual object, tremendous flexibility is available
!
Example: Report Group A can be maintained and executed by your team, while Report Group B cannot
The 7 Key Points to Take Home! Identify all the reporting requirements before beginning the development Look to using an info structure as your reporting source if a useful reporting table cannot be found Consider the functionality of linking statistical key figures to LIS structures Familiarize yourself with the concepts of variables to give yourself more flexibility
The 7 Key Points to Take Home! (cont.) Save yourself some development time by applying SAPs currency translation functionality If security is an issue, consider developing the Authorization Group functionality Report Painter is an important tool in your toolbox (in addition to BW) that you can use to meet your tactical and operational reporting requirements
Your Turn!
Questions?
Appendix A
Potential Appendix Section. If we want, we could include some of the information from the prior reporting presentations I removed.
If you would like to provide additional material for attendees, please send the slides as a separate file and we will include them on the CD, but, not as part of the presentation
"
T-code GR27
"
T-code GR28
"
"
T-code GR28
Controls and procedures are important to maintaining report integrity You should have established a report migration strategy
! !
Always move your report development through your pristine/gold configuration client Report groups are the only objects that can be moved
!
Summarization hierarchies, drill-down reports, ABAP lists, and queries all must be transported in the standard way
Icon Collection
Don't Forget
Note
GOTCHA!
Solution
Warning
Tip
Client Issue
Issue
Where to FIND it