cancel
Showing results for 
Search instead for 
Did you mean: 

VBA_ERROR 619_"The control could not be found by id."

0 Kudos
1,817

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

script_man
Active Contributor
0 Kudos

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