Show TOC

Function documentationReading Standard Reports from Archives Locate this document in the navigation structure

 

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.

Activities

Reading Report Painter Reports from the Archive via the Component
  1. To execute a Report Painter report, choose   Information system   Report selection   in the given component and select the desired report.

  2. On the report selection screen, choose Data source.

  3. On the following dialog box, select Read from archive and choose Continue.

  4. 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.

  5. Choose Archive selection to determine the archive files for the report.

  6. As in the standard transaction, you can start the report online or in a background job.

Reading Line Item Reports and Documents from the Archive via the Component
  1. To execute a line item report or document display, choose   Information system   Report selection   in the given component and select the desired line item report or document display.

  2. On the report selection screen, choose   Extras   Data source  .

  3. On the following dialog box, select Archive as the data source.

  4. 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.

  5. Choose Archive selection to determine the archive files for the report.

  6. As in the standard transaction, you can start the report online or in a background job.

Note 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.

End of the note.
Reading Reports from Archive Administration from the Archive (SARA Transaction)
  1. 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.

  2. Choose and execute the required report.

  3. Branch from the selection screen to the data source selection:

    1. For Report Painter reports, choose Data source.

    2. For line item reports or for document display, choose   Extras   Data source  .

  4. The archiving object is already defaulted. Choose Archive selection to determine the archive files for the report.

  5. As in the standard transaction, you can start the report online or in a background job.

Assigning Reports to Archiving Objects

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.

Importing Standard Assignments

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.

  1. To import standard assignments to other clients, go to the SAP  initial screen, choose   Tools   ABAP Workbench   ABAP Editor  , and enter and execute program ARCH_REPOW_IMPORT.

  2. Enter CO_* as the archiving object.

  3. Accept the default settings in the other fields (source client 000, report type RW).

  4. Choose Execute.

Creating Custom Assignments

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:

  1. Start system transaction SM30.

  2. Enter table ARCH_REPOW.

  3. Choose Maintain.

  4. Choose New entries to enter the new assignments.

    Make the following entries:

    1. Under Object name, enter the name of the archiving object.

    2. Under Report type, enter:

      RW for Report Painter reports

      TR for line item reports

    3. 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

    4. Leave the Activate archive selection field empty.

Standard Contents of Table ARCH_REPOW

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