|
1 | 1 | --- |
2 | 2 | title: Troubleshoot Capturing Elements from SAP Save As Dialog |
3 | | -description: Learn how to fix the issue where the element picker can't capture elements from the SAP _Save As_ dialog in Power Automate for desktop automation. |
| 3 | +description: Resolves an issue in which the element picker can't capture elements from the SAP _Save As_ dialog box in Power Automate for desktop automation. |
4 | 4 | ms.reviewer: iomimtso, ststavri, nimoutzo, v-shaywood |
5 | 5 | ms.custom: sap:Desktop flows\SAP automation |
6 | 6 | ms.date: 11/19/2025 |
7 | 7 | --- |
8 | 8 | # Can't capture elements from SAP Save As dialog |
9 | 9 |
|
10 | | -This article helps you resolve an issue where the element picker can't capture elements from the _Save As_ dialog in SAP automation with Power Automate for desktop. |
| 10 | +This article helps you resolve an issue in which the element picker can't capture elements from the _Save As_ dialog box in SAP automation with Power Automate for desktop. |
11 | 11 |
|
12 | 12 | ## Symptoms |
13 | 13 |
|
14 | | -When you use the element picker in Power Automate for desktop, you can't capture or select any elements from the _Save As_ dialog in SAP. |
| 14 | +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. |
15 | 15 |
|
16 | 16 | ## Cause |
17 | 17 |
|
18 | | -SAP displays different _Save As_ dialogs depending on whether SAP GUI Scripting is enabled: |
| 18 | +SAP displays different _Save As_ dialog boxes depending on whether SAP GUI Scripting is enabled: |
19 | 19 |
|
20 | | -- _SAP GUI Scripting disabled_: SAP uses the standard Windows _Save As_ dialog, which doesn't support SAP-specific automation. |
21 | | -- _SAP GUI Scripting enabled_: SAP displays a custom dialog that supports automation through SAP-specific actions. |
| 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 | 22 |
|
23 | | -When you enable _SAP GUI Scripting_, the element picker might not maintain the SAP context when the _Save As_ dialog opens. This issue prevents the element picker from capturing elements from the custom SAP dialog. |
| 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 | 24 |
|
25 | 25 | ## Solution 1: SAP GUI Scripting is enabled |
26 | 26 |
|
27 | | -To ensure the element picker can capture elements from the SAP _Save As_ dialog: |
| 27 | +To make sure that the element picker can capture elements from the SAP _Save As_ dialog box, follow these steps: |
28 | 28 |
|
29 | 29 | 1. Open the element picker. |
30 | 30 |
|
31 | | -1. Before the _Save As_ dialog appears, hover over an SAP GUI element in the main SAP window. |
| 31 | +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. |
32 | 32 |
|
33 | | - 1. This action keeps the element picker in SAP context and lets it capture elements from the custom SAP dialog. |
34 | | - |
35 | | -1. If available, turn off the **Show native Microsoft Windows dialogs** option in the SAP GUI: |
| 33 | +1. If the **Show native Microsoft Windows dialogs** option is available, turn it off in the SAP GUI: |
36 | 34 |
|
37 | 35 | 1. Go to **Options** > **Accessibility & Scripting** > **Scripting**. |
38 | 36 |
|
39 | | - 1. Uncheck the **Show native Microsoft Windows dialogs** box. |
| 37 | + 1. Clear the **Show native Microsoft Windows dialogs** checkbox. |
40 | 38 |
|
41 | 39 | :::image type="content" source="media/cant-capture-element-from-save-as-popup/sap-disable-windows-dialogs.png" alt-text="Show native Microsoft Windows dialogs in SAP Settings."::: |
42 | 40 |
|
43 | | - 1. Restart SAP after you change this setting. |
| 41 | + 1. Restart SAP. |
44 | 42 |
|
45 | 43 | ## Solution 2: SAP GUI Scripting is disabled |
46 | 44 |
|
47 | | -If SAP displays the standard Windows _Save As_ dialog instead of the custom SAP dialog, you can automate the dialog by using mouse and keyboard actions. For more information, see [Use mouse and keyboard actions](/power-automate/desktop-flows/actions-reference/mouseandkeyboard). |
| 45 | +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). |
48 | 46 |
|
49 | 47 | ## Related content |
50 | 48 |
|
|
0 commit comments