The following section shows how to use the Report component.

General Workflow for Creating a Report Extraction #

The following steps describe the most simple workflow for creating a report extraction. Further tweaking may be required, see below.

When creating a new report extraction, start by executing the report in SAP. Know the selections or variants when executing the report. Format the report layout/output in a way that it returns a table-like structure. Save the layout as a variant if possible.

  1. In the Report component, look up the ABAP report or transaction you want to extract, see Look Up a Report or Transaction.
  2. Select a variant or manually enter selections in the Selection Screen, see Variants and Selections.
  3. Detect the report columns automatically. If the columns are detected, column name, width and offset are listed in the columns section, see Define Columns automatically.
  4. If step 3 returns a single field, the report columns can not be detected automatically. Set the report columns manually, see Define Columns manually.

The following section shows how to use the Report Component.

Look Up a Report or Transaction #

  1. In the main window of the component click the [Search] button (magnifying glass symbol). The window “Report Lookup” opens.
  2. In the field Report Name (1) enter the name of a report using wildcards (*) if needed. Alternatively you can search for SAP Transaction Codes by selecting TCODE. Look-Up-Report
  3. Click [Search] (magnifying glass symbol) and select the report of your choice from the displayed list (3).
  4. Click [OK] (4) to confirm.

Variants and Selections #

  1. Choose a variant from the drop-down-list Variant (1).
  2. Choose a selection criterion you want to change or dynamize from the list in the section Selection Screen (2).
  3. Click the [Edit] button next to the selection you want to edit. The window “Edit Selection” opens. Report-Edit-Selections
  4. Choose if the selection is to be included or excluded (3) from the extracted data.
  5. Select an operator (Equal, GreaterThan, etc.) from the Option drop-down list (4).
  6. Enter the selection in the respective Low and High fields. The High field is active for input when the between or not between operator was selected.
  7. Optional: click [Add Selection] (5) to add conditions.
  8. Click [OK] (6) to confirm the selections.

Note: For more information on variants and selections, see Variants and Selections.

Define Report Columns #

  1. Click ** [Automatically detect columns]** to execute the report based on the selected variant or selections and detect columns automatically.
  2. Click [Load Preview] to display the rows in the preview screen.
  3. Check if the automatically detected columns are accurate. When automatic column detection is not possible, the report’s column names, widths and offsets must be set manually, see Define Columns manually.

Note: For more information on how to define report columns automatically and manually, see Define Columns.