Important! Read this.

We have launched a new documentation website. If you're using Enterpise Edition 10 (or higher) or Express/Business Edition 2.4.1 (or higher), visit this page.

Skip to end of metadata
Go to start of metadata

We have moved to a new documentation platform. This section is no longer supported. For the up-to-date information, see Create and post incoming invoice in SAP overview.

Problem Statement

A lot of companies use ERP systems to manage their financials, logistics, human resources, etc. SAP is one of the most known ERP systems in the world. The larger the company the greater is the need to use some system to manage company resources. Working in SAP takes a lot of time on different work levels. Thus, automation of this job will save time to focus on other tasks. 

Existing Manual Process

Usually, in order to create and post invoices in SAP, an employee needs to open the application and log in, and then enter all the required fields like Invoice Date, Posting Date, Amount and others manually, which takes a lot of time.

Automation Solution

The example allows to work with MIRO transactions in the SAP GUI desktop client by just starting it. The bot opens the client, logs in, fills in all required fields, and posts the invoice. As the result, a lot of time will be saved.

Example Overview Video

See the video showing how our bot works.

Installation and Getting Started

  1. Extract the sample folder and drop it into your default Workspace in WorkFusion Studio (C:\Users\username\workfusion-workspace\rpae_project).
  2. Open the sample in WorkFusion Studio.
  3. Go to Window > Preferences, expand WorkFusion Studio, and select the Secret Vault tab.
  4. Press the Add button and enter SAP_creds as Alias. Enter the SAP username in the Key column, and the SAP password in Value.
  5. Press Apply and Close.
  6. Edit the following variables:
    1. sap_path – the path to the saplogon.exe

    2. company_code
    3. amount
    4. purchase_order
    5. quantity
  7. Click on the Play recording button.

Download Example

In this example

3 REUSABLE components

  • Calculate the current date and convert it to string
  • Log in to the SAP GUI desktop client
  • Fill in an invoice form and post it in SAP


Install to your PC: 

  • WorkFusion Studio (Intelligent Automation Cloud Express/Business)
  • SAP GUI v. 7.40-7.50 connected to the environment.

Example Workflow

  • No labels