Read grid
Read an ALV grid (GuiGridView) into a table, using the column titles as names.
Command in the SAP GUI toolkit · id ooa.sap/read_grid · 5 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| ID | String | Yes | Scripting id from the SAP script recorder, e.g. wnd[0]/usr/ctxtVBAK-AUART. | |
| Maximum rows | Number | No | 5000 | Safety limit. |
| Connection | Number | No | 0 | SAP connection number (0 = first open system). |
| Session | Number | No | 0 | Session (window) number within the connection (0 = first). |
| Technical names | Boolean | No | false | Name the columns by their technical field names (e.g. MATNR) instead of their titles. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Grid content. |