@mcp-abap-adt/core 7.2.1 → 8.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/CHANGELOG.md +7 -0
- package/dist/handlers/common/low/handleCheckObject.d.ts +1 -1
- package/dist/handlers/common/low/handleCheckObject.js +5 -5
- package/dist/handlers/common/low/handleCheckObject.js.map +1 -1
- package/dist/handlers/common/low/handleDeleteObject.d.ts +1 -1
- package/dist/handlers/common/low/handleDeleteObject.js +4 -4
- package/dist/handlers/common/low/handleDeleteObject.js.map +1 -1
- package/dist/handlers/common/low/handleLockObject.d.ts +1 -1
- package/dist/handlers/common/low/handleLockObject.js +4 -4
- package/dist/handlers/common/low/handleLockObject.js.map +1 -1
- package/dist/handlers/common/low/handleUnlockObject.d.ts +1 -1
- package/dist/handlers/common/low/handleUnlockObject.js +4 -4
- package/dist/handlers/common/low/handleUnlockObject.js.map +1 -1
- package/dist/handlers/common/low/handleValidateObject.d.ts +2 -2
- package/dist/handlers/common/low/handleValidateObject.js +6 -6
- package/dist/handlers/common/low/handleValidateObject.js.map +1 -1
- package/dist/handlers/compact/high/compactLifecycleUtils.d.ts +1 -1
- package/dist/handlers/compact/high/compactLifecycleUtils.d.ts.map +1 -1
- package/dist/handlers/compact/high/compactLifecycleUtils.js +1 -1
- package/dist/handlers/compact/high/compactLifecycleUtils.js.map +1 -1
- package/dist/handlers/compact/high/compactMatrix.js +1 -1
- package/dist/handlers/compact/high/compactMatrix.js.map +1 -1
- package/dist/handlers/compact/high/compactObjectTypes.d.ts +1 -1
- package/dist/handlers/compact/high/compactObjectTypes.d.ts.map +1 -1
- package/dist/handlers/compact/high/compactObjectTypes.js +1 -1
- package/dist/handlers/compact/high/compactObjectTypes.js.map +1 -1
- package/dist/handlers/compact/high/compactRouter.js +9 -9
- package/dist/handlers/compact/high/compactRouter.js.map +1 -1
- package/dist/handlers/compact/high/compactSchemas.d.ts +20 -4
- package/dist/handlers/compact/high/compactSchemas.d.ts.map +1 -1
- package/dist/handlers/compact/high/compactSchemas.js +19 -3
- package/dist/handlers/compact/high/compactSchemas.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerCheckRun.d.ts +1 -1
- package/dist/handlers/compact/high/handleHandlerCheckRun.js +1 -1
- package/dist/handlers/compact/high/handleHandlerCheckRun.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerCreate.d.ts +5 -1
- package/dist/handlers/compact/high/handleHandlerCreate.d.ts.map +1 -1
- package/dist/handlers/compact/high/handleHandlerCreate.js +1 -1
- package/dist/handlers/compact/high/handleHandlerCreate.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerDelete.d.ts +5 -1
- package/dist/handlers/compact/high/handleHandlerDelete.d.ts.map +1 -1
- package/dist/handlers/compact/high/handleHandlerDelete.js +1 -1
- package/dist/handlers/compact/high/handleHandlerDelete.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerGet.d.ts +3 -3
- package/dist/handlers/compact/high/handleHandlerGet.js +1 -1
- package/dist/handlers/compact/high/handleHandlerGet.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerLock.d.ts +1 -1
- package/dist/handlers/compact/high/handleHandlerLock.js +1 -1
- package/dist/handlers/compact/high/handleHandlerLock.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerUnlock.d.ts +1 -1
- package/dist/handlers/compact/high/handleHandlerUnlock.js +1 -1
- package/dist/handlers/compact/high/handleHandlerUnlock.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerUpdate.d.ts +9 -1
- package/dist/handlers/compact/high/handleHandlerUpdate.d.ts.map +1 -1
- package/dist/handlers/compact/high/handleHandlerUpdate.js +1 -1
- package/dist/handlers/compact/high/handleHandlerUpdate.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerValidate.d.ts +3 -3
- package/dist/handlers/compact/high/handleHandlerValidate.js +1 -1
- package/dist/handlers/compact/high/handleHandlerValidate.js.map +1 -1
- package/dist/handlers/ddl/high/handleCheckDdl.d.ts +37 -0
- package/dist/handlers/ddl/high/handleCheckDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/high/handleCheckDdl.js +35 -0
- package/dist/handlers/ddl/high/handleCheckDdl.js.map +1 -0
- package/dist/handlers/ddl/high/handleCreateDdl.d.ts +42 -0
- package/dist/handlers/ddl/high/handleCreateDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/high/handleCreateDdl.js +99 -0
- package/dist/handlers/ddl/high/handleCreateDdl.js.map +1 -0
- package/dist/handlers/ddl/high/handleDeleteDdl.d.ts +44 -0
- package/dist/handlers/ddl/high/handleDeleteDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/high/handleDeleteDdl.js +107 -0
- package/dist/handlers/ddl/high/handleDeleteDdl.js.map +1 -0
- package/dist/handlers/ddl/high/handleGetDdl.d.ts +46 -0
- package/dist/handlers/ddl/high/handleGetDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/high/handleGetDdl.js +90 -0
- package/dist/handlers/ddl/high/handleGetDdl.js.map +1 -0
- package/dist/handlers/ddl/high/handleUpdateDdl.d.ts +41 -0
- package/dist/handlers/ddl/high/handleUpdateDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/high/handleUpdateDdl.js +219 -0
- package/dist/handlers/ddl/high/handleUpdateDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleActivateDdl.d.ts +64 -0
- package/dist/handlers/ddl/low/handleActivateDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleActivateDdl.js +133 -0
- package/dist/handlers/ddl/low/handleActivateDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleCheckDdl.d.ts +75 -0
- package/dist/handlers/ddl/low/handleCheckDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleCheckDdl.js +141 -0
- package/dist/handlers/ddl/low/handleCheckDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleCreateDdl.d.ts +83 -0
- package/dist/handlers/ddl/low/handleCreateDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleCreateDdl.js +141 -0
- package/dist/handlers/ddl/low/handleCreateDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleDeleteDdl.d.ts +44 -0
- package/dist/handlers/ddl/low/handleDeleteDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleDeleteDdl.js +107 -0
- package/dist/handlers/ddl/low/handleDeleteDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleLockDdl.d.ts +64 -0
- package/dist/handlers/ddl/low/handleLockDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleLockDdl.js +120 -0
- package/dist/handlers/ddl/low/handleLockDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleUnlockDdl.d.ts +69 -0
- package/dist/handlers/ddl/low/handleUnlockDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleUnlockDdl.js +125 -0
- package/dist/handlers/ddl/low/handleUnlockDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleUpdateDdl.d.ts +74 -0
- package/dist/handlers/ddl/low/handleUpdateDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleUpdateDdl.js +129 -0
- package/dist/handlers/ddl/low/handleUpdateDdl.js.map +1 -0
- package/dist/handlers/ddl/low/handleValidateDdl.d.ts +74 -0
- package/dist/handlers/ddl/low/handleValidateDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/low/handleValidateDdl.js +133 -0
- package/dist/handlers/ddl/low/handleValidateDdl.js.map +1 -0
- package/dist/handlers/ddl/readonly/handleReadDdl.d.ts +33 -0
- package/dist/handlers/ddl/readonly/handleReadDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/readonly/handleReadDdl.js +85 -0
- package/dist/handlers/ddl/readonly/handleReadDdl.js.map +1 -0
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js +20 -20
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js.map +1 -1
- package/dist/lib/handlers/groups/LowLevelHandlersGroup.js +35 -35
- package/dist/lib/handlers/groups/LowLevelHandlersGroup.js.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +3 -3
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
- package/docs/development/roadmaps/TEST_LOGGING_ROADMAP.md +2 -2
- package/docs/user-guide/AVAILABLE_TOOLS.md +234 -231
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +16 -12
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +89 -85
- package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +256 -253
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +129 -130
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +18 -18
- package/package.json +2 -2
|
@@ -15,6 +15,8 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
15
15
|
- [Read-Only Group](#read-only-group)
|
|
16
16
|
- [Class](#read-only-class)
|
|
17
17
|
- [ReadClass](#readclass-read-only-class)
|
|
18
|
+
- [Ddl](#read-only-ddl)
|
|
19
|
+
- [ReadDdl](#readddl-read-only-ddl)
|
|
18
20
|
- [Function Group](#read-only-function-group)
|
|
19
21
|
- [ReadFunctionGroup](#readfunctiongroup-read-only-function-group)
|
|
20
22
|
- [Function Include](#read-only-function-include)
|
|
@@ -37,8 +39,6 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
37
39
|
- [GetStructuresList](#getstructureslist-read-only-structure)
|
|
38
40
|
- [System](#read-only-system)
|
|
39
41
|
- [SearchSource](#searchsource-read-only-system)
|
|
40
|
-
- [View](#read-only-view)
|
|
41
|
-
- [ReadView](#readview-read-only-view)
|
|
42
42
|
- [High-Level Group](#high-level-group)
|
|
43
43
|
- [Class](#high-level-class)
|
|
44
44
|
- [CheckClass](#checkclass-high-level-class)
|
|
@@ -65,6 +65,12 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
65
65
|
- [HandlerDelete](#handlerdelete-high-level-compact)
|
|
66
66
|
- [HandlerGet](#handlerget-high-level-compact)
|
|
67
67
|
- [HandlerUpdate](#handlerupdate-high-level-compact)
|
|
68
|
+
- [Ddl](#high-level-ddl)
|
|
69
|
+
- [CheckDdl](#checkddl-high-level-ddl)
|
|
70
|
+
- [CreateDdl](#createddl-high-level-ddl)
|
|
71
|
+
- [DeleteDdl](#deleteddl-high-level-ddl)
|
|
72
|
+
- [GetDdl](#getddl-high-level-ddl)
|
|
73
|
+
- [UpdateDdl](#updateddl-high-level-ddl)
|
|
68
74
|
- [Function](#high-level-function)
|
|
69
75
|
- [CheckFunctionGroup](#checkfunctiongroup-high-level-function)
|
|
70
76
|
- [CheckFunctionModule](#checkfunctionmodule-high-level-function)
|
|
@@ -111,12 +117,6 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
111
117
|
- [RunUnitTest](#rununittest-high-level-unit-test)
|
|
112
118
|
- [UpdateCdsUnitTest](#updatecdsunittest-high-level-unit-test)
|
|
113
119
|
- [UpdateUnitTest](#updateunittest-high-level-unit-test)
|
|
114
|
-
- [View](#high-level-view)
|
|
115
|
-
- [CheckView](#checkview-high-level-view)
|
|
116
|
-
- [CreateView](#createview-high-level-view)
|
|
117
|
-
- [DeleteView](#deleteview-high-level-view)
|
|
118
|
-
- [GetView](#getview-high-level-view)
|
|
119
|
-
- [UpdateView](#updateview-high-level-view)
|
|
120
120
|
- [Low-Level Group](#low-level-group)
|
|
121
121
|
- [Class](#low-level-class)
|
|
122
122
|
- [ActivateClassLow](#activateclasslow-low-level-class)
|
|
@@ -137,6 +137,15 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
137
137
|
- [Common](#low-level-common)
|
|
138
138
|
- [ActivateObjectLow](#activateobjectlow-low-level-common)
|
|
139
139
|
- [DeleteObjectLow](#deleteobjectlow-low-level-common)
|
|
140
|
+
- [Ddl](#low-level-ddl)
|
|
141
|
+
- [ActivateDdlLow](#activateddllow-low-level-ddl)
|
|
142
|
+
- [CheckDdlLow](#checkddllow-low-level-ddl)
|
|
143
|
+
- [CreateDdlLow](#createddllow-low-level-ddl)
|
|
144
|
+
- [DeleteDdlLow](#deleteddllow-low-level-ddl)
|
|
145
|
+
- [LockDdlLow](#lockddllow-low-level-ddl)
|
|
146
|
+
- [UnlockDdlLow](#unlockddllow-low-level-ddl)
|
|
147
|
+
- [UpdateDdlLow](#updateddllow-low-level-ddl)
|
|
148
|
+
- [ValidateDdlLow](#validateddllow-low-level-ddl)
|
|
140
149
|
- [Function](#low-level-function)
|
|
141
150
|
- [ActivateFunctionGroupLow](#activatefunctiongrouplow-low-level-function)
|
|
142
151
|
- [ActivateFunctionModuleLow](#activatefunctionmodulelow-low-level-function)
|
|
@@ -177,15 +186,6 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
177
186
|
- [UnlockProgramLow](#unlockprogramlow-low-level-program)
|
|
178
187
|
- [UpdateProgramLow](#updateprogramlow-low-level-program)
|
|
179
188
|
- [ValidateProgramLow](#validateprogramlow-low-level-program)
|
|
180
|
-
- [View](#low-level-view)
|
|
181
|
-
- [ActivateViewLow](#activateviewlow-low-level-view)
|
|
182
|
-
- [CheckViewLow](#checkviewlow-low-level-view)
|
|
183
|
-
- [CreateViewLow](#createviewlow-low-level-view)
|
|
184
|
-
- [DeleteViewLow](#deleteviewlow-low-level-view)
|
|
185
|
-
- [LockViewLow](#lockviewlow-low-level-view)
|
|
186
|
-
- [UnlockViewLow](#unlockviewlow-low-level-view)
|
|
187
|
-
- [UpdateViewLow](#updateviewlow-low-level-view)
|
|
188
|
-
- [ValidateViewLow](#validateviewlow-low-level-view)
|
|
189
189
|
|
|
190
190
|
---
|
|
191
191
|
|
|
@@ -209,6 +209,23 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
209
209
|
|
|
210
210
|
---
|
|
211
211
|
|
|
212
|
+
<a id="read-only-ddl"></a>
|
|
213
|
+
### Read-Only / Ddl
|
|
214
|
+
|
|
215
|
+
<a id="readddl-read-only-ddl"></a>
|
|
216
|
+
#### ReadDdl (Read-Only / Ddl)
|
|
217
|
+
**Description:** Operation: Read, Create, Update. Subject: DDL source. Will be useful for reading, creating, or updating a DDL source. [read-only] Read ABAP CDS view source code and metadata. Answers: "show CDS view source", "display view definition", "view CDS X", "get CDS code". Returns source code, package, responsible, description.
|
|
218
|
+
|
|
219
|
+
**Source:** `src/handlers/ddl/readonly/handleReadDdl.ts`
|
|
220
|
+
|
|
221
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
222
|
+
|
|
223
|
+
**Parameters:**
|
|
224
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_VIEW).
|
|
225
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
212
229
|
<a id="read-only-function-group"></a>
|
|
213
230
|
### Read-Only / Function Group
|
|
214
231
|
|
|
@@ -419,23 +436,6 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
419
436
|
|
|
420
437
|
---
|
|
421
438
|
|
|
422
|
-
<a id="read-only-view"></a>
|
|
423
|
-
### Read-Only / View
|
|
424
|
-
|
|
425
|
-
<a id="readview-read-only-view"></a>
|
|
426
|
-
#### ReadView (Read-Only / View)
|
|
427
|
-
**Description:** Operation: Read, Create, Update. Subject: View. Will be useful for reading, creating, or updating view. [read-only] Read ABAP CDS view source code and metadata. Answers: "show CDS view source", "display view definition", "view CDS X", "get CDS code". Returns source code, package, responsible, description.
|
|
428
|
-
|
|
429
|
-
**Source:** `src/handlers/view/readonly/handleReadView.ts`
|
|
430
|
-
|
|
431
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
432
|
-
|
|
433
|
-
**Parameters:**
|
|
434
|
-
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
435
|
-
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
436
|
-
|
|
437
|
-
---
|
|
438
|
-
|
|
439
439
|
<a id="high-level-group"></a>
|
|
440
440
|
## High-Level Group
|
|
441
441
|
|
|
@@ -723,7 +723,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
723
723
|
|
|
724
724
|
<a id="handlercreate-high-level-compact"></a>
|
|
725
725
|
#### HandlerCreate (High-Level / Compact)
|
|
726
|
-
**Description:** Create operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*),
|
|
726
|
+
**Description:** Create operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), PROGRAM(program_name*) [onprem/legacy only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*).
|
|
727
727
|
|
|
728
728
|
**Source:** `src/handlers/compact/high/handleHandlerCreate.ts`
|
|
729
729
|
|
|
@@ -735,6 +735,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
735
735
|
- `class_name` (string, optional) - ABAP class name.
|
|
736
736
|
- `conversion_exit` (string, optional) - Conversion exit name.
|
|
737
737
|
- `datatype` (string, optional) - ABAP data type.
|
|
738
|
+
- `ddl_name` (string, optional) - DDL source name (CDS view, AMDP table function, etc.).
|
|
738
739
|
- `decimals` (number, optional) - Decimal places.
|
|
739
740
|
- `description` (string, optional) - Human-readable object description.
|
|
740
741
|
- `domain_name` (string, optional) - ABAP domain name.
|
|
@@ -755,7 +756,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
755
756
|
|
|
756
757
|
<a id="handlerdelete-high-level-compact"></a>
|
|
757
758
|
#### HandlerDelete (High-Level / Compact)
|
|
758
|
-
**Description:** Delete operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*),
|
|
759
|
+
**Description:** Delete operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem/legacy only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*).
|
|
759
760
|
|
|
760
761
|
**Source:** `src/handlers/compact/high/handleHandlerDelete.ts`
|
|
761
762
|
|
|
@@ -763,6 +764,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
763
764
|
|
|
764
765
|
**Parameters:**
|
|
765
766
|
- `class_name` (string, optional) - ABAP class name.
|
|
767
|
+
- `ddl_name` (string, optional) - DDL source name (CDS view, AMDP table function, etc.).
|
|
766
768
|
- `domain_name` (string, optional) - ABAP domain name.
|
|
767
769
|
- `function_group_name` (string, optional) - ABAP function group name.
|
|
768
770
|
- `function_module_name` (string, optional) - ABAP function module name.
|
|
@@ -774,7 +776,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
774
776
|
|
|
775
777
|
<a id="handlerget-high-level-compact"></a>
|
|
776
778
|
#### HandlerGet (High-Level / Compact)
|
|
777
|
-
**Description:** Read operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*),
|
|
779
|
+
**Description:** Read operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem/legacy only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*).
|
|
778
780
|
|
|
779
781
|
**Source:** `src/handlers/compact/high/handleHandlerGet.ts`
|
|
780
782
|
|
|
@@ -785,6 +787,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
785
787
|
- `behavior_implementation_name` (string, optional) - Behavior implementation name.
|
|
786
788
|
- `class_name` (string, optional) - Class name.
|
|
787
789
|
- `data_element_name` (string, optional) - Data element name.
|
|
790
|
+
- `ddl_name` (string, optional) - DDL source name.
|
|
788
791
|
- `domain_name` (string, optional) - Domain name.
|
|
789
792
|
- `function_group_name` (string, optional) - Function group name.
|
|
790
793
|
- `function_module_name` (string, optional) - Function module name.
|
|
@@ -800,13 +803,12 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
800
803
|
- `structure_name` (string, optional) - Structure name.
|
|
801
804
|
- `table_name` (string, optional) - Table name.
|
|
802
805
|
- `version` (any, optional) -
|
|
803
|
-
- `view_name` (string, optional) - View name.
|
|
804
806
|
|
|
805
807
|
---
|
|
806
808
|
|
|
807
809
|
<a id="handlerupdate-high-level-compact"></a>
|
|
808
810
|
#### HandlerUpdate (High-Level / Compact)
|
|
809
|
-
**Description:** Update operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*),
|
|
811
|
+
**Description:** Update operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem/legacy only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*).
|
|
810
812
|
|
|
811
813
|
**Source:** `src/handlers/compact/high/handleHandlerUpdate.ts`
|
|
812
814
|
|
|
@@ -817,6 +819,8 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
817
819
|
- `class_name` (string, optional) - ABAP class name.
|
|
818
820
|
- `conversion_exit` (string, optional) - Conversion exit name.
|
|
819
821
|
- `datatype` (string, optional) - ABAP data type.
|
|
822
|
+
- `ddl_name` (string, optional) - DDL source name (CDS view, AMDP table function, etc.).
|
|
823
|
+
- `ddl_source` (string, optional) - Complete DDL source code (for DDL update).
|
|
820
824
|
- `decimals` (number, optional) - Decimal places.
|
|
821
825
|
- `description` (string, optional) - Human-readable object description.
|
|
822
826
|
- `domain_name` (string, optional) - ABAP domain name.
|
|
@@ -835,6 +839,84 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
835
839
|
|
|
836
840
|
---
|
|
837
841
|
|
|
842
|
+
<a id="high-level-ddl"></a>
|
|
843
|
+
### High-Level / Ddl
|
|
844
|
+
|
|
845
|
+
<a id="checkddl-high-level-ddl"></a>
|
|
846
|
+
#### CheckDdl (High-Level / Ddl)
|
|
847
|
+
**Description:** Perform syntax check on an ABAP CDS view. Can check existing view (active/inactive) or validate hypothetical DDL source. Returns syntax errors, warnings, and messages.
|
|
848
|
+
|
|
849
|
+
**Source:** `src/handlers/ddl/high/handleCheckDdl.ts`
|
|
850
|
+
|
|
851
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
852
|
+
|
|
853
|
+
**Parameters:**
|
|
854
|
+
- `ddl_name` (string, required) - CDS view name to check, passed as ddl_name (e.g., ZI_MY_VIEW).
|
|
855
|
+
- `ddl_source` (string, optional) - Optional: DDL source code to validate instead of the saved version.
|
|
856
|
+
- `version` (string, optional) - Version to check: 'active' or 'inactive'. Default: inactive.
|
|
857
|
+
|
|
858
|
+
---
|
|
859
|
+
|
|
860
|
+
<a id="createddl-high-level-ddl"></a>
|
|
861
|
+
#### CreateDdl (High-Level / Ddl)
|
|
862
|
+
**Description:** Operation: Create. Subject: DDL source. Will be useful for creating a DDL source. Create a new CDS View or Classic View in SAP system. Creates the DDL source object in initial state. Use UpdateDdl to set DDL source code.
|
|
863
|
+
|
|
864
|
+
**Source:** `src/handlers/ddl/high/handleCreateDdl.ts`
|
|
865
|
+
|
|
866
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
867
|
+
|
|
868
|
+
**Parameters:**
|
|
869
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
|
|
870
|
+
- `description` (string, optional) - Optional description (defaults to ddl_name).
|
|
871
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
872
|
+
- `transport_request` (string, optional) - Transport request number (required for transportable packages).
|
|
873
|
+
|
|
874
|
+
---
|
|
875
|
+
|
|
876
|
+
<a id="deleteddl-high-level-ddl"></a>
|
|
877
|
+
#### DeleteDdl (High-Level / Ddl)
|
|
878
|
+
**Description:** Delete a DDL source from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.
|
|
879
|
+
|
|
880
|
+
**Source:** `src/handlers/ddl/high/handleDeleteDdl.ts`
|
|
881
|
+
|
|
882
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
883
|
+
|
|
884
|
+
**Parameters:**
|
|
885
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_VIEW).
|
|
886
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
|
|
887
|
+
|
|
888
|
+
---
|
|
889
|
+
|
|
890
|
+
<a id="getddl-high-level-ddl"></a>
|
|
891
|
+
#### GetDdl (High-Level / Ddl)
|
|
892
|
+
**Description:** Retrieve ABAP DDL source definition. Supports reading active or inactive version.
|
|
893
|
+
|
|
894
|
+
**Source:** `src/handlers/ddl/high/handleGetDdl.ts`
|
|
895
|
+
|
|
896
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
897
|
+
|
|
898
|
+
**Parameters:**
|
|
899
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_VIEW).
|
|
900
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
901
|
+
|
|
902
|
+
---
|
|
903
|
+
|
|
904
|
+
<a id="updateddl-high-level-ddl"></a>
|
|
905
|
+
#### UpdateDdl (High-Level / Ddl)
|
|
906
|
+
**Description:** Operation: Update, Create. Subject: DDL source. Will be useful for updating or creating a DDL source. Update DDL source code of an existing CDS View or Classic View. Locks, updates, unlocks, and optionally activates. Use CreateDdl to create a new DDL source.
|
|
907
|
+
|
|
908
|
+
**Source:** `src/handlers/ddl/high/handleUpdateDdl.ts`
|
|
909
|
+
|
|
910
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
911
|
+
|
|
912
|
+
**Parameters:**
|
|
913
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
914
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002).
|
|
915
|
+
- `ddl_source` (string, required) - Complete DDL source code.
|
|
916
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
917
|
+
|
|
918
|
+
---
|
|
919
|
+
|
|
838
920
|
<a id="high-level-function"></a>
|
|
839
921
|
### High-Level / Function
|
|
840
922
|
|
|
@@ -1426,84 +1508,6 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1426
1508
|
|
|
1427
1509
|
---
|
|
1428
1510
|
|
|
1429
|
-
<a id="high-level-view"></a>
|
|
1430
|
-
### High-Level / View
|
|
1431
|
-
|
|
1432
|
-
<a id="checkview-high-level-view"></a>
|
|
1433
|
-
#### CheckView (High-Level / View)
|
|
1434
|
-
**Description:** Perform syntax check on an ABAP CDS view. Can check existing view (active/inactive) or validate hypothetical DDL source. Returns syntax errors, warnings, and messages.
|
|
1435
|
-
|
|
1436
|
-
**Source:** `src/handlers/view/high/handleCheckView.ts`
|
|
1437
|
-
|
|
1438
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1439
|
-
|
|
1440
|
-
**Parameters:**
|
|
1441
|
-
- `ddl_source` (string, optional) - Optional: DDL source code to validate instead of the saved version.
|
|
1442
|
-
- `version` (string, optional) - Version to check: 'active' or 'inactive'. Default: inactive.
|
|
1443
|
-
- `view_name` (string, required) - CDS view name (e.g., ZI_MY_VIEW).
|
|
1444
|
-
|
|
1445
|
-
---
|
|
1446
|
-
|
|
1447
|
-
<a id="createview-high-level-view"></a>
|
|
1448
|
-
#### CreateView (High-Level / View)
|
|
1449
|
-
**Description:** Operation: Create. Subject: View. Will be useful for creating view. Create a new CDS View or Classic View in SAP system. Creates the view object in initial state.
|
|
1450
|
-
|
|
1451
|
-
**Source:** `src/handlers/view/high/handleCreateView.ts`
|
|
1452
|
-
|
|
1453
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1454
|
-
|
|
1455
|
-
**Parameters:**
|
|
1456
|
-
- `description` (string, optional) - Optional description (defaults to view_name).
|
|
1457
|
-
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
1458
|
-
- `transport_request` (string, optional) - Transport request number (required for transportable packages).
|
|
1459
|
-
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
|
|
1460
|
-
|
|
1461
|
-
---
|
|
1462
|
-
|
|
1463
|
-
<a id="deleteview-high-level-view"></a>
|
|
1464
|
-
#### DeleteView (High-Level / View)
|
|
1465
|
-
**Description:** Delete an ABAP view from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.
|
|
1466
|
-
|
|
1467
|
-
**Source:** `src/handlers/view/high/handleDeleteView.ts`
|
|
1468
|
-
|
|
1469
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1470
|
-
|
|
1471
|
-
**Parameters:**
|
|
1472
|
-
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
|
|
1473
|
-
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1474
|
-
|
|
1475
|
-
---
|
|
1476
|
-
|
|
1477
|
-
<a id="getview-high-level-view"></a>
|
|
1478
|
-
#### GetView (High-Level / View)
|
|
1479
|
-
**Description:** Retrieve ABAP view definition. Supports reading active or inactive version.
|
|
1480
|
-
|
|
1481
|
-
**Source:** `src/handlers/view/high/handleGetView.ts`
|
|
1482
|
-
|
|
1483
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1484
|
-
|
|
1485
|
-
**Parameters:**
|
|
1486
|
-
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
1487
|
-
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1488
|
-
|
|
1489
|
-
---
|
|
1490
|
-
|
|
1491
|
-
<a id="updateview-high-level-view"></a>
|
|
1492
|
-
#### UpdateView (High-Level / View)
|
|
1493
|
-
**Description:** Operation: Update, Create. Subject: View. Will be useful for updating or creating view. Update DDL source code of an existing CDS View or Classic View. Locks, updates, unlocks, and optionally activates.
|
|
1494
|
-
|
|
1495
|
-
**Source:** `src/handlers/view/high/handleUpdateView.ts`
|
|
1496
|
-
|
|
1497
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1498
|
-
|
|
1499
|
-
**Parameters:**
|
|
1500
|
-
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1501
|
-
- `ddl_source` (string, required) - Complete DDL source code.
|
|
1502
|
-
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
1503
|
-
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002).
|
|
1504
|
-
|
|
1505
|
-
---
|
|
1506
|
-
|
|
1507
1511
|
<a id="low-level-group"></a>
|
|
1508
1512
|
## Low-Level Group
|
|
1509
1513
|
|
|
@@ -1783,11 +1787,144 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1783
1787
|
**Parameters:**
|
|
1784
1788
|
- `function_group_name` (string, optional) - Required only for function_module type
|
|
1785
1789
|
- `object_name` (string, required) - Object name (e.g., ZCL_MY_CLASS)
|
|
1786
|
-
- `object_type` (string, required) - Object type. Supported: class, program (onprem/legacy only), interface, function_group, function_module, table, structure,
|
|
1790
|
+
- `object_type` (string, required) - Object type. Supported: class, program (onprem/legacy only), interface, function_group, function_module, table, structure, ddl, domain, data_element, behavior_definition, metadata_extension. Also accepts ADT codes (clas/oc, prog/p, intf/oi, fugr/f, fugr/ff, tabl/dt, ttyp/st, ddls/df, doma/dm, dtel/de, bdef/bd, ddlx/ex).
|
|
1787
1791
|
- `transport_request` (string, optional) - Transport request number
|
|
1788
1792
|
|
|
1789
1793
|
---
|
|
1790
1794
|
|
|
1795
|
+
<a id="low-level-ddl"></a>
|
|
1796
|
+
### Low-Level / Ddl
|
|
1797
|
+
|
|
1798
|
+
<a id="activateddllow-low-level-ddl"></a>
|
|
1799
|
+
#### ActivateDdlLow (Low-Level / Ddl)
|
|
1800
|
+
**Description:** Operation: Activate, Create, Update. Subject: DDL source. Will be useful for activating, creating, or updating a DDL source. [low-level] Activate an ABAP DDL source (CDS view). Returns activation status and any warnings/errors. Can use session_id and session_state from GetSession to maintain the same session.
|
|
1801
|
+
|
|
1802
|
+
**Source:** `src/handlers/ddl/low/handleActivateDdl.ts`
|
|
1803
|
+
|
|
1804
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1805
|
+
|
|
1806
|
+
**Parameters:**
|
|
1807
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZVW_MY_VIEW).
|
|
1808
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1809
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1810
|
+
|
|
1811
|
+
---
|
|
1812
|
+
|
|
1813
|
+
<a id="checkddllow-low-level-ddl"></a>
|
|
1814
|
+
#### CheckDdlLow (Low-Level / Ddl)
|
|
1815
|
+
**Description:** [low-level] Perform syntax check on an ABAP DDL source. Returns syntax errors, warnings, and messages. Can use session_id and session_state from GetSession to maintain the same session. If ddl_source is provided, validates new/unsaved code (will be base64 encoded in request).
|
|
1816
|
+
|
|
1817
|
+
**Source:** `src/handlers/ddl/low/handleCheckDdl.ts`
|
|
1818
|
+
|
|
1819
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1820
|
+
|
|
1821
|
+
**Parameters:**
|
|
1822
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1823
|
+
- `ddl_source` (string, optional) - Optional DDL source code to validate (for checking new/unsaved code). If provided, code will be base64 encoded and sent in check request body.
|
|
1824
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1825
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1826
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
1827
|
+
|
|
1828
|
+
---
|
|
1829
|
+
|
|
1830
|
+
<a id="createddllow-low-level-ddl"></a>
|
|
1831
|
+
#### CreateDdlLow (Low-Level / Ddl)
|
|
1832
|
+
**Description:** [low-level] Create a new ABAP DDL source. - use CreateDdl (high-level) for full workflow with validation, lock, update, check, unlock, and activate.
|
|
1833
|
+
|
|
1834
|
+
**Source:** `src/handlers/ddl/low/handleCreateDdl.ts`
|
|
1835
|
+
|
|
1836
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1837
|
+
|
|
1838
|
+
**Parameters:**
|
|
1839
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
1840
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
1841
|
+
- `description` (string, required) - DDL source description.
|
|
1842
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
1843
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1844
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1845
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
1846
|
+
|
|
1847
|
+
---
|
|
1848
|
+
|
|
1849
|
+
<a id="deleteddllow-low-level-ddl"></a>
|
|
1850
|
+
#### DeleteDdlLow (Low-Level / Ddl)
|
|
1851
|
+
**Description:** [low-level] Delete a DDL source from the SAP system via ADT deletion API. Transport request optional for $TMP objects.
|
|
1852
|
+
|
|
1853
|
+
**Source:** `src/handlers/ddl/low/handleDeleteDdl.ts`
|
|
1854
|
+
|
|
1855
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1856
|
+
|
|
1857
|
+
**Parameters:**
|
|
1858
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1859
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
|
|
1860
|
+
|
|
1861
|
+
---
|
|
1862
|
+
|
|
1863
|
+
<a id="lockddllow-low-level-ddl"></a>
|
|
1864
|
+
#### LockDdlLow (Low-Level / Ddl)
|
|
1865
|
+
**Description:** [low-level] Lock a DDL source for modification. Returns lock handle that must be used in subsequent update/unlock operations with the same session_id.
|
|
1866
|
+
|
|
1867
|
+
**Source:** `src/handlers/ddl/low/handleLockDdl.ts`
|
|
1868
|
+
|
|
1869
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1870
|
+
|
|
1871
|
+
**Parameters:**
|
|
1872
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1873
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1874
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1875
|
+
|
|
1876
|
+
---
|
|
1877
|
+
|
|
1878
|
+
<a id="unlockddllow-low-level-ddl"></a>
|
|
1879
|
+
#### UnlockDdlLow (Low-Level / Ddl)
|
|
1880
|
+
**Description:** [low-level] Unlock an ABAP DDL source after modification. Must use the same session_id and lock_handle from LockDdlLow operation.
|
|
1881
|
+
|
|
1882
|
+
**Source:** `src/handlers/ddl/low/handleUnlockDdl.ts`
|
|
1883
|
+
|
|
1884
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1885
|
+
|
|
1886
|
+
**Parameters:**
|
|
1887
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1888
|
+
- `lock_handle` (string, required) - Lock handle from LockDdlLow operation.
|
|
1889
|
+
- `session_id` (string, required) - Session ID from LockDdlLow operation. Must be the same as used in LockDdlLow.
|
|
1890
|
+
- `session_state` (object, optional) - Session state from LockDdlLow (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1891
|
+
|
|
1892
|
+
---
|
|
1893
|
+
|
|
1894
|
+
<a id="updateddllow-low-level-ddl"></a>
|
|
1895
|
+
#### UpdateDdlLow (Low-Level / Ddl)
|
|
1896
|
+
**Description:** [low-level] Update DDL source code of an existing CDS View or Classic View. Requires lock handle from LockDdlLow. - use UpdateDdl (high-level) for full workflow with lock/unlock/activate.
|
|
1897
|
+
|
|
1898
|
+
**Source:** `src/handlers/ddl/low/handleUpdateDdl.ts`
|
|
1899
|
+
|
|
1900
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1901
|
+
|
|
1902
|
+
**Parameters:**
|
|
1903
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002). DDL source must already exist.
|
|
1904
|
+
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
|
|
1905
|
+
- `lock_handle` (string, required) - Lock handle from LockDdlLow. Required for update operation.
|
|
1906
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1907
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1908
|
+
|
|
1909
|
+
---
|
|
1910
|
+
|
|
1911
|
+
<a id="validateddllow-low-level-ddl"></a>
|
|
1912
|
+
#### ValidateDdlLow (Low-Level / Ddl)
|
|
1913
|
+
**Description:** [low-level] Validate an ABAP DDL source name before creation. Checks if the name is valid and available. Returns validation result with success status and message. Can use session_id and session_state from GetSession to maintain the same session.
|
|
1914
|
+
|
|
1915
|
+
**Source:** `src/handlers/ddl/low/handleValidateDdl.ts`
|
|
1916
|
+
|
|
1917
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1918
|
+
|
|
1919
|
+
**Parameters:**
|
|
1920
|
+
- `ddl_name` (string, required) - DDL source name to validate (e.g., Z_MY_PROGRAM).
|
|
1921
|
+
- `description` (string, required) - DDL source description. Required for validation.
|
|
1922
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation.
|
|
1923
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1924
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1925
|
+
|
|
1926
|
+
---
|
|
1927
|
+
|
|
1791
1928
|
<a id="low-level-function"></a>
|
|
1792
1929
|
### Low-Level / Function
|
|
1793
1930
|
|
|
@@ -2385,138 +2522,4 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2385
2522
|
|
|
2386
2523
|
---
|
|
2387
2524
|
|
|
2388
|
-
|
|
2389
|
-
### Low-Level / View
|
|
2390
|
-
|
|
2391
|
-
<a id="activateviewlow-low-level-view"></a>
|
|
2392
|
-
#### ActivateViewLow (Low-Level / View)
|
|
2393
|
-
**Description:** Operation: Activate, Create, Update. Subject: View. Will be useful for activating, creating, or updating view. [low-level] Activate an ABAP view (CDS view). Returns activation status and any warnings/errors. Can use session_id and session_state from GetSession to maintain the same session.
|
|
2394
|
-
|
|
2395
|
-
**Source:** `src/handlers/view/low/handleActivateView.ts`
|
|
2396
|
-
|
|
2397
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2398
|
-
|
|
2399
|
-
**Parameters:**
|
|
2400
|
-
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2401
|
-
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2402
|
-
- `view_name` (string, required) - View name (e.g., ZVW_MY_VIEW).
|
|
2403
|
-
|
|
2404
|
-
---
|
|
2405
|
-
|
|
2406
|
-
<a id="checkviewlow-low-level-view"></a>
|
|
2407
|
-
#### CheckViewLow (Low-Level / View)
|
|
2408
|
-
**Description:** [low-level] Perform syntax check on an ABAP view. Returns syntax errors, warnings, and messages. Can use session_id and session_state from GetSession to maintain the same session. If ddl_source is provided, validates new/unsaved code (will be base64 encoded in request).
|
|
2409
|
-
|
|
2410
|
-
**Source:** `src/handlers/view/low/handleCheckView.ts`
|
|
2411
|
-
|
|
2412
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2413
|
-
|
|
2414
|
-
**Parameters:**
|
|
2415
|
-
- `ddl_source` (string, optional) - Optional DDL source code to validate (for checking new/unsaved code). If provided, code will be base64 encoded and sent in check request body.
|
|
2416
|
-
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2417
|
-
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2418
|
-
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
2419
|
-
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
2420
|
-
|
|
2421
|
-
---
|
|
2422
|
-
|
|
2423
|
-
<a id="createviewlow-low-level-view"></a>
|
|
2424
|
-
#### CreateViewLow (Low-Level / View)
|
|
2425
|
-
**Description:** [low-level] Create a new ABAP view. - use CreateView (high-level) for full workflow with validation, lock, update, check, unlock, and activate.
|
|
2426
|
-
|
|
2427
|
-
**Source:** `src/handlers/view/low/handleCreateView.ts`
|
|
2428
|
-
|
|
2429
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2430
|
-
|
|
2431
|
-
**Parameters:**
|
|
2432
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
2433
|
-
- `description` (string, required) - View description.
|
|
2434
|
-
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2435
|
-
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2436
|
-
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2437
|
-
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
2438
|
-
- `view_name` (string, required) - View name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
2439
|
-
- `view_type` (string, optional) - View type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
2440
|
-
|
|
2441
|
-
---
|
|
2442
|
-
|
|
2443
|
-
<a id="deleteviewlow-low-level-view"></a>
|
|
2444
|
-
#### DeleteViewLow (Low-Level / View)
|
|
2445
|
-
**Description:** [low-level] Delete an ABAP view from the SAP system via ADT deletion API. Transport request optional for $TMP objects.
|
|
2446
|
-
|
|
2447
|
-
**Source:** `src/handlers/view/low/handleDeleteView.ts`
|
|
2448
|
-
|
|
2449
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2450
|
-
|
|
2451
|
-
**Parameters:**
|
|
2452
|
-
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
|
|
2453
|
-
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
2454
|
-
|
|
2455
|
-
---
|
|
2456
|
-
|
|
2457
|
-
<a id="lockviewlow-low-level-view"></a>
|
|
2458
|
-
#### LockViewLow (Low-Level / View)
|
|
2459
|
-
**Description:** [low-level] Lock an ABAP view for modification. Returns lock handle that must be used in subsequent update/unlock operations with the same session_id.
|
|
2460
|
-
|
|
2461
|
-
**Source:** `src/handlers/view/low/handleLockView.ts`
|
|
2462
|
-
|
|
2463
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2464
|
-
|
|
2465
|
-
**Parameters:**
|
|
2466
|
-
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2467
|
-
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2468
|
-
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
2469
|
-
|
|
2470
|
-
---
|
|
2471
|
-
|
|
2472
|
-
<a id="unlockviewlow-low-level-view"></a>
|
|
2473
|
-
#### UnlockViewLow (Low-Level / View)
|
|
2474
|
-
**Description:** [low-level] Unlock an ABAP view after modification. Must use the same session_id and lock_handle from LockView operation.
|
|
2475
|
-
|
|
2476
|
-
**Source:** `src/handlers/view/low/handleUnlockView.ts`
|
|
2477
|
-
|
|
2478
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2479
|
-
|
|
2480
|
-
**Parameters:**
|
|
2481
|
-
- `lock_handle` (string, required) - Lock handle from LockView operation.
|
|
2482
|
-
- `session_id` (string, required) - Session ID from LockView operation. Must be the same as used in LockView.
|
|
2483
|
-
- `session_state` (object, optional) - Session state from LockView (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2484
|
-
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
2485
|
-
|
|
2486
|
-
---
|
|
2487
|
-
|
|
2488
|
-
<a id="updateviewlow-low-level-view"></a>
|
|
2489
|
-
#### UpdateViewLow (Low-Level / View)
|
|
2490
|
-
**Description:** [low-level] Update DDL source code of an existing CDS View or Classic View. Requires lock handle from LockObject. - use UpdateView (high-level) for full workflow with lock/unlock/activate.
|
|
2491
|
-
|
|
2492
|
-
**Source:** `src/handlers/view/low/handleUpdateView.ts`
|
|
2493
|
-
|
|
2494
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2495
|
-
|
|
2496
|
-
**Parameters:**
|
|
2497
|
-
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
|
|
2498
|
-
- `lock_handle` (string, required) - Lock handle from LockObject. Required for update operation.
|
|
2499
|
-
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2500
|
-
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2501
|
-
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002). View must already exist.
|
|
2502
|
-
|
|
2503
|
-
---
|
|
2504
|
-
|
|
2505
|
-
<a id="validateviewlow-low-level-view"></a>
|
|
2506
|
-
#### ValidateViewLow (Low-Level / View)
|
|
2507
|
-
**Description:** [low-level] Validate an ABAP view name before creation. Checks if the name is valid and available. Returns validation result with success status and message. Can use session_id and session_state from GetSession to maintain the same session.
|
|
2508
|
-
|
|
2509
|
-
**Source:** `src/handlers/view/low/handleValidateView.ts`
|
|
2510
|
-
|
|
2511
|
-
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2512
|
-
|
|
2513
|
-
**Parameters:**
|
|
2514
|
-
- `description` (string, required) - View description. Required for validation.
|
|
2515
|
-
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation.
|
|
2516
|
-
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2517
|
-
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2518
|
-
- `view_name` (string, required) - View name to validate (e.g., Z_MY_PROGRAM).
|
|
2519
|
-
|
|
2520
|
-
---
|
|
2521
|
-
|
|
2522
|
-
*Last updated: 2026-06-20*
|
|
2525
|
+
*Last updated: 2026-06-25*
|