Skip to content

Report

This page shows how to use the Report extraction type.
The Report extraction type can be used to extract data from most standard and custom ABAP reports and SAP transactions. A report extraction is possible if the report returns a table-like structure in SAP.

About Reports

ABAP report programs extract and present huge amounts of data for SAP business applications. SAP offers predefined standard reports that cover the basic needs of customers. They can be executed via transaction codes.

Tip

Use transaction code SAP1 to get a list of all reports for all modules.

Custom Reports

The extraction of custom reports (Z reports) is possible if the report returns a table-like structure in SAP. Issues specific to Z reports are not included in the scope of support provided by Theobald Software.

Prerequisites

Warning

Missing Authorization.
To use the Report extraction type, access to the designated authority objects (RFC) in SAP must be available. Adjust SAP Authority Objects: Report accordingly.

General Workflow

The following graphic shows the general workflow of using the Report extraction type:

Report-Workflow

Create a Report Extraction

  1. In the main window of the Designer, click [New] to create a new extraction. The window "Create Extraction" opens.
    New
  2. Select an SAP Connection from the drop-down menu in Source and enter a unique name for your extraction.
  3. Select the extraction type Report and click [OK]. The main window of the extraction type opens automatically.

The majority of the functions of the extraction type can be accessed in the main window.

Look up a Report or Transaction

  1. In the main window of the extraction type, click [ ]. The window “Report Lookup” opens.
    Look-Up-Report
  2. In the field Report Name, enter the name of a report to extract . Use wildcards (), if needed. Alternatively, select TCODE* to look up SAP Transaction codes.

    Look-Up-Report

    Tip

    In some cases reports cannot be determined based on the TCODE. You can check the report name of a TCODE using the SAP GUI menu System > Status....

  3. Click [ ] . Search results are displayed.

  4. Select a report and click [OK] to confirm.

The application now returns to the main window of the extraction type.

Define the Report Extraction Type

The Report extraction type offers the following options for report extractions:

  1. If the report has variants, select a variant from the drop-down-list Variant. For more information, see Choose a Variant.
    Variants-Section
  2. In the section Selection Screen, edit a selection criterion you want to change or dynamize . For more information, see Edit Selections.
    Sections
  3. Optional: If your report has varying column widths, activate Dynamic column widths and offsets. The column widths and offsets are then adjusted dynamically at report runtime.
  4. Click [Automatically detect columns] to execute the report based on the selected variant or selections and detect columns automatically.
    Report-automatic-columns
  5. Click [Load live preview] to display a live preview of the first 100 records.
  6. Check if the automatically detected columns are accurate. When automatic column detection is not possible, the column names, widths and offsets must be set manually, see Define Columns manually.
  7. Check the Extraction Settings and the General Settings before running the extraction.
  8. Click [OK] to save the extraction type.

You can now run the extraction, see Execute and Automate Extractions.

Example

The depicted example shows how to set up a simple report extraction:

  • Look up report RLT10010
  • Select variant VAR01
  • Load a live preview
  • Remove the header (skip the first 7 rows)
  • Automatically detect columns
  • Save the extraction type

Report-Animation



Last update: June 30, 2024