ALTERYX CONNECTORS

ALTERYX CONNECTOR FOR SAP
ALTERYX CONNECTOR FOR SAP CX
ALTERYX CONNECTOR FOR BUSINESSOBJECTS
ALTERYX CONNECTOR FOR SUCCESSFACTORS
ALTERYX CONNECTOR FOR SAP RPA
SAP METADATA CONNECTOR FOR ALTERYX CONNECT

KNIME CONNECTORS

KNIME CONNECTOR FOR SAP
KNIME CONNECTOR FOR SUCCESSFACTORS

TABLEAU CONNECTORS

TABLEAU CONNECTOR FOR SAP

POWER BI CONNECTORS

POWER BI CONNECTOR FOR SAP
FREE TRIAL
DVW Analytics
  • Products
    • Alteryx Connectors >
      • Alteryx Connector for SAP
      • Alteryx Connector for SAP Customer Experience (CX)
      • Alteryx Connector for SAP SuccessFactors
      • Alteryx Connector for SAP BusinessObjects
    • Alteryx RPA Tools
    • KNIME Connectors >
      • KNIME Connector for SAP
    • Power BI Connectors >
      • Power BI Connector for SAP
    • Tableau Connectors >
      • Tableau Connector for SAP
    • Dataiku Connectors
    • Snowflake Connectors
    • DVW Flow Tool
  • Demos
    • Alteryx Connector Demos
    • Alteryx RPA Tools Demos
    • KNIME Connector Demos
    • Power BI Connector Demos
    • Tableau Connector Demos
    • Dataiku Connector Demos
    • Snowflake Connector Demos
    • DVW Flow Tool Demos
  • Webinars
    • Alteryx Connector Webinars
    • Alteryx RPA Tools Webinars
    • KNIME Connector Webinars
    • Power BI Connector Webinars
    • Tableau Connector Webinars
    • Dataiku Connector Webinars
    • Snowflake Connector Webinars
    • DVW Flow Tool Webinars
  • Pricing
    • Alteryx Connector Pricing
    • Alteryx RPA Tools Pricing
    • KNIME Connector Pricing
    • Power BI Connector Pricing
    • Tableau Connector Pricing
    • Dataiku Connector Pricing
    • Snowflake Connector Pricing
    • DVW Flow Tool Pricing
  • Free Trial
  • Blog
  • Resources
    • About Us
    • Events
    • Customers
    • Partners
    • Resellers
    • Services
    • Sample Workflows
    • License
    • Help Centre
  • Contact Us

Blog

Extract Spool Output Data from SAP Purchasing Documents (T-Code ME2N) into Alteryx

23/3/2022

 
Picture
The SAP Spool Read tool is used to extract the spool data generated from running SAP Transaction Codes (T-Codes) and SAP Reports directly into Alteryx. The SAP spool saves the output of a report in a file that can be viewed in SAP or exported out of SAP.

In this blog we will show you how to use the SAP Spool Read tool to extract data from the MM (Material Management ) Purchasing Documents by Document Number (T-code ME2N) into Alteryx.
This blog will be split into 2 parts. 

In the first part, we will take a look at the Purchasing Document Report in SAP and generate a spool.

In the second part, we will look at how the SAP Spool Read tool can be used to extract the spool output  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.

1. The SAP Purchasing Document by Document Number  (T-Code ME2N)
The SAP Purchasing Document Reports are some of the most commonly used transactions in SAP ECC and SAP S/4HANA. ​The transactions provide a number of ways for users to list Purchasing Document information; ME2N lists Purchasing documents by document number.
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 Scope of List  allows you to select various layout options.

Picture
The Program menu  allows you to chose how the report is executed.

Picture
​When the transaction is executed the results are retrieved based upon the selections specified above.
To generate a spool the Execute in Background should be selected.
Picture
Picture
Select the default Printer as the Output Device. This can vary but common options are LP01 and LOCAL.

Picture
 Click on the Green tick Continue button.

Picture
Picture
Schedule the job;  for example Immediate.

Picture
Once the Save button has been clicked this window closes and the following message will appear at the bottom of the selection screen.

Picture
Picture
Select Own Jobs from the Systems Menu.

Picture
Picture
In the Job overview page the following fields are important when we configure the ACS Spool Read Tool.  Job Name, Job Created By, Start Date and  Start Time.

Picture
To view the spool output in SAP . Select the row by clicking on the check box and then select Spool.

Picture
Picture
Select the Spool row and display.

Picture

2. Extract the Purchasing Documents by Document Number (T-Code ME2N) using the SAP Spool Read tool in Alteryx​
So, we now have a run the Purchasing Document by Document Number transaction in SAP ECC or SAP S/4HANA and saved the output to a SAP spool request. 

There are a number of ways in which we can replicate the output of the Purchasing Document by Document Number in Alteryx. 

One option is to use the SAP Report tool to extract data directly from ME2N.


Other options include using  the SAP Table Data tool to extract data from tables EKKO and EKPO or 

another option would be to define an SAP Query (T-Codes SQVI / SQ01 / SQ02 / SQ03) referencing tables EKKO and EKPO and use the SAP Query tool to extract the data into Alteryx.

In this blog we the SAP Spool Read tool will be used.

Let's take a look at the construction of an Alteryx workflow using the SAP Spool Read tool to extract data from the Purchasing Documents by Document Number  (T-Code ME2N) 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
The SAP Job name and run details that were generate in SAP  (see Section 1 point 8 above ) are entered into the Selection Parameter on the Selection Tab. ​

Picture
Once the Raw Preview Button is clicked the spool is retrieve from SAP .
Picture
The line containing the header fields needs to be identified. Click on the relevant row and then select Add Header Row No  from the  context menu. After the header row has , click the Confirm Layout  button to review the formatted output. ​
Picture
The Header Row number can be seen in the Parameters tab.
The report columns can be seen in the Fields tab, unrequired fields can be deselected here.
Picture
Finally, an Alteryx browse tool is added to the workflow. 
When the workflow is run the data extracted from the MM Purchase Document by Document Number transaction  (T-Code ME2N) is output in a format ready for further analysis.

Picture
GET A FREE TRIAL TODAY

Comments are closed.

    RSS Feed

    Categories

    All
    ACS
    ACS BOP
    ACS CX
    ACS Metadata
    ACS SF
    Alteryx
    Alteryx Connector For BusinessObjects
    Alteryx Connector For SAP
    Alteryx Connector For SuccessFactors
    Alteryx Gallery
    Alteryx Inspire
    Alteryx RPA Tools
    Alteryx Server
    APA
    Audit
    Augmented Analytics
    BusinessObjects
    Dataiku
    Data Migration
    DVW Flow Tool
    DVW Integration Platform
    Finance
    Flow Tool
    KCS
    KNIME
    KNIME Connector For SAP
    Microsoft Azure
    Office Of Finance
    On Demand Webinar
    Power BI
    Power BI Connector For SAP
    Predictive Analytics
    Process Automation
    Professional Services
    Qlik
    Read Tools
    RPA
    Salesforce
    Salesforce Wave Analytics
    Sample Workflow
    SAP Business Suite
    SAP BW
    SAP C4C
    SAP ECC
    SAP ERP
    SAP HANA
    SAP S/4HANA
    SAP Tables
    SAP T Codes
    SAP T-Codes
    SAP Transaction Codes
    Snowflake
    Snowflake Connector For SAP
    SuccessFactors
    Tableau
    Tableau Connector For SAP
    Tableau Desktop
    Tableau Online
    Tableau Prep
    Tableau Server
    Tax
    TCS
    ThoughtSpot
    Tool: BOP Universe
    Tool: BOP Webi
    Tool: HTML RPA
    Tool: SAP BAPI Read
    Tool: SAP BAPI Write
    Tool: SAP BW Write
    Tool: SAP Document Read
    Tool: SAP IDoc
    Tool: SAP Query
    Tool: SAP Report
    Tool: SAP RPA
    Tool: SAP Spool Read
    Tool: SAP Table Data
    Tool: SuccessFactors Read
    Tool: SuccessFactors Write
    Top 10 Blog
    Webinar
    Write Tools

    Archives

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

Products

​Alteryx Connectors
​KNIME Connectors
​Power BI Connectors
Tableau Connectors
Dataiku Connectors
Snowflake Connectors
​DVW Flow Tool

Free Trial

​Alteryx Connectors
​Free Trial of Alteryx Connector for SAP
​Free Trial of Alteryx RPA Tools
​Free Trial of Alteryx Connector for SAP CX
Free Trial of Alteryx Connector for SAP SuccessFactors
Free Trial of Alteryx Connector for SAP IBP
Free Trial of Alteryx Connector for SAP Ariba
Free Trial of Alteryx Connector for SAP BusinessObjects

​KNIME Connectors
​Free Trial of KNIME Connector for SAP

Power BI Connectors
Free Trial of Power BI Connector for SAP

Tableau Connectors
Free Trial of Tableau Connector for SAP

Dataiku Connectors
Free Trial of Dataiku Connector for SAP

Snowflake Connectors
Free Trial of Snowflake Connector for SAP

DVW Flow Tool
Free Trial of DVW Flow Tool

Services

Pricing

Demos

Blog

Help Centre

About Us

Contact Us

DVW Analytics brings the power of SAP to users of Alteryx, KNIME, Power BI, Dataiku and other global software leaders.

© COPYRIGHT 2003 - 2024 DE VILLIERS WALTON LIMITED. ALL RIGHTS RESERVED.

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.
Privacy Policy
  • Products
    • Alteryx Connectors >
      • Alteryx Connector for SAP
      • Alteryx Connector for SAP Customer Experience (CX)
      • Alteryx Connector for SAP SuccessFactors
      • Alteryx Connector for SAP BusinessObjects
    • Alteryx RPA Tools
    • KNIME Connectors >
      • KNIME Connector for SAP
    • Power BI Connectors >
      • Power BI Connector for SAP
    • Tableau Connectors >
      • Tableau Connector for SAP
    • Dataiku Connectors
    • Snowflake Connectors
    • DVW Flow Tool
  • Demos
    • Alteryx Connector Demos
    • Alteryx RPA Tools Demos
    • KNIME Connector Demos
    • Power BI Connector Demos
    • Tableau Connector Demos
    • Dataiku Connector Demos
    • Snowflake Connector Demos
    • DVW Flow Tool Demos
  • Webinars
    • Alteryx Connector Webinars
    • Alteryx RPA Tools Webinars
    • KNIME Connector Webinars
    • Power BI Connector Webinars
    • Tableau Connector Webinars
    • Dataiku Connector Webinars
    • Snowflake Connector Webinars
    • DVW Flow Tool Webinars
  • Pricing
    • Alteryx Connector Pricing
    • Alteryx RPA Tools Pricing
    • KNIME Connector Pricing
    • Power BI Connector Pricing
    • Tableau Connector Pricing
    • Dataiku Connector Pricing
    • Snowflake Connector Pricing
    • DVW Flow Tool Pricing
  • Free Trial
  • Blog
  • Resources
    • About Us
    • Events
    • Customers
    • Partners
    • Resellers
    • Services
    • Sample Workflows
    • License
    • Help Centre
  • Contact Us