# Export purchase orders from SAP ECC manually

Using the following process, you can manually execute a query to retrieve purchase order data in SAP ECC and then upload the data to Fairmarkit’s SFTP.

### Query for purchase orders <a href="#queryforpurchaseorders" id="queryforpurchaseorders"></a>

Use the following process to export your purchase orders for use in Fairmarkit.

{% stepper %}
{% step %}
Open the SAP ECC home page and enter *ME80FN* in the field in the top, left corner of the screen.\
The General Evaluations screen displays.
{% endstep %}

{% step %}
From the menu, select **Program > Execute**.\
The Purchasing Documents screen displays.
{% endstep %}

{% step %}
Click the **Export** button, and then select Local File from the menu.\
A save screen displays.
{% endstep %}

{% step %}
Keep the **unconverted** format (default), and enter a **File Name**, ensuring it ends with the .*csv* file extension.
{% endstep %}

{% step %}
Click **Generate**.\
The file with the data is saved locally on your computer.
{% endstep %}
{% endstepper %}

### Upload data to Fairmarkit Files <a href="#uploaddatatofairmarkitfiles" id="uploaddatatofairmarkitfiles"></a>

Use the following steps to upload your data to Fairmarkit. Within 15 minutes from uploading, your data will be available in Fairmarkit.

{% stepper %}
{% step %}
Login to Fairmarkit Files ([files.fairmarkit.com](https://files.fairmarkit.com/login)).

{% endstep %}

{% step %}
Add your file to the *to\_fairmarkit* folder for the environment (UAT, staging, or production) where you want to create your events.\
Example: *production/to\_fairmarkit/*
{% endstep %}
{% endstepper %}


---

# 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.fairmarkit.com/buyers/integrations/sap-ecc-integration/purchase-order-sync/export-purchase-orders-from-sap-ecc-manually.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.
