Release 2.9.0.202610171821
This commit is contained in:
30
README.md
30
README.md
@@ -13,11 +13,14 @@ AI Client --(HTTP/JSON-RPC)--> Eclipse Plugin --(ADT REST API / SNC)--> SAP
|
||||
```
|
||||
|
||||
|
||||
## What's new in 2.8.0
|
||||
## What's new in 2.9.0
|
||||
|
||||
- Full DDIC support. `sap_pull_source` reads data elements, domains, and table types as a compact field list. It reads the properties and the technical settings of tables and the properties of structures and type groups in the same form. It reads message classes per message. The new tool `sap_push_fields` changes these fields, except the fields of type groups. It also adds and removes domain fixed values, table type secondary keys, and key components. `sap_compare_systems` compares these types, function group includes, and one system with itself. `sap_object_versions` lists the versions of data elements, domains, and table types. `sap_create_object` reads a new data element, domain, table type, message class, table, or structure after the create and checks the given values. `sap_lock` and `sap_unlock` work on data elements, domains, table types, type groups, and the technical settings of tables. `sap_push_source` and `sap_push_source_from_file` write the source of a type group.
|
||||
- `sap_short_dumps` has filters, paging, and grouping. The filters are `user`, `runtimeError`, `objectName`, `package`, `from`, and `to`. The tool reads up to 500 dumps over several feed pages (`maxDumps`). With `group=true` the tool returns one line per runtime error and top frame.
|
||||
- The new tool `sap_analyze_short_dump` reads one short dump and returns a compact text: the termination point, the source with the failing line marked, the call stack, and the variables of the termination frame.
|
||||
- `sap_syntax_check` checks a text that is not saved (`source`), also for a table or a structure.
|
||||
- EPOD sends each ADT request as Eclipse ADT sends it. It reads the system documents once per system and takes the media types and URIs from them. The tools now also work on older releases (SAP_BASIS 7.54 and higher).
|
||||
- `sap_create_object` creates an object as the Eclipse wizard does: it checks the name and the transport request first. A task number gives its parent request.
|
||||
- `sap_compare_systems` ignores line ends, empty lines at the end, the case of the class name, and the order of the methods, and names what it ignored. It also compares the short text of a message class.
|
||||
- `sap_atc_run` uses the default check variant of the system, as Eclipse does, and names it in the result.
|
||||
- Shorter and corrected tool descriptions: about 2 180 tokens less in each turn (measured with Claude Code), with the same tool choice in the test scenarios.
|
||||
- Bug fixes.
|
||||
|
||||
See [CHANGELOG.md](CHANGELOG.md) for earlier versions.
|
||||
@@ -32,6 +35,7 @@ The server therefore keeps tool responses small and call counts low:
|
||||
- **Member lists without source.** `sap_object_members` returns the members of a 2,000-line class in about 300 tokens.
|
||||
- **Element-level read and write.** Pull one `METHOD` block instead of the class. Push one method back — the server merges it into the full source and sends it to ADT. The model never holds the class.
|
||||
- **One-call edit.** `sap_push_source` runs the full lock → write → unlock → activate pipeline in a single call.
|
||||
- **Compact DDIC reads.** A data element, a domain, or a table type comes as `path = value` lines, not as ADT XML. The domain BUKRS takes 733 bytes instead of 2 377 bytes. Three messages of message class 00 take 212 bytes instead of the class body with 610 782 bytes.
|
||||
- **Compact checks.** `sap_check_object` runs syntax check, ATC, and ABAP Unit in one call and returns findings only — no long text.
|
||||
- **No silent fallbacks.** A tool never falls back to the full source in silence. It states the fallback in the response, or it returns an error.
|
||||
|
||||
@@ -152,7 +156,7 @@ The token buttons sit in the **ABAP MCP Server** view, not on the preference pag
|
||||
When multiple ABAP projects are connected, pass `systemId` (the Eclipse project name) to route a tool call to the right system:
|
||||
|
||||
```json
|
||||
{ "query": "ZCL*", "systemId": "ER1_001" }
|
||||
{ "query": "ZCL*", "systemId": "DEV_001" }
|
||||
```
|
||||
|
||||
- **Single system connected** — `systemId` is optional; the call is routed automatically.
|
||||
@@ -186,7 +190,7 @@ The plugin exposes 33 tools covering the full ABAP development workflow:
|
||||
| `sap_element_info` | Resolve an element to its signature, type, and documentation |
|
||||
| `sap_object_versions` | List the version history of an object (compact): number, date, author, transport, request text. A class splits the feed per include. Set `includeType`. Data elements, domains, and table types have a version feed too. A message class has no version history |
|
||||
| `sap_object_diff` | Diff two versions of an object. The plugin computes a git-style unified diff and never returns two full sources. With no version numbers the tool compares the active version with the newest transported version. Set `element` to diff one member. The tool does not diff data elements, domains, and table types, because the server refuses their version content |
|
||||
| `sap_compare_systems` | Compare the same object in two connected systems, or one system with itself. Set `systemId` and `compareTo`. The tool compares the active versions. For a source the tool computes a git-style unified diff in the plugin. The tool never returns two full sources. A data element, a domain, or a table type gives one line per field that differs. A message class gives one line per message that differs. A table covers the source, the properties, and the technical settings. `include` compares one include of a function group. An object that does not exist in one system gives one line, not an error. Set `element` to compare one member |
|
||||
| `sap_compare_systems` | Compare the same object in two connected systems, or one system with itself. Set `systemId` and `compareTo`. The tool compares the active versions. For a source the tool computes a git-style unified diff in the plugin. The tool never returns two full sources. A data element, a domain, or a table type gives one line per field that differs. A message class gives one line per message that differs. A table covers the source, the properties, and the technical settings. `include` compares one include of a function group. An object that does not exist in one system gives one line, not an error. Set `element` to compare one member. The compare ignores line ends, empty lines at the end, the case of the class name, and the order of the methods, and names each point that it ignored |
|
||||
| `sap_inactive_objects` | List objects that are currently inactive (not yet activated) |
|
||||
|
||||
### Read & Write Source
|
||||
@@ -195,8 +199,8 @@ The plugin exposes 33 tools covering the full ABAP development workflow:
|
||||
|------|-------------|
|
||||
| `sap_pull_source` | Read source code of an ABAP object into the AI context. `element=<member>` returns one `METHOD` block (`part=definition` for the declaration). `includeType` selects a class include: `main` (Global Class, default), `definitions`, `implementations`, `macros`, `testclasses`, `all`. A data element, a domain, or a table type gives one `path = value` line per field. `ddicPart` reads the properties of a table, a structure, or a type group, or the technical settings of a table, in the same form. A message class gives one line per message. `messages` selects message numbers |
|
||||
| `sap_pull_source_to_file` | Fetch source from SAP and write it to a local file (preferred for large objects). Same `element` and `includeType` parameters. For a DDIC object or a message class the file holds the lines of `sap_pull_source`. Without `messages` the file holds all messages |
|
||||
| `sap_push_source` | Write source code from context to an ABAP object in SAP — runs the full lock → write → unlock → activate pipeline in one call. `includeType` selects a class include; a write to `testclasses` creates the include if it is missing |
|
||||
| `sap_push_source_from_file` | Save a local file back to SAP through the same one-call pipeline. Same `includeType` parameter as `sap_push_source` |
|
||||
| `sap_push_source` | Write source code from context to an ABAP object in SAP — runs the full lock → write → unlock → activate pipeline in one call. `includeType` selects a class include; a write to `testclasses` creates the include if it is missing. The tool also writes the source of a type group (`TYPE`). |
|
||||
| `sap_push_source_from_file` | Save a local file back to SAP through the same one-call pipeline. Same `includeType` parameter as `sap_push_source`. The tool also writes the source of a type group (`TYPE`). |
|
||||
| `sap_push_element` | Write one member block. The server merges the block into the current full source and pushes it — the model never holds the class. CLAS and INTF |
|
||||
| `sap_push_fields` | Change fields of a data element, a domain, a table type, or a part of a table or a structure. `ddicPart` selects the properties or, for a table, the technical settings. The lines have the form of the `sap_pull_source` field list. The tool adds and removes domain fixed values, table type secondary keys, and key components. The tool writes the complete object and reads it again |
|
||||
| `sap_push_message` | Write one message or several messages into an existing message class (MSAG). The server reads the class, merges the messages, and writes the class back in one call. A new number is appended. An existing number is updated |
|
||||
@@ -207,9 +211,9 @@ The plugin exposes 33 tools covering the full ABAP development workflow:
|
||||
| Tool | Description |
|
||||
|------|-------------|
|
||||
| `sap_lock` | Lock an object for editing (returns a lock handle). The tool also locks a data element, a domain, a table type, a type group, and the technical settings of a table (`ddicPart`) |
|
||||
| `sap_unlock` | Release a previously acquired lock |
|
||||
| `sap_unlock` | Release a previously acquired lock. For the technical settings of a table, give the same `ddicPart` as for `sap_lock`. |
|
||||
| `sap_activate` | Activate an ABAP object |
|
||||
| `sap_create_object` | Create a new ABAP object: class, interface, program, function group, function module (FUNC), data element, domain, table, structure, table type (TTYP), message class (MSAG), or CDS-family source (DDLS, DDLX, SRVD, DCLS, DDLA). The tool reads a new data element, domain, table type, message class, table, or structure after the create. The create is a success only when the read shows the given values |
|
||||
| `sap_create_object` | Create a new ABAP object: class, interface, program, function group, function module (FUNC), data element, domain, table, structure, table type (TTYP), message class (MSAG), or CDS-family source (DDLS, DDLX, SRVD, DCLS, DDLA). The tool reads a new data element, domain, table type, message class, table, or structure after the create. The create is a success only when the read shows the given values. The tool sends the request of the Eclipse wizard, with the name check and the transport check before the create. `transport` takes a transport request or a task. A task gives its parent request |
|
||||
|
||||
### Transport Management
|
||||
|
||||
@@ -224,9 +228,9 @@ The plugin exposes 33 tools covering the full ABAP development workflow:
|
||||
|
||||
| Tool | Description |
|
||||
|------|-------------|
|
||||
| `sap_syntax_check` | Run a syntax check and return errors and warnings with line numbers |
|
||||
| `sap_syntax_check` | Run a syntax check and return errors and warnings with line numbers; `source` checks a text that is not saved, also for a table or a structure (`include` for a function group include) |
|
||||
| `sap_run_unit_test` | Execute ABAP Unit tests and return pass/fail results |
|
||||
| `sap_atc_run` | Run ATC (ABAP Test Cockpit) checks and return quality findings |
|
||||
| `sap_atc_run` | Run ATC (ABAP Test Cockpit) checks and return quality findings. Without a variant the tool uses the default check variant of the system and names it |
|
||||
| `sap_check_object` | Syntax check, ATC, and ABAP Unit in one call. One line per step, findings only — severity, object, method, line, short message. Set `coverage=true` to add ABAP Unit statement coverage for the global class |
|
||||
| `sap_run_class` | Run a class implementing IF_OO_ADT_CLASSRUN (ABAP console / F9) |
|
||||
| `sap_short_dumps` | List the ABAP short dumps (ST22), newest first: time, user, runtime error, terminated program, top stack frame in the form of the source tools, and dump ID. Filters: `user`, `runtimeError`, `objectName`, `package`, `from`, `to`. `maxDumps` sets the number of dumps (default 100, maximum 500). With `group=true` the tool gives one line per runtime error and top frame, with the count |
|
||||
@@ -236,7 +240,7 @@ The plugin exposes 33 tools covering the full ABAP development workflow:
|
||||
|
||||
| Tool | Description |
|
||||
|------|-------------|
|
||||
| `sap_list_systems` | List all SAP systems currently connected and available for tool calls |
|
||||
| `sap_list_systems` | List all SAP systems currently connected and available for tool calls, with the access mode of each system |
|
||||
|
||||
|
||||
## Standalone mode
|
||||
|
||||
Reference in New Issue
Block a user