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

SAP WM/EWM Table Relationships

Interactive Data Model Diagram

SAP WM / EWM Table Relationships

An interactive reference showing how SAP Warehouse Management (classic WM) and Extended Warehouse Management (EWM) tables connect across transfer orders, stock, handling units, storage bins and warehouse structure - in SAP ECC, SAP S/4HANA and embedded EWM.

SAP warehouse data lives in two parallel table sets: classic WM (LTAK/LTAP/LQUA and related tables, still used in many ECC and S/4HANA landscapes) and Extended Warehouse Management (EWM), which uses a separate /SCWM/ namespace and is the strategic platform in S/4HANA. Understanding how these tables join together - and which set applies to your warehouse - is essential for building stock-accuracy dashboards, pick-productivity reports, slotting analytics and dock-to-stock cycle-time analyses.

Use the diagram below to explore table relationships visually, or scroll to the quick-reference guide for a complete list of tables, join keys and system compatibility. Note that EWM tables (/SCWM/ namespace) only exist in S/4HANA or decentralised EWM systems; classic WM exists in both ECC and S/4HANA.

Read the Full Blog Post

Interactive Data Model

Hover over any table to see its description, key fields and system compatibility. Dashed red borders indicate S/4HANA-specific tables; purple borders indicate EWM (/SCWM/) tables which only exist in S/4HANA or decentralised EWM.

WM Transaction
Master Data
EWM (S/4HANA)
S/4HANA
Configuration
Transfer Orders (Classic WM) LTBK TR Header LTAK TO Header LTBP TR Item LTAP TO Item TBNUM TANUM TR to TO WM Stock (Classic) LQUA Quant (Bin Stock) LEIN Storage Unit LAGP Storage Bins LGPLA moves stock EWM (/SCWM/ - S/4HANA) /SCWM/ORDIM_O WT Open /SCWM/ORDIM_C WT Confirmed /SCWM/HUHDR HU Header confirm /SCWM/QUAN EWM Quants /SCWM/PRDO Outbound Delivery /SCWM/PRDI Inbound Delivery /SCWM/LAGP EWM Bins HUIDENT creates WT LGPLA Material Documents (Goods Movements) MKPF Mat Doc Header MSEG Mat Doc Items MATDOC Universal Mat Doc MBLNR S/4 replaces TO confirm Material Master MARA Material (General) MARC Material (Plant) MARD SLoc Stock MCHA Batches (Plant) MATNR MATNR, WERKS MATNR, WERKS MATNR stock update Configuration T001W Plants T001L Storage Locations T300 WM Warehouse Nos T320 SLoc-WH Assign config: WERKS config: LGORT config: LGNUM SLoc to WH

Quick-Reference Guide

All SAP WM and EWM tables shown above with their primary join keys and SAP system compatibility.

Table Description Primary Join Keys System
WM Transfer Orders - Transactional
LTAK Transfer Order Header LGNUM, TANUM ECC + S/4HANA
LTAP Transfer Order Item LGNUM, TANUM, TAPOS ECC + S/4HANA
LTBK Transfer Requirement Header LGNUM, TBNUM ECC + S/4HANA
LTBP Transfer Requirement Item LGNUM, TBNUM, TBPOS ECC + S/4HANA
WM Stock - Transactional
LQUA Quant (stock in bin) LGNUM, LQNUM ECC + S/4HANA
LEIN Storage Unit Header LGNUM, LENUM ECC + S/4HANA
WM Master Data
LAGP Storage Bins LGNUM, LGTYP, LGPLA ECC + S/4HANA
Material Documents (Goods Movements)
MKPF Material Document Header MBLNR, MJAHR ECC (compat view in S/4)
MSEG Material Document Items MBLNR, MJAHR, ZEILE ECC
MATDOC Universal Material Document (replaces MKPF+MSEG) MBLNR, MJAHR, ZEILE S/4HANA
Material Master
MARA Material Master - General MATNR ECC + S/4HANA
MARC Material - Plant Data MATNR, WERKS ECC + S/4HANA
MARD Storage Location Stock (LABST, INSME, SPEME) MATNR, WERKS, LGORT ECC + S/4HANA
MCHA Batches (per plant) MATNR, WERKS, CHARG ECC + S/4HANA
EWM (/SCWM/ namespace)
/SCWM/ORDIM_O EWM Warehouse Task (open) LGNUM, TANUM, TAPOS S/4HANA
/SCWM/ORDIM_C EWM Warehouse Task (confirmed) LGNUM, TANUM, TAPOS S/4HANA
/SCWM/HUHDR Handling Unit Header (HUIDENT) GUID_HU S/4HANA
/SCWM/QUAN EWM Quants (stock on hand) LGNUM, CAT, STOCK_TYPE, OWNER S/4HANA
/SCWM/PRDO EWM Outbound Delivery Order DOCID S/4HANA
/SCWM/PRDI EWM Inbound Delivery Order DOCID S/4HANA
/SCWM/LAGP EWM Storage Bins LGNUM, LGPLA S/4HANA
Configuration
T001L Storage Locations WERKS, LGORT ECC + S/4HANA
T001W Plants WERKS ECC + S/4HANA
T300 WM Warehouse Numbers LGNUM (WERKS) ECC + S/4HANA
T320 Storage Location / Warehouse Assignment WERKS, LGORT, LGNUM ECC + S/4HANA

Related Resources

Explore more SAP content from DVW Analytics.

SAP WM/EWM Tables Blog Post

Detailed descriptions of every table shown in this diagram, with practical tips for building warehouse analytics workflows.

DVW Help Centre

Guides and documentation for the DVW Connector for SAP, DVW Flow Tool and other DVW products. Available to free trial and paid users.

Try it free for 30 days

Free 30-day trial. Full functionality. No commitment.

Start Your Free Trial
Watch demos View pricing Talk to our team
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