Integration · SAP S/4HANA and SAP ECC
SAP integration: connect your data to WERISCO.
The first audit runs on CSV / Excel extracts of the tables below. An S/4HANA OData connector (stock, purchase orders and movements) is built and validated against SAP's sandbox; it is not yet validated on a customer environment. Nothing is written back.
Connector code exists in the product but is not yet validated on a customer environment. Start on file exports; the live connection is a validated next step.
What WERISCO reads from SAP
| Data | Source in SAP | Used for |
|---|---|---|
| Stock by plant and storage locationMARD | MARD | Inventory health, cover, rebalancing |
| Purchase order linesEKPO | EKPO | PO risk, supplier exposure |
| Material movementsMSEG | MSEG | Consumption, lead-time history, anomalies |
What to export for a first audit
The first supply chain audit needs three exports from SAP, in CSV or Excel: stock by item, consumption history over the last 4 to 12 weeks, and open purchase order lines. A suppliers file with lead times helps but is optional. Your team runs them with reports it already knows; no integration is needed to start.
01
Stock by item
Where to find it in SAP
- MB52 (warehouse stocks on hand) for unrestricted stock by material, plant and storage location; MMBE for a single material; table MARD through SE16N if your role allows it.
Columns
Material, plant, storage location, unrestricted quantity, base unit and unit cost (standard or moving average price).
02
Consumption history, last 4 to 12 weeks
Where to find it in SAP
- MB51 (material document list) for goods issues over the last 4 to 12 weeks, filtered on the movement types that mean consumption in your plant, such as 201 or 261.
Columns
Material, plant, movement type, posting date and issued quantity.
03
Open purchase order lines, with their dates
Where to find it in SAP
- ME2M (by material) or ME2N (by document) with the selection parameter WE101, open goods receipts, so only lines still waiting to be received appear.
- ME80FN when you want to add fields and export in one step. Behind these reports: EKKO (header), EKPO (item) and EKET (schedule lines, which hold the delivery dates).
Columns
PO number, item, material, plant, vendor, open quantity, order unit, schedule line delivery date and, if your suppliers send them, the confirmed date.
Export to Excel or a local file from the report output. Keep the material number as text so leading zeros survive. The full field list is in our guide to preparing an ERP extract.
- Authentication
- Scheduled extract to a secure drop; no SAP credentials are shared with WERISCO.
- Sync
- Scheduled file drop; the interval is set for your environment.
- Write-back
- None. WERISCO reads only; decisions are executed by your team in SAP.
The first audit runs on CSV / Excel file import. An S/4HANA OData connector (stock, purchase orders, movements) is built and validated against SAP's sandbox; not yet validated on a customer environment.
SAP dates are localized to the plant timezone and converted to UTC.
Table and field selections can be extended per customer.
Latin-1 extracts from older systems are supported.
Setup
- 01Agree the connection route during the audit
- 02Configure the scheduled export (templates provided)
- 03First extract, field mapping and a data-quality report
- 04Scheduled refresh switched on
Common data issues in SAP and what they block
Before analyzing anything, WERISCO shows which fields are missing or inconsistent, and what that blocks. These are the issues that come up most often with SAP extracts. WERISCO flags them; it does not change the data in SAP.
| Issue | What it blocks |
|---|---|
| Schedule line dates never updated after the supplier moves a delivery | The real arrival date. WERISCO compares cover against the date on file, so a stale date hides the risk. |
| Material numbers losing their leading zeros when opened in Excel | Matching stock to purchase order lines. The same part looks like two different materials. |
| Order unit different from the base unit (boxes ordered, pieces stocked) | Days of cover per line until the conversion is known. |
| Old lines without the delivery completed indicator | A clean open order list. Phantom open quantities make cover look safer than it is. |
| Blocked or quality inspection stock mixed into the stock file | Usable stock. Only unrestricted stock should count toward cover. |
Security and access
- For the first audit you send files. No SAP user, password or network access is given to WERISCO.
- If you later move to the S/4HANA OData connector (in preview, validated against SAP's sandbox, not yet on a customer environment), it reads through a technical user with read-only authorizations that you create and control.
- WERISCO never writes to SAP: no purchase order, date or master data change is posted back.
Questions
SAP and WERISCO, answered.
- Does WERISCO work with SAP ECC as well as S/4HANA?
- Yes for the first audit, which runs on file extracts. ME2M, ME80FN, MB52 and MB51 exist in both ECC and S/4HANA. The OData connector targets S/4HANA; it is validated against SAP's sandbox, not yet on a customer environment.
- Do we need to give WERISCO access to our SAP system?
- No. The first audit needs three exports you run yourself: stock by material, goods issues over the last 4 to 12 weeks, and open purchase order lines with their delivery dates. No SAP credentials are shared.
- Which SAP transactions does a first audit use?
- Usually ME2M or ME80FN with WE101 for open purchase order lines, MB52 for unrestricted stock and MB51 for goods issues.
- Does WERISCO read production orders, planned orders or BOMs from SAP?
- No. WERISCO reads stock, purchase order lines and goods movements. Planned orders, production orders and BOMs are not part of what it reads or analyzes.
- Does WERISCO change anything in SAP?
- No. WERISCO reads only. Your team decides what to chase and makes any change in SAP itself.
GuideHow to find the late purchase orders that matter in SAP

Supply chain audit
See where your supply chain is exposed.
A 20-minute call and three exports you already run: stock by item, consumption history and open orders. You see the inventory and order value exposed. No integration, no savings estimate, and an NDA if you need one.
