Sap Click Table Cell
sap_click_table_cellClicks a specific cell in an SAP ALV grid table, targeting the correct clickable element, to open detail views after reading table data. Supports single- or double-click actions.
Instructions
Click a cell in an ALV grid table. Automatically targets the correct clickable element (hotspot span vs TD). Use after sap_read_table to navigate to detail views.
Session parameter:
session=None (default): Uses primary session ("s1")
session="s2": Targets specific session (for parallel agents)
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": {
"row": "<row>",
"column": "<column>"
},
"name": "sap_click_table_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Row number (1-indexed, data rows start at 1) | |
| action | No | "click" for single click, "dblclick" for double-click | click |
| column | Yes | Column index (0-based) or column header name | |
| session | No | Session ID (e.g., "s1", "s2"). None uses primary session. | |
| agent_id | No | Agent identifier for binding check. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Row that was clicked (1-indexed) | |
| error | No | Error message if success=False | |
| popup | No | Present when a popup dialog is active on screen | |
| column | Yes | Column that was clicked (index or header) | |
| success | No | Whether the operation succeeded | |
| page_title | No | Page title after click | |
| was_hotspot | No | Whether cell was a navigation hotspot | |
| active_window | No | Which window was operated on (e.g., 'wnd[0]', 'wnd[1]'). If 'wnd[1]' or higher, a modal dialog is open. | |
| selector_used | Yes | CSS selector that was used for the click |