on 2023 Apr 26 5:35 PM
Hi,
I am trying to automate the use of the "time sheet" transaction, so I used the scrip recording tool in order to explore the fields and components of the screen.
The two buttons at the bottom (actually pictures) were revealed as:
session.findById("wnd[0]/usr/cntlV_SAVE/shellcont[0]/shell")
session.findById("wnd[0]/usr/cntlV_CANCEL/shellcont[0]/shell")
Though, when I execute these lines from my VBA script, I get a "CONTROL COULD NOT BE FOUND BY ID" error
I get to access everything else on the screen. Filling out the table in a loop works okay. But once I tell the scrip to "click" either the "Confirmar", or "Cancelar" buttons, I get this error.
Is there any walkaround? Any different way for me to refer to these two components?
Any help is appreciated.
Request clarification before answering.
Hi,
normally you can record and play everything with SAP's own scripting tool. That would be this one:
https://blogs.sap.com/2014/08/04/script-recording-playback-for-dummies/
Regards, ScriptMan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
12 | |
8 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.