@mcp-abap-adt/compact 24.1.1 → 24.2.1
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 +11 -11
- package/docs/AVAILABLE_TOOLS.md +337 -66
- package/package.json +24 -10
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 29, the four debugger tools, the
|
|
4
|
+
leftover sessions, background runs and batch mode (`HandlerBatch`). The 17 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)
|
|
@@ -13,7 +13,7 @@ Streamable HTTP is [`@mcp-abap-adt/compact-http`](https://www.npmjs.com/package/
|
|
|
13
13
|
A different decomposition of the same ABAP ADT surface: the **operation** is the
|
|
14
14
|
tool and the object moves into the arguments. Where the object-oriented surface has
|
|
15
15
|
`CreateClass`, `CreateDomain`, `CreateDdl` and so on, compact has one
|
|
16
|
-
`HandlerCreate` with `object_type`. Twenty-
|
|
16
|
+
`HandlerCreate` with `object_type`. Twenty-eight tool schemas instead of hundreds.
|
|
17
17
|
Each `object_type` enum, and each tool's description, is the declared system type's: its
|
|
18
18
|
members are those the system type's ADT type table serves (22.0.0) — on cloud the writes offer
|
|
19
19
|
no `PROGRAM` and no `INCLUDE` — and a member outside them is refused naming the list, before
|
|
@@ -26,7 +26,7 @@ context, no tool-RAG, no way to select tools per request — and must still driv
|
|
|
26
26
|
through MCP reliably. A consumer that does select per request (cloud-llm-hub, for
|
|
27
27
|
one) has no use for it and should take `@mcp-abap-adt/lib` instead.
|
|
28
28
|
|
|
29
|
-
**The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `HandlerCreate` (the create request alone — no validation, lock, write, check or activation; the object is created inactive with what the create carries; its schema lists only what the create sends; `UNIT_TEST` and `CDS_UNIT_TEST`, whose create is a chain, are refused — the full set serves `CreateUnitTest` and `CreateCdsUnitTest`), `HandlerLock`, `HandlerUpdate` with the `lock_handle` it answered (one request: the write alone, under your lock; `lock_handle` is required; for PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE, and for INCLUDE with `part: 'metadata'`, `source_code` is the whole metadata document, sent as given — read it with `HandlerGet` part `metadata`, change it, pass all of it back; `part` is taken by INCLUDE alone, `source` when absent; for SERVICE_BINDING the write is its publication request), `
|
|
29
|
+
**The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `HandlerCreate` (the create request alone — no validation, lock, write, check or activation; the object is created inactive with what the create carries; its schema lists only what the create sends; `UNIT_TEST` and `CDS_UNIT_TEST`, whose create is a chain, are refused — the full set serves `CreateUnitTest` and `CreateCdsUnitTest`), `HandlerLock`, `HandlerUpdate` with the `lock_handle` it answered (one request: the write alone, under your lock; `lock_handle` is required; for PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE, and for INCLUDE with `part: 'metadata'`, `source_code` is the whole metadata document, sent as given — read it with `HandlerGet` part `metadata`, change it, pass all of it back; `part` is taken by INCLUDE alone, `source` when absent; for SERVICE_BINDING the write is its publication request), `HandlerLock` `action: unlock`, `HandlerDeletionCheck` (the one deletion check, SAP's verdict as it came), `HandlerDelete` (one request: the deletion request alone, with no lock held on the object; a class include and `UNIT_TEST` are written empty by one `PUT` under your class lock's `lock_handle`), `HandlerCheckRun`, `HandlerValidate`, `HandlerActivate` (one request: one object of a type the per-object activation maps answers its verdict; every other call starts an activation run and answers `{ run_id }`; on a system whose discovery offers no activation runs (SAP_BASIS 751, 7.40) that call answers SAP's refusal, and a group activation there is `ActivateObjects` of the full set or `ActivateObjectLow` of the low handlers group), and `HandlerGet` — one request per part: `source` the source alone, `metadata` the metadata document alone (PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE have only `metadata`; a function module is named `GROUP|MODULE` or with `function_group_name`), and `object_structure` / `node_structure` / `virtual_folders` (a package's blank node structure is the empty listing with `blank`: an empty package, or no package of that name), and `activation_status` / `activation_results` (an activation run by its `run_id`: its status, then its messages — asking again until the status settles is yours), and `object_type` `UNIT_TEST` / `CDS_UNIT_TEST` (a unit-test run's result by its `run_id`, one request, as `HandlerUnitTestResult` / `HandlerCdsUnitTestResult` read it; the status is `HandlerUnitTestStatus` / `HandlerCdsUnitTestStatus`, asked until it says `FINISHED`). `HandlerDumpList` reads one page per call (`top` 1 to 100, `to`): its `next_to` is the `to` of SAP's next link, and following it is yours; that page starts at the boundary second, inclusive, so match entries by `dump_id`. **Keeping a lock from `HandlerLock` short is your job:** the server releases nothing on its own clock — unlock as soon as the write is done. The tool-by-tool table: [MIGRATION-19.0](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/MIGRATION-19.0.md#the-low-set-leaves-the-full-binaries).
|
|
30
30
|
|
|
31
31
|
**Batch mode: `HandlerBatch`.** Every compact binary, `-ro` ones included, on every transport,
|
|
32
32
|
serves batch mode as one tool: `action: 'begin'` switches the server into batch mode, every call
|
|
@@ -35,7 +35,7 @@ the next number, from 1), `action: 'end'` sends them all in one ADT batch envelo
|
|
|
35
35
|
mode whatever happens, and `action: 'answers'` with `number` or `numbers` reads each call's answer
|
|
36
36
|
by its number. A tool that builds a request from an earlier answer is refused; run such work as
|
|
37
37
|
phases, each its own batch — create (`HandlerCreate`), lock (`HandlerLock`),
|
|
38
|
-
write (`HandlerUpdate` with `lock_handle`), unlock (`
|
|
38
|
+
write (`HandlerUpdate` with `lock_handle`), unlock (`HandlerLock` `action: unlock`). A batch holds one kind of
|
|
39
39
|
request — LOCK, UNLOCK or stateless, as its first recorded call decides; a call of another kind is
|
|
40
40
|
refused `batch_other_kind`: record it in the next batch. Every tool's description ends with one sentence saying how it behaves
|
|
41
41
|
in batch mode: recordable, recordable for the arguments it names, or run outside batch mode. Over Streamable HTTP send the
|
|
@@ -73,19 +73,19 @@ 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 29, 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 17 that change nothing, the leftover-session list
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
**The binary fixes the tool set.** `mcp-abap-adt-compact` serves all
|
|
83
|
+
**The binary fixes the tool set.** `mcp-abap-adt-compact` serves all 29 tools (every access, which
|
|
84
84
|
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` —
|
|
85
|
+
the leftover-session list and logoff, the background-run tools and `HandlerBatch` — 39; `HandlerGetData`, one of the 29, only with `--enable-data-tools` (40). `mcp-abap-adt-compact-ro` serves the 17 tools that change nothing — the reads, searches,
|
|
86
86
|
where-used, checks and validations, the unit-test status and result reads, the profiler list and
|
|
87
|
-
view, the dump list and view, the service-binding type list — with the background-run tools, `HandlerBatch` and the
|
|
88
|
-
leftover-session list —
|
|
87
|
+
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 — 21, `HandlerGetData` (one of the 17) only with `--enable-data-tools` (22); its tool list is exactly these, so a client calls only them. `--exposition`
|
|
89
89
|
(`ro`, `rw`, `debug`, any word) and a config file's `exposition` stop the start with a sentence
|
|
90
90
|
naming the binary to install instead, e.g. *--exposition is gone (19.0.0): the binary fixes its tool
|
|
91
91
|
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: 40
|
|
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. 40 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,7 +25,7 @@ per request.
|
|
|
25
25
|
|
|
26
26
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
27
27
|
|
|
28
|
-
**Description:** [read-only] Reads
|
|
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.
|
|
29
29
|
|
|
30
30
|
**Available in:** cloud, onprem
|
|
31
31
|
|
|
@@ -34,9 +34,10 @@ per request.
|
|
|
34
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.
|
|
35
35
|
- `object_type` — ABAP object type for routed compact operation.
|
|
36
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.
|
|
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.
|
|
37
38
|
- `package_name` — Package name.
|
|
38
|
-
- `package_names` — Several package names (part contents), read together:
|
|
39
|
-
- `max_results` —
|
|
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.
|
|
40
|
+
- `max_results` — Accepted for compatibility (part contents): every member is answered.
|
|
40
41
|
- `include_descriptions` — Include each member's description (part contents). The walk's levels are then read as single requests, several at a time, rather than in ADT batch envelopes.
|
|
41
42
|
- `class_name` — Class name.
|
|
42
43
|
- `interface_name` — Interface name.
|
|
@@ -55,7 +56,51 @@ per request.
|
|
|
55
56
|
- `metadata_extension_name` — Metadata extension name.
|
|
56
57
|
- `service_definition_name` — Service definition name.
|
|
57
58
|
- `service_binding_name` — Service binding name.
|
|
58
|
-
- `transport_number` — Transport request or task number (TRANSPORT). A request lists the entries of all its tasks; a task lists its own.
|
|
59
|
+
- `transport_number` — Transport request or task number (TRANSPORT). A request lists the entries of all its tasks; a task lists its own. With part metadata: the request or task itself.
|
|
60
|
+
- `run_id` — Run id: a unit test run (UNIT_TEST, CDS_UNIT_TEST) or an activation run (parts activation_status, activation_results).
|
|
61
|
+
- `with_long_polling` — With part activation_status: when true, the status read is held by SAP until the activation run ends, and answers its final status.
|
|
62
|
+
- `response_format` — Response format for SERVICE_BINDING reads.
|
|
63
|
+
- `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.
|
|
64
|
+
- `object_adt_type` — ADT type code of the object (object_structure) or of the parent node (node_structure).
|
|
65
|
+
- `object_name` — Object name (object_structure) or parent name (node_structure).
|
|
66
|
+
- `node_id` — Node id to expand (node_structure); the root when absent.
|
|
67
|
+
- `with_short_descriptions` — Include short descriptions (node_structure).
|
|
68
|
+
- `object_search_pattern` — Object name pattern (virtual_folders).
|
|
69
|
+
- `preselection` — Facet preselections (virtual_folders).
|
|
70
|
+
- `facet_order` — Facet order (virtual_folders).
|
|
71
|
+
- `with_versions` — Include versions (virtual_folders).
|
|
72
|
+
- `ignore_short_descriptions` — Leave out short descriptions (virtual_folders).
|
|
73
|
+
|
|
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.
|
|
75
|
+
|
|
76
|
+
**Parameters (`cloud`):**
|
|
77
|
+
|
|
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.
|
|
79
|
+
- `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.
|
|
81
|
+
- `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
|
+
- `package_name` — Package name.
|
|
83
|
+
- `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.
|
|
84
|
+
- `max_results` — Accepted for compatibility (part contents): every member is answered.
|
|
85
|
+
- `include_descriptions` — Include each member's description (part contents). The walk's levels are then read as single requests, several at a time, rather than in ADT batch envelopes.
|
|
86
|
+
- `class_name` — Class name.
|
|
87
|
+
- `interface_name` — Interface name.
|
|
88
|
+
- `program_name` — Program name.
|
|
89
|
+
- `include_name` — Include name.
|
|
90
|
+
- `domain_name` — Domain name.
|
|
91
|
+
- `data_element_name` — Data element name.
|
|
92
|
+
- `table_name` — Table name.
|
|
93
|
+
- `structure_name` — Structure name.
|
|
94
|
+
- `table_type_name` — Table type name.
|
|
95
|
+
- `ddl_name` — DDL source name.
|
|
96
|
+
- `function_module_name` — Function module name: GROUP|MODULE, its function group first, or the module alone with function_group_name.
|
|
97
|
+
- `function_group_name` — Function group name (FUNCTION_GROUP; FUNCTION_MODULE given as the module's name).
|
|
98
|
+
- `behavior_definition_name` — Behavior definition name.
|
|
99
|
+
- `behavior_implementation_name` — Behavior implementation name.
|
|
100
|
+
- `metadata_extension_name` — Metadata extension name.
|
|
101
|
+
- `service_definition_name` — Service definition name.
|
|
102
|
+
- `service_binding_name` — Service binding name.
|
|
103
|
+
- `transport_number` — Transport request or task number (TRANSPORT). A request lists the entries of all its tasks; a task lists its own. With part metadata: the request or task itself.
|
|
59
104
|
- `run_id` — Run id: a unit test run (UNIT_TEST, CDS_UNIT_TEST) or an activation run (parts activation_status, activation_results).
|
|
60
105
|
- `with_long_polling` — With part activation_status: when true, the status read is held by SAP until the activation run ends, and answers its final status.
|
|
61
106
|
- `response_format` — Response format for SERVICE_BINDING reads.
|
|
@@ -74,7 +119,7 @@ per request.
|
|
|
74
119
|
|
|
75
120
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
76
121
|
|
|
77
|
-
**Description:** [read-only]
|
|
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.
|
|
78
123
|
|
|
79
124
|
**Available in:** cloud, onprem
|
|
80
125
|
|
|
@@ -92,17 +137,18 @@ per request.
|
|
|
92
137
|
- `exclude_comments` — search_source: skip col-1 '*' and full-line '"' comment lines (default false).
|
|
93
138
|
- `max_hits_per_object` — search_source: the most hits answered per object; absent, every hit.
|
|
94
139
|
- `max_hits` — search_source: the most hits of the whole answer; reached, the scan stops reading. Absent, every hit.
|
|
95
|
-
- `answer` — search_source: what each hit is answered as:
|
|
140
|
+
- `answer` — search_source: what each hit is answered as: lines (the default at detail terse), snippets (the default at medium and full) or objects.
|
|
96
141
|
- `version` — search_source: the version every source is read at (default active).
|
|
97
142
|
- `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'.
|
|
98
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).
|
|
99
144
|
- `container` — where_used: with object_type PROG/PX, required: whose text elements they are, program or function_group; taken by PROG/PX alone.
|
|
100
145
|
- `maxResults` — search_object: maximum number of results to return (default 100).
|
|
101
|
-
- `detail` — search_object, transports, atc_findings, atc_result: How much of the answer to return: "terse" (default
|
|
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.
|
|
102
147
|
- `objects` — where_used: several objects, read together (give this or object_name and object_type); the type filters apply to every object.
|
|
103
148
|
- `enable_all_types` — where_used: true selects every object type of the where-used scope (default false, the SAP default scope).
|
|
104
149
|
- `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').
|
|
105
150
|
- `disable_types` — where_used: ADT object types removed from the scope (e.g. ['CLAS/OC']).
|
|
151
|
+
- `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.
|
|
106
152
|
- `package_name` — package_tree: package name (give this or package_names).
|
|
107
153
|
- `package_names` — package_tree: several package names, read together (give this or package_name).
|
|
108
154
|
- `max_depth` — package_tree: maximum depth of the walk (default 5).
|
|
@@ -121,7 +167,7 @@ per request.
|
|
|
121
167
|
|
|
122
168
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
123
169
|
|
|
124
|
-
**Description:** [read-only] Validates
|
|
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).
|
|
125
171
|
|
|
126
172
|
**Available in:** cloud, onprem
|
|
127
173
|
|
|
@@ -139,11 +185,27 @@ per request.
|
|
|
139
185
|
- `service_definition_name` — Required when object_type=SERVICE_BINDING. Service definition paired with the binding.
|
|
140
186
|
- `service_binding_version` — Optional service binding version for SERVICE_BINDING.
|
|
141
187
|
|
|
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).
|
|
189
|
+
|
|
190
|
+
**Parameters (`cloud`):**
|
|
191
|
+
|
|
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.
|
|
193
|
+
- `object_name` (required) — Required object name. For SERVICE_BINDING this is the service binding name; a function module is named GROUP|MODULE.
|
|
194
|
+
- `package_name` — Package of the object to validate. Required for BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION and SERVICE_BINDING.
|
|
195
|
+
- `super_package` — Super package of the package to validate (PACKAGE).
|
|
196
|
+
- `superclass` — Superclass of the class to validate (CLASS).
|
|
197
|
+
- `description` — Object description used during validation. Required for FUNCTION_MODULE, BEHAVIOR_DEFINITION and METADATA_EXTENSION.
|
|
198
|
+
- `behavior_definition` — Behavior definition the behavior implementation is for (BEHAVIOR_IMPLEMENTATION).
|
|
199
|
+
- `root_entity` — CDS root entity of the behavior definition to validate. Required for BEHAVIOR_DEFINITION.
|
|
200
|
+
- `implementation_type` — Implementation type of the behavior definition to validate (Managed, Unmanaged, Abstract or Projection). Required for BEHAVIOR_DEFINITION.
|
|
201
|
+
- `service_definition_name` — Required when object_type=SERVICE_BINDING. Service definition paired with the binding.
|
|
202
|
+
- `service_binding_version` — Optional service binding version for SERVICE_BINDING.
|
|
203
|
+
|
|
142
204
|
### HandlerCheckRun
|
|
143
205
|
|
|
144
206
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
145
207
|
|
|
146
|
-
**Description:** [read-only]
|
|
208
|
+
**Description:** [read-only] Checks the syntax of a class (CLAS), checks the syntax of a program (PROG), checks the syntax of an interface (INTF), checks the syntax of a function group (FUGR), checks the syntax of a function module (FUGR), checks the syntax of a table (TABL), checks the syntax of a structure (TABL), checks the syntax of a table type (TTYP), checks the syntax of a CDS view (DDLS), checks the syntax of a domain (DOMA), checks the syntax of a data element (DTEL), checks the syntax of a package (DEVC), checks the syntax of a behavior definition (BDEF), checks the syntax of a metadata extension (DDLX).
|
|
147
209
|
|
|
148
210
|
**Available in:** cloud, onprem
|
|
149
211
|
|
|
@@ -158,7 +220,7 @@ per request.
|
|
|
158
220
|
|
|
159
221
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
160
222
|
|
|
161
|
-
**Description:** [read-only]
|
|
223
|
+
**Description:** [read-only] Checks whether a package (DEVC) can be deleted, checks whether a domain (DOMA) can be deleted, checks whether a data element (DTEL) can be deleted, checks whether a table (TABL) can be deleted, checks whether a structure (TABL) can be deleted, checks whether a table type (TTYP) can be deleted, checks whether a CDS view (DDLS) can be deleted, checks whether a service definition (SRVD) can be deleted, checks whether a service binding (SRVB) can be deleted, checks whether a class (CLAS) can be deleted, checks whether the global test class (CLAS) of a CDS view (DDLS) can be deleted, checks whether a program (PROG) can be deleted, checks whether an include (PROG) can be deleted, checks whether an interface (INTF) can be deleted, checks whether a function group (FUGR) can be deleted, checks whether a function module (FUGR) can be deleted, checks whether a behavior definition (BDEF) can be deleted, checks whether a behavior implementation (CLAS) can be deleted, checks whether a metadata extension (DDLX) can be deleted.
|
|
162
224
|
|
|
163
225
|
**Available in:** cloud, onprem
|
|
164
226
|
|
|
@@ -171,7 +233,7 @@ per request.
|
|
|
171
233
|
|
|
172
234
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
173
235
|
|
|
174
|
-
**Description:** [read-only] Reads the status of
|
|
236
|
+
**Description:** [read-only] Reads the status of an ABAP Unit test run by its id.
|
|
175
237
|
|
|
176
238
|
**Available in:** cloud, onprem
|
|
177
239
|
|
|
@@ -184,7 +246,7 @@ per request.
|
|
|
184
246
|
|
|
185
247
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
186
248
|
|
|
187
|
-
**Description:** [read-only] Reads the result of
|
|
249
|
+
**Description:** [read-only] Reads the result of an ABAP Unit test run by its id.
|
|
188
250
|
|
|
189
251
|
**Available in:** cloud, onprem
|
|
190
252
|
|
|
@@ -193,13 +255,13 @@ per request.
|
|
|
193
255
|
- `run_id` (required) — Unit test run id.
|
|
194
256
|
- `with_navigation_uris` — Include ADT navigation URIs in the result payload.
|
|
195
257
|
- `format` — Result format.
|
|
196
|
-
- `detail` — How much of the answer to return: "terse" (default
|
|
258
|
+
- `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.
|
|
197
259
|
|
|
198
260
|
### HandlerCdsUnitTestStatus
|
|
199
261
|
|
|
200
262
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
201
263
|
|
|
202
|
-
**Description:** [read-only] Reads the status of
|
|
264
|
+
**Description:** [read-only] Reads the status of a CDS unit test run by its id.
|
|
203
265
|
|
|
204
266
|
**Available in:** cloud, onprem
|
|
205
267
|
|
|
@@ -212,7 +274,7 @@ per request.
|
|
|
212
274
|
|
|
213
275
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
214
276
|
|
|
215
|
-
**Description:** [read-only] Reads the result of
|
|
277
|
+
**Description:** [read-only] Reads the result of a CDS unit test run by its id.
|
|
216
278
|
|
|
217
279
|
**Available in:** cloud, onprem
|
|
218
280
|
|
|
@@ -221,23 +283,25 @@ per request.
|
|
|
221
283
|
- `run_id` (required) — Unit test run id.
|
|
222
284
|
- `with_navigation_uris` — Include ADT navigation URIs in the result payload.
|
|
223
285
|
- `format` — Result format.
|
|
224
|
-
- `detail` — How much of the answer to return: "terse" (default
|
|
286
|
+
- `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.
|
|
225
287
|
|
|
226
288
|
### HandlerProfileList
|
|
227
289
|
|
|
228
290
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
229
291
|
|
|
230
|
-
**Description:** [read-only] Lists the ABAP profiler
|
|
292
|
+
**Description:** [read-only] Lists the ABAP profiler traces recorded in the system.
|
|
231
293
|
|
|
232
294
|
**Available in:** cloud, onprem
|
|
233
295
|
|
|
234
|
-
**Parameters:**
|
|
296
|
+
**Parameters:**
|
|
297
|
+
|
|
298
|
+
- `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.
|
|
235
299
|
|
|
236
300
|
### HandlerProfileView
|
|
237
301
|
|
|
238
302
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
239
303
|
|
|
240
|
-
**Description:** [read-only] Reads
|
|
304
|
+
**Description:** [read-only] Reads a profiler trace view, analyzes a profiler trace view. 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.
|
|
241
305
|
|
|
242
306
|
**Available in:** cloud, onprem
|
|
243
307
|
|
|
@@ -257,13 +321,14 @@ per request.
|
|
|
257
321
|
|
|
258
322
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
259
323
|
|
|
260
|
-
**Description:** [read-only]
|
|
324
|
+
**Description:** [read-only] Lists one page of the short dumps, system messages or SAP Gateway errors of an ABAP system, newest first, by user, object and time. 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.
|
|
261
325
|
|
|
262
326
|
**Available in:** cloud, onprem
|
|
263
327
|
|
|
264
328
|
**Parameters:**
|
|
265
329
|
|
|
266
330
|
- `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.
|
|
331
|
+
- `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.
|
|
267
332
|
- `feed_type` — Which runtime feed to list. Default "dumps" (ABAP short dumps). "system_messages" and "gateway_errors" read the other two ADT runtime feeds through the same call.
|
|
268
333
|
- `user` — Entries of this user.
|
|
269
334
|
- `runtime_error` — Dumps whose runtime error contains this text, in any case.
|
|
@@ -279,7 +344,7 @@ per request.
|
|
|
279
344
|
|
|
280
345
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
281
346
|
|
|
282
|
-
**Description:** [read-only] Reads
|
|
347
|
+
**Description:** [read-only] Reads an ABAP runtime dump by its id, with a summary of where and why its program (PROG) terminated.
|
|
283
348
|
|
|
284
349
|
**Available in:** cloud, onprem
|
|
285
350
|
|
|
@@ -292,7 +357,7 @@ per request.
|
|
|
292
357
|
|
|
293
358
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
294
359
|
|
|
295
|
-
**Description:** [read-only] Lists the
|
|
360
|
+
**Description:** [read-only] Lists the service binding (SRVB) types the system offers, such as OData V2 and OData V4, in the format asked.
|
|
296
361
|
|
|
297
362
|
**Available in:** cloud, onprem
|
|
298
363
|
|
|
@@ -304,7 +369,7 @@ per request.
|
|
|
304
369
|
|
|
305
370
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
306
371
|
|
|
307
|
-
**Description:** [read-only] Validates a new service binding
|
|
372
|
+
**Description:** [read-only] Validates a new OData service binding (SRVB) for a service definition (SRVD), in the package (DEVC) and version given, by SAP's transport check of its name and package.
|
|
308
373
|
|
|
309
374
|
**Available in:** cloud, onprem
|
|
310
375
|
|
|
@@ -320,7 +385,7 @@ per request.
|
|
|
320
385
|
|
|
321
386
|
**Half:** `@mcp-abap-adt/compact-readonly-entries` (`compactDataEntries`). **Opt-in:** served only by a binary started with `--enable-data-tools` (`MCP_ENABLE_DATA_TOOLS`, `enable-data-tools`); off by default. SAP API Policy FAQ v1.3 (June 2026), Q33, says ADT APIs are not intended for reading application tables, exporting business data or running SQL against SAP systems; whether to enable it is the customer's decision.
|
|
322
387
|
|
|
323
|
-
**Description:** [read-only] Reads the
|
|
388
|
+
**Description:** [read-only] Reads the data of an ABAP database table (TABL) or CDS view (DDLS), or the data an ABAP SQL SELECT selects, up to the number of records asked. 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.
|
|
324
389
|
|
|
325
390
|
**Available in:** cloud, onprem
|
|
326
391
|
|
|
@@ -330,12 +395,13 @@ per request.
|
|
|
330
395
|
- `object_name` — Table or CDS view whose rows are read, all columns. Used when sql_query is absent.
|
|
331
396
|
- `sql_query` — ABAP SQL SELECT naming the columns, conditions and order to read.
|
|
332
397
|
- `max_rows` — Maximum number of rows returned.
|
|
398
|
+
- `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.
|
|
333
399
|
|
|
334
400
|
### HandlerCreate
|
|
335
401
|
|
|
336
402
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
337
403
|
|
|
338
|
-
**Description:** Creates
|
|
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).
|
|
339
405
|
|
|
340
406
|
**Available in:** cloud, onprem
|
|
341
407
|
|
|
@@ -353,7 +419,7 @@ per request.
|
|
|
353
419
|
- `description` — Human-readable object description.
|
|
354
420
|
- `transport_request` — Transport request id (if required by system).
|
|
355
421
|
- `master_language` — Original language of the created object (e.g. EN, DE). Absent, the session language (SAP_LANGUAGE or x-sap-language) is used; with none, SAP's logon language applies.
|
|
356
|
-
- `super_package` —
|
|
422
|
+
- `super_package` — PACKAGE create. Optional: the package this package belongs to, which must exist (SAP creates the package with no super package when the named one is missing). Without one the package is top level, which SAP allows for a structure package or a package in software component LOCAL ($ or TEST names, no transport layer); in an ABAP Cloud software component the top level is a structure package (SAP answers TR 462 to any other).
|
|
357
423
|
- `package_type` — Package type (PACKAGE create).
|
|
358
424
|
- `software_component` — Software component (PACKAGE create).
|
|
359
425
|
- `transport_layer` — Transport layer (PACKAGE create).
|
|
@@ -380,13 +446,55 @@ per request.
|
|
|
380
446
|
- `binding_variant` — Binding variant (SERVICE_BINDING create); ODATA_V4_UI when absent.
|
|
381
447
|
- `name` — Object name for handlers that require a generic `name` (behavior definition, metadata extension).
|
|
382
448
|
- `implementation_type` — Behavior definition implementation type.
|
|
383
|
-
- `detail` — How much of the answer to return: "terse" (default
|
|
449
|
+
- `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.
|
|
450
|
+
|
|
451
|
+
**On ABAP Cloud (`cloud`):** 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 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).
|
|
452
|
+
|
|
453
|
+
**Parameters (`cloud`):**
|
|
454
|
+
|
|
455
|
+
- `object_type` (required) — ABAP object type for routed compact operation.
|
|
456
|
+
- `class_name` — ABAP class name (CLASS, BEHAVIOR_IMPLEMENTATION).
|
|
457
|
+
- `behavior_definition` — Behavior definition the implementation is for (BEHAVIOR_IMPLEMENTATION, required there).
|
|
458
|
+
- `domain_name` — ABAP domain name.
|
|
459
|
+
- `function_module_name` — ABAP function module name.
|
|
460
|
+
- `function_group_name` — ABAP function group name (FUNCTION_GROUP; the group of a FUNCTION_MODULE).
|
|
461
|
+
- `package_name` — ABAP package name.
|
|
462
|
+
- `ddl_name` — DDL source name (CDS view, AMDP table function, etc.).
|
|
463
|
+
- `description` — Human-readable object description.
|
|
464
|
+
- `transport_request` — Transport request id (if required by system).
|
|
465
|
+
- `master_language` — Original language of the created object (e.g. EN, DE). Absent, the session language (SAP_LANGUAGE or x-sap-language) is used; with none, SAP's logon language applies.
|
|
466
|
+
- `super_package` — PACKAGE create. Optional: the package this package belongs to, which must exist (SAP creates the package with no super package when the named one is missing). Without one the package is top level, which SAP allows for a structure package or a package in software component LOCAL ($ or TEST names, no transport layer); in an ABAP Cloud software component the top level is a structure package (SAP answers TR 462 to any other).
|
|
467
|
+
- `package_type` — Package type (PACKAGE create).
|
|
468
|
+
- `software_component` — Software component (PACKAGE create).
|
|
469
|
+
- `transport_layer` — Transport layer (PACKAGE create).
|
|
470
|
+
- `record_changes` — Record changes (PACKAGE create).
|
|
471
|
+
- `application_component` — Application component (PACKAGE create).
|
|
472
|
+
- `transport_type` — Transport request type (TRANSPORT create).
|
|
473
|
+
- `target_system` — Target system of the transport request (TRANSPORT create).
|
|
474
|
+
- `owner` — Owner of the transport request (TRANSPORT create).
|
|
475
|
+
- `task_type` — The type given to the request's task (TRANSPORT create): S — Development/Correction (default), R — Repair, X — Unclassified, as SAP creates it.
|
|
476
|
+
- `superclass` — Superclass name (CLASS create).
|
|
477
|
+
- `final` — Mark the class final (CLASS create).
|
|
478
|
+
- `create_protected` — Protected constructor (CLASS create).
|
|
479
|
+
- `table_name` — Table name.
|
|
480
|
+
- `structure_name` — Structure name.
|
|
481
|
+
- `data_element_name` — Data element name.
|
|
482
|
+
- `interface_name` — Interface name.
|
|
483
|
+
- `table_type_name` — Table type name.
|
|
484
|
+
- `service_definition_name` — Service definition name (SERVICE_DEFINITION; the definition a SERVICE_BINDING binds).
|
|
485
|
+
- `service_binding_name` — Service binding name.
|
|
486
|
+
- `service_name` — Service name of the binding (SERVICE_BINDING create); the binding name when absent.
|
|
487
|
+
- `service_version` — Service version of the binding (SERVICE_BINDING create); 0001 when absent.
|
|
488
|
+
- `binding_variant` — Binding variant (SERVICE_BINDING create); ODATA_V4_UI when absent.
|
|
489
|
+
- `name` — Object name for handlers that require a generic `name` (behavior definition, metadata extension).
|
|
490
|
+
- `implementation_type` — Behavior definition implementation type.
|
|
491
|
+
- `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.
|
|
384
492
|
|
|
385
493
|
### HandlerUpdate
|
|
386
494
|
|
|
387
495
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
388
496
|
|
|
389
|
-
**Description:**
|
|
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).
|
|
390
498
|
|
|
391
499
|
**Available in:** cloud, onprem
|
|
392
500
|
|
|
@@ -438,11 +546,58 @@ per request.
|
|
|
438
546
|
- `selections` — The selection texts (programs and function groups): the whole list; texts left out are deleted.
|
|
439
547
|
- `headings` — The list header and four column headers (programs and function groups); a heading given empty or left out is deleted.
|
|
440
548
|
|
|
549
|
+
**On ABAP Cloud (`cloud`):** 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 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 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).
|
|
550
|
+
|
|
551
|
+
**Parameters (`cloud`):**
|
|
552
|
+
|
|
553
|
+
- `object_type` (required) — ABAP object type for routed compact operation.
|
|
554
|
+
- `lock_handle` (required) — The lock handle of the object (for a class include, of the class): the write is sent under it.
|
|
555
|
+
- `transport_request` — Transport request id, sent as the write's corrNr (the types whose description names it).
|
|
556
|
+
- `class_name` — ABAP class name.
|
|
557
|
+
- `domain_name` — ABAP domain name.
|
|
558
|
+
- `function_module_name` — ABAP function module name.
|
|
559
|
+
- `function_group_name` — ABAP function group name.
|
|
560
|
+
- `package_name` — ABAP package name.
|
|
561
|
+
- `ddl_name` — DDL source name (CDS view, AMDP table function, etc.).
|
|
562
|
+
- `source_code` — The content written: the source, or for PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP, TABLE_TYPE and INCLUDE with part metadata the whole metadata document.
|
|
563
|
+
- `ddl_source` — Complete DDL source code (for DDL update).
|
|
564
|
+
- `table_name` — Table name.
|
|
565
|
+
- `structure_name` — Structure name.
|
|
566
|
+
- `data_element_name` — Data element name.
|
|
567
|
+
- `interface_name` — Interface name.
|
|
568
|
+
- `table_type_name` — Table type name.
|
|
569
|
+
- `service_definition_name` — Service definition name.
|
|
570
|
+
- `service_binding_name` — Service binding name.
|
|
571
|
+
- `service_name` — Published service name (SERVICE_BINDING, an OData V2 binding).
|
|
572
|
+
- `service_version` — Published service version (SERVICE_BINDING, an OData V2 binding). Default 0001.
|
|
573
|
+
- `name` — Object name for handlers that require a generic `name` (behavior definition, metadata extension).
|
|
574
|
+
- `ddl_code` — Complete DDL source code (for TABLE/STRUCTURE update).
|
|
575
|
+
- `implementation_code` — Behavior implementation methods source code.
|
|
576
|
+
- `test_class_source` — ABAP source of the local test classes (UNIT_TEST and CDS_UNIT_TEST update).
|
|
577
|
+
- `test_class_code` — Updated source for the local test class.
|
|
578
|
+
- `local_types_code` — Updated source for class local types.
|
|
579
|
+
- `definitions_code` — Updated source for class local definitions.
|
|
580
|
+
- `macros_code` — Updated source for class local macros.
|
|
581
|
+
- `binding_variant` — Service binding variant (service binding update).
|
|
582
|
+
- `desired_publication_state` — Target publication state (service binding update).
|
|
583
|
+
- `data_class` — Data class. The value help lists APPL0 (master data), APPL1 (transaction data), APPL2 (organization and customizing) and DDIM, DFACT, DODS; SAP checks the value when the table is activated.
|
|
584
|
+
- `size_category` — Size category, a digit from 0 to 9.
|
|
585
|
+
- `buffering` — Buffering; each field given replaces the stored one.
|
|
586
|
+
- `storage_type` — Storage type.
|
|
587
|
+
- `sharing_type` — Sharing type.
|
|
588
|
+
- `load_unit` — Load unit.
|
|
589
|
+
- `translation` — Translation value; the translation flags keep their stored values.
|
|
590
|
+
- `logging_enabled` — Whether changes to the table data are logged.
|
|
591
|
+
- `is_writable_by_amdp` — TABLE_SETTINGS on the cloud: true allows AMDP writes; activation then needs buffering N, logging off and no replacement object.
|
|
592
|
+
- `symbols` — The text symbols: the whole list; symbols left out are deleted.
|
|
593
|
+
- `selections` — The selection texts (programs and function groups): the whole list; texts left out are deleted.
|
|
594
|
+
- `headings` — The list header and four column headers (programs and function groups); a heading given empty or left out is deleted.
|
|
595
|
+
|
|
441
596
|
### HandlerDelete
|
|
442
597
|
|
|
443
598
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
444
599
|
|
|
445
|
-
**Description:** Deletes
|
|
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).
|
|
446
601
|
|
|
447
602
|
**Available in:** cloud, onprem
|
|
448
603
|
|
|
@@ -470,11 +625,35 @@ per request.
|
|
|
470
625
|
- `behavior_implementation_name` — Behavior implementation name.
|
|
471
626
|
- `metadata_extension_name` — Metadata extension name.
|
|
472
627
|
|
|
628
|
+
**On ABAP Cloud (`cloud`):** 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 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).
|
|
629
|
+
|
|
630
|
+
**Parameters (`cloud`):**
|
|
631
|
+
|
|
632
|
+
- `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.
|
|
634
|
+
- `package_name` — ABAP package name.
|
|
635
|
+
- `class_name` — ABAP class name.
|
|
636
|
+
- `domain_name` — ABAP domain name.
|
|
637
|
+
- `function_module_name` — ABAP function module name.
|
|
638
|
+
- `function_group_name` — ABAP function group name.
|
|
639
|
+
- `ddl_name` — DDL source name (CDS view, AMDP table function, etc.).
|
|
640
|
+
- `transport_request` — Transport request id, sent with the deletion (or the include write).
|
|
641
|
+
- `table_name` — Table name.
|
|
642
|
+
- `structure_name` — Structure name.
|
|
643
|
+
- `data_element_name` — Data element name.
|
|
644
|
+
- `interface_name` — Interface name.
|
|
645
|
+
- `table_type_name` — Table type name.
|
|
646
|
+
- `service_definition_name` — Service definition name.
|
|
647
|
+
- `service_binding_name` — Service binding name.
|
|
648
|
+
- `behavior_definition_name` — Behavior definition name.
|
|
649
|
+
- `behavior_implementation_name` — Behavior implementation name.
|
|
650
|
+
- `metadata_extension_name` — Metadata extension name.
|
|
651
|
+
|
|
473
652
|
### HandlerActivate
|
|
474
653
|
|
|
475
654
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
476
655
|
|
|
477
|
-
**Description:** Activates
|
|
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.
|
|
478
657
|
|
|
479
658
|
**Available in:** cloud, onprem
|
|
480
659
|
|
|
@@ -488,11 +667,23 @@ per request.
|
|
|
488
667
|
- `objects` — The objects activated together (list form).
|
|
489
668
|
- `preaudit` — Run pre-audit checks before activation.
|
|
490
669
|
|
|
670
|
+
**On ABAP Cloud (`cloud`):** Activates a class (CLAS), 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.
|
|
671
|
+
|
|
672
|
+
**Parameters (`cloud`):**
|
|
673
|
+
|
|
674
|
+
- `object_type` — ABAP object type for routed compact operation. Names the object's type in the single form.
|
|
675
|
+
- `object_name` — Object name (single form). A function module is named GROUP|MODULE, its function group first, or the module alone with function_group_name.
|
|
676
|
+
- `function_group_name` — A function module's function group (single form, FUNCTION_MODULE).
|
|
677
|
+
- `object_adt_type` — ADT object type code (e.g. CLAS/OC, PROG/P) of the object (single form).
|
|
678
|
+
- `parentName` — With object_adt_type (single form): The function group the object belongs to; its address is built from it. Required for FUGR/FF (function, functionmodule, function_module, func), FUGR/I. With PROG/PX, the function group whose text elements are activated.
|
|
679
|
+
- `objects` — The objects activated together (list form).
|
|
680
|
+
- `preaudit` — Run pre-audit checks before activation.
|
|
681
|
+
|
|
491
682
|
### HandlerTransportCreate
|
|
492
683
|
|
|
493
684
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
494
685
|
|
|
495
|
-
**Description:** Creates a
|
|
686
|
+
**Description:** Creates a workbench or customizing transport with its description, and gives the task SAP creates with it the type asked.
|
|
496
687
|
|
|
497
688
|
**Available in:** cloud, onprem
|
|
498
689
|
|
|
@@ -503,12 +694,13 @@ per request.
|
|
|
503
694
|
- `target_system` — Target system id.
|
|
504
695
|
- `owner` — Transport owner user.
|
|
505
696
|
- `task_type` — Type given to the request's task: S Development/Correction (default), R Repair, X Unclassified.
|
|
697
|
+
- `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.
|
|
506
698
|
|
|
507
699
|
### HandlerTransportSortAndCompress
|
|
508
700
|
|
|
509
701
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
510
702
|
|
|
511
|
-
**Description:** Sorts the
|
|
703
|
+
**Description:** Sorts the objects of a transport task and merges its duplicates.
|
|
512
704
|
|
|
513
705
|
**Available in:** cloud, onprem
|
|
514
706
|
|
|
@@ -520,7 +712,7 @@ per request.
|
|
|
520
712
|
|
|
521
713
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
522
714
|
|
|
523
|
-
**Description:** Moves
|
|
715
|
+
**Description:** Moves objects from one transport task to another, each at its position in the task it leaves.
|
|
524
716
|
|
|
525
717
|
**Available in:** cloud, onprem
|
|
526
718
|
|
|
@@ -534,7 +726,7 @@ per request.
|
|
|
534
726
|
|
|
535
727
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
536
728
|
|
|
537
|
-
**Description:**
|
|
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).
|
|
538
730
|
|
|
539
731
|
**Available in:** cloud, onprem
|
|
540
732
|
|
|
@@ -542,27 +734,25 @@ per request.
|
|
|
542
734
|
|
|
543
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.
|
|
544
736
|
- `object_name` (required) — Object name. A function module is named GROUP|MODULE, its function group first.
|
|
545
|
-
- `
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
**Half:** `@mcp-abap-adt/compact-modify`
|
|
550
|
-
|
|
551
|
-
**Description:** Unlock operation. object_type required: CLASS(object_name*, lock_handle*), PROGRAM(object_name*, lock_handle*), INCLUDE(object_name*, lock_handle*), INTERFACE(object_name*, lock_handle*), FUNCTION_GROUP(object_name*, lock_handle*), FUNCTION_MODULE(object_name*, lock_handle*), TABLE(object_name*, lock_handle*), STRUCTURE(object_name*, lock_handle*), TABLE_TYPE(object_name*, lock_handle*), DDL(object_name*, lock_handle*), DOMAIN(object_name*, lock_handle*), DATA_ELEMENT(object_name*, lock_handle*), PACKAGE(object_name*, lock_handle*), BEHAVIOR_DEFINITION(object_name*, lock_handle*), BEHAVIOR_IMPLEMENTATION(object_name*, lock_handle*), METADATA_EXTENSION(object_name*, lock_handle*), SERVICE_DEFINITION(object_name*, lock_handle*), SERVICE_BINDING(object_name*, lock_handle*), TABLE_SETTINGS(object_name*, lock_handle*), PROGRAM_TEXT_ELEMENTS(object_name*, lock_handle*), FUNCTION_GROUP_TEXT_ELEMENTS(object_name*, lock_handle*), CLASS_TEXT_ELEMENTS(object_name*, lock_handle*); an empty lock_handle of a SERVICE_BINDING answers that the binding is already unlocked. The lock_handle is one a lock of this server instance answered; the unlock ends the instance's hold on the lock. Over Streamable HTTP the unlock takes 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).
|
|
737
|
+
- `action` — lock (default): lock the object for editing; unlock: release the lock lock_handle names.
|
|
738
|
+
- `lock_handle` — unlock: the lock handle the lock gave.
|
|
739
|
+
- `super_package` — PACKAGE: accepted for compatibility; the lock uses the package's name.
|
|
552
740
|
|
|
553
|
-
**
|
|
741
|
+
**On ABAP Cloud (`cloud`):** Locks or unlocks a class (CLAS), 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 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).
|
|
554
742
|
|
|
555
|
-
**Parameters:**
|
|
743
|
+
**Parameters (`cloud`):**
|
|
556
744
|
|
|
557
|
-
- `object_type` (required) — Object type. Supported: CLASS,
|
|
745
|
+
- `object_type` (required) — Object type. Supported: CLASS, 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, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS.
|
|
558
746
|
- `object_name` (required) — Object name. A function module is named GROUP|MODULE, its function group first.
|
|
559
|
-
- `
|
|
747
|
+
- `action` — lock (default): lock the object for editing; unlock: release the lock lock_handle names.
|
|
748
|
+
- `lock_handle` — unlock: the lock handle the lock gave.
|
|
749
|
+
- `super_package` — PACKAGE: accepted for compatibility; the lock uses the package's name.
|
|
560
750
|
|
|
561
751
|
### HandlerUnitTestRun
|
|
562
752
|
|
|
563
753
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
564
754
|
|
|
565
|
-
**Description:** ABAP Unit
|
|
755
|
+
**Description:** Runs the ABAP Unit tests of chosen test classes, of a repository object or of a package (DEVC), giving the run's id at once or the finished result of the test classes.
|
|
566
756
|
|
|
567
757
|
**Available in:** cloud, onprem
|
|
568
758
|
|
|
@@ -581,7 +771,7 @@ per request.
|
|
|
581
771
|
|
|
582
772
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
583
773
|
|
|
584
|
-
**Description:** Schedules an ABAP profiler trace
|
|
774
|
+
**Description:** Schedules an ABAP profiler trace for a later profiled run of a class (CLAS) or a report (PROG), with the parameters given.
|
|
585
775
|
|
|
586
776
|
**Available in:** cloud, onprem
|
|
587
777
|
|
|
@@ -606,7 +796,7 @@ per request.
|
|
|
606
796
|
|
|
607
797
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
608
798
|
|
|
609
|
-
**Description:** Runs
|
|
799
|
+
**Description:** Runs an ABAP class (CLAS), runs an ABAP report (PROG).
|
|
610
800
|
|
|
611
801
|
**Available in:** cloud, onprem
|
|
612
802
|
|
|
@@ -618,11 +808,20 @@ per request.
|
|
|
618
808
|
- `profiler_id` — The profiler id of a scheduled trace. Given, the run goes under that trace; absent, the run is plain.
|
|
619
809
|
- `background` — When true, the run goes on in the background on an ABAP session of its own and the call answers at once with a run_handle; read its answer later with HandlerBackgroundRunGet, and remove it with HandlerBackgroundRunDiscard. A started run cannot be stopped. No default: without it the call waits for the run to end.
|
|
620
810
|
|
|
811
|
+
**On ABAP Cloud (`cloud`):** Runs an ABAP class (CLAS).
|
|
812
|
+
|
|
813
|
+
**Parameters (`cloud`):**
|
|
814
|
+
|
|
815
|
+
- `target_type` (required) — Run target kind.
|
|
816
|
+
- `class_name` — Class to run.
|
|
817
|
+
- `profiler_id` — The profiler id of a scheduled trace. Given, the run goes under that trace; absent, the run is plain.
|
|
818
|
+
- `background` — When true, the run goes on in the background on an ABAP session of its own and the call answers at once with a run_handle; read its answer later with HandlerBackgroundRunGet, and remove it with HandlerBackgroundRunDiscard. A started run cannot be stopped. No default: without it the call waits for the run to end.
|
|
819
|
+
|
|
621
820
|
### HandlerDebugBreakpoints
|
|
622
821
|
|
|
623
822
|
**Half:** debugger tools of `@mcp-abap-adt/compact` (the write binaries; no `-ro` one)
|
|
624
823
|
|
|
625
|
-
**Description:**
|
|
824
|
+
**Description:** [debug] Sets the ABAP breakpoints of this debugging identity, syncs the ABAP or AMDP breakpoints, deletes an ABAP breakpoint, creates a watchpoint on a variable, lists the watchpoints, deletes a watchpoint.
|
|
626
825
|
|
|
627
826
|
**Available in:** cloud, onprem
|
|
628
827
|
|
|
@@ -640,13 +839,13 @@ per request.
|
|
|
640
839
|
- `watchpoint_id` — abap deleteWatchpoint: the id SAP gave the watchpoint.
|
|
641
840
|
- `request_user` — abap, user mode: the SAP user whose requests the breakpoints and the listener catch; the connected SAP user when omitted. The first abap call of a debug state fixes it.
|
|
642
841
|
- `debugging_mode` — abap: user (when omitted) catches every request of the request user; terminal catches the requests that carry this debug state's terminal_id and ide_id. The first abap call of a debug state fixes it.
|
|
643
|
-
- `detail` — How much of the answer to return: "terse" (default
|
|
842
|
+
- `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.
|
|
644
843
|
|
|
645
844
|
### HandlerDebugSession
|
|
646
845
|
|
|
647
846
|
**Half:** debugger tools of `@mcp-abap-adt/compact` (the write binaries; no `-ro` one)
|
|
648
847
|
|
|
649
|
-
**Description:**
|
|
848
|
+
**Description:** [debug] Checks whether another debugger holds this identity's debugging, listens for an ABAP debuggee, stops the ABAP listener, attaches an ABAP debuggee, detaches the debugger from the debuggee, terminates the ABAP debuggee, terminates the debugger, sets the debugger settings, starts an AMDP debug session, gets the AMDP session's events, stops the AMDP debug session, deletes an AMDP debuggee, ends the debug state.
|
|
650
849
|
|
|
651
850
|
**Available in:** cloud, onprem
|
|
652
851
|
|
|
@@ -662,13 +861,13 @@ per request.
|
|
|
662
861
|
- `settings` — abap setDebuggerSettings: the settings sent; a field left out keeps its value.
|
|
663
862
|
- `request_user` — abap, user mode: the SAP user whose requests the breakpoints and the listener catch; the connected SAP user when omitted. The first abap call of a debug state fixes it.
|
|
664
863
|
- `debugging_mode` — abap: user (when omitted) catches every request of the request user; terminal catches the requests that carry this debug state's terminal_id and ide_id. The first abap call of a debug state fixes it.
|
|
665
|
-
- `detail` — How much of the answer to return: "terse" (default
|
|
864
|
+
- `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.
|
|
666
865
|
|
|
667
866
|
### HandlerDebugStep
|
|
668
867
|
|
|
669
868
|
**Half:** debugger tools of `@mcp-abap-adt/compact` (the write binaries; no `-ro` one)
|
|
670
869
|
|
|
671
|
-
**Description:**
|
|
870
|
+
**Description:** [debug] Steps into the call where the debuggee stands, steps over a statement, steps out of the current call, continues to the next stop, runs to a source position, jumps to a source position, sets the stack frame whose variables are read.
|
|
672
871
|
|
|
673
872
|
**Available in:** cloud, onprem
|
|
674
873
|
|
|
@@ -684,13 +883,13 @@ per request.
|
|
|
684
883
|
- `parent_name` — For a function module: its function group.
|
|
685
884
|
- `position` — abap setStackPosition: the frame's position in the stack.
|
|
686
885
|
- `debuggee_id` — amdp: the debuggee id of the break event.
|
|
687
|
-
- `detail` — How much of the answer to return: "terse" (default
|
|
886
|
+
- `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.
|
|
688
887
|
|
|
689
888
|
### HandlerDebugMaintain
|
|
690
889
|
|
|
691
890
|
**Half:** debugger tools of `@mcp-abap-adt/compact` (the write binaries; no `-ro` one)
|
|
692
891
|
|
|
693
|
-
**Description:**
|
|
892
|
+
**Description:** [debug] Gets the debuggee's call stack, gets variables by name, gets a variable's members, gets the debuggee's memory sizes, creates a memory snapshot, sets a variable's value, gets an AMDP table variable's records.
|
|
694
893
|
|
|
695
894
|
**Available in:** cloud, onprem
|
|
696
895
|
|
|
@@ -706,13 +905,13 @@ per request.
|
|
|
706
905
|
- `debuggee_id` — amdp getDataPreview: the debuggee id of the break event.
|
|
707
906
|
- `query` — amdp getDataPreview: a SELECT over the table variable; every column when omitted.
|
|
708
907
|
- `row_number` — amdp getDataPreview: how many rows SAP answers; SAP's own count when omitted.
|
|
709
|
-
- `detail` — How much of the answer to return: "terse" (default
|
|
908
|
+
- `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.
|
|
710
909
|
|
|
711
910
|
### HandlerDebugBatch
|
|
712
911
|
|
|
713
912
|
**Half:** debugger tools of `@mcp-abap-adt/compact` (the write binaries; no `-ro` one)
|
|
714
913
|
|
|
715
|
-
**Description:**
|
|
914
|
+
**Description:** [debug] Begins recording the debugger calls at a stopped debuggee, ends the recording and sends the recorded debugger calls together, reads each recorded debugger call's outcome by its number. Over Streamable HTTP the state_handle it gives goes with every later call: send it as the state_handle argument of every call (or in the x-mcp-state-handle header).
|
|
716
915
|
|
|
717
916
|
**Available in:** cloud, onprem
|
|
718
917
|
|
|
@@ -726,7 +925,7 @@ per request.
|
|
|
726
925
|
|
|
727
926
|
**Half:** background-run tools of `@mcp-abap-adt/lib` (the write binaries, where `HandlerProfileRun` is)
|
|
728
927
|
|
|
729
|
-
**Description:** [read-only] Reads one of
|
|
928
|
+
**Description:** [read-only] Reads one of the caller's background runs by its run handle, with the answer of a run that has ended.
|
|
730
929
|
|
|
731
930
|
**Available in:** all
|
|
732
931
|
|
|
@@ -738,7 +937,7 @@ per request.
|
|
|
738
937
|
|
|
739
938
|
**Half:** background-run tools of `@mcp-abap-adt/lib` (the write binaries, where `HandlerProfileRun` is)
|
|
740
939
|
|
|
741
|
-
**Description:** [read-only] Lists
|
|
940
|
+
**Description:** [read-only] Lists the caller's background runs, running, finished and cancelled.
|
|
742
941
|
|
|
743
942
|
**Available in:** all
|
|
744
943
|
|
|
@@ -748,7 +947,7 @@ per request.
|
|
|
748
947
|
|
|
749
948
|
**Half:** background-run tools of `@mcp-abap-adt/lib` (the write binaries, where `HandlerProfileRun` is)
|
|
750
949
|
|
|
751
|
-
**Description:** [read-only]
|
|
950
|
+
**Description:** [read-only] Discards a background run by its run handle: a running read is cancelled and its session logged off, an ended run's answer deleted.
|
|
752
951
|
|
|
753
952
|
**Available in:** all
|
|
754
953
|
|
|
@@ -760,7 +959,7 @@ per request.
|
|
|
760
959
|
|
|
761
960
|
**Half:** leftover-session tools of `@mcp-abap-adt/lib`, stdio binaries only (the list and the logoff in both)
|
|
762
961
|
|
|
763
|
-
**Description:** [read-only] Lists the SAP sessions of this server's destination
|
|
962
|
+
**Description:** [read-only] Lists the SAP sessions of this server's destination left open by an ended server process, which may still hold locks.
|
|
764
963
|
|
|
765
964
|
**Available in:** all
|
|
766
965
|
|
|
@@ -770,7 +969,7 @@ per request.
|
|
|
770
969
|
|
|
771
970
|
**Half:** leftover-session tools of `@mcp-abap-adt/lib`, stdio binaries only (the list and the logoff in both)
|
|
772
971
|
|
|
773
|
-
**Description:** Logs off a leftover SAP session
|
|
972
|
+
**Description:** Logs off a leftover SAP session by its handle, releasing every lock it holds and deleting its record.
|
|
774
973
|
|
|
775
974
|
**Available in:** all
|
|
776
975
|
|
|
@@ -782,7 +981,7 @@ per request.
|
|
|
782
981
|
|
|
783
982
|
**Half:** batch mode of `@mcp-abap-adt/lib`, in every compact binary
|
|
784
983
|
|
|
785
|
-
**Description:** [read-only]
|
|
984
|
+
**Description:** [read-only] Begins recording the calls of the tools that allow it, ends the recording and sends the recorded calls to SAP together, reads each recorded call's answer by its number. Over Streamable HTTP the state_handle it gives goes with every later call: send it as the state_handle argument of every call (or in the x-mcp-state-handle header).
|
|
786
985
|
|
|
787
986
|
**Available in:** all
|
|
788
987
|
|
|
@@ -792,6 +991,78 @@ per request.
|
|
|
792
991
|
- `number` — answers only: one batch number to read (an integer of at least 1); give this or numbers, not both.
|
|
793
992
|
- `numbers` — answers only: several batch numbers to read, answered in the order given; give this or number, not both.
|
|
794
993
|
|
|
994
|
+
### HandlerAbapGitGet
|
|
995
|
+
|
|
996
|
+
**Half:** abapGit tools of `@mcp-abap-adt/lib` (`HandlerAbapGitGet` in every compact binary, `HandlerAbapGit` in the write binaries), always listed; a call on a system whose discovery does not list abapGit is refused `abapgit_not_served`
|
|
997
|
+
|
|
998
|
+
**Description:** [read-only] Reads the linked abapGit repositories, checks a remote repository, reads a repository's staging, checks a repository's connection to its remote, reads a repository file.
|
|
999
|
+
|
|
1000
|
+
**Available in:** all
|
|
1001
|
+
|
|
1002
|
+
**Parameters:**
|
|
1003
|
+
|
|
1004
|
+
- `action` (required) — The read: repos (the linked repositories), external_repo (what a remote repository offers), staging (what changed), checks (the repository's connection to its remote), file (one file of the repository).
|
|
1005
|
+
- `repository_key` — repos: only the repository with this key. staging: required, the repository. checks: required, the repository. file: required, the repository.
|
|
1006
|
+
- `package_name` — repos: only the repository linked to this package.
|
|
1007
|
+
- `url` — external_repo: required, the remote repository URL over HTTPS, without a user, a password, a query or a fragment.
|
|
1008
|
+
- `filename` — file: required, the file name.
|
|
1009
|
+
- `version` — file: required, local (the system's) or remote (the remote branch's).
|
|
1010
|
+
- `detail` — repos: 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. external_repo: 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. staging: 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.
|
|
1011
|
+
|
|
1012
|
+
**On ABAP Cloud (`cloud`):** [read-only] Reads the linked abapGit repositories, checks a remote repository, reads what a pull would change, reads a repository's staging, checks a repository's connection to its remote, reads a repository file, reads a run's error log.
|
|
1013
|
+
|
|
1014
|
+
**Parameters (`cloud`):**
|
|
1015
|
+
|
|
1016
|
+
- `action` (required) — The read: repos (the linked repositories), external_repo (what a remote repository offers), modified_objects (what a pull would change), staging (what changed), checks (the repository's connection to its remote), file (one file of the repository), error_log (a run's log).
|
|
1017
|
+
- `repository_key` — repos: only the repository with this key. modified_objects: required, the repository. staging: required, the repository. checks: required, the repository. file: required, the repository. error_log: required, the repository.
|
|
1018
|
+
- `package_name` — repos: only the repository linked to this package.
|
|
1019
|
+
- `url` — external_repo: required, the remote repository URL over HTTPS, without a user, a password, a query or a fragment.
|
|
1020
|
+
- `filename` — file: required, the file name.
|
|
1021
|
+
- `version` — file: required, local (the system's) or remote (the remote branch's).
|
|
1022
|
+
- `app_log_key` — error_log: required, the run log key the repository list answers for the repository's last run.
|
|
1023
|
+
- `detail` — repos: 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. external_repo: 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. modified_objects: 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. staging: 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. error_log: 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.
|
|
1024
|
+
|
|
1025
|
+
### HandlerAbapGit
|
|
1026
|
+
|
|
1027
|
+
**Half:** abapGit tools of `@mcp-abap-adt/lib` (`HandlerAbapGitGet` in every compact binary, `HandlerAbapGit` in the write binaries), always listed; a call on a system whose discovery does not list abapGit is refused `abapgit_not_served`
|
|
1028
|
+
|
|
1029
|
+
**Description:** Links a package (DEVC) to a remote repository, unlinks a repository from its package (DEVC), pulls a repository, pushes a commit to a remote branch, switches a repository's branch.
|
|
1030
|
+
|
|
1031
|
+
**Available in:** all
|
|
1032
|
+
|
|
1033
|
+
**Parameters:**
|
|
1034
|
+
|
|
1035
|
+
- `action` (required) — The write: link (link a package to a remote repository), unlink (end a repository's binding to its package), pull (import the remote branch), push (commit and push chosen objects), switch_branch (switch or create the repository's branch).
|
|
1036
|
+
- `repository_key` — unlink: required, the repository. pull: required, the repository. push: required, the repository. switch_branch: required, the repository.
|
|
1037
|
+
- `package_name` — link: required, the package linked.
|
|
1038
|
+
- `url` — link: required, the remote repository URL over HTTPS.
|
|
1039
|
+
- `branch` — link: required, the branch linked. switch_branch: required, the branch switched to.
|
|
1040
|
+
- `transport_request` — link: the transport request that records the objects written. pull: the transport request that records the objects written.
|
|
1041
|
+
- `objects` — push: required, the objects and files to commit, as staging with detail "medium" answers them.
|
|
1042
|
+
- `comment` — push: required, the commit message.
|
|
1043
|
+
- `author` — push: required, the commit author: name and email.
|
|
1044
|
+
- `committer` — push: required, the committer: name and email.
|
|
1045
|
+
- `create` — switch_branch: required, true creates the branch in the remote when it does not exist.
|
|
1046
|
+
- `background` — link: When true, the run goes on in the background on an ABAP session of its own and the call answers at once with a run_handle; read its answer later with HandlerBackgroundRunGet, and remove it with HandlerBackgroundRunDiscard. A started run cannot be stopped. No default: without it the call waits for the run to end. pull: When true, the run goes on in the background on an ABAP session of its own and the call answers at once with a run_handle; read its answer later with HandlerBackgroundRunGet, and remove it with HandlerBackgroundRunDiscard. A started run cannot be stopped. No default: without it the call waits for the run to end. push: When true, the run goes on in the background on an ABAP session of its own and the call answers at once with a run_handle; read its answer later with HandlerBackgroundRunGet, and remove it with HandlerBackgroundRunDiscard. A started run cannot be stopped. No default: without it the call waits for the run to end.
|
|
1047
|
+
|
|
1048
|
+
**On ABAP Cloud (`cloud`):** Links a package (DEVC) to a remote repository, unlinks a repository from its package (DEVC), pulls a repository, pushes a commit to a remote branch, reads a remote branch's information.
|
|
1049
|
+
|
|
1050
|
+
**Parameters (`cloud`):**
|
|
1051
|
+
|
|
1052
|
+
- `action` (required) — The write: link (link a package to a remote repository), unlink (end a repository's binding to its package), pull (import the remote branch), push (commit and push chosen objects), branch_info (one remote branch for a package, SAP links and unlinks to answer it).
|
|
1053
|
+
- `repository_key` — unlink: required, the repository. pull: required, the repository. push: required, the repository.
|
|
1054
|
+
- `package_name` — link: required, the package linked. branch_info: required, the package SAP links to answer.
|
|
1055
|
+
- `url` — link: required, the remote repository URL over HTTPS. branch_info: required, the remote repository URL over HTTPS.
|
|
1056
|
+
- `branch` — link: required, the branch linked. branch_info: required, the branch read.
|
|
1057
|
+
- `transport_request` — link: the transport request that records the objects written. pull: the transport request that records the objects written.
|
|
1058
|
+
- `folder_logic` — link: cloud: how folders map to subpackages, FULL or PREFIX.
|
|
1059
|
+
- `objects` — push: required, the objects and files to commit, as staging with detail "medium" answers them.
|
|
1060
|
+
- `overwrite` — pull: cloud: the objects of modified_objects to overwrite with their remote version, each once, by type and name; a name the list holds under two types is refused, within one list or across both: SAP matches by name within each list, so a collision inside one list could take an object not named. SAP selects by name when its job runs, against the list as it stands then: of the objects outside the selection, the remote-only adds and updates are imported, and every other one (changes in the system, remote deletions, objects of other packages) keeps its system state; SAP leaves a package warning with action 5 (delete and re-create) out of every pull. Without it the job takes every other listed object.
|
|
1061
|
+
- `comment` — push: required, the commit message.
|
|
1062
|
+
- `author` — push: required, the commit author: name and email.
|
|
1063
|
+
- `committer` — push: required, the committer: name and email.
|
|
1064
|
+
- `detail` — branch_info: 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.
|
|
1065
|
+
|
|
795
1066
|
## Streamable HTTP Binaries
|
|
796
1067
|
|
|
797
1068
|
`mcp-abap-adt-compact-sse`, `mcp-abap-adt-compact-sse-ro` (SSE) serve the tools of `mcp-abap-adt-compact`, `mcp-abap-adt-compact-ro` without `HandlerLeftoverSessionList`, `HandlerLeftoverSessionLogoff`, which are stdio's only. `mcp-abap-adt-compact-http`, `mcp-abap-adt-compact-http-ro` (Streamable HTTP) serve the same tools, and beside them:
|
|
@@ -801,7 +1072,7 @@ per request.
|
|
|
801
1072
|
|
|
802
1073
|
### HandlerSession (Streamable HTTP)
|
|
803
1074
|
|
|
804
|
-
**Description:** [read-only]
|
|
1075
|
+
**Description:** [read-only] Opens a long session on this server, closes a long session.
|
|
805
1076
|
|
|
806
1077
|
**Parameters:**
|
|
807
1078
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/compact",
|
|
3
3
|
"mcpName": "io.github.fr0ster/mcp-abap-adt-compact",
|
|
4
|
-
"version": "24.
|
|
5
|
-
"description": "The compact MCP server for SAP ABAP ADT: one tool per operation with the object in the arguments
|
|
4
|
+
"version": "24.2.1",
|
|
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>",
|
|
8
8
|
"repository": {
|
|
@@ -12,12 +12,26 @@
|
|
|
12
12
|
"homepage": null,
|
|
13
13
|
"bugs": null,
|
|
14
14
|
"keywords": [
|
|
15
|
-
"sap",
|
|
16
15
|
"abap",
|
|
16
|
+
"sap",
|
|
17
17
|
"adt",
|
|
18
18
|
"mcp",
|
|
19
19
|
"mcp-server",
|
|
20
|
-
"
|
|
20
|
+
"model-context-protocol",
|
|
21
|
+
"abap-cloud",
|
|
22
|
+
"sap-btp",
|
|
23
|
+
"s4hana",
|
|
24
|
+
"on-premise",
|
|
25
|
+
"where-used",
|
|
26
|
+
"atc",
|
|
27
|
+
"abap-unit",
|
|
28
|
+
"transports",
|
|
29
|
+
"mcp-prompts",
|
|
30
|
+
"access-control",
|
|
31
|
+
"crud",
|
|
32
|
+
"debugger",
|
|
33
|
+
"compact",
|
|
34
|
+
"batch"
|
|
21
35
|
],
|
|
22
36
|
"type": "commonjs",
|
|
23
37
|
"main": "dist/index.js",
|
|
@@ -58,12 +72,12 @@
|
|
|
58
72
|
"docs:tools": "node ./tools/generate-docs.js"
|
|
59
73
|
},
|
|
60
74
|
"dependencies": {
|
|
61
|
-
"@mcp-abap-adt/background-runs-memory": "^24.
|
|
62
|
-
"@mcp-abap-adt/compact-modify": "^24.
|
|
63
|
-
"@mcp-abap-adt/compact-readonly-entries": "^24.
|
|
64
|
-
"@mcp-abap-adt/lib": "^24.
|
|
65
|
-
"@mcp-abap-adt/responsible-rules": "^24.
|
|
66
|
-
"@mcp-abap-adt/server-runtime": "^24.
|
|
75
|
+
"@mcp-abap-adt/background-runs-memory": "^24.2.1",
|
|
76
|
+
"@mcp-abap-adt/compact-modify": "^24.2.1",
|
|
77
|
+
"@mcp-abap-adt/compact-readonly-entries": "^24.2.1",
|
|
78
|
+
"@mcp-abap-adt/lib": "^24.2.1",
|
|
79
|
+
"@mcp-abap-adt/responsible-rules": "^24.2.1",
|
|
80
|
+
"@mcp-abap-adt/server-runtime": "^24.2.1"
|
|
67
81
|
},
|
|
68
82
|
"devDependencies": {
|
|
69
83
|
"typescript": "^6.0.2",
|