| Purpose | With
GetGridValues
you can read cells in an SAP grid control.
An alternative - but more complicated - is to use SAP GUI Scripting. This requires the activation of SAP GUI Scripting in the SAP profile which is not necessary with .GetGridValues Internally GuiXT uses the keyboard command "Ctrl+C" and then parses the resulting Windows Clipboard content and fills the GuiXT variables. The Windows Clipboard is saved and restored after executing the command. |
||||||
| Example 1 |
GetGridValues
selectedCells="gx" The GuiXT variables V[gx.i.k] receive the content of the selected grid cells. Here i=1,2,3,... is the row number and k=1,2,3,... the column number. |
||||||
| Example 2 |
GuiXT
|
||||||
| Format | GetGridValues selectedCells="name" | ||||||
| Options |
|
||||||
| Remarks |
|
||||||
| Tips & Tricks | |||||||
| Components | GuiXT + InputAssistant |