# 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 %}
