cancel
Showing results for 
Search instead for 
Did you mean: 

VBS how to recognize inactive(not editable) cells

Former Member
0 Kudos

Hi,

I'm trying to develop vbs  which change some dates.

The problem is that not all fields are active(editable). Inactive fields are in blue.

How can vbs recognize this cells?

Probably something like that

session.findById("wnd[0]....[1,2]=inactive

Can you help please?

Regards,

Guero

Accepted Solutions (1)

Accepted Solutions (1)

stefan_schnell
Active Contributor
0 Kudos

Hello Guero,

a lot of (or all?) SAP GUI Scripting objects have the property Changeable. In a table you could have e.g. a GuiTextField or GuiCTextField. You can check the changeability with

session.findById("wnd[0]/usr/tabsTABSTRIP1/tblSAPLSUU5TC_AGR/ctxtUSAGR-AGR_NAME[1,0]").Changeable

Cheers

Stefan

Answers (0)