sap_set_batch_fields
Fill multiple SAP GUI input fields in one call to populate forms or selection screens quickly. See success counts and the list of fields that failed, simplifying corrections.
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}.
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 | |||