cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP GUI (7.40) Scripting Changes Table UI

former_member695387
Discoverer
0 Likes
779

I am running into an issue where a UI changes, but I don't want it to change, while recording a script.

1. Without scripting: The specific window I bring up looks like it uses "System Defaults" for display.

2. With scripting recording: it looks like the "Dialog (modal)" display setting is turned on (found in Help -> Settings -> F4 Help).

Are there any registry keys or other settings I can use to disable UI changes while scripting? I already disabled "ShowNativeWinDlgs" but that had no effect.

Accepted Solutions (0)

Answers (2)

Answers (2)

Stefan-Schnell
Active Contributor
0 Likes

Hello Wolfgang,

you want to realize that a person and a script interacts parallel on the same UI. In my opinion is this approach like one car with two drivers at the same time. If a script runs on a system where a user works parallel I recommend you to use the method LockSessionUI. When it is necessary that a user must take some inputs, the user should communicate with the script and not with the automated UI below.

Best regards
Stefan

former_member695387
Discoverer
0 Likes

I think this is a "feature" of SAP GUI Scripting.

sandra.rossi the problem we hit is that we want scripting + a person interacting with SAP. When the UI changes, that person can not copy data out of SAP GUI. The UI doesn't seem to support clipboard interactions when scripting is active.

Ideally we would keep the more person-friendly UI (so no change for them), while still having scripting turned on.

Sandra_Rossi
Active Contributor

OK.

Please use the COMMENT button for comments, questions, adding details, replying to OP comment, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.