getStructureSource
Retrieve a table or structure's DDL text and parsed field list with types and key flags from SAP ADT, covering both tables and structures.
Instructions
Read the definition of a table or structure as ADT serves it: the DDL text plus the parsed field list with types and key flags. Works for TABL/DT and TABL/DS alike - both come from the same endpoint. This is the way to see a table's fields: searchObject answers a table with a SAPGUI bridge URI and objectStructure shows only its metadata.
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": {
"name": "<name>"
},
"name": "getStructureSource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Table or structure name, e.g. ZAPPSTEP. | |
| version | No | Which version to read: "active" or "inactive". For DDIC the backend may answer with the working version either way, so prove an activation with inactiveObjects, not with this. |