Dim oALV As GuiComponent
Set oALV = oSession.FindById("wnd[0]/usr/cntlGRID1/shellcont/shell")
Wie kommst du darauf, dass GuiComponent eine Methode RowCount implementiert?
Die SAP Dokumentation widerspricht dem jedenfalls: GuiComponent (SAP GUI Scripting API)
PS: Lass dir mal Typ und Namen ausgeben, dann weißt du auch erst womit du es zu tun hast.
PPS: Deine Frage ist SAP spezifisch und das hier ist kein SAP Forum!
|