Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Find out Windows ID

Former Member
0 Kudos
393

Hi all,

i got a problem i need to find out the Window ID of a SAP Gui, and i dont find anything to do that. Is this possible or not?

greetings

1 ACCEPTED SOLUTION

pavel_parshenkov2
Participant
0 Kudos
100

hi,

look at class

CL_GUI_FRONTEND_SERVICES

METHOD GET_PLATFORM.

3 REPLIES 3

pavel_parshenkov2
Participant
0 Kudos
101

hi,

look at class

CL_GUI_FRONTEND_SERVICES

METHOD GET_PLATFORM.

0 Kudos
100

Thats not that im searching for :-/. I try to explain what im searching (my english is not the best).

We got a SAP GUI running with a transaktion and i need the Window ID (it should be a hexadecimal number). I need this number to attache a java program to this window, so when i press a button a java program starts and should be start in front of the special window. And the problem here is when i got 6 SAP Windows open it opens randomly infront of a sap window ....

greetings

0 Kudos
100

try through METHOD REGISTRY_GET_VALUE

the windows ID in Registry Path:

HKEY_LOCAL_MACHINE

SOFTWARE

Microsoft

Windows

CurrentVersion

ProductId