Sap Select Alv Columns
sap_select_alv_columnsSelects ALV grid columns as header clicks do, so sort, filter, subtotal, and total actions target the chosen columns; use add=true to extend the selection.
Instructions
Select columns of an ALV grid, as a click on their headers does. Does NOT work on GuiTableControl.
columns: comma-separated column names ("" clears the selection). The grid's functions act on the selected columns: Total and Subtotals need one, Sort and Filter take it as their column (sap_press_alv_toolbar_button). The selection is replaced, selected rows included, unless add=true. A name the grid does not have selects nothing: status 'rejected' with unknown_columns.
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>",
"columns": "<columns>"
},
"name": "sap_select_alv_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| columns | Yes | ||
| grid_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||