You can use Report Painter reports and line item reports from the Cost Center Accounting (CO-OM-CCA) and Internal Orders components (CO-OM-OPA) to evaluate archives. Generally, the following reports can read the relevant data from any archive:
All Report Painter reports for table CCSS
The actual line item report for internal orders
The actual line item report for cost centers
Document display
The SAP system includes a variety of report and archiving object combinations. The standard system thus provides only a limited number of reports for given archiving objects. However, it is also possible to execute other reports for an archiving object.
To execute a Report Painter report, choose
in the given component and select the desired report.On the report selection screen, choose Data source.
On the following dialog box, select Read from archive and choose Continue.
On the following dialog box, enter the object from which you want to read the archived data.
Choose F4 Help to obtain a list of the archiving objects to which the report applies.
Choose Archive selection to determine the archive files for the report.
As in the standard transaction, you can start the report online or in a background job.
To execute a line item report or document display, choose
in the given component and select the desired line item report or document display.On the report selection screen, choose
.On the following dialog box, select Archive as the data source.
On the following dialog box, enter the object from which you want to read the archived data.
Choose F4 Help to obtain a list of the archiving objects to which the report applies.
Choose Archive selection to determine the archive files for the report.
As in the standard transaction, you can start the report online or in a background job.
Note
As it is often unnecessary to enter further selection criteria when reading data from an archive, you can enter an asterisk (*) under Cost center and Order where required.
Under Object name, enter the archiving object (such as CO_COSTCTR) and choose Evaluate.
Choose F4 Help for the Read program field to list all the reports for the archiving object.
Choose and execute the required report.
Branch from the selection screen to the data source selection:
For Report Painter reports, choose Data source.
For line item reports or for document display, choose
.The archiving object is already defaulted. Choose Archive selection to determine the archive files for the report.
As in the standard transaction, you can start the report online or in a background job.
The SAP system stores the report assignments to the archiving objects. The assignment controls which objects appear in the F4 Help for the data sources and which reports appear for the read programs in archive administration.
A warning message appears if you choose an archiving object that is not assigned the relevant report or a report that is not assigned the relevant archiving object. You can ignore this warning message. You can execute the report if you wish, but you must bear in mind that incomplete data will be the result.
To view the assignments in the standard SAP system, see the ARCH_REPOW table.
The ARCH_REPOW table is a Customizing table that also allows user-defined assignments. Standard assignments are provided therefore in client 000 only. You cannot use reports in other clients for reading data from the archive.
To import standard assignments to other clients, go to the SAP initial screen, choose
, and enter and execute program ARCH_REPOW_IMPORT.Enter CO_* as the archiving object.
Accept the default settings in the other fields (source client 000, report type RW).
Choose Execute.
In principle, you can read data from given archiving objects even if the standard SAP system does not have the relevant combination of report and archiving object.
For Report Painter reports, the prerequisites are:
The report applies to table CCSS
The archiving object includes table COSP or COSS
Tables COSP and COSS may also appear in the archiving object definitions as COSPA and COSSA.
Of course, you may also use custom reports to read archiving object data.
For line item reports, table COEP must be part of the archiving object. Table COEP may also appear in the archiving object definition as view COVP or COVPxy (where “x” and “y” stand for numerals).
If you want to work with previously unsupported assignments, enter these in table ARCH_REPOW in order to avoid confusion among end-users. In addition, you can include documentation justifying the use of the corresponding report for your own archive reading runs.
To enter a new assignment:
Start system transaction SM30.
Enter table ARCH_REPOW.
Choose Maintain.
Choose New entries to enter the new assignments.
Make the following entries:
Under Object name, enter the name of the archiving object.
Under Report type, enter:
RW for Report Painter reports
TR for line item reports
Under Program name, enter:
The name of the report group for Report Painter reports
KSB1 for the actual line item report for cost centers
KOB1 for the actual line item report for internal orders
KSB5 for document display
Leave the Activate archive selection field empty.
Report | Program Name | Report Type | Object Name |
---|---|---|---|
Cost Center Actual Line Items | KSB1 | TR | CO_ALLO_ST |
CO Documents, Actual Costs | KSB5 | TR | CO_ALLO_ST |
|
|
|
|
Cost Center Actual Line Items | KSB1 | TR | CO_CCTR_EP |
CO Documents, Actual Costs | KSB5 | TR | CO_CCTR_EP |
|
|
|
|
Area: Cost elements | 1AIP | RW | CO_CCTR_ID |
Area: Statistical key figures | 1SKL | RW | CO_CCTR_ID |
Cost centers: Drilldown by Partner | 1SHK | RW | CO_CCTR_ID |
Cost centers: Actual/plan variance | 1SIP | RW | CO_CCTR_ID |
Area: Cost Centers | 1KSL | RW | CO_CCTR_ID |
Area: Activity types | 1SLB | RW | CO_CCTR_ID |
Cost Centers: Period Breakdown Actual/Plan | 1SMA | RW | CO_CCTR_ID |
Cost Center Actual Line Items | KSB1 | TR | CO_CCTR_ID |
CO Documents, Actual Costs | KSB5 | TR | CO_CCTR_ID |
|
|
|
|
Area: Cost elements | 1AIP | RW | CO_CCTR_PL |
Area: Statistical key figures | 1KSL | RW | CO_CCTR_PL |
Cost centers: Drilldown by Partner | 1SHK | RW | CO_CCTR_PL |
Cost centers: Actual/plan variance | 1SIP | RW | CO_CCTR_PL |
Area: Cost Centers | 1SKL | RW | CO_CCTR_PL |
Area: Activity types | 1SLB | RW | CO_CCTR_PL |
Cost Centers: Period Breakdown Actual/Plan | 1SMA | RW | CO_CCTR_PL |
|
|
|
|
Area: Cost elements | 1AIP | RW | CO_COSTCTR |
Area: Statistical key figures | 1KSL | RW | CO_COSTCTR |
Cost centers: Drilldown by Partner | 1SHK | RW | CO_COSTCTR |
Cost centers: Actual/plan variance | 1SIP | RW | CO_COSTCTR |
Area: Cost Centers | 1SKL | RW | CO_COSTCTR |
Area: Activity types | 1SLB | RW | CO_COSTCTR |
Cost Centers: Period Breakdown Actual/Plan | 1SMA | RW | CO_COSTCTR |
|
|
|
|
Cost Center Actual Line Items | KSB1 | TR | CO_COSTCTR |
CO Documents, Actual Costs | KSB5 | TR | CO_COSTCTR |
Order Actual Line Items | KOB1 | TR | CO_ITEM |
Cost Center Actual Line Items | KSB1 | TR | CO_ITEM |
CO Documents, Actual Costs | KSB5 | TR | CO_ITEM |
|
|
|
|
CO Documents, Actual Costs | KSB5 | TR | CO_KSTRG |
|
|
|
|
List: Orders | 6L00 | RW | CO_ORDER |
List: Cost elements | 6M00 | RW | CO_ORDER |
Order: Actual/plan variance | 6O00 | RW | CO_ORDER |
Order: Drilldown by Partner | 6O08 | RW | CO_ORDER |
Order: Drilldown by Period | 6Z02 | RW | CO_ORDER |
Order Actual Line Items | KOB1 | TR | CO_ORDER |
CO Documents, Actual Costs | KSB5 | TR | CO_ORDER |