@mcp-abap-adt/compact 24.2.1 → 25.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/AVAILABLE_TOOLS.md +53 -31
- package/package.json +7 -7
package/docs/AVAILABLE_TOOLS.md
CHANGED
|
@@ -25,15 +25,15 @@ per request.
|
|
|
25
25
|
|
|
26
26
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
27
27
|
|
|
28
|
-
**Description:** [read-only] Reads the metadata of a package (DEVC), reads the contents of a package (DEVC), reads the metadata of a domain (DOMA), reads the metadata of a data element (DTEL), reads the source code of a table (TABL), reads the metadata of a table (TABL), reads the source code of a structure (TABL), reads the metadata of a structure (TABL), reads the metadata of a table type (TTYP), reads the source code of a CDS view (DDLS), reads the metadata of a CDS view (DDLS), reads the source code of a service definition (SRVD), reads the metadata of a service definition (SRVD), reads the binding definition of a service binding (SRVB), reads the metadata of a service binding (SRVB), reads the URLs of a service binding (SRVB), reads the source code of a class (CLAS), reads the metadata of a class (CLAS), reads the local test classes of a class (CLAS), reads the local types of a class (CLAS), reads the local definitions of a class (CLAS), reads the local macros of a class (CLAS), reads the source code of a program (PROG), reads the metadata of a program (PROG), reads the source code of an include (PROG), reads the metadata of an include (PROG), reads the source code of an interface (INTF), reads the metadata of an interface (INTF), reads the metadata of a function group (FUGR), reads the source code of a function module (FUGR), reads the metadata of a function module (FUGR), reads the source code of a behavior definition (BDEF), reads the metadata of a behavior definition (BDEF), reads the source code of a behavior implementation (CLAS), reads the metadata of a behavior implementation (CLAS), reads the source code of a metadata extension (DDLX), reads the metadata of a metadata extension (DDLX), reads an ABAP Unit run's result, reads a CDS unit test run's result, reads the objects of a transport, reads the header of a transport, reads the technical settings of a table (TABL), reads the text elements of a program (PROG), reads the text elements of a function group (FUGR), reads the text elements of a class (CLAS), reads the main programs (PROG) of an include (PROG), reads whether a repository object holds an unactivated change, and whose, reads a repository object's structure, reads a repository browser node, reads virtual folders, reads an activation run's status, reads an activation run's results. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
28
|
+
**Description:** [read-only] Reads the metadata of a package (DEVC), reads the contents of a package (DEVC), reads the metadata of a domain (DOMA), reads the metadata of a data element (DTEL), reads the source code of a table (TABL), reads the metadata of a table (TABL), reads the source code of a structure (TABL), reads the metadata of a structure (TABL), reads the metadata of a table type (TTYP), reads the source code of a CDS view (DDLS), reads the metadata of a CDS view (DDLS), reads the source code of a service definition (SRVD), reads the metadata of a service definition (SRVD), reads the binding definition of a service binding (SRVB), reads the metadata of a service binding (SRVB), reads the URLs of a service binding (SRVB), reads the source code of a class (CLAS), reads the metadata of a class (CLAS), reads the local test classes of a class (CLAS), reads the local types of a class (CLAS), reads the local definitions of a class (CLAS), reads the local macros of a class (CLAS), reads the source code of a program (PROG), reads the metadata of a program (PROG), reads the source code of an include (PROG), reads the metadata of an include (PROG), reads the source code of a type group, reads the metadata of a type group, reads the source code of an interface (INTF), reads the metadata of an interface (INTF), reads the metadata of a function group (FUGR), reads the source code of a function module (FUGR), reads the metadata of a function module (FUGR), reads the source code of a behavior definition (BDEF), reads the metadata of a behavior definition (BDEF), reads the source code of a behavior implementation (CLAS), reads the metadata of a behavior implementation (CLAS), reads the source code of a metadata extension (DDLX), reads the metadata of a metadata extension (DDLX), reads an ABAP Unit run's result, reads a CDS unit test run's result, reads the objects of a transport, reads the header of a transport, reads the technical settings of a table (TABL), reads the text elements of a program (PROG), reads the text elements of a function group (FUGR), reads the text elements of a class (CLAS), reads the main programs (PROG) of an include (PROG), reads whether a repository object holds an unactivated change, and whose, reads a repository object's structure, reads a repository browser node, reads virtual folders, reads an activation run's status, reads an activation run's results. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
29
29
|
|
|
30
30
|
**Available in:** cloud, onprem
|
|
31
31
|
|
|
32
32
|
**Parameters:**
|
|
33
33
|
|
|
34
|
-
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS, and the parts object_structure, node_structure, virtual_folders.
|
|
34
|
+
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS, and the parts object_structure, node_structure, virtual_folders.
|
|
35
35
|
- `object_type` — ABAP object type for routed compact operation.
|
|
36
|
-
- `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced). main_programs (INCLUDE): the include's main programs. draft (PROGRAM, INCLUDE, INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
|
|
36
|
+
- `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced). Three read a source in parts: size (the size of the source alone: its address, bytes, lines, source_hash and etag, no text), outline (object_adt_type*, object_name*: the outline of the object, its view kinds or parts and their filters) and source_part (object_type* of a class, an interface, a program, an include, a function group or a function module, object_name*, function_group_name for a module, targets*, start_line, end_line: elements of the source by the addresses or refs the outline answers). main_programs (INCLUDE): the include's main programs. draft (PROGRAM, INCLUDE, INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
|
|
37
37
|
- `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
38
38
|
- `package_name` — Package name.
|
|
39
39
|
- `package_names` — Several package names (part contents), read together, as GetPackageContents answers them: at detail terse each package's rows under its '# asked' line, else one entry per package, in the order given.
|
|
@@ -43,6 +43,7 @@ per request.
|
|
|
43
43
|
- `interface_name` — Interface name.
|
|
44
44
|
- `program_name` — Program name.
|
|
45
45
|
- `include_name` — Include name.
|
|
46
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
46
47
|
- `domain_name` — Domain name.
|
|
47
48
|
- `data_element_name` — Data element name.
|
|
48
49
|
- `table_name` — Table name.
|
|
@@ -64,6 +65,13 @@ per request.
|
|
|
64
65
|
- `object_adt_type` — ADT type code of the object (object_structure) or of the parent node (node_structure).
|
|
65
66
|
- `object_name` — Object name (object_structure) or parent name (node_structure).
|
|
66
67
|
- `node_id` — Node id to expand (node_structure); the root when absent.
|
|
68
|
+
- `targets` — The elements to read (part source_part): each an address or the outline's ref, at least one.
|
|
69
|
+
- `start_line` — First line to answer (part source_part), counted from the element's first line (1). Only with one target.
|
|
70
|
+
- `end_line` — Last line to answer, included (part source_part), counted from the element's first line. Only with one target.
|
|
71
|
+
- `view` — A view of the outline (part outline): "kinds" each element type with its count and each include with its element count; "parts" every element with its address and ref, and the interface of each piece.
|
|
72
|
+
- `element_types` — With part outline and view "parts": only elements of these ADT types.
|
|
73
|
+
- `element_name` — With part outline and view "parts": only elements of this name, exact or with * for any run of characters, case ignored.
|
|
74
|
+
- `parent` — With part outline and view "parts": only the children of the element of this name, case ignored.
|
|
67
75
|
- `with_short_descriptions` — Include short descriptions (node_structure).
|
|
68
76
|
- `object_search_pattern` — Object name pattern (virtual_folders).
|
|
69
77
|
- `preselection` — Facet preselections (virtual_folders).
|
|
@@ -71,13 +79,13 @@ per request.
|
|
|
71
79
|
- `with_versions` — Include versions (virtual_folders).
|
|
72
80
|
- `ignore_short_descriptions` — Leave out short descriptions (virtual_folders).
|
|
73
81
|
|
|
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.
|
|
82
|
+
**On ABAP Cloud (`cloud`):** [read-only] Reads the metadata of a package (DEVC), reads the contents of a package (DEVC), reads the metadata of a domain (DOMA), reads the metadata of a data element (DTEL), reads the source code of a table (TABL), reads the metadata of a table (TABL), reads the source code of a structure (TABL), reads the metadata of a structure (TABL), reads the metadata of a table type (TTYP), reads the source code of a CDS view (DDLS), reads the metadata of a CDS view (DDLS), reads the source code of a service definition (SRVD), reads the metadata of a service definition (SRVD), reads the binding definition of a service binding (SRVB), reads the metadata of a service binding (SRVB), reads the URLs of a service binding (SRVB), reads the source code of a class (CLAS), reads the metadata of a class (CLAS), reads the local test classes of a class (CLAS), reads the local types of a class (CLAS), reads the local definitions of a class (CLAS), reads the local macros of a class (CLAS), reads the source code of a program (PROG), reads the metadata of a program (PROG), reads the source code of an include (PROG), reads the metadata of an include (PROG), reads the source code of a type group, reads the metadata of a type group, reads the source code of an interface (INTF), reads the metadata of an interface (INTF), reads the metadata of a function group (FUGR), reads the source code of a function module (FUGR), reads the metadata of a function module (FUGR), reads the source code of a behavior definition (BDEF), reads the metadata of a behavior definition (BDEF), reads the source code of a behavior implementation (CLAS), reads the metadata of a behavior implementation (CLAS), reads the source code of a metadata extension (DDLX), reads the metadata of a metadata extension (DDLX), reads an ABAP Unit run's result, reads a CDS unit test run's result, reads the objects of a transport, reads the header of a transport, reads the technical settings of a table (TABL), reads the text elements of a program (PROG), 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
83
|
|
|
76
84
|
**Parameters (`cloud`):**
|
|
77
85
|
|
|
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.
|
|
86
|
+
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS, and the parts object_structure, node_structure, virtual_folders.
|
|
79
87
|
- `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.
|
|
88
|
+
- `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). Three read a source in parts: size (the size of the source alone: its address, bytes, lines, source_hash and etag, no text), outline (object_adt_type*, object_name*: the outline of the object, its view kinds or parts and their filters) and source_part (object_type* of a class, an interface, a program, an include, a function group or a function module, object_name*, function_group_name for a module, targets*, start_line, end_line: elements of the source by the addresses or refs the outline answers). main_programs (INCLUDE): the include's main programs. draft (INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
|
|
81
89
|
- `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
90
|
- `package_name` — Package name.
|
|
83
91
|
- `package_names` — Several package names (part contents), read together, as GetPackageContents answers them: at detail terse each package's rows under its '# asked' line, else one entry per package, in the order given.
|
|
@@ -87,6 +95,7 @@ per request.
|
|
|
87
95
|
- `interface_name` — Interface name.
|
|
88
96
|
- `program_name` — Program name.
|
|
89
97
|
- `include_name` — Include name.
|
|
98
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
90
99
|
- `domain_name` — Domain name.
|
|
91
100
|
- `data_element_name` — Data element name.
|
|
92
101
|
- `table_name` — Table name.
|
|
@@ -108,6 +117,13 @@ per request.
|
|
|
108
117
|
- `object_adt_type` — ADT type code of the object (object_structure) or of the parent node (node_structure).
|
|
109
118
|
- `object_name` — Object name (object_structure) or parent name (node_structure).
|
|
110
119
|
- `node_id` — Node id to expand (node_structure); the root when absent.
|
|
120
|
+
- `targets` — The elements to read (part source_part): each an address or the outline's ref, at least one.
|
|
121
|
+
- `start_line` — First line to answer (part source_part), counted from the element's first line (1). Only with one target.
|
|
122
|
+
- `end_line` — Last line to answer, included (part source_part), counted from the element's first line. Only with one target.
|
|
123
|
+
- `view` — A view of the outline (part outline): "kinds" each element type with its count and each include with its element count; "parts" every element with its address and ref, and the interface of each piece.
|
|
124
|
+
- `element_types` — With part outline and view "parts": only elements of these ADT types.
|
|
125
|
+
- `element_name` — With part outline and view "parts": only elements of this name, exact or with * for any run of characters, case ignored.
|
|
126
|
+
- `parent` — With part outline and view "parts": only the children of the element of this name, case ignored.
|
|
111
127
|
- `with_short_descriptions` — Include short descriptions (node_structure).
|
|
112
128
|
- `object_search_pattern` — Object name pattern (virtual_folders).
|
|
113
129
|
- `preselection` — Facet preselections (virtual_folders).
|
|
@@ -119,31 +135,34 @@ per request.
|
|
|
119
135
|
|
|
120
136
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
121
137
|
|
|
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.
|
|
138
|
+
**Description:** [read-only] Searches the source code of packages (DEVC) for text, finds repository objects by name, finds where a repository object is used, reads a package (DEVC) with its subpackages and their objects, reads a user's transports, reads an ATC run's findings, reads the stored ATC results, reads one stored ATC result with its findings, reads the ABAP keyword documentation. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.
|
|
123
139
|
|
|
124
140
|
**Available in:** cloud, onprem
|
|
125
141
|
|
|
126
142
|
**Parameters:**
|
|
127
143
|
|
|
128
144
|
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
|
|
129
|
-
- `action` (required) — The read: search_source (source text in packages), search_object (objects by name or mask), where_used (the objects that use an object), package_tree (a package tree), transports (transport requests), atc_findings (the findings of an ATC run), atc_results (the stored ATC results), atc_result (one stored ATC result).
|
|
130
|
-
- `query` — search_source: primary substring to match (case-insensitive, ABAP CS).
|
|
145
|
+
- `action` (required) — The read: search_source (source text in packages), search_object (objects by name or mask), where_used (the objects that use an object), package_tree (a package tree), transports (transport requests), atc_findings (the findings of an ATC run), atc_results (the stored ATC results), atc_result (one stored ATC result), keyword_documentation (the ABAP keyword documentation).
|
|
146
|
+
- `query` — search_source: primary substring to match (case-insensitive, ABAP CS). keyword_documentation: a word or phrase to search the documentation for; give query or topic, not both.
|
|
147
|
+
- `topic` — keyword_documentation: a topic name, as a documentation link of an earlier answer carries it (its object); give query or topic, not both.
|
|
148
|
+
- `topic_version` — keyword_documentation: the version that documentation link carries, sent as given; taken only with topic.
|
|
149
|
+
- `language` — keyword_documentation: the documentation's language, as a link carries it or as asked; without it, the system's default answers.
|
|
131
150
|
- `query2` — search_source: a second substring; when set, both query and query2 must appear on the same line.
|
|
132
|
-
- `exclude` — search_source:
|
|
151
|
+
- `exclude` — search_source: substrings; a line containing any of them is dropped. Absent, no line is dropped.
|
|
133
152
|
- `packages` — search_source: packages to scan, each an exact package name or a mask (`*` zero or more characters, `?` one character; `+`, `_`, `%` and `#` are characters of the name).
|
|
134
153
|
- `include_subpackages` — search_source: recurse into subpackages (default true). package_tree: expand subpackages recursively (default true).
|
|
135
154
|
- `object_filter` — search_source: glob applied to object names within each package (e.g. "Z*").
|
|
136
155
|
- `object_types` — search_source: object types to scan, by main type: PROG (programs and program includes), FUGR, CLAS, INTF, DDLS, BDEF, DDLX, SRVD (default all of them).
|
|
137
156
|
- `exclude_comments` — search_source: skip col-1 '*' and full-line '"' comment lines (default false).
|
|
138
157
|
- `max_hits_per_object` — search_source: the most hits answered per object; absent, every hit.
|
|
139
|
-
- `max_hits` — search_source: the most hits of the whole answer; reached, the scan stops reading. Absent, every hit.
|
|
158
|
+
- `max_hits` — search_source: the most hits of the whole answer; reached, the scan stops reading the next objects. Absent, no limit: every object is read and every hit answered.
|
|
140
159
|
- `answer` — search_source: what each hit is answered as: lines (the default at detail terse), snippets (the default at medium and full) or objects.
|
|
141
160
|
- `version` — search_source: the version every source is read at (default active).
|
|
142
161
|
- `object_name` — search_object: object name or mask (e.g. 'MARA*'). where_used: name of the object (with object_type), a function module as 'GROUP|FM_NAME'.
|
|
143
|
-
- `object_type` — search_object: Optional: restrict the search to one type: a name of the system's object types list — a main type (e.g. CLAS, DEVC, TABL), an alias of one subtype (e.g. STRU for structures, DTAB for database tables, FUNC for function modules) or a group — or an ADT type code, which stands for the name that selects it (e.g. TABL/DS for STRU, FUGR/FF for FUNC, ENHO/XHH for ENHO), either case; or a name standing for a code, written in lower case (e.g. class, structure, table, function), read as its code: view is a CDS view (DDLS), dbview a dictionary view (VIEW). A value in upper case is a search name or a code first, so VIEW is the dictionary views; it is a name only when it is neither (CLASS is class). where_used: Type of the ABAP object: an ADT type code (either case), or a name standing for one (in brackets after it): CLAS/OC (class), INTF/OI (interface), PROG/P (program), PROG/I (include), FUGR/F (functiongroup), FUGR/FF (function, functionmodule, function_module, func), DEVC/K (package), DDLS/DF (view), VIEW/DV (dbview), TABL/DT (table), TABL/DS (structure, stru), TTYP/DA, DOMA/DD (domain), DTEL/DE (dataelement), DCLS/DL, BDEF/BDO, DDLX/EX, SRVD/SRV, SRVB/SVB, DSFD/SCF, DSFI/SFI, XSLT/VT, MSAG/N, FTG2/FT, AUTH, ENHO/XHH, ENHO/XHB, ENHS/XSB, PROG/PX. A function module is named as object_name says. PROG/PX is a program's or a function group's text elements; container says which. A name is written in lower case: view is a CDS view (DDLS/DF). A value in upper case is a code, a main type or a search name of the system's object types list first, so VIEW is the dictionary views (VIEW/DV); it is a name only when it is none of these (CLASS is class). A main type, the part of a code before its slash, stands for its code when exactly one listed code has it. In upper case, a search name of the system's object types list stands for the listed code its list item has (e.g. STRU for TABL/DS).
|
|
162
|
+
- `object_type` — search_object: Optional: restrict the search to one type: a name of the system's object types list — a main type (e.g. CLAS, DEVC, TABL), an alias of one subtype (e.g. STRU for structures, DTAB for database tables, FUNC for function modules) or a group — or an ADT type code, which stands for the name that selects it (e.g. TABL/DS for STRU, FUGR/FF for FUNC, ENHO/XHH for ENHO), either case; or a name standing for a code, written in lower case (e.g. class, structure, table, function), read as its code: view is a CDS view (DDLS), dbview a dictionary view (VIEW). A value in upper case is a search name or a code first, so VIEW is the dictionary views; it is a name only when it is neither (CLASS is class). where_used: Type of the ABAP object: an ADT type code (either case), or a name standing for one (in brackets after it): CLAS/OC (class), INTF/OI (interface), PROG/P (program), PROG/I (include), FUGR/F (functiongroup), FUGR/FF (function, functionmodule, function_module, func), DEVC/K (package), DDLS/DF (view), VIEW/DV (dbview), TABL/DT (table), TABL/DS (structure, stru), TTYP/DA, DOMA/DD (domain), DTEL/DE (dataelement), DCLS/DL, BDEF/BDO, DDLX/EX, SRVD/SRV, SRVB/SVB, DSFD/SCF, DSFI/SFI, XSLT/VT, MSAG/N, FTG2/FT, AUTH, ENHO/XHH, ENHO/XHB, ENHS/XSB, TYPE/DG, PROG/PX. A function module is named as object_name says. PROG/PX is a program's or a function group's text elements; container says which. A name is written in lower case: view is a CDS view (DDLS/DF). A value in upper case is a code, a main type or a search name of the system's object types list first, so VIEW is the dictionary views (VIEW/DV); it is a name only when it is none of these (CLASS is class). A main type, the part of a code before its slash, stands for its code when exactly one listed code has it. In upper case, a search name of the system's object types list stands for the listed code its list item has (e.g. STRU for TABL/DS).
|
|
144
163
|
- `container` — where_used: with object_type PROG/PX, required: whose text elements they are, program or function_group; taken by PROG/PX alone.
|
|
145
|
-
- `maxResults` — search_object:
|
|
146
|
-
- `detail` — search_source, search_object, where_used, package_tree, transports, atc_findings, atc_results, atc_result: How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
164
|
+
- `maxResults` — search_object: most results to read; absent, SAP gives at most 200.
|
|
165
|
+
- `detail` — search_source, search_object, where_used, package_tree, transports, atc_findings, atc_results, atc_result, keyword_documentation: How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
147
166
|
- `objects` — where_used: several objects, read together (give this or object_name and object_type); the type filters apply to every object.
|
|
148
167
|
- `enable_all_types` — where_used: true selects every object type of the where-used scope (default false, the SAP default scope).
|
|
149
168
|
- `enable_only_types` — where_used: the only ADT object types searched, codes of the object's where-used scope (e.g. 'CLAS/OC', 'DDLS/DF').
|
|
@@ -151,7 +170,7 @@ per request.
|
|
|
151
170
|
- `in_object` — where_used: one object that uses it, as a where-used answer names it (type and name): the answer is then its usages only, each with its method or section and source line; once per using object whose code lines are wanted.
|
|
152
171
|
- `package_name` — package_tree: package name (give this or package_names).
|
|
153
172
|
- `package_names` — package_tree: several package names, read together (give this or package_name).
|
|
154
|
-
- `max_depth` — package_tree: maximum depth of the walk
|
|
173
|
+
- `max_depth` — package_tree: maximum depth of the walk; absent, every level.
|
|
155
174
|
- `include_descriptions` — package_tree: each object's description in the answer (default false).
|
|
156
175
|
- `debug` — package_tree: diagnostic metadata in the answer (counts, types, hierarchy; default false).
|
|
157
176
|
- `user` — transports: the SAP user id whose requests are listed (default the session's user).
|
|
@@ -167,13 +186,13 @@ per request.
|
|
|
167
186
|
|
|
168
187
|
**Half:** `@mcp-abap-adt/compact-readonly-entries`
|
|
169
188
|
|
|
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).
|
|
189
|
+
**Description:** [read-only] Validates the name of a new class (CLAS), validates the name of a new program (PROG), validates the name of a new include (PROG), validates the name of a new type group, validates the name of a new interface (INTF), validates the name of a new function group (FUGR), validates the name of a new function module (FUGR), validates the name of a new table (TABL), validates the name of a new structure (TABL), validates the name of a new table type (TTYP), validates the name of a new CDS view (DDLS), validates the name of a new domain (DOMA), validates the name of a new data element (DTEL), validates the name of a new package (DEVC), validates the name of a new behavior definition (BDEF), validates the name of a new behavior implementation (CLAS), validates the name of a new metadata extension (DDLX), validates the name of a new service binding (SRVB).
|
|
171
190
|
|
|
172
191
|
**Available in:** cloud, onprem
|
|
173
192
|
|
|
174
193
|
**Parameters:**
|
|
175
194
|
|
|
176
|
-
- `object_type` (required) — Object type to validate before create. Supported: CLASS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
|
|
195
|
+
- `object_type` (required) — Object type to validate before create. Supported: CLASS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
|
|
177
196
|
- `object_name` (required) — Required object name. For SERVICE_BINDING this is the service binding name; a function module is named GROUP|MODULE.
|
|
178
197
|
- `package_name` — Package of the object to validate. Required for BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION and SERVICE_BINDING.
|
|
179
198
|
- `super_package` — Super package of the package to validate (PACKAGE).
|
|
@@ -185,11 +204,11 @@ per request.
|
|
|
185
204
|
- `service_definition_name` — Required when object_type=SERVICE_BINDING. Service definition paired with the binding.
|
|
186
205
|
- `service_binding_version` — Optional service binding version for SERVICE_BINDING.
|
|
187
206
|
|
|
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).
|
|
207
|
+
**On ABAP Cloud (`cloud`):** [read-only] Validates the name of a new class (CLAS), validates the name of a new type group, validates the name of a new interface (INTF), validates the name of a new function group (FUGR), validates the name of a new function module (FUGR), validates the name of a new table (TABL), validates the name of a new structure (TABL), validates the name of a new table type (TTYP), validates the name of a new CDS view (DDLS), validates the name of a new domain (DOMA), validates the name of a new data element (DTEL), validates the name of a new package (DEVC), validates the name of a new behavior definition (BDEF), validates the name of a new behavior implementation (CLAS), validates the name of a new metadata extension (DDLX), validates the name of a new service binding (SRVB).
|
|
189
208
|
|
|
190
209
|
**Parameters (`cloud`):**
|
|
191
210
|
|
|
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.
|
|
211
|
+
- `object_type` (required) — Object type to validate before create. Supported: CLASS, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
|
|
193
212
|
- `object_name` (required) — Required object name. For SERVICE_BINDING this is the service binding name; a function module is named GROUP|MODULE.
|
|
194
213
|
- `package_name` — Package of the object to validate. Required for BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION and SERVICE_BINDING.
|
|
195
214
|
- `super_package` — Super package of the package to validate (PACKAGE).
|
|
@@ -311,7 +330,7 @@ per request.
|
|
|
311
330
|
- `trace_id_or_uri` (required) — Profiler trace id or URI.
|
|
312
331
|
- `view` (required) — Profiler trace view kind.
|
|
313
332
|
- `mode` — "raw" returns the parsed trace payload as-is (default). "analyze" returns a compact summary instead — totals plus the top-ranked entries — via the same trace view.
|
|
314
|
-
- `top` — Number of top-ranked rows to include when mode is "analyze"
|
|
333
|
+
- `top` — Number of top-ranked rows to include when mode is "analyze"; absent, every row, ranked. Ignored for mode "raw".
|
|
315
334
|
- `with_system_events` — Include system events in analysis.
|
|
316
335
|
- `id` — Optional statement/access id.
|
|
317
336
|
- `with_details` — Include detailed payload.
|
|
@@ -394,14 +413,14 @@ per request.
|
|
|
394
413
|
- `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
|
|
395
414
|
- `object_name` — Table or CDS view whose rows are read, all columns. Used when sql_query is absent.
|
|
396
415
|
- `sql_query` — ABAP SQL SELECT naming the columns, conditions and order to read.
|
|
397
|
-
- `max_rows` —
|
|
416
|
+
- `max_rows` (required) — Most records to read, required. SAP refuses 0, and the largest count it accepts is 2147483646.
|
|
398
417
|
- `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
399
418
|
|
|
400
419
|
### HandlerCreate
|
|
401
420
|
|
|
402
421
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
403
422
|
|
|
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).
|
|
423
|
+
**Description:** Creates a package (DEVC), creates a domain (DOMA), creates a data element (DTEL), creates a transport, creates a table (TABL), creates a structure (TABL), creates a table type (TTYP), creates a CDS view (DDLS), creates a service definition (SRVD), creates a service binding (SRVB), creates a class (CLAS), creates a program (PROG), creates an include (PROG), creates a type group, creates an interface (INTF), creates a function group (FUGR), creates a function module (FUGR), creates a behavior definition (BDEF), creates a behavior implementation (CLAS), creates a metadata extension (DDLX).
|
|
405
424
|
|
|
406
425
|
**Available in:** cloud, onprem
|
|
407
426
|
|
|
@@ -438,6 +457,7 @@ per request.
|
|
|
438
457
|
- `data_element_name` — Data element name.
|
|
439
458
|
- `interface_name` — Interface name.
|
|
440
459
|
- `include_name` — Include name.
|
|
460
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
441
461
|
- `table_type_name` — Table type name.
|
|
442
462
|
- `service_definition_name` — Service definition name (SERVICE_DEFINITION; the definition a SERVICE_BINDING binds).
|
|
443
463
|
- `service_binding_name` — Service binding name.
|
|
@@ -494,7 +514,7 @@ per request.
|
|
|
494
514
|
|
|
495
515
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
496
516
|
|
|
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).
|
|
517
|
+
**Description:** Updates a package (DEVC), updates a domain (DOMA), updates a data element (DTEL), updates a table type (TTYP), updates a function group (FUGR), updates a table (TABL), updates a structure (TABL), updates a CDS view (DDLS), updates a service definition (SRVD), updates a class (CLAS), updates the local test classes of a class (CLAS), updates the local types of a class (CLAS), updates the local definitions of a class (CLAS), updates the local macros of a class (CLAS), updates the unit tests of a class (CLAS), updates the unit tests of a CDS view (DDLS), updates a program (PROG), updates an include (PROG), updates a type group, updates an interface (INTF), updates a function module (FUGR), updates a behavior definition (BDEF), updates a behavior implementation (CLAS), updates a metadata extension (DDLX), publishes or unpublishes a service binding (SRVB), updates the technical settings of a table (TABL), updates the text elements of a program (PROG), updates the text elements of a function group (FUGR), updates the text elements of a class (CLAS). Over Streamable HTTP it runs under the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header).
|
|
498
518
|
|
|
499
519
|
**Available in:** cloud, onprem
|
|
500
520
|
|
|
@@ -518,6 +538,7 @@ per request.
|
|
|
518
538
|
- `data_element_name` — Data element name.
|
|
519
539
|
- `interface_name` — Interface name.
|
|
520
540
|
- `include_name` — Include name.
|
|
541
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
521
542
|
- `table_type_name` — Table type name.
|
|
522
543
|
- `service_definition_name` — Service definition name.
|
|
523
544
|
- `service_binding_name` — Service binding name.
|
|
@@ -597,14 +618,14 @@ per request.
|
|
|
597
618
|
|
|
598
619
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
599
620
|
|
|
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).
|
|
621
|
+
**Description:** Deletes a package (DEVC), deletes a domain (DOMA), deletes a data element (DTEL), deletes a table (TABL), deletes a structure (TABL), deletes a table type (TTYP), deletes a CDS view (DDLS), deletes a service definition (SRVD), deletes a service binding (SRVB), deletes a class (CLAS), deletes the global test class (CLAS) of a CDS view (DDLS), deletes a program (PROG), deletes an include (PROG), deletes a type group, deletes an interface (INTF), deletes a function group (FUGR), deletes a function module (FUGR), deletes a behavior definition (BDEF), deletes a behavior implementation (CLAS), deletes a metadata extension (DDLX), deletes the local test classes of a class (CLAS), deletes the local types of a class (CLAS), deletes the local definitions of a class (CLAS), deletes the local macros of a class (CLAS), deletes the unit tests of a class (CLAS). Over Streamable HTTP it runs under the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header).
|
|
601
622
|
|
|
602
623
|
**Available in:** cloud, onprem
|
|
603
624
|
|
|
604
625
|
**Parameters:**
|
|
605
626
|
|
|
606
|
-
- `object_type` (required) — Object type. Supported: PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, CDS_UNIT_TEST, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST.
|
|
607
|
-
- `lock_handle` — The lock handle of the class (LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST): the include is written empty under it.
|
|
627
|
+
- `object_type` (required) — Object type. Supported: PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, CDS_UNIT_TEST, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST.
|
|
628
|
+
- `lock_handle` — The lock handle of the class (LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST): the include is written empty under it. The lock handle of the type group (TYPE_GROUP): it is deleted under it.
|
|
608
629
|
- `package_name` — ABAP package name.
|
|
609
630
|
- `class_name` — ABAP class name.
|
|
610
631
|
- `program_name` — ABAP program name.
|
|
@@ -618,6 +639,7 @@ per request.
|
|
|
618
639
|
- `data_element_name` — Data element name.
|
|
619
640
|
- `interface_name` — Interface name.
|
|
620
641
|
- `include_name` — Include name.
|
|
642
|
+
- `type_group_name` — Type group name, up to 5 characters.
|
|
621
643
|
- `table_type_name` — Table type name.
|
|
622
644
|
- `service_definition_name` — Service definition name.
|
|
623
645
|
- `service_binding_name` — Service binding name.
|
|
@@ -630,7 +652,7 @@ per request.
|
|
|
630
652
|
**Parameters (`cloud`):**
|
|
631
653
|
|
|
632
654
|
- `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.
|
|
655
|
+
- `lock_handle` — The lock handle of the class (LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, UNIT_TEST): the include is written empty under it. The lock handle of the type group (TYPE_GROUP): it is deleted under it.
|
|
634
656
|
- `package_name` — ABAP package name.
|
|
635
657
|
- `class_name` — ABAP class name.
|
|
636
658
|
- `domain_name` — ABAP domain name.
|
|
@@ -653,7 +675,7 @@ per request.
|
|
|
653
675
|
|
|
654
676
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
655
677
|
|
|
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.
|
|
678
|
+
**Description:** Activates a class (CLAS), activates a program (PROG), activates an include (PROG), activates a type group, activates an interface (INTF), activates a function group (FUGR), activates a table (TABL), activates a structure (TABL), activates a table type (TTYP), activates a CDS view (DDLS), activates a domain (DOMA), activates a data element (DTEL), activates a behavior definition (BDEF), activates a metadata extension (DDLX), activates a package (DEVC), activates a service definition (SRVD), activates a service binding (SRVB), activates a function module (FUGR), activates a behavior implementation (CLAS), activates the text elements of a program (PROG), activates the text elements of a function group (FUGR), activates the text elements of a class (CLAS), activates another object by its ADT type, activates several objects together.
|
|
657
679
|
|
|
658
680
|
**Available in:** cloud, onprem
|
|
659
681
|
|
|
@@ -726,13 +748,13 @@ per request.
|
|
|
726
748
|
|
|
727
749
|
**Half:** `@mcp-abap-adt/compact-modify`
|
|
728
750
|
|
|
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).
|
|
751
|
+
**Description:** Locks or unlocks a class (CLAS), locks or unlocks a program (PROG), locks or unlocks an include (PROG), locks or unlocks a type group, locks or unlocks an interface (INTF), locks or unlocks a function group (FUGR), locks or unlocks a function module (FUGR), locks or unlocks a table (TABL), locks or unlocks a structure (TABL), locks or unlocks a table type (TTYP), locks or unlocks a CDS view (DDLS), locks or unlocks a domain (DOMA), locks or unlocks a data element (DTEL), locks or unlocks a package (DEVC), locks or unlocks a behavior definition (BDEF), locks or unlocks a behavior implementation (CLAS), locks or unlocks a metadata extension (DDLX), locks or unlocks a service definition (SRVD), locks or unlocks a service binding (SRVB), locks or unlocks the technical settings of a table (TABL), locks or unlocks the text elements of a program (PROG), locks or unlocks the text elements of a function group (FUGR), locks or unlocks the text elements of a class (CLAS) for editing. Over Streamable HTTP a lock that gives a non-empty lock_handle gives a state_handle too: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header). Over Streamable HTTP an unlock runs under the state_handle the lock gave: send it as the state_handle argument (or in the x-mcp-state-handle header).
|
|
730
752
|
|
|
731
753
|
**Available in:** cloud, onprem
|
|
732
754
|
|
|
733
755
|
**Parameters:**
|
|
734
756
|
|
|
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.
|
|
757
|
+
- `object_type` (required) — Object type. Supported: CLASS, PROGRAM, INCLUDE, TYPE_GROUP, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_DEFINITION, SERVICE_BINDING, TABLE_SETTINGS, PROGRAM_TEXT_ELEMENTS, FUNCTION_GROUP_TEXT_ELEMENTS, CLASS_TEXT_ELEMENTS.
|
|
736
758
|
- `object_name` (required) — Object name. A function module is named GROUP|MODULE, its function group first.
|
|
737
759
|
- `action` — lock (default): lock the object for editing; unlock: release the lock lock_handle names.
|
|
738
760
|
- `lock_handle` — unlock: the lock handle the lock gave.
|
|
@@ -904,7 +926,7 @@ per request.
|
|
|
904
926
|
- `value` — abap setVariableValue: the new value.
|
|
905
927
|
- `debuggee_id` — amdp getDataPreview: the debuggee id of the break event.
|
|
906
928
|
- `query` — amdp getDataPreview: a SELECT over the table variable; every column when omitted.
|
|
907
|
-
- `row_number` — amdp getDataPreview: how many rows SAP answers; SAP
|
|
929
|
+
- `row_number` — amdp getDataPreview: how many rows SAP answers, at least 1; SAP requires it.
|
|
908
930
|
- `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
|
|
909
931
|
|
|
910
932
|
### HandlerDebugBatch
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/compact",
|
|
3
3
|
"mcpName": "io.github.fr0ster/mcp-abap-adt-compact",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "25.0.0",
|
|
5
5
|
"description": "The compact MCP server for SAP ABAP ADT over stdio, on premise (ECC, S/4HANA) and SAP BTP ABAP Cloud: one tool per operation with the object type in the arguments: CRUD, where-used, ATC, unit tests, transports, the debugger, abapGit, batch mode, MCP prompts and access restrictions. Configured as @mcp-abap-adt/core; connects over HTTP, RFC or SNC (RFC and SNC need the SAP NW RFC library at run time).",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"docs:tools": "node ./tools/generate-docs.js"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@mcp-abap-adt/background-runs-memory": "^
|
|
76
|
-
"@mcp-abap-adt/compact-modify": "^
|
|
77
|
-
"@mcp-abap-adt/compact-readonly-entries": "^
|
|
78
|
-
"@mcp-abap-adt/lib": "^
|
|
79
|
-
"@mcp-abap-adt/responsible-rules": "^
|
|
80
|
-
"@mcp-abap-adt/server-runtime": "^
|
|
75
|
+
"@mcp-abap-adt/background-runs-memory": "^25.0.0",
|
|
76
|
+
"@mcp-abap-adt/compact-modify": "^25.0.0",
|
|
77
|
+
"@mcp-abap-adt/compact-readonly-entries": "^25.0.0",
|
|
78
|
+
"@mcp-abap-adt/lib": "^25.0.0",
|
|
79
|
+
"@mcp-abap-adt/responsible-rules": "^25.0.0",
|
|
80
|
+
"@mcp-abap-adt/server-runtime": "^25.0.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"typescript": "^6.0.2",
|