You can use this Tool already. We offer it to selected customers, and it may still change.
Connections links your SAP S/4HANA system with your CDQ Data Mirror and the AI model of CDQ Genius. You set it up once, and every Tool of the CDQ Workbench works with the same systems: nobody enters system details or passwords in the Tools, and wrong settings show up before anyone works with the data.
- The same systems in every Tool: a connection names one S/4HANA system, one Data Mirror and the AI model for CDQ Genius. All Tools work with it, so their data always belongs together.
- No credentials in the Tools: a connection holds only the names of destinations. Users, passwords and API keys stay in your SAP BTP subaccount, where your BTP administrator maintains them.
- Systems checked right away: saving a connection checks each system on its own and shows what works, what doesn't, and why. You find missing permissions before your data stewards do.
- AI model per connection: you choose the AI model CDQ Genius uses with a connection. Want users to switch models? Create one connection per model.
- CDQ Genius at your side: ask why a system can't be used and what to do about it, have a connection checked again, or get a new connection prepared from one sentence. You save it yourself.
You need the role collection CDQ Workbench Admin, and your BTP administrator has set up the destinations (see Prerequisites and Roles). Like every Tool, Connections names the connection you work with in its title, and you choose it there once for all Tools (Choose the connection).
- Open Connections in the space Administration of the launchpad.
- Choose Create, pick the destinations and save: Create a connection.
- Look at the results of the checks on the connection's page: Check the systems of a connection.
- If something can't be used, ask CDQ Genius why: Ask CDQ Genius about a connection.
Then go on with Data Mirror Sync to bring your S/4HANA records into the Data Mirror.
When you open the Tool, you see the list of connections, with CDQ Genius on the left:

The title in the shell bar names the Tool and the connection you've chosen. On the right, the list Connections shows every connection, whichever one is in the title: its Name, S/4HANA Destination and CDQ API Destination, and below each row its Data Mirror, its AI Model Destination and when it was Checked. Above the list, you filter by Name or CDQ API Destination. Create starts a new connection, Delete removes the selected one, and Help explains the list. Choose a row to open the connection. On the left, CDQ Genius offers questions to start with, such as Which connections have a problem?, and takes your own questions in the field at the bottom.
Your BTP administrator sets up one destination per system in your SAP BTP subaccount: one for the S/4HANA system, one for the CDQ API, and one for each AI model. The API key in the CDQ API destination also decides your Data Mirror, CDQ's copy of your business partner data: it's the Data Mirror of the key's CDQ workspace, with its data sources, the parts of the Data Mirror that records go into. The Data Mirror and its data sources are set up in CDQ.
A connection is a name plus these destinations. When you save it, the Workbench checks each system and keeps the result with the connection: for each kind of S/4HANA record (business partners, products) whether it can be read and how many there are; whether the optional S/4HANA APIs that some Tools can do without may be used; whether the Data Mirror can be reached and which data sources it has; and whether the AI model can be used. From then on, every Tool offers the connection in its title, and CDQ Genius uses its AI model while it's chosen.
- Role: the role collection CDQ Workbench Admin. Without it, you don't see the tile, and the Tool tells you that you aren't authorized.
- The connection in the title: Connections, like every Tool, works with the connection chosen in its title (Choose the connection). Its list still shows all connections, because this is where they're maintained.
- Destinations: your BTP administrator has created them in the subaccount: the S/4HANA system, with a technical user that may read business partners and products; the CDQ API, with the API key of a CDQ workspace that has a Data Mirror; and, optionally, one per AI model. See Create the destinations and Open the SAP S/4HANA system.
- Other Tools: none. Connections is the first Tool you set up.
- Create a connection
- Check the systems of a connection
- Ask CDQ Genius about a connection
- Change a connection
- Delete a connection
You need one connection for each S/4HANA system and Data Mirror that the Tools should work with together. The AI model of CDQ Genius is part of it too.
Open Connections on the launchpad.
Choose Create. The page of a new connection opens:

The page starts with General Information: four fields, the mandatory ones marked with an asterisk, each showing an example while it's empty. The bar below the title leads to the other sections, S/4HANA Objects, Optional S/4HANA APIs, Data Mirror, Data Sources in Data Mirror and AI Model. They hold the results of the checks and stay empty or Not Checked until you save. Refresh is inactive while you edit. At the bottom, Create saves the connection and Discard Draft throws it away. Rather not fill the form yourself? Tell CDQ Genius on the left in one sentence which destinations to use, and it fills the form for you (see Ask CDQ Genius about a connection).
Enter a Name, for example S/4HANA Production. The Tools offer the connection by this name.
In S/4HANA Destination, select the destination of your S/4HANA system. The value help lists the destinations of your subaccount.
In CDQ API Destination, select the destination of the CDQ API. It decides which Data Mirror the connection uses.
Optional: in AI Model Destination, select the AI model for CDQ Genius, for example a Claude or a Mistral model. Leave it empty, and CDQ Genius uses the Workbench's default model.
Choose Create.
The connection is saved, and its systems are checked right away (see Check the systems of a connection). Its page shows the name of its Data Mirror below the connection's name, and every Tool offers the connection in its title.
Which AI model? How good CDQ Genius's answers are depends on the model. To let users switch between models, create one connection per model with the same S/4HANA and CDQ API destinations: they choose the model by choosing the connection in a Tool's title. Such connections share one Data Mirror, so only one of them can have an insights job of each kind in Data Mirror Sync.
Special cases:
- A mandatory value is missing: the connection isn't saved, and the missing field is marked. Name, S/4HANA Destination and CDQ API Destination are mandatory.
- The name is already used: the connection isn't saved, and the name is marked. Upper and lower case don't count, so Production and production are the same name.
- The destinations can't be read: the value help shows a warning and no destinations. You can still type the destination's name.
- A system can't be used: the connection is saved anyway. Its check result shows what failed and why, so your BTP administrator can fix it and you can check again.
- The CDQ workspace of the API key has no Data Mirror: the connection is saved, and the Data Mirror shows Not Found, with a message that says what to do: CDQ sets one up for the workspace, or your BTP administrator puts the API key of a workspace with a Data Mirror into the destination.
See whether a connection's systems can be used, and check again after something changed, for example after someone granted permissions in S/4HANA.
Open Connections on the launchpad and choose the connection in the list. Its page opens:

The title is the connection's name, with its Data Mirror below it. Next to it are Edit, Delete and Refresh. General Information shows the name and the destinations. S/4HANA Objects has one row per kind of S/4HANA record, Business Partners and Products, with Available in S/4HANA and the number of Records in S/4HANA; S/4HANA's message in Details and the time it was Checked come with Show Details in the section's toolbar. Data Mirror shows the Data Mirror's name, Data Mirror Available, the system's message in Details if it isn't available, and when it was Checked. Every section has its own Help button.
Scroll down, or choose Optional S/4HANA APIs, Data Sources in Data Mirror or AI Model in the bar below the title, for the rest of the results. Optional S/4HANA APIs has one row per API that a Tool can do without: today Purchase Orders, Sales Orders and Supplier Invoices, which Business Partner Duplicates uses for the activity of business partners. Each row shows what it's Used For, whether it's Available in S/4HANA, and the Communication Scenario that allows it; with Show Details, the message in Details and when it was Checked. A missing API shows as a warning: the connection can be used, only the function the API is used for isn't available.

Data Sources in Data Mirror lists the data sources the check found, each with its Name and Data Source ID as in CDQ. These are the data sources a sync job can send records into. AI Model shows the Model of the connection, for example a Claude model, whether it's available in AI Model Available, the message in Details if it isn't, and when it was Checked.
To check all systems again, choose Refresh.
Every result and its Checked time are updated. Each object and each system is checked on its own, so one failure doesn't hide the other results. What a status means and what to do about it: see Reference.
You don't always have to choose Refresh. Saving checks the systems whose destination changed, every run of Data Mirror Sync updates the result of the S/4HANA object it reads, and CDQ Genius checks the open connection when you ask it to (Check it again).
Special cases:
- You're editing the connection: Refresh is inactive. Save first, then check.
- Your BTP administrator put the API key of another CDQ workspace into the destination: the connection now works with that workspace's Data Mirror. If sync jobs use the connection, the check warns you and names them, because their data sources may not exist in the new Data Mirror. Check each of these jobs in Data Mirror Sync.
CDQ Genius tells you in plain words why a system can't be used and what to do about it, checks a connection again, and prepares a new or changed connection from one sentence. It works with the connection chosen in the title and its AI model, so you create your very first connection on the page yourself. Nothing is saved until you save it.
- Open the list of connections, or the connection you have a question about. CDQ Genius knows what's open: the list with its filters, or the connection with the results of its checks.
- Choose one of the questions to start with, or type your own in the field at the bottom of the panel. On the list, CDQ Genius offers Which connections have a problem?, Which AI models can I choose? and Create a new connection; on a connection, Why can't this be used? and Check it again.
- Read the answer. CDQ Genius opens the list or the connection it talks about.

Here, the question was whether the connection is ready to use. CDQ Genius answers from the stored results of the checks, one line per destination: the S/4HANA destination can read business partners and products, the CDQ API destination reaches the Data Mirror, the AI model destination can be used. It also says when the connection was last checked. On the right, the connection stays open, so you can compare the answer with Data Mirror Available and AI Model Available. Above the input field, the questions to start with of a connection's page are still at hand.
Questions you can ask, and what CDQ Genius does with them:
- Which connections can't read products? CDQ Genius answers from the results of the checks, and the list shows only those connections.
- Why can't this be used? on a connection: CDQ Genius explains the result of the check, says what has to be done and by whom (for example, CDQ sets up a Data Mirror for the CDQ workspace of the destination's API key), and opens the connection.
- Check it again: CDQ Genius runs the check of the open connection and answers with the new result.
- Create the connection Production Opus with S4_PROD, CDQ_API and Claude Opus: CDQ Genius fills the draft of a new connection with these values, says what it filled, and opens it. You check the values and choose Create. For a change of a saved connection, it starts your draft as Edit does; you choose Save.
CDQ Genius never saves, discards or deletes a connection. Ask it to, and it points you to the button on the page. It fills only the fields of the page, and only with destinations your subaccount has. It never knows or asks for credentials.
Special cases:
- You don't name a destination or a model, or one name fits several (for example Opus): CDQ Genius offers the destinations that fit as reply buttons.
- The destination doesn't exist: CDQ Genius fills nothing for it, says so, and offers the destinations that exist.
- The values break a rule, for example the name is already used or a mandatory value is missing: CDQ Genius fills what it can and says what's missing or in conflict. Saving shows the same messages.
- You're already editing the connection: CDQ Genius changes the values in your draft.
- Another admin is editing the connection: nothing changes. CDQ Genius names the admin and says since when.
- CDQ or the AI model can't be reached: CDQ Genius can't answer, but the page works as usual.
Change a connection when a system or its destination changes, or when you want another AI model.
- Open Connections on the launchpad and choose the connection.
- Choose Edit.
- Change the values. Or ask CDQ Genius to change them, for example Use Claude Opus for this connection (see Ask CDQ Genius about a connection).
- Choose Save.
Saving checks again whatever the change affects: the S/4HANA objects and the optional S/4HANA APIs after a new S/4HANA Destination, the Data Mirror after a new CDQ API Destination, the AI model after a new AI Model Destination. A new name alone checks nothing.
A new CDQ API Destination can mean a different Data Mirror. If sync jobs of Data Mirror Sync use the connection, a warning names them, because their data sources may not exist in the new Data Mirror. Check each of these jobs in Data Mirror Sync.
Special cases:
- A mandatory value is missing, or the name is already used: the change isn't saved, and the field is marked, as when you create a connection.
- A system can't be used after the change: the change is saved anyway, and the check result shows what failed and why.
Delete a connection that no Tool needs anymore.
- Open Connections on the launchpad.
- Select the connection in the list, or open it.
- Choose Delete and confirm.
The connection is gone, and the Tools no longer offer it. CDQ Genius doesn't delete connections: that's always your action on the page.
Special case:
- The connection is still in use: it isn't deleted. The message names the sync jobs and insights jobs, and the number of open requests of Business Partner Onboarding, that use it. Delete them or move them to another connection first.
Each section of a connection, and the list, has a Help button that explains its fields (see Get help on a section).
Statuses of a check (in Available in S/4HANA, Data Mirror Available and AI Model Available; for the optional S/4HANA APIs, every status but Available is a warning only)
| Status | Meaning | What to do |
|---|---|---|
| Available | The object or system can be used. | – |
| No Authorization | The system refuses access. Details shows its message. | Ask your BTP administrator to grant access (see the causes below), then choose Refresh. |
| Not Found | The service or the AI model doesn't exist, or the CDQ workspace of the API key has no Data Mirror. | Ask your BTP administrator to check the destination; for the Data Mirror, see Messages below. Then choose Refresh. |
| Error | The system can't be reached or answers with an error. Details shows the message. | Check the message, and choose Refresh later. |
| Not Checked | Not checked yet, for example a new connection before you save it. | Save the connection, or choose Refresh. |
Why a system can't be used
- S/4HANA objects: No Authorization usually means that the communication arrangement for the object is missing in S/4HANA. Not Found means the S/4HANA system doesn't have the object's service. Error means the system can't be reached.
- Optional S/4HANA APIs: No Authorization means that S/4HANA doesn't allow the connection's user to use the API; Details names the communication scenario to set up, for example
SAP_COM_0053(Purchase Order Integration). See Open the SAP S/4HANA system. - Data Mirror: the CDQ workspace of the destination's API key has no Data Mirror (Not Found), the API key is wrong or missing (No Authorization), or the CDQ API can't be reached (Error).
- AI model: SAP AI Core refuses the destination's credentials (No Authorization), the model isn't deployed (Not Found), or the destination doesn't exist or isn't one of an AI model.
- Who fixes it: your BTP administrator, in the destinations of the subaccount or in SAP AI Core; access to S/4HANA objects is granted in the S/4HANA system, and a missing Data Mirror is set up by CDQ. CDQ Genius tells you which applies to a connection.
Messages
| Message | What to do |
|---|---|
| Another connection is already named … | Pick another name. |
| Connection … is still used: … Delete these or move them to another connection first. | Delete the jobs and requests it names, or move them to another connection. Then delete the connection. |
| The Data Mirror of this connection changed. Check the data source of the sync jobs using it: … | Open each sync job it names in Data Mirror Sync and check its data source. |
| The CDQ workspace of the API key in the CDQ API destination … has no Data Mirror: ask CDQ to set one up for the workspace, or ask your BTP administrator to put the API key of a workspace with a Data Mirror into the destination. | Ask CDQ to set up a Data Mirror for that workspace, or ask your BTP administrator for the API key of a workspace that has one. Then choose Refresh. |
| The destinations of the subaccount could not be read: … | Type the destination's name, or ask your BTP administrator. |
| You are not authorized for this Tool. Ask your administrator for the CDQ Workbench role collection it requires: … | Ask your administrator for the role collection CDQ Workbench Admin. |
Connections
- A connection links exactly one S/4HANA system with exactly one Data Mirror.
- A connection's Data Mirror is the one of the CDQ workspace that the API key of its CDQ API destination belongs to. If your BTP administrator puts the API key of another workspace into the destination, every connection with that destination uses that workspace's Data Mirror.
- A connection stores the names of its destinations and the results of its checks, never URLs, users, passwords or API keys.
- Connection names are unique, regardless of upper and lower case.
- A connection can't be deleted while a sync job, an insights job or an open request (not yet sent to S/4HANA) uses it.
- Only users with CDQ Workbench Admin see and maintain connections. Users of the other Tools choose among them in a Tool's title.
- The Connections tile on the launchpad shows the number of saved connections.
Checks
- Each S/4HANA object and each system is checked on its own: one failure doesn't hide the other results.
- A failed check never stops you from saving a connection.
- The optional S/4HANA APIs are checked with the S/4HANA objects. A missing one never makes a connection unusable: only the function it's used for isn't available.
- Saving checks only the systems whose destination changed; a new connection gets all checks.
- Refresh is offered only for a saved connection, not while you edit it.
- The results can't be edited: only the checks and the runs of Data Mirror Sync write them.
- The check of the AI model only asks SAP AI Core whether the model is running; it doesn't use the model.
- CDQ Workbench: the overview of all Tools, CDQ Genius and the roles.
- Data Mirror Sync: the next step. Its sync jobs send the records of a connection's S/4HANA system into a data source of its Data Mirror, and its insights jobs get CDQ's updates.
- Mappings: fits CDQ's values to the S/4HANA Customizing of a connection.
- Business Partner Onboarding and Business Partner Insights: your data stewards create and change business partners in the S/4HANA system of the connection they choose, and apply CDQ's updates to it.
- Set up the CDQ Workbench on SAP BTP: how your BTP administrator sets up the destinations a connection uses.
- Operate and Update the CDQ Workbench on SAP BTP: renewing the credentials in the destinations, and what to check when a system stops working.
We are constantly working on providing an outstanding user experience with our products. Please share your opinion about this tutorial!