Inspect DDIC Object
sap_get_ddicRetrieve SAP Data Dictionary object definitions by type and name, returning table fields, element attributes, domain values, or CDS source in markdown or JSON.
Instructions
Inspect a Data Dictionary object's definition.
Behavior by type (read-only, release-independent via the DDIC repository tables):
'table' / 'structure': returns the field list (fieldname, position, keyflag, rollname, datatype, leng, decimals, checktable).
'dataelement': returns attributes (domain, datatype, length, decimals).
'domain': returns the domain attributes plus fixed values.
'cds': returns the CDS view DDL source text.
Args:
object_type ('table'|'structure'|'dataelement'|'domain'|'cds').
object_name (string).
response_format ('markdown' | 'json').
Returns (json): { objectType, objectName, detail, rawSource? }.
Examples:
"What fields are in TKEDRS?" -> object_type='table', object_name='TKEDRS'.
"Fixed values of domain BOOLE_D" -> object_type='domain', object_name='BOOLE_D'. Error Handling:
Empty fields -> object may not exist or is not active (as4local='A').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes | DDIC object name (e.g. 'T001', 'BUKRS', 'I_JOURNALENTRY'). | |
| object_type | Yes | DDIC kind: 'table', 'structure', 'dataelement', 'domain', or 'cds'. | |
| response_format | No | Output format: 'markdown' (human-readable, default) or 'json' (structured). | markdown |