tableContents
Read rows from one SAP table or view by name, with optional WHERE filtering. Supports row limit and offset skipping, and is read-only.
Instructions
Read rows of one table or view by name, with an optional WHERE clause - the quickest look at data when you know the table. Reading only: ADT serves no write here. For a join, an aggregate or anything over more than one table use runQuery; to see what FIELDS a table has use getStructureSource, because this answers with data and not with a definition. There is no offset in the backend, so paging fetches offset+rowNumber rows and returns the tail - pass an ORDER BY to make the window stable.
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": {
"ddicEntityName": "<ddicEntityName>"
},
"name": "tableContents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decode | No | Whether to decode the data. | |
| offset | No | Skip this many leading rows. ADT has no offset, so the server fetches offset+rowNumber rows and returns the tail - add an ORDER BY to make the window stable. | |
| sqlQuery | No | An optional SQL query to filter the data. | |
| rowNumber | No | The maximum number of rows to retrieve. | |
| ddicEntityName | Yes | The name of the DDIC entity (table or view). |