Data, schemas & B2B
The Data, schemas & B2B menu group collects everything about the content of your iFlows: the files inside the archives, duplicated code, data types, value mappings, EDI messages and the structure of real payloads. All six views only read – whatever you change, you download and import yourself.
- Edition
- from Pro
- Menu
- “More” › “Data, schemas & B2B”
- Editions
- all six views from Pro
- Without a tenant
- EDI Workbench and the data type generator
- Writes to the tenant
- never – export as a file
The menu group at a glance
Open More ▾ in the panel and expand Data, schemas & B2B – its subtitle reads “Resources in the iFlows, test data, value mappings, EDI, payload drift”. You can also type the name of a view into the menu search or the command palette (Ctrl/Cmd+K).
| View | What for | Tenant needed |
|---|---|---|
| Resource Explorer | All files in the iFlows, test data from XSD, mapping test bench | yes |
| Reuse & Script Collections | Duplicated code, proposal for a script collection | yes, with tenant index |
| Message Types & Data Types | Data types in the tenant, generator, candidates | only for “In the tenant” and “Candidates” |
| Value Mapping Workshop | Check, lookup, coverage, compare, export | an open tab is needed; the “File” source reads no tenant data |
| EDI Workbench | Read, check, convert and test EDIFACT and X12 | no |
| Payload Drift | Structure signature as a baseline, detect deviations | an open tab is needed; the “Paste” source reads no tenant data |
Many functions become more complete with the tenant index: it knows all iFlows and their files. Without it, the views show a hint with the link Build index.
Resource Explorer from Pro
The Resource Explorer shows every file inside your iFlows in one place: XSD, WSDL, EDMX, XSLT, message mappings (MMAP), JSON, scripts and properties. At the top you pick the source: Open iFlow (loaded live from the editor) or All iFlows (tenant index).

- The source All iFlows (tenant index); next to it Open iFlow.
- Search names and content …
- The type chips, here All and Script with the number of files.
- A file with its iFlow, “used by …” and the chip 4 copies.
- Search names and content … searches file names and file content; the chips All, XSD, WSDL, EDMX, XSLT, MMAP, JSON, Script and Prop filter by type.
- Every row names the step that uses the file (“used by …”) or says it is “not referenced by a step”. The chip … copies marks files that exist in several iFlows.
- In the detail view, Copies in other iFlows marks every copy as identical or differs, with a Diff.
- Open the iFlow in the editor and pick an XSD in the Resource Explorer.
- Click Generate test data. Choose the Root element, the number of Realistic variants (0–20, default 3) and whether to add Negative cases.
- Every case is checked against the schema: valid, fails as expected or unexpectedly valid. New values rolls new data.
- Take the cases with you: All as ZIP (folders
valid/andinvalid/), As XSLT runner input or Save as Groovy sample.
The Mapping test bench runs an XSLT over the generated test data and checks each output against a Target schema (optional); the result reads, for example, “3 of 4 cases OK”. The browser runs XSLT 1.0 only – if the stylesheet uses XSLT 2.0 features, the view warns that results may differ from CPI. Further tools in the detail view: Open in XSD editor, Test in XSLT runner, Test XPath, Open in Groovy runner and Message mapping view.
The list shows at most 300 hits, a file preview 400 lines. Test data uses invented values (companies, test IBAN, fictitious GLN).
Reuse & Script Collections from Pro
The view has two tabs. Check compares all files from the tenant index and finds identical scripts and functions, functions in several variants, similar scripts, identical XSLT, message mappings and schemas, and shared structures. Key figures sit at the top (iFlows, Scripts, Functions, Mappings, XSD, duplicate lines).
Each group carries a recommendation: Move to a script collection, Use the existing script collection, Unify first, Share the mapping, Central data type or Leave as is. Expanded, Why, Before moving and Where explain it; Hide “leave as is” shortens the list.
The Script Collections tab lists every collection of the tenant with its users, the unused marker, its functions and local copies of those functions in iFlows. Referenced but not found shows collections an iFlow uses that do not exist in the tenant. Clicking a name opens the Integration Suite editor at the line.
- Build the tenant index.
- Open Script Collections and click Load contents of all so the check knows the existing functions.
- Back in Check, enter the Name of the collection under Script collection proposal (default
Common_Utils). - Download ZIP gives you a Groovy class with the recommended functions plus a README. You create the collection yourself in the Integration Suite.
Save the analysis as Markdown with Download (wiederverwendung.md). At most 200 groups with 30 places each are shown.
Message Types & Data Types from Pro
Three tabs: In the tenant, Generator and Candidates. The generator is the default and works without a tenant.
- In the tenant: Load data types from the tenant lists data type and message type artifacts per package with a naming check (Names OK). Show XSD loads the content read-only; As template in the generator hands it over. Older tenants do not know these artifact types – a hint says so, and the generator works anyway.
- Generator: from an XSD, an XML sample or a JSON sample you get a data type
DT_…, a message typeMT_…in your namespace and a sample message, each with a Naming check. - Candidates: reads the XSDs from the tenant index and shows namespaces, identical schemas and shared structures as Candidates for central data types; Propose as data type hands a candidate to the generator.

- XSD, XML or JSON sample with the pasted sample.
- Namespace; to the left Name (without DT_/MT_).
- The Naming check, here Names OK.
- The download ⬇ DT_AcmeOrder.xsd; next to it Copy and Open in XSD editor.
- Open Message Types & Data Types › Generator.
- Paste a sample into XSD, XML or JSON sample or click Upload file (.xsd, .xml, .json). With an iFlow open, From open iFlow works too.
- Enter Name (without DT_/MT_) and Namespace, and check Root element and Type.
- Read the Naming check. If you started from a sample rather than an XSD, a hint reminds you to check optional fields and types.
- All as ZIP downloads
DT_….xsd,MT_….xsd, a sample message and a README.
Value Mapping Workshop from Pro
The workshop loads a value mapping read-only – as a Tenant artifact (Choose a value mapping …) or as a File (ZIP, XML or CSV …). The view needs an open Integration Suite tab; with the File source it reads nothing from the tenant, though. The status line shows groups and directions, for example “12 group(s) · 2 direction(s)”.

- The source File; loaded via ZIP, XML or CSV ….
- The Check tab with the number of findings.
- The summary, here “1 errors · 3 warnings · 1 notes”.
- A finding: “Several source values share one target – the reverse lookup is ambiguous”.
- Show rows jumps to the Table with the affected rows.
| Tab | What you do there |
|---|---|
| Table | Search values, Only rows with findings, edit with + Row and Paste from Excel / CSV (Append or Replace all). At most 200 rows are visible. |
| Check | Ambiguous values in both directions, empty values, blanks, upper/lower case, groups with only one side. Without findings: “No findings – the mapping is unambiguous in both directions.” |
| Lookup | Look up a Value the way the runtime does, Source → target or Target → source; similar values are explicitly marked as “not found at runtime”. |
| Coverage | Check a list of values or a payload with XPath (e.g. //Country); Add missing values as rows. |
| Compare | With the same mapping in another tenant tab or a file: only there, only here, different target. |
| Usage | Which iFlows use the mapping (value mapping step, Groovy ValueMappingApi, message mapping) – from the tenant index. |
| AI | Suggest targets for missing values and Review the mapping with Ask Tailor. Values are masked before sending. |
| Export | CSV for this direction, value_mapping.xml or ZIP for the import. |
Changes stay a draft in the view’s memory (“… change(s) not exported”, Discard changes). You import the ZIP yourself: package › Edit › Add › Value Mapping › upload, then save it as a new version.
EDI Workbench from Pro
The EDI Workbench reads, checks, converts and tests UN/EDIFACT and ANSI X12 – entirely in the browser, without a tenant. Paste a message into the field, load a File … or a Template …, or take it From trace … (payloads you loaded in the Trace Explorer during this session). One segment per line and Compact switch the display.
While the field is empty, the templates are offered as chips: ORDERS – purchase order (D.96A, EANCOM style), DESADV – despatch advice with SSCC, INVOIC – invoice with VAT, X12 850 – purchase order (4010), X12 856 – ship notice and X12 810 – invoice.

- The summary: standard, number of messages, sender → receiver, reference.
- The Business view tab.
- Parties with role, name, GLN and address.
- Plausibility: control count, line amounts and total.
| Tab | Content |
|---|---|
| Segments | Every element with Pos, Element, Value and Meaning, including code values. |
| Structure | Segment groups and loops. |
| Business view | Parties, Line items, Totals and Plausibility. |
| Check | UNT/UNZ and SE/GE/IEA counters, ISA field widths, mandatory segments, dates, numbers. Correct counters and references fixes them in one click. |
| XML | SAP EDI XML in both directions; As input in the XSLT runner. |
| Acknowledgment | CONTRL (EDIFACT) or 997 (X12) for the message. |
| Test data | Variants of the current message with exactly one defect each, plus a load test; All as ZIP. |
| Compare | Diff against a second message. |
| AI | Explain the message, Find the cause of the errors, Draft XSLT mapping – partner names, addresses, IBANs and e-mails are masked first. |
- Open EDI Workbench and paste the message (or click the ORDERS – purchase order … template).
- Check the summary above the tabs: standard, number of messages, sender → receiver.
- Open Check. If counters are wrong, click Correct counters and references.
- The Acknowledgment tab creates the CONTRL; Test data › All as ZIP gives you variants for your tests.
The segment list shows at most 1,500 segments; at most 12,000 characters go to Ask Tailor. The field names of the SAP EDI XML are still marked as unverified in the code.
Payload Drift from Pro
Payload Drift derives a structure signature from messages: paths, types and frequency – no values. You save that signature as a Baseline per iFlow and step. Later messages are compared with it, and the view reports New field, Field no longer sent, Optional field not seen, Type changed, Now repeats (list instead of single value) and Was always present, now only sometimes.

- The source Paste; next to it Trace buffer and Groovy samples.
- The messages, separated by a line
---. - The Baseline with date, number of messages and fields; below it Replace baseline, Add to baseline, Delete baseline.
- Comparison with the baseline: Field no longer sent and New field.
- Pick the source: Trace buffer (runs from the Trace Explorer in this session), Groovy samples or Paste.
- Choose iFlow and Step. With Paste, separate several messages with a line
---. - Click Save as baseline. Only the signature is stored, locally per tenant host.
- Later, load new messages. Comparison with the baseline lists the deviations; without any you see “No drift – the structure matches the baseline.”
- Optional: Comparison with XSD via XSD from the index … or XSD file … (XML only). Report (Markdown) copies the result.
Replace baseline, Add to baseline and Delete baseline maintain the baseline; Saved baselines lists them all. The view needs an open Integration Suite tab.
Typical problems
- “The tenant index is empty …” – reuse, candidates and the usage of value mappings need the tenant index. Build it once and it works.
- Value Mapping Workshop or Payload Drift does not open – both need an open, signed-in Integration Suite tab, even if you only check a file.
- “No EDI payload in the trace buffer of this session.” – load the message in the Trace Explorer first (see Monitor & debug).
- XSLT result differs from CPI – the browser runs XSLT 1.0 only. For XSLT 2.0/3.0 use the XSLT runner (see Test).
See also
- Features at a glance Features · Data and B2B
- Further reading SAP Cloud Integration Cookbook – Advanced Cloud Integration with SAP Integration Suite (SAP PRESS)
- Docs Tenant & architecture
- Docs Test
- Docs Ask Tailor (AI)
- Sources Resource Explorer1 · Reuse2 · Data types3 · Value mappings4 · EDI Workbench5 · Payload drift6