read_sap_table
Read rows from any SAP table or DB view with ABAP Open SQL filters, field selection, and pagination to retrieve SAP data for analysis.
Instructions
Read rows of any SAP table or DB view, like SE16. FIRST CHOICE for SAP data. For totals use aggregate_sap_table; unsure of field names: describe_sap_table. where: ABAP Open SQL, not OData: 'quoted' literals, internal formats (leading zeros, dates '20250401'), e.g. "KAPPL = 'M' AND KSCHL LIKE 'Z%'". fields: comma list (keys always included); name them, wide tables get large. top max 1000; page with skip (answer gives next_skip). drop_empty omits blank fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| skip | No | ||
| table | Yes | ||
| where | No | ||
| fields | No | ||
| drop_empty | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |