sap_set_batch_fields
Fill multiple SAP GUI form fields, table cells, and dropdowns in one call instead of setting them one by one, returning success and failure counts.
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).
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. | |
| skip_readonly | No | Silently skip fields whose element reports Changeable == False instead of counting them as failures. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||