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