RequestTailor 1.0.1 (26 November 2026): requests as files in Git, no account, offline – on the Mac, in the browser and in the pipeline. What’s inside → +43 664 1964199Contact →

OData workbench

The OData workbench adds tools for large services to the free OData plugin: it derives a ready collection from $metadata, builds $expand and $filter by clicking, shows the service as a diagram, turns recordings and HAR files into requests and reports breaking changes between two versions of the metadata. It is a module of Pro; the basics of OData and SAP are in OData and SAP and stay in Free.

Edition
from Pro
Derive
command palette OData: requests from $metadata… or rt odata derive
Tabs
Query, Batch, Navigate, Service diagram, Import trace, SAP messages, Snippets
Runs in
desktop and web; recordings and rt odata natively
Status
built, not released yet
The OData workbench for SAP developers – Pro in RequestTailor · 1:34 min · Watch on YouTube
Chapters and transcript

Chapters

  1. Requests from $metadata
  2. In the tree
  3. Service diagram
  4. Query builder
  5. Batch

What is said in the video

An OData service from S/4HANA or CAP has dozens of entities. The OData workbench in Pro builds everything you need from it. You enter the address and the workbench reads the metadata document.

Out come the requests for every entity. One click and it all sits in the collection: read, create, update, plus navigations, examples and even the draft flow for RAP and CAP. The service diagram shows how the entities connect.

You find the path from one entity to the next without digging through the metadata document. The query builder assembles filter, select and expand from the metadata: you click, and the query is there. Send it like any request.

For writing calls RequestTailor fetches the CSRF token and sets the ETag itself. And several requests become a $batch: you compose it, and the workbench writes the rest. The workbench is part of Pro.

The free OData plugin stays in the core. More at requesttailor.com.

Derive requests from $metadata

Instead of creating every request of a service by hand, you derive the collection from the service’s description: a folder per entity set with reads, navigations, $count, create, examples for $expand, a deep-insert template, value helps and assertions. Services with drafts get a folder that holds the draft flow in the right order, so rt run walks through it.

  1. Open the command palette and choose OData: requests from $metadata… (or the OData workbench tile in New…).
  2. Enter the service’s address under Service root; it may contain variables such as {{baseUrl}}. If you already have the $metadata document, choose Or use a $metadata document you already have and open the file or paste the content.
  3. Under Derive choose what to create: Navigations, $expand examples (with $expand depth, one to six levels), Deep insert, Value helps, Draft flows, Assertions and Fiori defaults (prefilled from the annotations UI.LineItem, UI.SelectionFields and Common.Text). Optionally name the folder.
  4. Click Derive. The summary gives the number of requests and folders and lists under Not derived what could not be derived.
  5. Click Add to collection: the requests land as a new folder in the open collection, unsaved like any change. Without an open collection the button reads Create collection….
The Vertrieb collection after deriving: the tree shows the ZRT_SALES_SRV folder with the subfolders SalesOrderSet and SalesOrderItemSet and requests such as List, Read, Count, Create, Update and Expand in each, next to an open Expand request with the response 200 OK
The $metadata of the example service yields 35 requests in folders per entity set; an expand example runs right away.

Next to the requests the service’s $metadata is stored in the collection as the companion file metadata.xml; the tabs below read it from there. The service address is in the baseUrl variable of the environment.

On the command line

rt odata derive metadata.xml --service-root https://host/sap/opu/odata/sap/ZSALES_SRV/ --out ./sales
rt odata derive metadata.xml --into ./my-collection --collection-name Sales

Per metadata file, --service-root URL, --name NAME and --annotations FILE (repeatable) apply; several files in one call are possible. --out DIR writes a new collection, --into COLLECTION adds a new folder to an existing one. More switches: --collection-name, --base-url-variable N (default baseUrl), --expand-depth N (default 3) and --no-navigation, --no-expand, --no-deep-insert, --no-value-help, --no-drafts, --no-assertions, --no-fiori. rt odata derive --help shows everything.

Build queries by clicking

On a request to a service whose metadata.xml is in the collection, the request editor shows the Query tab. It builds the URL from selections and shows it as Request text; you can type the text as well, both directions stay in step. Without metadata.xml the tab shows a hint instead of the fields.

  • Set chooses the entity set, Fields sets $select (nothing ticked means all fields).
  • Filter knows groups with Combine with and/or, per condition a property, an operator and a value; Filter as typed takes an expression by hand.
  • Order by, Paging ($top, $skip, Count) and Expand: $expand as a tree with its own fields per level, over three levels too. A path finder (Reach type) finds the navigation path to a type.
The Query tab of the Sales orders request with the request text, the fields SalesOrderID, CustomerName, GrossAmount, Currency and LifecycleStatus ticked, the filter GrossAmount gt 100 and the order GrossAmount descending, below it the response 200 OK as JSON
The builder and the request text stay in step; the response contains only the chosen fields of the filtered orders.

In the response area the Navigate tab (for JSON responses) opens the navigations of the response: you click from one record to the next without building the URL.

Compose $batch

The command OData: new $batch request creates a request for $batch (multipart/mixed). In the Batch tab you choose the format (Batch format) and list the single requests with method and path; under Headers and body you add headers and a body. The arrows reorder, the cross removes an entry.

Service diagram

The collection tab Service diagram (header button Collection or the palette) draws the types, sets and relations of a service. The layout of a service with 1,000 types is ready in under two seconds.

The Service diagram collection tab with the entity model of the example service: cards for SalesOrder, SalesOrderItem, Customer and the complex type Address joined by navigations, three function imports below, search, path fields, overlay and zoom on top
The diagram shows the types, sets, navigations and function imports of the service at a glance.
  • Search (“Find a type, set or field”) highlights hits; zoom and Fit move you through the diagram.
  • Path from and Path to show the navigation path between two types; the path can be taken over as $expand into the open request.
  • As an Overlay you lay a trace (Step through calls) or a Heat map over the model, so you see which types a recording touched.
  • Export through the palette: OData: export service diagram as SVG and OData: copy service diagram as Mermaid; a PNG export belongs to the diagram as well.

Import traces and HAR

Recordings of the Tailor family’s OData tools (.odtrace from ODataTailor and FrontTailor) and HAR files become requests with metadata, trigger and duration. As with every import there is a loss report: what was missing (a body the recording did not contain, say) is listed, and masked headers (credentials, for instance) become secret variables without a value.

  1. Choose the palette entry OData: import trace… or the collection tab Import trace.
  2. Open one or more files with Choose trace or HAR files.
  3. Choose the target: As a new collection or Import into the open collection (as a new folder, unsaved).
rt odata import recording.odtrace --out ./recording
rt odata import recording.odtrace --into ./my-collection --name "FrontTailor trace"

Without --out and --into, rt odata import only prints the loss report. Recordings straight from the browser arrive through the recording host as a Git branch of their own in the Recordings tab.

Metadata diff and breaking changes

If a service’s metadata.xml is in the repository, RequestTailor compares it between two revisions. A removed property or a removed required field counts as a breaking change; new optional fields are compatible.

  • rt changelog REV..REV has a Service metadata section with the breaking changes first. Without a Pro licence the section is missing.
  • In the app the changes appear in the diff of two revisions and in the PR review.
  • Two files are compared with rt odata diff before.xml after.xml [--json]; exit code 0 without breaking changes, 1 with.

SAP messages and snippets

The response tab SAP messages turns the error response of a Gateway, RAP or CAP service and the sap-message headers into a list with message, component, transaction id, request id and, where there are any, hints under What to check. The request tab Snippets shows the resolved query as URL, cURL, fetch, SAPUI5 and CAP code to copy.

Response 404 Not Found with the SAP messages tab open: the message Resource not found for segment SalesOrderSet('9999') with code RT_ODATA/404, transaction ID, time, and the hints Resolution and What to check
The Gateway error response becomes a list with message, transaction ID and hints.

The AI assistant Pro adds two tabs: Describe turns a sentence into a query in the builder, Explain explains SAP messages in plain words.

SAP, SAP S/4HANA and SAP Gateway are trademarks or registered trademarks of SAP SE in Germany and other countries. RequestTailor is not a product of SAP SE.

See also

Sources on this page

The superscript numbers in the text point here. Tap one to see the source right where it is used; all sources of this website are listed on one page.

  1. 1

    OData workbench (Pro): derive, query builder, diagram, traces, recordings, metadata diff ↑Product · RequestTailor Pro repository, modules/odata-workbench, modules/license/ui/editions/catalog.ts (odata-workbench, available), docs/welle13.md · checked on 2026-11-25

Frequently asked

Short answers.

Do I need a licence for the OData plugin?
No. The OData plugin with CSRF, ETag, $batch, drafts and Gateway errors is Free. Pro adds the workbench: deriving from $metadata, query builder, diagram, trace import, recordings and metadata diff.
How do I derive requests from $metadata?
Command palette “OData: requests from $metadata…”, give the service address or a $metadata file, choose options, “Derive” and “Add to collection”. On the command line: rt odata derive.
How do I spot breaking changes in $metadata?
With rt changelog REV..REV (section “Service metadata”), in the diff of two revisions in the app or with rt odata diff before.xml after.xml.

Your question isn’t here? Talk to me: +43 664 1964199 office@clouddna.at Get in touch

Contact

Requests in the repo instead of an account? Talk to us.

Free is free and stays free. For an early copy, for Enterprise, for the OData plugin on your SAP system or for a wish for Pro and Team: write to me. I reply within one working day, personally.

Martin KochManaging Director, CloudDNAI read every request myself and reply personally.