Report Services
This page shows how to use the Report service type.
The Report service type can be used to extracts data from ABAP reports and SAP transactions.
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
- The custom function module
/THEO/REPORTis installed in your SAP system, see Function Module for Reports. - The report must return a table-like structure in SAP.
- Grant access to reports, see Knowledge Base Article: Authorize Access to Specific Reports.
- A connection to the SAP source system is set up in Xtract Universal.iQ, see Create an SAP Connection.
- The SAP user in the SAP connection has sufficient user rights, see SAP Authority Objects.
Workflow
Workflow for setting up a new Report service:
- In SAP, format the layout / output of the report to return a table-like structure.
- Optional: Save the layout as a variant.
- In Xtract Universal.iQ, create a new Report service.
- Look up the Report.
- Load a Variant or enter selections manually.
- Detect the report columns automatically.
Create a Report Service
To create a new Report web service in Xtract Universal.iQ:
- Open the Services menu.
- Click [Add Service].
- Enter a unique name and a description.
- Optional: Activate the checkbox Enable MCP Access and add an MCP description to expose the service via the Xtract Universal.iQ MCP Server.
- Select an existing SAP connection from the Connection dropdown. If no connection is available, create a connection, see Connect to SAP.
- Select Report from the Type dropdown.
- Select a target environment from the Destination dropdown. By default, Xtract Universal.iQ services return SAP data in HTTP response of the service (HTTP destination).
- Click [Save].
The service is now listed in the Services menu.
Next, select the SAP object you want to extract.
Load a Report
To select an ABAP Report from your SAP source system:
- Create or open a Report service.
- In the Review section of the service, click [Select Report]. The "Search SAP Reports" menu opens.
- Enter the name or TCODE of a report. Use wildcards ( * ) if needed.
- Click [Search] to look up the name of a report or click [Use TCODE] to look up the TCODE and display the search results.
- Select a Report from the list of search results. The "Search SAP Report" menu closes.
Xtract Universal.iQ loads and displays the metadata of the Report in the service.
Next, configure the remaining service settings.
Configure the Report Service
After creating the service, configure the service using the following workflow:
- If the report has variants, select a variant from the Variant dropdown in the ABAP Report section.
- Use the Report Layout Designer to define the layout of columns and rows in your Report.
- Optional: Create Custom Parameters that can be used to dynamically filter data at runtime.
- Optional: Define selection criteria to filter the output data.
- Optional: Edit the Service Settings to define how the data is extracted from SAP.
- Optional: Edit the Destination Settings to define the output of the service.
For more information, see Report Settings.