@mcp-abap-adt/compact 24.2.2 → 26.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -7
- package/docs/AVAILABLE_TOOLS.md +67 -31
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @mcp-abap-adt/compact
|
|
2
2
|
|
|
3
|
-
The compact MCP server over **stdio** — the command that serves all
|
|
4
|
-
leftover sessions, background runs and batch mode (`HandlerBatch`). The
|
|
3
|
+
The compact MCP server over **stdio** — the command that serves all 30, the four debugger tools, the
|
|
4
|
+
leftover sessions, background runs and batch mode (`HandlerBatch`). The 18 that change nothing alone are
|
|
5
5
|
[`@mcp-abap-adt/compact-ro`](https://www.npmjs.com/package/@mcp-abap-adt/compact-ro)
|
|
6
6
|
(`mcp-abap-adt-compact-ro`): the binary fixes the tool set (19.0.0), there is no `--exposition`.
|
|
7
7
|
Streamable HTTP is [`@mcp-abap-adt/compact-http`](https://www.npmjs.com/package/@mcp-abap-adt/compact-http)
|
|
@@ -73,19 +73,22 @@ smaller install, and it is not a sandbox — code that deliberately reaches into
|
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
75
|
npm install -g @mcp-abap-adt/compact
|
|
76
|
-
mcp-abap-adt-compact --system-type=<onprem|cloud> # stdio: all
|
|
76
|
+
mcp-abap-adt-compact --system-type=<onprem|cloud> # stdio: all 30, the debugger tools, leftover sessions, background runs
|
|
77
77
|
mcp-abap-adt-compact --version
|
|
78
78
|
|
|
79
79
|
npm install -g @mcp-abap-adt/compact-ro
|
|
80
|
-
mcp-abap-adt-compact-ro --system-type=<onprem|cloud> # the
|
|
80
|
+
mcp-abap-adt-compact-ro --system-type=<onprem|cloud> # the 18 that change nothing, the leftover-session list
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
For partial source reads, `HandlerGetPartial` summarizes the object, browses
|
|
84
|
+
its elements, and retrieves selected code. See [Source Parts](../docs/user-guide/SOURCE_PARTS.md#compact-tools).
|
|
85
|
+
|
|
86
|
+
**The binary fixes the tool set.** `mcp-abap-adt-compact` serves all 30 tools (every access, which
|
|
84
87
|
is what a local server gives), the four debugger tools, the debugger batch (`HandlerDebugBatch`),
|
|
85
|
-
the leftover-session list and logoff, the background-run tools and `HandlerBatch` —
|
|
88
|
+
the leftover-session list and logoff, the background-run tools and `HandlerBatch` — 40; `HandlerGetData`, one of the 30, only with `--enable-data-tools` (41). `mcp-abap-adt-compact-ro` serves the 18 tools that change nothing — the reads, searches,
|
|
86
89
|
where-used, checks and validations, the unit-test status and result reads, the profiler list and
|
|
87
90
|
view, the dump list and view, the service-binding type list, the abapGit reads (`HandlerAbapGitGet`) — with the background-run tools, `HandlerBatch` and the
|
|
88
|
-
leftover-session list —
|
|
91
|
+
leftover-session list — 22, `HandlerGetData` (one of the 18) only with `--enable-data-tools` (23); its tool list is exactly these, so a client calls only them. `--exposition`
|
|
89
92
|
(`ro`, `rw`, `debug`, any word) and a config file's `exposition` stop the start with a sentence
|
|
90
93
|
naming the binary to install instead, e.g. *--exposition is gone (19.0.0): the binary fixes its tool
|
|
91
94
|
set, so remove it; the compact tools that change nothing are served by `mcp-abap-adt-compact-ro`
|
package/docs/AVAILABLE_TOOLS.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Generated from the built packages, not from source text: these are the tool
|
|
4
4
|
definitions a client receives.
|
|
5
5
|
|
|
6
|
-
- Tools:
|
|
6
|
+
- Tools: 41
|
|
7
7
|
- Read-only half: `@mcp-abap-adt/compact-readonly-entries`
|
|
8
8
|
- Modifying half: `@mcp-abap-adt/compact-modify`
|
|
9
9
|
- Debugger verbs: `@mcp-abap-adt/compact`, served by the write binaries always, by no `-ro` binary
|
|
@@ -15,7 +15,7 @@ definitions a client receives.
|
|
|
15
15
|
## How it works
|
|
16
16
|
|
|
17
17
|
One tool per OPERATION, with the object in `object_type`: `HandlerCreate` with
|
|
18
|
-
`object_type: "CLASS"` rather than a `CreateClass` tool.
|
|
18
|
+
`object_type: "CLASS"` rather than a `CreateClass` tool. 41 schemas instead of
|
|
19
19
|
the object-oriented surface's hundreds, for a host that cannot select tools
|
|
20
20
|
per request.
|
|
21
21
|
|
|
@@ -25,15 +25,15 @@ per request.
|
|
|
25
25
|
|
|
26
26
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
27
27
|
|
|
28
|
-
**Description:** [read-only] Reads the metadata of a package (DEVC), reads the contents of a package (DEVC), reads the metadata of a domain (DOMA), reads the metadata of a data element (DTEL), reads the source code of a table (TABL), reads the metadata of a table (TABL), reads the source code of a structure (TABL), reads the metadata of a structure (TABL), reads the metadata of a table type (TTYP), reads the source code of a CDS view (DDLS), reads the metadata of a CDS view (DDLS), reads the source code of a service definition (SRVD), reads the metadata of a service definition (SRVD), reads the binding definition of a service binding (SRVB), reads the metadata of a service binding (SRVB), reads the URLs of a service binding (SRVB), reads the source code of a class (CLAS), reads the metadata of a class (CLAS), reads the local test classes of a class (CLAS), reads the local types of a class (CLAS), reads the local definitions of a class (CLAS), reads the local macros of a class (CLAS), reads the source code of a program (PROG), reads the metadata of a program (PROG), reads the source code of an include (PROG), reads the metadata of an include (PROG), reads the source code of an interface (INTF), reads the metadata of an interface (INTF), reads the metadata of a function group (FUGR), reads the source code of a function module (FUGR), reads the metadata of a function module (FUGR), reads the source code of a behavior definition (BDEF), reads the metadata of a behavior definition (BDEF), reads the source code of a behavior implementation (CLAS), reads the metadata of a behavior implementation (CLAS), reads the source code of a metadata extension (DDLX), reads the metadata of a metadata extension (DDLX), reads an ABAP Unit run's result, reads a CDS unit test run's result, reads the objects of a transport, reads the header of a transport, reads the technical settings of a table (TABL), reads the text elements of a program (PROG), reads the text elements of a function group (FUGR), reads the text elements of a class (CLAS), reads the main programs (PROG) of an include (PROG), reads whether a repository object holds an unactivated change, and whose, reads a repository object's structure, reads a repository browser node, reads virtual folders, reads an activation run's status, reads an activation run's results. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
28
|
+
**Description:** [read-only] Reads the metadata of a package (DEVC), reads the contents of a package (DEVC), reads the metadata of a domain (DOMA), reads the metadata of a data element (DTEL), reads the source code of a table (TABL), reads the metadata of a table (TABL), reads the source code of a structure (TABL), reads the metadata of a structure (TABL), reads the metadata of a table type (TTYP), reads the source code of a CDS view (DDLS), reads the metadata of a CDS view (DDLS), reads the source code of a service definition (SRVD), reads the metadata of a service definition (SRVD), reads the binding definition of a service binding (SRVB), reads the metadata of a service binding (SRVB), reads the URLs of a service binding (SRVB), reads the source code of a class (CLAS), reads the metadata of a class (CLAS), reads the local test classes of a class (CLAS), reads the local types of a class (CLAS), reads the local definitions of a class (CLAS), reads the local macros of a class (CLAS), reads the source code of a program (PROG), reads the metadata of a program (PROG), reads the source code of an include (PROG), reads the metadata of an include (PROG), reads the source code of a type group, reads the metadata of a type group, reads the source code of an interface (INTF), reads the metadata of an interface (INTF), reads the metadata of a function group (FUGR), reads the source code of a function module (FUGR), reads the metadata of a function module (FUGR), reads the source code of a behavior definition (BDEF), reads the metadata of a behavior definition (BDEF), reads the source code of a behavior implementation (CLAS), reads the metadata of a behavior implementation (CLAS), reads the source code of a metadata extension (DDLX), reads the metadata of a metadata extension (DDLX), reads an ABAP Unit run's result, reads a CDS unit test run's result, reads the objects of a transport, reads the header of a transport, reads the technical settings of a table (TABL), reads the text elements of a program (PROG) in its original language, reads the text elements of a function group (FUGR), reads the text elements of a class (CLAS), reads the main programs (PROG) of an include (PROG), reads whether a repository object holds an unactivated change, and whose, reads a repository object's structure, reads a repository browser node, reads virtual folders, reads an activation run's status, reads an activation run's results. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
29
29
|
|
|
30
30
|
**Available in:** cloud, onprem
|
|
31
31
|
|
|
32
32
|
**Parameters:**
|
|
33
33
|
|
|
34
|
-
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS, and the parts object_structure, node_structure, virtual_folders.
|
|
34
|
+
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS, and the parts object_structure, node_structure, virtual_folders.
|
|
35
35
|
- `object_type` — ABAP object type for routed compact operation.
|
|
36
|
-
- `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced). main_programs (INCLUDE): the include's main programs. draft (PROGRAM, INCLUDE, INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
|
|
36
|
+
- `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced). Size returns the source address, bytes, lines, source_hash and etag without its text. main_programs (INCLUDE): the include's main programs. draft (PROGRAM, INCLUDE, INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
|
|
37
37
|
- `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
38
38
|
- `package_name` — Package name.
|
|
39
39
|
- `package_names` — Several package names (part contents), read together, as GetPackageContents answers them: at detail terse each package's rows under its '# asked' line, else one entry per package, in the order given.
|
|
@@ -43,6 +43,7 @@ per request.
|
|
|
43
43
|
- `interface_name` — Interface name.
|
|
44
44
|
- `program_name` — Program name.
|
|
45
45
|
- `include_name` — Include name.
|
|
46
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
46
47
|
- `domain_name` — Domain name.
|
|
47
48
|
- `data_element_name` — Data element name.
|
|
48
49
|
- `table_name` — Table name.
|
|
@@ -64,6 +65,8 @@ per request.
|
|
|
64
65
|
- `object_adt_type` — ADT type code of the object (object_structure) or of the parent node (node_structure).
|
|
65
66
|
- `object_name` — Object name (object_structure) or parent name (node_structure).
|
|
66
67
|
- `node_id` — Node id to expand (node_structure); the root when absent.
|
|
68
|
+
- `start_line` — First line of the source to answer, from 1. Without it, from the first line.
|
|
69
|
+
- `end_line` — Last line of the source to answer, included. Without it, to the last line.
|
|
67
70
|
- `with_short_descriptions` — Include short descriptions (node_structure).
|
|
68
71
|
- `object_search_pattern` — Object name pattern (virtual_folders).
|
|
69
72
|
- `preselection` — Facet preselections (virtual_folders).
|
|
@@ -71,13 +74,13 @@ per request.
|
|
|
71
74
|
- `with_versions` — Include versions (virtual_folders).
|
|
72
75
|
- `ignore_short_descriptions` — Leave out short descriptions (virtual_folders).
|
|
73
76
|
|
|
74
|
-
**On ABAP Cloud (`cloud`):** [read-only] Reads the metadata of a package (DEVC), reads the contents of a package (DEVC), reads the metadata of a domain (DOMA), reads the metadata of a data element (DTEL), reads the source code of a table (TABL), reads the metadata of a table (TABL), reads the source code of a structure (TABL), reads the metadata of a structure (TABL), reads the metadata of a table type (TTYP), reads the source code of a CDS view (DDLS), reads the metadata of a CDS view (DDLS), reads the source code of a service definition (SRVD), reads the metadata of a service definition (SRVD), reads the binding definition of a service binding (SRVB), reads the metadata of a service binding (SRVB), reads the URLs of a service binding (SRVB), reads the source code of a class (CLAS), reads the metadata of a class (CLAS), reads the local test classes of a class (CLAS), reads the local types of a class (CLAS), reads the local definitions of a class (CLAS), reads the local macros of a class (CLAS), reads the source code of a program (PROG), reads the metadata of a program (PROG), reads the source code of an include (PROG), reads the metadata of an include (PROG), reads the source code of an interface (INTF), reads the metadata of an interface (INTF), reads the metadata of a function group (FUGR), reads the source code of a function module (FUGR), reads the metadata of a function module (FUGR), reads the source code of a behavior definition (BDEF), reads the metadata of a behavior definition (BDEF), reads the source code of a behavior implementation (CLAS), reads the metadata of a behavior implementation (CLAS), reads the source code of a metadata extension (DDLX), reads the metadata of a metadata extension (DDLX), reads an ABAP Unit run's result, reads a CDS unit test run's result, reads the objects of a transport, reads the header of a transport, reads the technical settings of a table (TABL), reads the text elements of a program (PROG), reads the text elements of a function group (FUGR), reads the text elements of a class (CLAS), reads whether a repository object holds an unactivated change, and whose, reads a repository object's structure, reads a repository browser node, reads virtual folders, reads an activation run's status, reads an activation run's results. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
77
|
+
**On ABAP Cloud (`cloud`):** [read-only] Reads the metadata of a package (DEVC), reads the contents of a package (DEVC), reads the metadata of a domain (DOMA), reads the metadata of a data element (DTEL), reads the source code of a table (TABL), reads the metadata of a table (TABL), reads the source code of a structure (TABL), reads the metadata of a structure (TABL), reads the metadata of a table type (TTYP), reads the source code of a CDS view (DDLS), reads the metadata of a CDS view (DDLS), reads the source code of a service definition (SRVD), reads the metadata of a service definition (SRVD), reads the binding definition of a service binding (SRVB), reads the metadata of a service binding (SRVB), reads the URLs of a service binding (SRVB), reads the source code of a class (CLAS), reads the metadata of a class (CLAS), reads the local test classes of a class (CLAS), reads the local types of a class (CLAS), reads the local definitions of a class (CLAS), reads the local macros of a class (CLAS), reads the source code of a program (PROG), reads the metadata of a program (PROG), reads the source code of an include (PROG), reads the metadata of an include (PROG), reads the source code of a type group, reads the metadata of a type group, reads the source code of an interface (INTF), reads the metadata of an interface (INTF), reads the metadata of a function group (FUGR), reads the source code of a function module (FUGR), reads the metadata of a function module (FUGR), reads the source code of a behavior definition (BDEF), reads the metadata of a behavior definition (BDEF), reads the source code of a behavior implementation (CLAS), reads the metadata of a behavior implementation (CLAS), reads the source code of a metadata extension (DDLX), reads the metadata of a metadata extension (DDLX), reads an ABAP Unit run's result, reads a CDS unit test run's result, reads the objects of a transport, reads the header of a transport, reads the technical settings of a table (TABL), reads the text elements of a program (PROG) in its original language, reads the text elements of a function group (FUGR), reads the text elements of a class (CLAS), reads whether a repository object holds an unactivated change, and whose, reads a repository object's structure, reads a repository browser node, reads virtual folders, reads an activation run's status, reads an activation run's results. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
75
78
|
|
|
76
79
|
**Parameters (`cloud`):**
|
|
77
80
|
|
|
78
|
-
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS, and the parts object_structure, node_structure, virtual_folders.
|
|
81
|
+
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS, and the parts object_structure, node_structure, virtual_folders.
|
|
79
82
|
- `object_type` — ABAP object type for routed compact operation.
|
|
80
|
-
- `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced). draft (INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
|
|
83
|
+
- `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced). Size returns the source address, bytes, lines, source_hash and etag without its text. main_programs (INCLUDE): the include's main programs. draft (INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
|
|
81
84
|
- `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
82
85
|
- `package_name` — Package name.
|
|
83
86
|
- `package_names` — Several package names (part contents), read together, as GetPackageContents answers them: at detail terse each package's rows under its '# asked' line, else one entry per package, in the order given.
|
|
@@ -87,6 +90,7 @@ per request.
|
|
|
87
90
|
- `interface_name` — Interface name.
|
|
88
91
|
- `program_name` — Program name.
|
|
89
92
|
- `include_name` — Include name.
|
|
93
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
90
94
|
- `domain_name` — Domain name.
|
|
91
95
|
- `data_element_name` — Data element name.
|
|
92
96
|
- `table_name` — Table name.
|
|
@@ -108,6 +112,8 @@ per request.
|
|
|
108
112
|
- `object_adt_type` — ADT type code of the object (object_structure) or of the parent node (node_structure).
|
|
109
113
|
- `object_name` — Object name (object_structure) or parent name (node_structure).
|
|
110
114
|
- `node_id` — Node id to expand (node_structure); the root when absent.
|
|
115
|
+
- `start_line` — First line of the source to answer, from 1. Without it, from the first line.
|
|
116
|
+
- `end_line` — Last line of the source to answer, included. Without it, to the last line.
|
|
111
117
|
- `with_short_descriptions` — Include short descriptions (node_structure).
|
|
112
118
|
- `object_search_pattern` — Object name pattern (virtual_folders).
|
|
113
119
|
- `preselection` — Facet preselections (virtual_folders).
|
|
@@ -115,19 +121,46 @@ per request.
|
|
|
115
121
|
- `with_versions` — Include versions (virtual_folders).
|
|
116
122
|
- `ignore_short_descriptions` — Leave out short descriptions (virtual_folders).
|
|
117
123
|
|
|
124
|
+
### HandlerGetPartial
|
|
125
|
+
|
|
126
|
+
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
127
|
+
|
|
128
|
+
**Description:** [read-only] Reads the outline of a class (CLAS), reads chosen methods and other elements of a class (CLAS), reads the outline of an interface (INTF), reads chosen elements of an interface (INTF), reads the outline of a program (PROG), reads chosen forms and other elements of a program (PROG), reads the outline of an include (PROG), reads chosen elements of an include (PROG), reads the outline of a function group (FUGR), reads chosen elements of a function group (FUGR), reads the source code of a function module (FUGR) or a chosen range of it.
|
|
129
|
+
|
|
130
|
+
**Available in:** cloud, onprem
|
|
131
|
+
|
|
132
|
+
**Parameters:**
|
|
133
|
+
|
|
134
|
+
- `object_type` (required) — ABAP object type. For a function module outline, browse its function group.
|
|
135
|
+
- `object_name` (required) — ABAP object name.
|
|
136
|
+
- `function_group_name` — Enclosing function group. Required for a function module.
|
|
137
|
+
- `version` — The version read: "active" (default) the activated version, "inactive" the version saved and awaiting activation, "workingArea" the version in the working area, as ADT answers it.
|
|
138
|
+
- `targets` — Selected elements by address or ref from the outline. Copy refs verbatim. Omit targets to browse the outline. With targets, omit view, filters, limit and offset.
|
|
139
|
+
- `start_line` — First line to answer, counted from the element's first line (1). Only with one target.
|
|
140
|
+
- `end_line` — Last line to answer, included, counted from the element's first line. Only with one target.
|
|
141
|
+
- `element_types` — Index or parts view: keep these ADT element types.
|
|
142
|
+
- `element_name` — Index or parts view: exact element name or a * mask, case ignored.
|
|
143
|
+
- `parent` — Index or parts view: keep children of this enclosing element name, case ignored.
|
|
144
|
+
- `view` — Outline view. Without a filter or page size, defaults to kinds (counts by type and include). With a filter or page size, defaults to index (element names and source addresses or refs where available). Parts includes element interfaces.
|
|
145
|
+
- `limit` — Maximum number of elements in an index page.
|
|
146
|
+
- `offset` — Zero-based index offset. Requires limit. Use next_offset from the previous page with the same filters.
|
|
147
|
+
|
|
118
148
|
### HandlerSystem
|
|
119
149
|
|
|
120
150
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
121
151
|
|
|
122
|
-
**Description:** [read-only] Searches the source code of packages (DEVC) for text, finds repository objects by name, finds where a repository object is used, reads a package (DEVC) with its subpackages and their objects, reads a user's transports, reads an ATC run's findings, reads the stored ATC results, reads one stored ATC result with its findings. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
152
|
+
**Description:** [read-only] Searches the source code of packages (DEVC) for text, finds repository objects by name, finds where a repository object is used, reads a package (DEVC) with its subpackages and their objects, reads a user's transports, reads an ATC run's findings, reads the stored ATC results, reads one stored ATC result with its findings, reads the ABAP keyword documentation. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
123
153
|
|
|
124
154
|
**Available in:** cloud, onprem
|
|
125
155
|
|
|
126
156
|
**Parameters:**
|
|
127
157
|
|
|
128
158
|
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
|
|
129
|
-
- `action` (required) — The read: search_source (source text in packages), search_object (objects by name or mask), where_used (the objects that use an object), package_tree (a package tree), transports (transport requests), atc_findings (the findings of an ATC run), atc_results (the stored ATC results), atc_result (one stored ATC result).
|
|
130
|
-
- `query` — search_source: primary substring to match (case-insensitive, ABAP CS).
|
|
159
|
+
- `action` (required) — The read: search_source (source text in packages), search_object (objects by name or mask), where_used (the objects that use an object), package_tree (a package tree), transports (transport requests), atc_findings (the findings of an ATC run), atc_results (the stored ATC results), atc_result (one stored ATC result), keyword_documentation (the ABAP keyword documentation).
|
|
160
|
+
- `query` — search_source: primary substring to match (case-insensitive, ABAP CS). keyword_documentation: a word or phrase to search the documentation for; give query or topic, not both.
|
|
161
|
+
- `topic` — keyword_documentation: a topic name, as a documentation link of an earlier answer carries it (its object); give query or topic, not both.
|
|
162
|
+
- `topic_version` — keyword_documentation: the version that documentation link carries, sent as given; taken only with topic.
|
|
163
|
+
- `language` — keyword_documentation: the documentation's language, as a link carries it or as asked; without it, the system's default answers.
|
|
131
164
|
- `query2` — search_source: a second substring; when set, both query and query2 must appear on the same line.
|
|
132
165
|
- `exclude` — search_source: substrings; a line containing any of them is dropped. Absent, no line is dropped.
|
|
133
166
|
- `packages` — search_source: packages to scan, each an exact package name or a mask (`*` zero or more characters, `?` one character; `+`, `_`, `%` and `#` are characters of the name).
|
|
@@ -140,10 +173,10 @@ per request.
|
|
|
140
173
|
- `answer` — search_source: what each hit is answered as: lines (the default at detail terse), snippets (the default at medium and full) or objects.
|
|
141
174
|
- `version` — search_source: the version every source is read at (default active).
|
|
142
175
|
- `object_name` — search_object: object name or mask (e.g. 'MARA*'). where_used: name of the object (with object_type), a function module as 'GROUP|FM_NAME'.
|
|
143
|
-
- `object_type` — search_object: Optional: restrict the search to one type: a name of the system's object types list — a main type (e.g. CLAS, DEVC, TABL), an alias of one subtype (e.g. STRU for structures, DTAB for database tables, FUNC for function modules) or a group — or an ADT type code, which stands for the name that selects it (e.g. TABL/DS for STRU, FUGR/FF for FUNC, ENHO/XHH for ENHO), either case; or a name standing for a code, written in lower case (e.g. class, structure, table, function), read as its code: view is a CDS view (DDLS), dbview a dictionary view (VIEW). A value in upper case is a search name or a code first, so VIEW is the dictionary views; it is a name only when it is neither (CLASS is class). where_used: Type of the ABAP object: an ADT type code (either case), or a name standing for one (in brackets after it): CLAS/OC (class), INTF/OI (interface), PROG/P (program), PROG/I (include), FUGR/F (functiongroup), FUGR/FF (function, functionmodule, function_module, func), DEVC/K (package), DDLS/DF (view), VIEW/DV (dbview), TABL/DT (table), TABL/DS (structure, stru), TTYP/DA, DOMA/DD (domain), DTEL/DE (dataelement), DCLS/DL, BDEF/BDO, DDLX/EX, SRVD/SRV, SRVB/SVB, DSFD/SCF, DSFI/SFI, XSLT/VT, MSAG/N, FTG2/FT, AUTH, ENHO/XHH, ENHO/XHB, ENHS/XSB, PROG/PX. A function module is named as object_name says. PROG/PX is a program's or a function group's text elements; container says which. A name is written in lower case: view is a CDS view (DDLS/DF). A value in upper case is a code, a main type or a search name of the system's object types list first, so VIEW is the dictionary views (VIEW/DV); it is a name only when it is none of these (CLASS is class). A main type, the part of a code before its slash, stands for its code when exactly one listed code has it. In upper case, a search name of the system's object types list stands for the listed code its list item has (e.g. STRU for TABL/DS).
|
|
176
|
+
- `object_type` — search_object: Optional: restrict the search to one type: a name of the system's object types list — a main type (e.g. CLAS, DEVC, TABL), an alias of one subtype (e.g. STRU for structures, DTAB for database tables, FUNC for function modules) or a group — or an ADT type code, which stands for the name that selects it (e.g. TABL/DS for STRU, FUGR/FF for FUNC, ENHO/XHH for ENHO), either case; or a name standing for a code, written in lower case (e.g. class, structure, table, function), read as its code: view is a CDS view (DDLS), dbview a dictionary view (VIEW). A value in upper case is a search name or a code first, so VIEW is the dictionary views; it is a name only when it is neither (CLASS is class). where_used: Type of the ABAP object: an ADT type code (either case), or a name standing for one (in brackets after it): CLAS/OC (class), INTF/OI (interface), PROG/P (program), PROG/I (include), FUGR/F (functiongroup), FUGR/FF (function, functionmodule, function_module, func), DEVC/K (package), DDLS/DF (view), VIEW/DV (dbview), TABL/DT (table), TABL/DS (structure, stru), TTYP/DA, DOMA/DD (domain), DTEL/DE (dataelement), DCLS/DL, BDEF/BDO, DDLX/EX, SRVD/SRV, SRVB/SVB, DSFD/SCF, DSFI/SFI, XSLT/VT, MSAG/N, FTG2/FT, AUTH, ENHO/XHH, ENHO/XHB, ENHS/XSB, TYPE/DG, PROG/PX. A function module is named as object_name says. PROG/PX is a program's or a function group's text elements; container says which. A name is written in lower case: view is a CDS view (DDLS/DF). A value in upper case is a code, a main type or a search name of the system's object types list first, so VIEW is the dictionary views (VIEW/DV); it is a name only when it is none of these (CLASS is class). A main type, the part of a code before its slash, stands for its code when exactly one listed code has it. In upper case, a search name of the system's object types list stands for the listed code its list item has (e.g. STRU for TABL/DS).
|
|
144
177
|
- `container` — where_used: with object_type PROG/PX, required: whose text elements they are, program or function_group; taken by PROG/PX alone.
|
|
145
|
-
- `maxResults` — search_object:
|
|
146
|
-
- `detail` — search_source, search_object, where_used, package_tree, transports, atc_findings, atc_results, atc_result: How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
178
|
+
- `maxResults` — search_object: most results to read; absent, SAP gives at most 200.
|
|
179
|
+
- `detail` — search_source, search_object, where_used, package_tree, transports, atc_findings, atc_results, atc_result, keyword_documentation: How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
147
180
|
- `objects` — where_used: several objects, read together (give this or object_name and object_type); the type filters apply to every object.
|
|
148
181
|
- `enable_all_types` — where_used: true selects every object type of the where-used scope (default false, the SAP default scope).
|
|
149
182
|
- `enable_only_types` — where_used: the only ADT object types searched, codes of the object's where-used scope (e.g. 'CLAS/OC', 'DDLS/DF').
|
|
@@ -151,7 +184,7 @@ per request.
|
|
|
151
184
|
- `in_object` — where_used: one object that uses it, as a where-used answer names it (type and name): the answer is then its usages only, each with its method or section and source line; once per using object whose code lines are wanted.
|
|
152
185
|
- `package_name` — package_tree: package name (give this or package_names).
|
|
153
186
|
- `package_names` — package_tree: several package names, read together (give this or package_name).
|
|
154
|
-
- `max_depth` — package_tree: maximum depth of the walk
|
|
187
|
+
- `max_depth` — package_tree: maximum depth of the walk; absent, every level.
|
|
155
188
|
- `include_descriptions` — package_tree: each object's description in the answer (default false).
|
|
156
189
|
- `debug` — package_tree: diagnostic metadata in the answer (counts, types, hierarchy; default false).
|
|
157
190
|
- `user` — transports: the SAP user id whose requests are listed (default the session's user).
|
|
@@ -167,13 +200,13 @@ per request.
|
|
|
167
200
|
|
|
168
201
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
169
202
|
|
|
170
|
-
**Description:** [read-only] Validates the name of a new class (CLAS), validates the name of a new program (PROG), validates the name of a new include (PROG), validates the name of a new interface (INTF), validates the name of a new function group (FUGR), validates the name of a new function module (FUGR), validates the name of a new table (TABL), validates the name of a new structure (TABL), validates the name of a new table type (TTYP), validates the name of a new CDS view (DDLS), validates the name of a new domain (DOMA), validates the name of a new data element (DTEL), validates the name of a new package (DEVC), validates the name of a new behavior definition (BDEF), validates the name of a new behavior implementation (CLAS), validates the name of a new metadata extension (DDLX), validates the name of a new service binding (SRVB).
|
|
203
|
+
**Description:** [read-only] Validates the name of a new class (CLAS), validates the name of a new program (PROG), validates the name of a new include (PROG), validates the name of a new type group, validates the name of a new interface (INTF), validates the name of a new function group (FUGR), validates the name of a new function module (FUGR), validates the name of a new table (TABL), validates the name of a new structure (TABL), validates the name of a new table type (TTYP), validates the name of a new CDS view (DDLS), validates the name of a new domain (DOMA), validates the name of a new data element (DTEL), validates the name of a new package (DEVC), validates the name of a new behavior definition (BDEF), validates the name of a new behavior implementation (CLAS), validates the name of a new metadata extension (DDLX), validates the name of a new service binding (SRVB).
|
|
171
204
|
|
|
172
205
|
**Available in:** cloud, onprem
|
|
173
206
|
|
|
174
207
|
**Parameters:**
|
|
175
208
|
|
|
176
|
-
- `object_type` (required) — Object type to validate before create. Supported: CLASS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
|
|
209
|
+
- `object_type` (required) — Object type to validate before create. Supported: CLASS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
|
|
177
210
|
- `object_name` (required) — Required object name. For SERVICE_BINDING this is the service binding name; a function module is named GROUP|MODULE.
|
|
178
211
|
- `package_name` — Package of the object to validate. Required for BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION and SERVICE_BINDING.
|
|
179
212
|
- `super_package` — Super package of the package to validate (PACKAGE).
|
|
@@ -185,11 +218,11 @@ per request.
|
|
|
185
218
|
- `service_definition_name` — Required when object_type=SERVICE_BINDING. Service definition paired with the binding.
|
|
186
219
|
- `service_binding_version` — Optional service binding version for SERVICE_BINDING.
|
|
187
220
|
|
|
188
|
-
**On ABAP Cloud (`cloud`):** [read-only] Validates the name of a new class (CLAS), validates the name of a new interface (INTF), validates the name of a new function group (FUGR), validates the name of a new function module (FUGR), validates the name of a new table (TABL), validates the name of a new structure (TABL), validates the name of a new table type (TTYP), validates the name of a new CDS view (DDLS), validates the name of a new domain (DOMA), validates the name of a new data element (DTEL), validates the name of a new package (DEVC), validates the name of a new behavior definition (BDEF), validates the name of a new behavior implementation (CLAS), validates the name of a new metadata extension (DDLX), validates the name of a new service binding (SRVB).
|
|
221
|
+
**On ABAP Cloud (`cloud`):** [read-only] Validates the name of a new class (CLAS), validates the name of a new type group, validates the name of a new interface (INTF), validates the name of a new function group (FUGR), validates the name of a new function module (FUGR), validates the name of a new table (TABL), validates the name of a new structure (TABL), validates the name of a new table type (TTYP), validates the name of a new CDS view (DDLS), validates the name of a new domain (DOMA), validates the name of a new data element (DTEL), validates the name of a new package (DEVC), validates the name of a new behavior definition (BDEF), validates the name of a new behavior implementation (CLAS), validates the name of a new metadata extension (DDLX), validates the name of a new service binding (SRVB).
|
|
189
222
|
|
|
190
223
|
**Parameters (`cloud`):**
|
|
191
224
|
|
|
192
|
-
- `object_type` (required) — Object type to validate before create. Supported: CLASS, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
|
|
225
|
+
- `object_type` (required) — Object type to validate before create. Supported: CLASS, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
|
|
193
226
|
- `object_name` (required) — Required object name. For SERVICE_BINDING this is the service binding name; a function module is named GROUP|MODULE.
|
|
194
227
|
- `package_name` — Package of the object to validate. Required for BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION and SERVICE_BINDING.
|
|
195
228
|
- `super_package` — Super package of the package to validate (PACKAGE).
|
|
@@ -311,7 +344,7 @@ per request.
|
|
|
311
344
|
- `trace_id_or_uri` (required) — Profiler trace id or URI.
|
|
312
345
|
- `view` (required) — Profiler trace view kind.
|
|
313
346
|
- `mode` — "raw" returns the parsed trace payload as-is (default). "analyze" returns a compact summary instead — totals plus the top-ranked entries — via the same trace view.
|
|
314
|
-
- `top` — Number of top-ranked rows to include when mode is "analyze"
|
|
347
|
+
- `top` — Number of top-ranked rows to include when mode is "analyze"; absent, every row, ranked. Ignored for mode "raw".
|
|
315
348
|
- `with_system_events` — Include system events in analysis.
|
|
316
349
|
- `id` — Optional statement/access id.
|
|
317
350
|
- `with_details` — Include detailed payload.
|
|
@@ -394,14 +427,14 @@ per request.
|
|
|
394
427
|
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
|
|
395
428
|
- `object_name` — Table or CDS view whose rows are read, all columns. Used when sql_query is absent.
|
|
396
429
|
- `sql_query` — ABAP SQL SELECT naming the columns, conditions and order to read.
|
|
397
|
-
- `max_rows` —
|
|
430
|
+
- `max_rows` (required) — Most records to read, required. SAP refuses 0, and the largest count it accepts is 2147483646.
|
|
398
431
|
- `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
399
432
|
|
|
400
433
|
### HandlerCreate
|
|
401
434
|
|
|
402
435
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
403
436
|
|
|
404
|
-
**Description:** Creates a package (DEVC), creates a domain (DOMA), creates a data element (DTEL), creates a transport, creates a table (TABL), creates a structure (TABL), creates a table type (TTYP), creates a CDS view (DDLS), creates a service definition (SRVD), creates a service binding (SRVB), creates a class (CLAS), creates a program (PROG), creates an include (PROG), creates an interface (INTF), creates a function group (FUGR), creates a function module (FUGR), creates a behavior definition (BDEF), creates a behavior implementation (CLAS), creates a metadata extension (DDLX).
|
|
437
|
+
**Description:** Creates a package (DEVC), creates a domain (DOMA), creates a data element (DTEL), creates a transport, creates a table (TABL), creates a structure (TABL), creates a table type (TTYP), creates a CDS view (DDLS), creates a service definition (SRVD), creates a service binding (SRVB), creates a class (CLAS), creates a program (PROG), creates an include (PROG), creates a type group, creates an interface (INTF), creates a function group (FUGR), creates a function module (FUGR), creates a behavior definition (BDEF), creates a behavior implementation (CLAS), creates a metadata extension (DDLX).
|
|
405
438
|
|
|
406
439
|
**Available in:** cloud, onprem
|
|
407
440
|
|
|
@@ -438,6 +471,7 @@ per request.
|
|
|
438
471
|
- `data_element_name` — Data element name.
|
|
439
472
|
- `interface_name` — Interface name.
|
|
440
473
|
- `include_name` — Include name.
|
|
474
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
441
475
|
- `table_type_name` — Table type name.
|
|
442
476
|
- `service_definition_name` — Service definition name (SERVICE_DEFINITION; the definition a SERVICE_BINDING binds).
|
|
443
477
|
- `service_binding_name` — Service binding name.
|
|
@@ -494,7 +528,7 @@ per request.
|
|
|
494
528
|
|
|
495
529
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
496
530
|
|
|
497
|
-
**Description:** Updates a package (DEVC), updates a domain (DOMA), updates a data element (DTEL), updates a table type (TTYP), updates a function group (FUGR), updates a table (TABL), updates a structure (TABL), updates a CDS view (DDLS), updates a service definition (SRVD), updates a class (CLAS), updates the local test classes of a class (CLAS), updates the local types of a class (CLAS), updates the local definitions of a class (CLAS), updates the local macros of a class (CLAS), updates the unit tests of a class (CLAS), updates the unit tests of a CDS view (DDLS), updates a program (PROG), updates an include (PROG), updates an interface (INTF), updates a function module (FUGR), updates a behavior definition (BDEF), updates a behavior implementation (CLAS), updates a metadata extension (DDLX), publishes or unpublishes a service binding (SRVB), updates the technical settings of a table (TABL), updates the text elements of a program (PROG), updates the text elements of a function group (FUGR), updates the text elements of a class (CLAS). Over Streamable HTTP it runs under the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header).
|
|
531
|
+
**Description:** Updates a package (DEVC), updates a domain (DOMA), updates a data element (DTEL), updates a table type (TTYP), updates a function group (FUGR), updates a table (TABL), updates a structure (TABL), updates a CDS view (DDLS), updates a service definition (SRVD), updates a class (CLAS), updates the local test classes of a class (CLAS), updates the local types of a class (CLAS), updates the local definitions of a class (CLAS), updates the local macros of a class (CLAS), updates the unit tests of a class (CLAS), updates the unit tests of a CDS view (DDLS), updates a program (PROG), updates an include (PROG), updates a type group, updates an interface (INTF), updates a function module (FUGR), updates a behavior definition (BDEF), updates a behavior implementation (CLAS), updates a metadata extension (DDLX), publishes or unpublishes a service binding (SRVB), updates the technical settings of a table (TABL), updates the text elements of a program (PROG), updates the text elements of a function group (FUGR), updates the text elements of a class (CLAS). Over Streamable HTTP it runs under the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header).
|
|
498
532
|
|
|
499
533
|
**Available in:** cloud, onprem
|
|
500
534
|
|
|
@@ -518,6 +552,7 @@ per request.
|
|
|
518
552
|
- `data_element_name` — Data element name.
|
|
519
553
|
- `interface_name` — Interface name.
|
|
520
554
|
- `include_name` — Include name.
|
|
555
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
521
556
|
- `table_type_name` — Table type name.
|
|
522
557
|
- `service_definition_name` — Service definition name.
|
|
523
558
|
- `service_binding_name` — Service binding name.
|
|
@@ -597,14 +632,14 @@ per request.
|
|
|
597
632
|
|
|
598
633
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
599
634
|
|
|
600
|
-
**Description:** Deletes a package (DEVC), deletes a domain (DOMA), deletes a data element (DTEL), deletes a table (TABL), deletes a structure (TABL), deletes a table type (TTYP), deletes a CDS view (DDLS), deletes a service definition (SRVD), deletes a service binding (SRVB), deletes a class (CLAS), deletes the global test class (CLAS) of a CDS view (DDLS), deletes a program (PROG), deletes an include (PROG), deletes an interface (INTF), deletes a function group (FUGR), deletes a function module (FUGR), deletes a behavior definition (BDEF), deletes a behavior implementation (CLAS), deletes a metadata extension (DDLX), deletes the local test classes of a class (CLAS), deletes the local types of a class (CLAS), deletes the local definitions of a class (CLAS), deletes the local macros of a class (CLAS), deletes the unit tests of a class (CLAS). Over Streamable HTTP it runs under the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header).
|
|
635
|
+
**Description:** Deletes a package (DEVC), deletes a domain (DOMA), deletes a data element (DTEL), deletes a table (TABL), deletes a structure (TABL), deletes a table type (TTYP), deletes a CDS view (DDLS), deletes a service definition (SRVD), deletes a service binding (SRVB), deletes a class (CLAS), deletes the global test class (CLAS) of a CDS view (DDLS), deletes a program (PROG), deletes an include (PROG), deletes a type group, deletes an interface (INTF), deletes a function group (FUGR), deletes a function module (FUGR), deletes a behavior definition (BDEF), deletes a behavior implementation (CLAS), deletes a metadata extension (DDLX), deletes the local test classes of a class (CLAS), deletes the local types of a class (CLAS), deletes the local definitions of a class (CLAS), deletes the local macros of a class (CLAS), deletes the unit tests of a class (CLAS). Over Streamable HTTP it runs under the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header).
|
|
601
636
|
|
|
602
637
|
**Available in:** cloud, onprem
|
|
603
638
|
|
|
604
639
|
**Parameters:**
|
|
605
640
|
|
|
606
|
-
- `object_type` (required) — Object type. Supported: PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, CDS_UNIT_TEST, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST.
|
|
607
|
-
- `lock_handle` — The lock handle of the class (LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST): the include is written empty under it.
|
|
641
|
+
- `object_type` (required) — Object type. Supported: PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, CDS_UNIT_TEST, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST.
|
|
642
|
+
- `lock_handle` — The lock handle of the class (LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST): the include is written empty under it. The lock handle of the type group (TYPE_GROUP): it is deleted under it.
|
|
608
643
|
- `package_name` — ABAP package name.
|
|
609
644
|
- `class_name` — ABAP class name.
|
|
610
645
|
- `program_name` — ABAP program name.
|
|
@@ -618,6 +653,7 @@ per request.
|
|
|
618
653
|
- `data_element_name` — Data element name.
|
|
619
654
|
- `interface_name` — Interface name.
|
|
620
655
|
- `include_name` — Include name.
|
|
656
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
621
657
|
- `table_type_name` — Table type name.
|
|
622
658
|
- `service_definition_name` — Service definition name.
|
|
623
659
|
- `service_binding_name` — Service binding name.
|
|
@@ -630,7 +666,7 @@ per request.
|
|
|
630
666
|
**Parameters (`cloud`):**
|
|
631
667
|
|
|
632
668
|
- `object_type` (required) — Object type. Supported: PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, CDS_UNIT_TEST, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST.
|
|
633
|
-
- `lock_handle` — The lock handle of the class (LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST): the include is written empty under it.
|
|
669
|
+
- `lock_handle` — The lock handle of the class (LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST): the include is written empty under it. The lock handle of the type group (TYPE_GROUP): it is deleted under it.
|
|
634
670
|
- `package_name` — ABAP package name.
|
|
635
671
|
- `class_name` — ABAP class name.
|
|
636
672
|
- `domain_name` — ABAP domain name.
|
|
@@ -653,7 +689,7 @@ per request.
|
|
|
653
689
|
|
|
654
690
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
655
691
|
|
|
656
|
-
**Description:** Activates a class (CLAS), activates a program (PROG), activates an include (PROG), activates an interface (INTF), activates a function group (FUGR), activates a table (TABL), activates a structure (TABL), activates a table type (TTYP), activates a CDS view (DDLS), activates a domain (DOMA), activates a data element (DTEL), activates a behavior definition (BDEF), activates a metadata extension (DDLX), activates a package (DEVC), activates a service definition (SRVD), activates a service binding (SRVB), activates a function module (FUGR), activates a behavior implementation (CLAS), activates the text elements of a program (PROG), activates the text elements of a function group (FUGR), activates the text elements of a class (CLAS), activates another object by its ADT type, activates several objects together.
|
|
692
|
+
**Description:** Activates a class (CLAS), activates a program (PROG), activates an include (PROG), activates a type group, activates an interface (INTF), activates a function group (FUGR), activates a table (TABL), activates a structure (TABL), activates a table type (TTYP), activates a CDS view (DDLS), activates a domain (DOMA), activates a data element (DTEL), activates a behavior definition (BDEF), activates a metadata extension (DDLX), activates a package (DEVC), activates a service definition (SRVD), activates a service binding (SRVB), activates a function module (FUGR), activates a behavior implementation (CLAS), activates the text elements of a program (PROG), activates the text elements of a function group (FUGR), activates the text elements of a class (CLAS), activates another object by its ADT type, activates several objects together.
|
|
657
693
|
|
|
658
694
|
**Available in:** cloud, onprem
|
|
659
695
|
|
|
@@ -726,13 +762,13 @@ per request.
|
|
|
726
762
|
|
|
727
763
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
728
764
|
|
|
729
|
-
**Description:** Locks or unlocks a class (CLAS), locks or unlocks a program (PROG), locks or unlocks an include (PROG), locks or unlocks an interface (INTF), locks or unlocks a function group (FUGR), locks or unlocks a function module (FUGR), locks or unlocks a table (TABL), locks or unlocks a structure (TABL), locks or unlocks a table type (TTYP), locks or unlocks a CDS view (DDLS), locks or unlocks a domain (DOMA), locks or unlocks a data element (DTEL), locks or unlocks a package (DEVC), locks or unlocks a behavior definition (BDEF), locks or unlocks a behavior implementation (CLAS), locks or unlocks a metadata extension (DDLX), locks or unlocks a service definition (SRVD), locks or unlocks a service binding (SRVB), locks or unlocks the technical settings of a table (TABL), locks or unlocks the text elements of a program (PROG), locks or unlocks the text elements of a function group (FUGR), locks or unlocks the text elements of a class (CLAS) for editing. Over Streamable HTTP a lock that gives a non-empty lock_handle gives a state_handle too: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header). Over Streamable HTTP an unlock runs under the state_handle the lock gave: send it as the state_handle argument (or in the x-mcp-state-handle header).
|
|
765
|
+
**Description:** Locks or unlocks a class (CLAS), locks or unlocks a program (PROG), locks or unlocks an include (PROG), locks or unlocks a type group, locks or unlocks an interface (INTF), locks or unlocks a function group (FUGR), locks or unlocks a function module (FUGR), locks or unlocks a table (TABL), locks or unlocks a structure (TABL), locks or unlocks a table type (TTYP), locks or unlocks a CDS view (DDLS), locks or unlocks a domain (DOMA), locks or unlocks a data element (DTEL), locks or unlocks a package (DEVC), locks or unlocks a behavior definition (BDEF), locks or unlocks a behavior implementation (CLAS), locks or unlocks a metadata extension (DDLX), locks or unlocks a service definition (SRVD), locks or unlocks a service binding (SRVB), locks or unlocks the technical settings of a table (TABL), locks or unlocks the text elements of a program (PROG), locks or unlocks the text elements of a function group (FUGR), locks or unlocks the text elements of a class (CLAS) for editing. Over Streamable HTTP a lock that gives a non-empty lock_handle gives a state_handle too: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header). Over Streamable HTTP an unlock runs under the state_handle the lock gave: send it as the state_handle argument (or in the x-mcp-state-handle header).
|
|
730
766
|
|
|
731
767
|
**Available in:** cloud, onprem
|
|
732
768
|
|
|
733
769
|
**Parameters:**
|
|
734
770
|
|
|
735
|
-
- `object_type` (required) — Object type. Supported: CLASS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_DEFINITION, SERVICE_BINDING, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS.
|
|
771
|
+
- `object_type` (required) — Object type. Supported: CLASS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_DEFINITION, SERVICE_BINDING, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS.
|
|
736
772
|
- `object_name` (required) — Object name. A function module is named GROUP|MODULE, its function group first.
|
|
737
773
|
- `action` — lock (default): lock the object for editing; unlock: release the lock lock_handle names.
|
|
738
774
|
- `lock_handle` — unlock: the lock handle the lock gave.
|
|
@@ -904,7 +940,7 @@ per request.
|
|
|
904
940
|
- `value` — abap setVariableValue: the new value.
|
|
905
941
|
- `debuggee_id` — amdp getDataPreview: the debuggee id of the break event.
|
|
906
942
|
- `query` — amdp getDataPreview: a SELECT over the table variable; every column when omitted.
|
|
907
|
-
- `row_number` — amdp getDataPreview: how many rows SAP answers; SAP
|
|
943
|
+
- `row_number` — amdp getDataPreview: how many rows SAP answers, at least 1; SAP requires it.
|
|
908
944
|
- `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
909
945
|
|
|
910
946
|
### HandlerDebugBatch
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/compact",
|
|
3
3
|
"mcpName": "io.github.fr0ster/mcp-abap-adt-compact",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "26.0.0",
|
|
5
5
|
"description": "The compact MCP server for SAP ABAP ADT over stdio, on premise (ECC, S/4HANA) and SAP BTP ABAP Cloud: one tool per operation with the object type in the arguments: CRUD, where-used, ATC, unit tests, transports, the debugger, abapGit, batch mode, MCP prompts and access restrictions. Configured as @mcp-abap-adt/core; connects over HTTP, RFC or SNC (RFC and SNC need the SAP NW RFC library at run time).",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"docs:tools": "node ./tools/generate-docs.js"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@mcp-abap-adt/background-runs-memory": "^
|
|
76
|
-
"@mcp-abap-adt/compact-modify": "^
|
|
77
|
-
"@mcp-abap-adt/compact-readonly-entries": "^
|
|
78
|
-
"@mcp-abap-adt/lib": "^
|
|
79
|
-
"@mcp-abap-adt/responsible-rules": "^
|
|
80
|
-
"@mcp-abap-adt/server-runtime": "^
|
|
75
|
+
"@mcp-abap-adt/background-runs-memory": "^26.0.0",
|
|
76
|
+
"@mcp-abap-adt/compact-modify": "^26.0.0",
|
|
77
|
+
"@mcp-abap-adt/compact-readonly-entries": "^26.0.0",
|
|
78
|
+
"@mcp-abap-adt/lib": "^26.0.0",
|
|
79
|
+
"@mcp-abap-adt/responsible-rules": "^26.0.0",
|
|
80
|
+
"@mcp-abap-adt/server-runtime": "^26.0.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"typescript": "^6.0.2",
|