sap_read_table_data
Read SAP table data with SQL WHERE filtering and field metadata. Returns small to medium datasets directly; large result sets require user confirmation.
Instructions
Reads actual data from a SAP table with optional WHERE clause filtering and metadata inclusion. Use this for small to medium datasets (up to a few thousand rows).
IMPORTANT: If the query returns more than 1000 rows, you will receive a 'requires_confirmation' response with a preview. You MUST ask the user if they want to see all the data before calling again with confirmed=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_rows | No | Maximum rows to return (default: 10000) | |
| confirmed | No | Set to true after user confirms they want large results (>1000 rows) | |
| field_list | No | Comma-separated field names to return (optional, defaults to all fields) | |
| table_name | Yes | Table to read | |
| where_clause | No | SQL WHERE condition for filtering | |
| include_metadata | No | Include field structure metadata |