Symptom
One or more of these happen in the SAP Business One Web Client:
- When you use Ask AI, the Web Client says it did not work and that you should ask your administrator.
- The Generative AI section is missing from Company Settings.
- The Generate with AI button in the query editor is hidden or greyed out.
- The model list only offers entries marked (unconfigured), for example
gpt-5 (unconfigured)andgpt-5-mini (unconfigured).
Cause
The AI features in the Web Client run on SAP AI Core in SAP Business Technology Platform (SAP BTP). They only work when the BTP side is set up, the connection details are stored in Company Settings and the users have the right authorizations. If any of these is missing, the features are hidden, disabled or fall back to a placeholder model list.
Prerequisites
- A Pay-As-You-Go account on SAP BTP.
- A BTP subaccount with the extended plan of SAP AI Core (Generative AI Hub).
- Ideally one resource group per company database. SAP strongly recommends this for better cache performance.
- The setup steps in the SAP Business One Web Client user guide ("Enabling AI for Web Client").
Set up the AI features
- In the Web Client, go to Main Menu → Administration → Configuration → General → Company Settings → Generative AI.
- Paste the complete SAP AI Core service key into SAP BTP Service Key and enter the SAP BTP Resource Group. Click Update.
- Select Enabled and choose a model.
- In the desktop client, under General Authorizations, give users Full Authorization for Ask AI App in Web Client.
Troubleshooting
"Generate with AI" is hidden or greyed out
Two authorizations control this button. Check both under Administration → System Initialization → Authorizations → General Authorizations:
- User-Defined Queries App in Web Client controls whether the query editor and the button are visible. With None, the user cannot open the query editor at all.
- Generate User-Defined Queries with AI in Web Client controls whether the button works. With None, the button is visible but disabled, and the server rejects AI requests from this user.
If the button is disabled for all users, check that Enabled is selected in the Generative AI section of Company Settings.
The Generative AI section is missing from Company Settings
The whole section needs its own authorization. Give the administrator who configures AI the Generative AI authorization (permission ID 2909) in General Authorizations. With None, the section is completely hidden.
Models show "(unconfigured)"
This is a built-in fallback list. It means the Web Client could not read the real models from SAP AI Core. Check in this order:
- Service key empty: paste the full AI Core service key JSON into SAP BTP Service Key and click Update.
- Resource group empty: enter the correct name in SAP BTP Resource Group and click Update. Both fields must be filled in together. If you save only one, AI Core stays disabled.
- Invalid service key: the key must be the complete JSON downloaded from SAP BTP and must contain
clientid,clientsecret,urlandserviceurls.AI_API_URL. Paste it again from the original download. - No models deployed: in the SAP AI Core console, make sure at least one model, for example
gpt-5, is deployed and running in the configured resource group.
The model list is empty right after the first setup
After you save the service key and resource group for the first time, the list may still be empty or show "(unconfigured)". Click Update, then Edit again to reload the models, wait a few seconds and open the Model list.
Confirm the result
- The Model list shows the models deployed in your resource group, without "(unconfigured)".
- Ask AI returns an answer.
- A user with both query authorizations can use Generate with AI in the query editor.
If it still does not work, collect the Web Client logs before you open a support case:
- Windows (SQL Server or SAP HANA):
<B1 installation folder>\SAP Business One Web Client\logs - Linux (SAP HANA):
/usr/sap/SAPBusinessOne/WebClient/logs/