Sap Set Focus
sap_set_focusSets focus to a SAP GUI screen element by ID before sending keys or triggering field actions like F4 search help, ensuring required controls are active.
Instructions
Set focus to any screen element by its ID.
Some SAP actions require focus on a specific element before they work (e.g., F4 search help on a field). Use this to set focus before sending keys with sap_send_key.
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": {
"element_id": "<element_id>"
},
"name": "sap_set_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||