Products

Solutions

Pricing

Free Trial

Blog

Demos & Recordings

Webinars

Events

Contact Us

DVW Analytics
  • Products
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP
      • DVW KNIME Connector for SAP
      • DVW Dataiku Connector for SAP
    • DVW Flow Tool >
      • DVW Flow Tool
      • DVW Employee Master Data Migration for SAP Solutions
    • DVW RPA Tools for SAP >
      • DVW Alteryx RPA Tools for SAP
      • DVW KNIME RPA Tools for SAP
      • DVW Flow Tool RPA Tools for SAP
  • Solutions
    • SAP Analytics
    • SAP Data Migration
    • SAP Process Automation
    • SAP Data for AI and Machine Learning
  • Pricing
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP Pricing
      • DVW KNIME Connector for SAP Pricing
      • DVW Dataiku Connector for SAP Pricing
    • DVW Flow Tool >
      • DVW Flow Tool Pricing
    • DVW RPA Tools for SAP >
      • DVW RPA Tools Pricing
  • Free Trial
  • Resources
    • About Us
    • Customers
    • Partners
    • Resellers
    • Services
    • Help Centre
    • Sample Workflows
    • License
  • Insights
    • Blog
    • SAP Data Models >
      • SAP FI/CO Table Relationships - Interactive Data Model Diagram
      • SAP SD Table Relationships - Interactive Data Model Diagram
      • SAP Inventory Management Table Relationships - Interactive Data Model Diagram
      • SAP Purchasing Table Relationships - Interactive Data Model Diagram
      • SAP PP Table Relationships - Interactive Data Model Diagram
      • SAP QM Table Relationships - Interactive Data Model Diagram
      • SAP PM Table Relationships - Interactive Data Model Diagram
      • SAP WM Table Relationships - Interactive Data Model Diagram
      • SAP HCM Table Relationships - Interactive Data Model Diagram
      • SAP PS Table Relationships - Interactive Data Model Diagram
    • Demos & Recordings >
      • DVW Connectors for SAP >
        • DVW Alteryx Connector for SAP Demos
        • DVW KNIME Connector for SAP Demos
        • DVW Dataiku Connector for SAP Demos
      • DVW Flow Tool >
        • DVW Flow Tool Demos
      • DVW RPA Tools for SAP >
        • DVW RPA Tools for SAP Demos
    • Webinars
    • Events
  • Contact Us

Blog

Extract PM (Plant Maintenance) Order Data into Alteryx (T-Code IW39)

24/2/2022

 
Picture
The SAP Report tool is used to extract data from SAP Transaction Codes (T-Codes) and SAP Reports directly into Alteryx. In this blog we will show you how to use the SAP Report tool to extract data from the PM (Plant Maintenance) Order Data transaction (T-Code IW39) into Alteryx.
This blog will be split into 2 parts. 

In the first part, we will take a look at the Display PM Order transaction in SAP.

​In the second part, we will look at how the SAP Report tool can be used to execute the Display PM Order Display transaction from within Alteryx.

If you would like to follow the steps described in this blog, you will need:
  • Alteryx Designer - Request a trial here.
  • DVW ACS for Alteryx Designer - Request a trial here.
  • Access to an SAP ECC or SAP S/4HANA system

If you have access to Alteryx Gallery and would like to download the workflow presented in the blog, click here.
Picture

1. The SAP Display PM Order transaction (T-Code IW39)

The SAP Display PM Order transaction is one of the most commonly used transactions in SAP ECC and SAP S/4HANA. ​The transaction provides a number of ways for users to search for and display plant maintenance order related data.
Picture
Picture
Picture
The Find Variant button retrieves any variants associated with the transaction. The variant is a powerful piece of functionality in SAP. It allows a user to save the selection criteria entered into the transaction selection screen and reuse it when running the transaction.

Picture
The Order Status section allow you to retrieve orders base on different statuses. ​

Picture
The Order Selection section provides a range of selection fields to select orders. ​

Picture
The Others area is used to control the Layout that is used to present the transaction output. If no Layout is explicitly selected, then a default Layout is used. You can also limit the number of records displayed in the output. 

​When the transaction is executed the results are retrieved based upon the selections specified above. The output is displayed using the selected (or default) Layout.

Picture

2. Execute the Display PM Order transaction (T-Code IW39) using the SAP Report tool in Alteryx

So, we now have a basic understanding of how the Display PM Order transaction works in SAP ECC or SAP S/4HANA.
 
There are a number of ways in which we can replicate the output of the Display PM Order transaction in Alteryx. 

One option is to use the SAP Table Data tool to extract data from tables AFKO and AUFK. 
​
Another option would be to define an SAP Query (T-Codes SQVI / SQ01 / SQ02 / SQ03) referencing tables AFKO and AUFK and use the SAP Query tool to extract the data into Alteryx.

​In this blog though, we are going to use the SAP Report tool. The SAP Report tool is one of our Advanced Tools and unlike the SAP Table Data tool and SAP Query tool it requires the installation of a DVW Function Module on your SAP system to use it.

Let's take a look at the construction of an Alteryx workflow using the SAP Report tool to extract data from the Display PM Order (T-Code IW39) transaction.
Picture

Picture
The SAP ECC system to be accessed is selected on the Parameters tab of the SAP Logon tool. Details of the selected SAP system along with the credentials of the logged in user are passed to the other tools in the workflow.

Picture
Picture
 Transaction Code, IW39 is selected on the Parameters tab of the SAP Report tool. The screen shot below shows the "final state" configuration of the SAP Report tool ready for workflow execution.

Picture
In the steps below, we will show you how configure the SAP Report tool to extract data from the SAP PM Order Display (T-Code IW39) transaction.
​

The initial state of the SAP Report tool looks like this:
Picture
Picture
The Object Type drop down list supports Report and Transaction Code (T-Code). For this example, we will select Transaction Code.

Picture
Use the Search String field to enter the technical name of the Report or the Transaction Code. For this example, we will specify Transaction Code, IW39.

Picture
Click the Search button to trigger the search for the entered Report or Transaction Code.

Picture
The results of the search are displayed in the Select Report drop-down list.

Picture
Select Variant is a key feature of the SAP Report tool. If Variants have been defined for the selected Report or Transaction Code in SAP, they are available for selection from the Select Variant drop down list. 
​
Selection of a Variant automatically applies the order/status selection criteria and list output settings  ​to the extract. 

If you select a Variant, you do not need to manually define the order/status selection criteria and list output settings etc. in the SAP Report tool. 
​​
For our example, we will not select a Variant and will apply our selection settings manually.

​Once the Report or Transaction Code is confirmed, the Filters tab is automatically populated with the available selection criteria.  
​
If a Variant is selected, the Filters tab can be ignored. We have chosen not to use a Variant so the IW39 transaction selection criteria are entered manually using the Filters tab. You can also copy the filter values from a variant by clicking the Copy  button. 

Picture
We want to extract data based on the following criteria:
  • Order status - outstanding or in process
  • Order type - ZMR1
  • ​Period - between 08.07.2010 and 06.10.2021
  • Layout - /PM PELINDO

The criteria translate into the SAP Report tool as follows:
Picture
Note:  Date should be entered in the format of  "YYYYMMDD"
​We now need to address the format of the output. 

​The SAP output is not presented in a format that can be immediately used within Alteryx.
Picture
To convert the output to a format that can be used within Alteryx go to the Sample Data tab and click the Raw Preview  button. The SAP Report tool retrieves a sample extract of data from the selected Report or Transaction. ​
Picture
​We need to  identify where the Header starts in the output. 
​
In our example, the Header starts at row number 2. The Header Row No field can be entered manually or by clicking on row number 2 in the Sample Data tab and using a right-mouse click to display a context menu. Select Add Header Row No ​from the context menu.
Picture
After the header row has , click the Confirm Layout  button to review the formatted output.
Picture
You can also deselect any fields you would like to ignore in the Fields tab. ​
Picture
Picture
 Finally, an Alteryx browse tool is added to the workflow. 
​
​When the workflow is run the data extracted from the PM Order Display transaction (T-Code IW39) is output in a format ready for further analysis.

Picture
GET A FREE TRIAL TODAY

Comments are closed.

    RSS Feed

    Categories

    All
    AI & Machine Learning
    Alteryx Connector
    Audit
    Dataiku Connector
    Data Migration
    Flow Tool
    KNIME Connector
    Process Automation
    Product Updates
    Reporting & Analytics
    RPA Tools For SAP
    SAP Data Extraction
    SAP S/4HANA
    SAP Tables
    Use Cases
    Webinar

    Archives

    April 2026
    March 2026
    February 2026
    December 2025
    November 2025
    October 2025
    August 2025
    July 2025
    October 2024
    September 2024
    July 2024
    June 2024
    February 2024
    October 2023
    June 2023
    May 2023
    March 2023
    February 2023
    January 2023
    June 2022
    March 2022
    February 2022
    December 2021
    November 2021
    October 2021
    May 2021
    April 2021
    December 2020
    October 2020
    June 2020
    February 2020
    September 2019
    June 2019
    August 2018
    June 2018

Products​
​SAP Connectors
DVW Alteryx Connector for SAP
DVW KNIME Connector for SAP
​DVW Dataiku Connector for SAP

DVW Flow Tool
DVW Flow Tool

RPA Tools for SAP
DVW Alteryx RPA Tools for SAP
DVW KNIME RPA Tools for SAP
DVW Flow Tool RPA Tools for SAP
Resources & Insights
Blog
Webinars
Watch Demos
Events
Solutions
SAP Analytics
SAP Data Migration
SAP Process Automation
SAP Data for AI and ML
Company
About Us
Contact Us
Pricing
Free Trial

[email protected]
Get started
​Start Free Trial
View Pricing
Book a Demo
DVW Analytics gives business users and technical teams direct read and write access to SAP data from Alteryx, KNIME, Dataiku, Power BI, Databricks, Snowflake, and more. Trusted by 500+ organisations worldwide.
© COPYRIGHT 2003 - 2026 DE VILLIERS WALTON LIMITED. ALL RIGHTS RESERVED.
Privacy Policy
Cookie Policy
De Villiers Walton Limited. Registered in England and Wales. Company No. 04638006. VAT No. GB 807714429. Registered Office:  Ground Floor Marlborough House, 298 Regents Park Road, London, N3 2SZ, United Kingdom

SAP® Business Suite, SAP® BusinessObjects™, SAP® BW, SAP® SuccessFactors are the trademarks or registered trademarks of SAP SE in Germany and in several other countries.
  • Products
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP
      • DVW KNIME Connector for SAP
      • DVW Dataiku Connector for SAP
    • DVW Flow Tool >
      • DVW Flow Tool
      • DVW Employee Master Data Migration for SAP Solutions
    • DVW RPA Tools for SAP >
      • DVW Alteryx RPA Tools for SAP
      • DVW KNIME RPA Tools for SAP
      • DVW Flow Tool RPA Tools for SAP
  • Solutions
    • SAP Analytics
    • SAP Data Migration
    • SAP Process Automation
    • SAP Data for AI and Machine Learning
  • Pricing
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP Pricing
      • DVW KNIME Connector for SAP Pricing
      • DVW Dataiku Connector for SAP Pricing
    • DVW Flow Tool >
      • DVW Flow Tool Pricing
    • DVW RPA Tools for SAP >
      • DVW RPA Tools Pricing
  • Free Trial
  • Resources
    • About Us
    • Customers
    • Partners
    • Resellers
    • Services
    • Help Centre
    • Sample Workflows
    • License
  • Insights
    • Blog
    • SAP Data Models >
      • SAP FI/CO Table Relationships - Interactive Data Model Diagram
      • SAP SD Table Relationships - Interactive Data Model Diagram
      • SAP Inventory Management Table Relationships - Interactive Data Model Diagram
      • SAP Purchasing Table Relationships - Interactive Data Model Diagram
      • SAP PP Table Relationships - Interactive Data Model Diagram
      • SAP QM Table Relationships - Interactive Data Model Diagram
      • SAP PM Table Relationships - Interactive Data Model Diagram
      • SAP WM Table Relationships - Interactive Data Model Diagram
      • SAP HCM Table Relationships - Interactive Data Model Diagram
      • SAP PS Table Relationships - Interactive Data Model Diagram
    • Demos & Recordings >
      • DVW Connectors for SAP >
        • DVW Alteryx Connector for SAP Demos
        • DVW KNIME Connector for SAP Demos
        • DVW Dataiku Connector for SAP Demos
      • DVW Flow Tool >
        • DVW Flow Tool Demos
      • DVW RPA Tools for SAP >
        • DVW RPA Tools for SAP Demos
    • Webinars
    • Events
  • Contact Us