# Pentaho Reporting Output

The Pentaho Reporting Output step renders a Pentaho report design file (`.prpt`), allowing you to generate output using a selected reporting engine type.

![Pentaho Reporting Output dialog box](/files/EY84311j9WWx3dd2joi8)

### General

| Field                               | Description                                                                                                                                                                                                         |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Step name**                       | Specify the unique name of the Pentaho Reporting Output step on the canvas. You can customize the name or leave it as the default.                                                                                  |
| **Report definition file (field)**  | Specify the field that contains the name of the `.prpt` file during step execution.                                                                                                                                 |
| **Output file (field)**             | Specify the field that contains the name (and optionally path) of the output file. If you do not specify a path, the file is created in the PDI client’s home folder (for example, `/data-integration/output.pdf`). |
| **Accept file name from field?**    | Select to determine the report file and output file from incoming fields. If you clear this option, you must specify the report definition and output file paths/names directly.                                    |
| **Report definition file (static)** | File path and name of the report definition file. Available only if **Accept file name from field?** is cleared.                                                                                                    |
| **Output file (static)**            | File path and name of the output file. Available only if **Accept file name from field?** is cleared.                                                                                                               |
| **Create parent folder**            | Select to create the parent folder for the output file (when you specify a full path in **Output file**).                                                                                                           |
| **Parameter name**                  | (Optional) Name of the report parameter (if the report supports parameters) to populate from a field.                                                                                                               |
| **Field name**                      | (Optional) Name of the incoming field that provides the parameter value. If you specify a field, the static input value is not used. To pass data to string arrays, separate items with tabs.                       |
| **Output processor**                | Reporting engine used to generate the output type (for example, `.pdf`, `.csv`, `.xml`).                                                                                                                            |
| **Get report parameters**           | Select to import parameter definitions from an existing report.                                                                                                                                                     |

{% hint style="info" %}
To view a sample transformation in the PDI client, open `Pentaho/design-tools/data-integration/samples/transformations/Pentaho Reporting Output Example.ktr`.
{% endhint %}

### Metadata injection support

All fields of this step support metadata injection. You can use this step with [ETL metadata injection](/pdia-data-integration/pdi-transformation-steps-reference-overview/etl-metadata-injection.md) to pass metadata to your transformation at runtime.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/pdi-transformation-steps-reference-overview/pentaho-reporting-output.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
