Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement