Sap Get Column Info
sap_get_column_infoRetrieve column names, titles, tooltips, data types, key flags, and cell templates from SAP ALV grids or table controls to map table fields for automation.
Instructions
Get detailed column info from an ALV grid or table control.
Returns column names, titles and tooltips; for an ALV grid also each column's data_type (string, date, decimal, ...) and key flag, for a table control each column's cell_type and cell_id template. For a lighter alternative, use sap_read_table with columns_only=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"grid_id": "<grid_id>"
},
"name": "sap_get_column_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||