Sap Set Batch Fields
sap_set_batch_fieldsFill multiple SAP GUI form or selection-screen input fields at once with a field_id-to-value map, including table cells and dropdowns, avoiding repeated single-field calls.
Instructions
Fill in multiple input fields at once (dict of field_id to value).
Use this to fill a form or selection screen in one call — more efficient than repeated sap_set_field calls. Table-control cells work too: take the cell_id template of each column from sap_read_table(columns_only=true) and replace {row}. A dropdown (cmb) takes an entry's key or text, as in sap_set_field.
The result gives counts; results lists only the fields that did NOT
succeed (all of them with verbose=true). Check failed == 0: a field
that was not set does not stop the others. With --strict-errors such a
batch is returned as an error.
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": {
"fields": "<fields>"
},
"name": "sap_set_batch_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Dict mapping field_id -> value. | |
| verbose | No | List every field in `results`, not only the failures. | |
| validate | No | Press Enter after setting fields and return status-bar feedback. Skipped when no fields were actually set, and when any field failed (`failed` > 0) unless validate_partial=true. `validation.performed` is false when Enter was not pressed or SAP refused it (then with `error`). | |
| skip_readonly | No | Silently skip fields whose element reports Changeable == False instead of counting them as failures. | |
| validate_partial | No | With validate=true, press Enter even when some fields failed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||