Sap Se11 Lookup
sap_se11_lookupRetrieve live ABAP Dictionary metadata for tables or structures, including field names, data types, lengths, and descriptions, as structured data instead of running the SE11 transaction.
Instructions
Look up table or structure metadata from SE11 (ABAP Dictionary). If sap-adt is available, prefer its get_table_fields or get_object_info tools. USE THIS instead of sap_transaction('SE11') - faster and returns structured data. Returns field names, data types, lengths, and descriptions. Supports single name or list of names. Always queries live from SAP. Use object_type='table' for database tables, 'structure' for data structures. For large requests (>10 objects), provide output_file to write results to JSON file instead of returning inline (avoids context overflow).
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": {
"names": "<names>",
"object_type": "<object_type>"
},
"name": "sap_se11_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Single name or list of table/structure names | |
| session | No | Session ID (e.g., "s1", "s2"). None uses primary session. | |
| agent_id | No | Agent identifier for binding check. Optional. | |
| object_type | Yes | 'table' for database tables, 'structure' for structures | |
| output_file | No | If provided, write full results to this JSON file and return summary. Recommended for >10 objects to avoid context overflow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |