Symptom
When AO has unconfirmed dialogue(like Select Data Source dialogue or variable screen), or when AO is loading data, it is no possible to open Excel, a message 'Excel can't do this because a dialogue box is open' pops up and Excel is not launched.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP Analysis for Microsoft Office
Reproducing the Issue
- Open Analysis Office.
- Click 'Insert Data Source' button.
- With the 'Select Data Source' dialogue still opened, launch Excel from OS start menu.
- A message 'Excel can't do this because a dialogue box is open' pops up and Excel is not launched.
Cause
This symptom is caused by Microsoft Excel design. By default, Microsoft Excel reuses the running Excel process. When there is unconfirmed dialogue or AO is loading data, Excel cannot reuse the running process.
Resolution
Similar to AO launcher parameter '/app XLS /CreateProcess', which can start the Analysis Add-In using a new process if Microsoft Excel is already running. It is also possible to add a parameter for Excel launcher to make Excel always create a new process when being launched.
Please follow the steps below to add the parameter:
- In the OS Start menu, right-click the Excel and select 'Open file location'.
- In the opened folder, right-click the Excel and select 'Properties'.
- Select Shortcut tab, add the ' /x' parameter at the end of the path in 'Target' field.
See Also
Configuring the Analysis Add-In Launcher
https://help.sap.com/docs/SAP_BUSINESSOBJECTS_ANALYSIS_OFFICE/df90d3701aba42b9a4351caa387bd672/f26e754f6c9b1014bf2c9a7eb0e91070.html?locale=en-US
Keywords
Analysis Office, Analysis for Office, A4O, Analysis for Excel, A4O, Excel instance, Excel process, Excel processes, task manager, create process, reuse process , KBA , BI-RA-AO-XLA , Excel Addin , Problem
Product
Attachments
| Pasted image.png |
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public