Skip to content

Commit 8aabf54

Browse files
committed
updated the article
1 parent 67b20e6 commit 8aabf54

1 file changed

Lines changed: 8 additions & 17 deletions

File tree

support/power-platform/power-automate/desktop-flows/sap-automation/cant-capture-element-from-save-as-popup.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,9 @@ This article helps you resolve an issue in which the element picker can't captur
1313

1414
When you use the element picker in Power Automate for desktop, you can't capture or select any elements from the _Save As_ dialog box in SAP.
1515

16-
## Cause
17-
18-
SAP displays different _Save As_ dialog boxes depending on whether [SAP GUI Scripting](/power-automate/guidance/rpa-sap-playbook/prerequisites#sap-gui-scripting-configuration) is enabled:
19-
20-
- _SAP GUI Scripting disabled_: SAP uses the standard Windows _Save As_ dialog box. The standard box doesn't support SAP-specific automation.
21-
- _SAP GUI Scripting enabled_: SAP displays a custom dialog box. The custom box supports automation through SAP-specific actions.
22-
23-
If you enable _SAP GUI Scripting_, the element picker might not maintain the SAP context when the _Save As_ dialog box opens. This issue prevents the element picker from capturing elements from the custom SAP dialog box.
24-
2516
## Solution
2617

27-
### SAP GUI Scripting is enabled
28-
29-
To make sure that the element picker can capture elements from the SAP _Save As_ dialog box, follow these steps:
30-
31-
1. Open the element picker.
32-
33-
1. Before the _Save As_ dialog appears, hover over an SAP GUI element in the main SAP window. This action keeps the element picker in SAP context and lets it capture elements from the custom SAP dialog box.
18+
### Disable Show Microsoft Windows dialogs
3419

3520
1. If the **Show native Microsoft Windows dialogs** option is available, turn it off in the SAP GUI:
3621

@@ -42,7 +27,13 @@ To make sure that the element picker can capture elements from the SAP _Save As_
4227

4328
1. Restart SAP.
4429

45-
### SAP GUI Scripting is disabled
30+
2. If the **Show native Microsoft Windows dialogs** option is not available, make sure that the element picker is in the SAP context to to display the custom SAP dialog box, follow these steps:
31+
32+
1. Open the element picker.
33+
34+
1. Before the _Save As_ dialog appears, hover over an SAP GUI element in the main SAP window. This action keeps the element picker in SAP context and lets it capture elements from the custom SAP dialog box.
35+
36+
### Use mouse and keyboard actions
4637

4738
If SAP displays the standard Windows _Save As_ dialog box instead of the custom SAP dialog box, you can automate the dialog box by using mouse and keyboard actions. For more information, see [Use mouse and keyboard actions](/power-automate/desktop-flows/actions-reference/mouseandkeyboard).
4839

0 commit comments

Comments
 (0)