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 →

SAP comfort

With SAP comfort, an SAP BTP service key becomes a ready environment with OAuth 2.0 in one step, and the destinations of a subaccount can be taken over as environments. It is a module of Pro. Exported destination files you already import in Free without a network (OData and SAP).

Edition
from Pro
Service key
command palette Import BTP service key… or rt sap import-key
Destinations
command palette Destinations as environments… or rt sap destinations
Secrets
never in files: keychain or encrypted browser storage
Status
built, not released yet

Import a service key

A service key (JSON) from the SAP BTP holds the credentials of a service. RequestTailor recognises the usual forms: nested with uaa, flat XSUAA and destination service keys, {"credentials": …} and keys with an X.509 certificate.

  1. Open the command palette and choose Import BTP service key….
  2. Paste the service key as JSON under Service key or open the file, and check the name under Environment.
  3. Click Import. The environment is created, unsaved like any change; Open request opens the supplied template.

The environment holds baseUrl (and a variable <endpoint>Url per endpoint of the key), tokenUrl (the UAA address plus /oauth/token), clientId and the secret clientSecret; with X.509 keys the secrets clientCertificate and clientKey. In addition there is the request SAP BTP / Service root (OAuth 2.0) with OAuth 2.0 (client credentials) that reads exactly these variables: one template serves every imported environment. The import has a loss report like every other.

The Import BTP service key dialog after the import: the environment Orders-QAS with baseUrl, apiUrl, uiUrl, tokenUrl, clientId and clientSecret as a secret, the created request Service root (OAuth 2.0) and the Not imported list
After the import the environment is ready; the report names what was not taken over.
rt sap import-key service-key.json --env BTP-QAS
cat service-key.json | rt sap import-key - --env BTP-QAS

--env names the environment (default: the file name), --collection DIR chooses the collection (default: the one of the current folder), --replace replaces an environment of the same name, --json prints JSON.

Destinations as environments

With the service key of a destination service, RequestTailor reads the destinations of the subaccount and of the service instance (an instance destination hides a subaccount one of the same name) and turns the chosen ones into environments named after the destination. The query runs through the app’s normal requests, so natively on the desktop and through the browser or the companion on the web.

  1. First import the service key of a destination service instance as above. The dialog then offers List destinations…; without such an environment, Destinations as environments… points you to the import.
  2. Choose Destinations as environments… in the command palette, then the environment under Destination service and click List destinations.
  3. Tick the destinations you need and click Create … environments: one environment per destination is created, unsaved.
The Destinations as environments dialog with the destinations of the example subaccount: name, level, authentication and URL, two destinations ticked, unsupported ones such as RT_MAIL and the on-premise targets greyed out with a reason
The list shows which destinations can become an environment and why others cannot.
rt sap destinations service-key.json                      # list only
rt sap destinations service-key.json --import QAS_ERP     # take one over
rt sap destinations service-key.json --all                # all supported ones

Supported are the authentication types NoAuthentication (no sign-in), BasicAuthentication (user and secret password) and OAuth2ClientCredentials (tokenUrl, clientId, secret clientSecret), for targets through the internet proxy. A destination’s sap-client becomes the variable sapClient that the OData plugin reads. Everything else (SAML bearer, principal propagation, other auth types, OnPremise and non-HTTP targets) is listed with the reason and not imported. More switches as with import-key: --collection, --replace, --json.

Testing the Integration Suite

The free plugin sap-integration triggers an iFlow through its HTTP endpoint and checks the message processing log as an assertion. SAP comfort adds what happens in the steps in between. The command palette has Integration Suite….

The Integration Suite dialog with the suite order-flows: three iFlows with their expected log status, the payload trace switched on for OrderToInvoice, below it the result 3 passed with the four steps matching the snapshot
A suite triggers several iFlows and checks the log status and, where wanted, the payload after every step.
  • Payload trace per step with a snapshot: The payload after each step is compared with a stored snapshot (integration-suite/<suite>/<iflow>.trace.json). This needs the iFlow to run with log level Trace; otherwise the entry says it could not be judged. Timestamps, UUIDs and the order of JSON keys are normalized first; ignoreKeys and ignoreSteps narrow the comparison. A run never writes the snapshot; “Keep this trace as the snapshot” stages it, unsaved, on your command.
  • Suites over several iFlows: integration-suite/<name>.suite.json names the trigger requests, the status each log has to end in (COMPLETED, FAILED for a negative test) and whether the trace is compared. The summary is green only if every iFlow is.
  • Link “open in iFlowTailor”: The format of the link is a template in the suite ({iflow}, {tenant}, {subdomain}); without a template there is no link.
The Integration Suite dialog after a run in which the tenant changed a mapping: OrderToInvoice is failed, the step Map order to invoice differs at line 8 from 119.00 to 129.00, the other flows are passed
If the payload of a step differs from the snapshot, the suite names the step, the line and both values.

The module sends nothing itself. Every request goes through the core with your tenant’s environment, so with its tokens, guard and masking. The snapshots are masked once more (fields such as password, secret, token, Authorization). Without a licence the app shows one calm hint per device above a POST request in the iflow folder.

Where the secrets stay

Client secrets, private keys and passwords are never in the collection. The app stores them in the operating system’s keychain (in the web app in encrypted browser storage), rt sap in the keychain, where the desktop app finds them as well. Only the reference is in the repository (Secrets and privacy).

Limits

  • X.509 keys are imported (certificate and key as secrets), but a token cannot be fetched with them yet.
  • The sign-in lives in the template requests, not in the collection or environment as a default.
  • Destination properties such as URL.headers.*, URL.queries.* and an OAuth scope are reported in the report but not applied.

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

    SAP comfort (Pro): BTP service keys and destinations ↑Product · RequestTailor Pro repository, modules/sap-enterprise (service_key.rs, destinations.rs, integration/), modules/license/ui/editions/catalog.ts (sap-enterprise, available) · checked on 2026-11-25

Frequently asked

Short answers.

What does SAP comfort do?
It turns an SAP BTP service key into an environment with OAuth 2.0 and takes destinations of the destination service over as environments. In the app through the command palette, on the command line with rt sap.
Do client secrets end up in my collection?
No. Secrets are in the operating system’s keychain or in encrypted browser storage; only the reference is in the collection.
Which destinations are taken over?
Targets through the internet proxy with NoAuthentication, BasicAuthentication or OAuth2ClientCredentials. Everything else is listed with the reason and not imported.
What does SAP comfort add for the Integration Suite?
A payload trace per iFlow step with a snapshot comparison and suites over several iFlows. Triggering an iFlow and checking its log as an assertion stay in Free (plugin sap-integration).

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.