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

SAP Gui - Program & ScreenNumber not working anymore

doublus
Explorer
0 Kudos
538

Hi all,

In my vba code I used the info.program and screen number to differentiate between different situations.

Now suddenly the program names and screen numbers changed in SAP. Is this possible due to an SAP update for example? Or do I need to use a different approach to differentiate possible popups so I do not have to change my whole code each time?

Thank you in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Stefan-Schnell
Active Contributor
0 Kudos

Hello @doublus,

yes, with an SAP update it is possible that the screen number changes.

An example how to handle the requirement that screen numbers can be changed can be found in the blog How to Detect UI Element ID with Regular Expressions in SAP GUI Scripting.

Best regards
Stefan