General information
Category:
COM/DCOM and OLE Automation
Hello,
I've developped a little programm which is doing the logon to SAP.
Then I call an internal SAP program which has to run with different variants for 35 times (35 variants).
I've solved this with API-Functions which are sending keystrokes to the SAP window:
(FindWindow(Null, "SAP Logon 640")
= keybd_event(ALT_CONTROL, 0, 0, 0) etc.)
This works fine if you do pauses between the keybd_events.
Also it is easy to find out which SAP window is active at the moment.
But now my question:
is it possible (and how) to read/write the content of an input filed of the SAP mask?.
In my program I have to count how many tabs or "Downs/Ups" I have to send to reach the input field I want.
Would be more elegant to write the value directly to the field.
many thanks in advance for your answer
best regards
Marcus
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only