1. get column name of SAPGuiTable
columnCount = SAPGuiSession("Session").SAPGuiWindow("transaction:=Vk13").SAPGuiTable("name:=SAPMV13ATCTRL_FAST_ENTRY").ColumnCount ReDim arrColumns(columnCount - 1) Set oColumns = SAPGuiSession("Session").SAPGuiWindow("transaction:=Vk13").SAPGuiTable("name:=SAPMV13ATCTRL_FAST_ENTRY").object.Columns For i = 0 To columnCount-1 arrColumns(i) = oColumns(i).title Next
时间: 2024-10-10 15:42:35