Skip to content

Xtract Report

This page shows how to use the Xtract Report component.
The Xtract Report component 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 Xtract Report component, 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 Xtract Report component:

Report-Workflow

Add an Xtract Report Component

Follow the steps below to add an Xtract Table component to your SSIS package:

  1. Drag&drop the Xtract Report component from the SSIS toolbox into your data flow task.
    New
  2. Double-click the component. A connection manager is automatically assigned to the component and the main window of the component opens.

    Note

    If there are multiple connection managers, the window "Select Connection Manager" opens, see SAP Connection. Once a connection manager is selected, the main window of the component opens.

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

Look up a Report or Transaction

  1. In the main window of the component, 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 component.

Define the Xtract Report Component

The Xtract Report component 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 Settings before running the SSIS package.
  8. Click [OK] to save the component.

You can now run the SSIS package.



Last update: June 30, 2024