sap_set_field
Set literal text in a SAP GUI field by element ID via ActiveX/COM scripting, scoped to the current session window to automate data entry.
Instructions
Set literal text through SAP GUI ActiveX/COM scripting, scoped to wnd[N] in this session.
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>",
"text": "<text>"
},
"name": "sap_set_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| element_id | Yes |