on 2020 Nov 17 7:17 AM
Hi ,
Can anybody tell me how to find out the table ID in SAP ?
Cells(1,1) = Session.findById("?").Text
Type in my query and new sap window popup which shows the data i need. I want to copy that data to excel but i just don't know how to get the ID.
thanks for your help
Rookie
Request clarification before answering.
Hello Rookie,
here a tiny approach to detect a GuiTableControl ID on the UserArea.
Set UserAreaChildren = session.findById("wnd[0]/usr").Children
For Each Child In UserAreaChildren
If Child.TypeAsNumber = 80 Then '80 = GuiTableControl
MsgBox Child.ID
End If
Next
Best regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Stefan, it worked and rightly said, am a Rookie 🙂 I see you all over the internet, and i appreciate if you could provide me with links to your resources or any books you have written on SAP Scripting or SAP Automation - Hara
User | Count |
---|---|
73 | |
21 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.