Is is possible to find out the total number of columns in a table that is displayed on an SAP screen?
Currently there is no function in GuiXT that returns the number of columns, but you can count the number yourself:
label colcount
if cell[Table,&V[i],1]
Set V[i] &V[i] + 1
goto colcount
endif
Message "column count: &V[i]"