@mcp-abap-adt/core 7.2.1 → 8.1.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 +16 -0
- package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.d.ts +4 -0
- package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.d.ts.map +1 -1
- package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.js +5 -0
- package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.js.map +1 -1
- package/dist/handlers/class/high/handleCreateClass.d.ts +5 -0
- package/dist/handlers/class/high/handleCreateClass.d.ts.map +1 -1
- package/dist/handlers/class/high/handleCreateClass.js +5 -0
- package/dist/handlers/class/high/handleCreateClass.js.map +1 -1
- 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 +247 -4
- package/dist/handlers/compact/high/compactSchemas.d.ts.map +1 -1
- package/dist/handlers/compact/high/compactSchemas.js +194 -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 +114 -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 +45 -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 +87 -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/data_element/high/handleCreateDataElement.d.ts +5 -0
- package/dist/handlers/data_element/high/handleCreateDataElement.d.ts.map +1 -1
- package/dist/handlers/data_element/high/handleCreateDataElement.js +5 -0
- package/dist/handlers/data_element/high/handleCreateDataElement.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 +46 -0
- package/dist/handlers/ddl/high/handleCreateDdl.d.ts.map +1 -0
- package/dist/handlers/ddl/high/handleCreateDdl.js +104 -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/handlers/ddlx/high/handleCreateMetadataExtension.d.ts +4 -0
- package/dist/handlers/ddlx/high/handleCreateMetadataExtension.d.ts.map +1 -1
- package/dist/handlers/ddlx/high/handleCreateMetadataExtension.js +5 -0
- package/dist/handlers/ddlx/high/handleCreateMetadataExtension.js.map +1 -1
- package/dist/handlers/domain/high/handleCreateDomain.d.ts +5 -0
- package/dist/handlers/domain/high/handleCreateDomain.d.ts.map +1 -1
- package/dist/handlers/domain/high/handleCreateDomain.js +5 -0
- package/dist/handlers/domain/high/handleCreateDomain.js.map +1 -1
- package/dist/handlers/function/high/handleCreateFunctionGroup.d.ts +5 -0
- package/dist/handlers/function/high/handleCreateFunctionGroup.d.ts.map +1 -1
- package/dist/handlers/function/high/handleCreateFunctionGroup.js +5 -0
- package/dist/handlers/function/high/handleCreateFunctionGroup.js.map +1 -1
- package/dist/handlers/interface/high/handleCreateInterface.d.ts +5 -0
- package/dist/handlers/interface/high/handleCreateInterface.d.ts.map +1 -1
- package/dist/handlers/interface/high/handleCreateInterface.js +5 -0
- package/dist/handlers/interface/high/handleCreateInterface.js.map +1 -1
- package/dist/handlers/package/high/handleCreatePackage.d.ts +2 -0
- package/dist/handlers/package/high/handleCreatePackage.d.ts.map +1 -1
- package/dist/handlers/package/high/handleCreatePackage.js +7 -0
- package/dist/handlers/package/high/handleCreatePackage.js.map +1 -1
- package/dist/handlers/program/high/handleCreateProgram.d.ts +4 -0
- package/dist/handlers/program/high/handleCreateProgram.d.ts.map +1 -1
- package/dist/handlers/program/high/handleCreateProgram.js +5 -0
- package/dist/handlers/program/high/handleCreateProgram.js.map +1 -1
- package/dist/handlers/service_binding/high/handleCreateServiceBinding.d.ts +5 -0
- package/dist/handlers/service_binding/high/handleCreateServiceBinding.d.ts.map +1 -1
- package/dist/handlers/service_binding/high/handleCreateServiceBinding.js +5 -0
- package/dist/handlers/service_binding/high/handleCreateServiceBinding.js.map +1 -1
- package/dist/handlers/service_definition/high/handleCreateServiceDefinition.d.ts +5 -0
- package/dist/handlers/service_definition/high/handleCreateServiceDefinition.d.ts.map +1 -1
- package/dist/handlers/service_definition/high/handleCreateServiceDefinition.js +5 -0
- package/dist/handlers/service_definition/high/handleCreateServiceDefinition.js.map +1 -1
- package/dist/handlers/structure/high/handleCreateStructure.d.ts +5 -0
- package/dist/handlers/structure/high/handleCreateStructure.d.ts.map +1 -1
- package/dist/handlers/structure/high/handleCreateStructure.js +5 -0
- package/dist/handlers/structure/high/handleCreateStructure.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts +18 -0
- package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.js +35 -0
- package/dist/handlers/system/readonly/handleGetWhereUsed.js.map +1 -1
- package/dist/handlers/table/high/handleCreateTable.d.ts +5 -0
- package/dist/handlers/table/high/handleCreateTable.d.ts.map +1 -1
- package/dist/handlers/table/high/handleCreateTable.js +5 -0
- package/dist/handlers/table/high/handleCreateTable.js.map +1 -1
- package/dist/lib/clients.d.ts.map +1 -1
- package/dist/lib/clients.js +9 -2
- package/dist/lib/clients.js.map +1 -1
- 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/dist/lib/requestContext.d.ts +22 -0
- package/dist/lib/requestContext.d.ts.map +1 -0
- package/dist/lib/requestContext.js +19 -0
- package/dist/lib/requestContext.js.map +1 -0
- package/dist/server/BaseMcpServer.d.ts.map +1 -1
- package/dist/server/BaseMcpServer.js +9 -0
- package/dist/server/BaseMcpServer.js.map +1 -1
- package/dist/server/SseServer.d.ts.map +1 -1
- package/dist/server/SseServer.js +10 -2
- package/dist/server/SseServer.js.map +1 -1
- package/dist/server/StreamableHttpServer.d.ts.map +1 -1
- package/dist/server/StreamableHttpServer.js +7 -1
- package/dist/server/StreamableHttpServer.js.map +1 -1
- package/dist/server/launcher.js +1 -0
- package/dist/server/launcher.js.map +1 -1
- package/docs/development/roadmaps/TEST_LOGGING_ROADMAP.md +2 -2
- package/docs/user-guide/AVAILABLE_TOOLS.md +278 -231
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +58 -12
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +131 -85
- package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +298 -253
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +129 -130
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +20 -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(name*, package_name*, root_entity*, implementation_type*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, package_name*), METADATA_EXTENSION(name*, package_name*), UNIT_TEST(tests*), CDS_UNIT_TEST(class_name*, package_name*, cds_view_name*).
|
|
727
727
|
|
|
728
728
|
**Source:** `src/handlers/compact/high/handleHandlerCreate.ts`
|
|
729
729
|
|
|
@@ -732,22 +732,36 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
732
732
|
**Parameters:**
|
|
733
733
|
- `activate` (boolean, optional) - Activate object after create.
|
|
734
734
|
- `application` (string, optional) - Domain application area.
|
|
735
|
+
- `behavior_definition` (string, optional) - Referenced behavior definition name (behavior implementation create).
|
|
736
|
+
- `cds_view_name` (string, optional) - CDS view name to validate for unit test doubles.
|
|
735
737
|
- `class_name` (string, optional) - ABAP class name.
|
|
736
738
|
- `conversion_exit` (string, optional) - Conversion exit name.
|
|
739
|
+
- `data_element_name` (string, optional) - Data element name.
|
|
737
740
|
- `datatype` (string, optional) - ABAP data type.
|
|
741
|
+
- `ddl_name` (string, optional) - DDL source name (CDS view, AMDP table function, etc.).
|
|
738
742
|
- `decimals` (number, optional) - Decimal places.
|
|
739
743
|
- `description` (string, optional) - Human-readable object description.
|
|
740
744
|
- `domain_name` (string, optional) - ABAP domain name.
|
|
745
|
+
- `fields` (array, optional) - Structure fields (for STRUCTURE create).
|
|
741
746
|
- `fixed_values` (array, optional) - Domain fixed values list.
|
|
742
747
|
- `function_group_name` (string, optional) - ABAP function group name.
|
|
743
748
|
- `function_module_name` (string, optional) - ABAP function module name.
|
|
749
|
+
- `implementation_type` (string, optional) - Behavior definition implementation type.
|
|
750
|
+
- `interface_name` (string, optional) - Interface name.
|
|
744
751
|
- `length` (number, optional) - Length for typed artifacts.
|
|
745
752
|
- `lowercase` (boolean, optional) - Allow lowercase values (domain setting).
|
|
753
|
+
- `name` (string, optional) - Object name for handlers that require a generic `name` (behavior definition, metadata extension).
|
|
746
754
|
- `object_type` (any, required) -
|
|
747
755
|
- `package_name` (string, optional) - ABAP package name.
|
|
748
756
|
- `program_name` (string, optional) - ABAP program name.
|
|
749
757
|
- `program_type` (string, optional) - ABAP program type.
|
|
758
|
+
- `root_entity` (string, optional) - Root CDS entity name (behavior definition create).
|
|
759
|
+
- `service_binding_name` (string, optional) - Service binding name.
|
|
760
|
+
- `service_definition_name` (string, optional) - Service definition name.
|
|
750
761
|
- `sign_exists` (boolean, optional) - Allow signed values (domain setting).
|
|
762
|
+
- `structure_name` (string, optional) - Structure name.
|
|
763
|
+
- `table_name` (string, optional) - Table name.
|
|
764
|
+
- `tests` (array, optional) - Container/test class pairs (for UNIT_TEST create).
|
|
751
765
|
- `transport_request` (string, optional) - Transport request id (if required by system).
|
|
752
766
|
- `value_table` (string, optional) - Foreign key value table.
|
|
753
767
|
|
|
@@ -755,26 +769,37 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
755
769
|
|
|
756
770
|
<a id="handlerdelete-high-level-compact"></a>
|
|
757
771
|
#### HandlerDelete (High-Level / Compact)
|
|
758
|
-
**Description:** Delete operation. object_type required:
|
|
772
|
+
**Description:** Delete operation. object_type required: 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(class_name*).
|
|
759
773
|
|
|
760
774
|
**Source:** `src/handlers/compact/high/handleHandlerDelete.ts`
|
|
761
775
|
|
|
762
776
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
763
777
|
|
|
764
778
|
**Parameters:**
|
|
779
|
+
- `behavior_definition_name` (string, optional) - Behavior definition name.
|
|
780
|
+
- `behavior_implementation_name` (string, optional) - Behavior implementation name.
|
|
765
781
|
- `class_name` (string, optional) - ABAP class name.
|
|
782
|
+
- `data_element_name` (string, optional) - Data element name.
|
|
783
|
+
- `ddl_name` (string, optional) - DDL source name (CDS view, AMDP table function, etc.).
|
|
766
784
|
- `domain_name` (string, optional) - ABAP domain name.
|
|
767
785
|
- `function_group_name` (string, optional) - ABAP function group name.
|
|
768
786
|
- `function_module_name` (string, optional) - ABAP function module name.
|
|
787
|
+
- `interface_name` (string, optional) - Interface name.
|
|
788
|
+
- `metadata_extension_name` (string, optional) - Metadata extension name.
|
|
769
789
|
- `object_type` (any, required) -
|
|
770
790
|
- `program_name` (string, optional) - ABAP program name.
|
|
791
|
+
- `run_id` (string, optional) - Unit test run id (UNIT_TEST delete).
|
|
792
|
+
- `service_binding_name` (string, optional) - Service binding name.
|
|
793
|
+
- `service_definition_name` (string, optional) - Service definition name.
|
|
794
|
+
- `structure_name` (string, optional) - Structure name.
|
|
795
|
+
- `table_name` (string, optional) - Table name.
|
|
771
796
|
- `transport_request` (string, optional) - Transport request id (if required by system).
|
|
772
797
|
|
|
773
798
|
---
|
|
774
799
|
|
|
775
800
|
<a id="handlerget-high-level-compact"></a>
|
|
776
801
|
#### 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*),
|
|
802
|
+
**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
803
|
|
|
779
804
|
**Source:** `src/handlers/compact/high/handleHandlerGet.ts`
|
|
780
805
|
|
|
@@ -785,6 +810,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
785
810
|
- `behavior_implementation_name` (string, optional) - Behavior implementation name.
|
|
786
811
|
- `class_name` (string, optional) - Class name.
|
|
787
812
|
- `data_element_name` (string, optional) - Data element name.
|
|
813
|
+
- `ddl_name` (string, optional) - DDL source name.
|
|
788
814
|
- `domain_name` (string, optional) - Domain name.
|
|
789
815
|
- `function_group_name` (string, optional) - Function group name.
|
|
790
816
|
- `function_module_name` (string, optional) - Function module name.
|
|
@@ -800,13 +826,12 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
800
826
|
- `structure_name` (string, optional) - Structure name.
|
|
801
827
|
- `table_name` (string, optional) - Table name.
|
|
802
828
|
- `version` (any, optional) -
|
|
803
|
-
- `view_name` (string, optional) - View name.
|
|
804
829
|
|
|
805
830
|
---
|
|
806
831
|
|
|
807
832
|
<a id="handlerupdate-high-level-compact"></a>
|
|
808
833
|
#### 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*),
|
|
834
|
+
**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(name*, source_code*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, implementation_code*), METADATA_EXTENSION(name*, source_code*), UNIT_TEST(run_id*), CDS_UNIT_TEST(class_name*, test_class_source*).
|
|
810
835
|
|
|
811
836
|
**Source:** `src/handlers/compact/high/handleHandlerUpdate.ts`
|
|
812
837
|
|
|
@@ -814,27 +839,126 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
814
839
|
|
|
815
840
|
**Parameters:**
|
|
816
841
|
- `activate` (boolean, optional) - Activate object after update.
|
|
842
|
+
- `behavior_definition` (string, optional) - Referenced behavior definition name (behavior implementation update).
|
|
843
|
+
- `binding_variant` (string, optional) - Service binding variant (service binding update).
|
|
817
844
|
- `class_name` (string, optional) - ABAP class name.
|
|
818
845
|
- `conversion_exit` (string, optional) - Conversion exit name.
|
|
846
|
+
- `data_element_name` (string, optional) - Data element name.
|
|
819
847
|
- `datatype` (string, optional) - ABAP data type.
|
|
848
|
+
- `ddl_code` (string, optional) - Complete DDL source code (for TABLE/STRUCTURE update).
|
|
849
|
+
- `ddl_name` (string, optional) - DDL source name (CDS view, AMDP table function, etc.).
|
|
850
|
+
- `ddl_source` (string, optional) - Complete DDL source code (for DDL update).
|
|
820
851
|
- `decimals` (number, optional) - Decimal places.
|
|
852
|
+
- `definitions_code` (string, optional) - Updated source for class local definitions.
|
|
821
853
|
- `description` (string, optional) - Human-readable object description.
|
|
854
|
+
- `desired_publication_state` (string, optional) - Target publication state (service binding update).
|
|
822
855
|
- `domain_name` (string, optional) - ABAP domain name.
|
|
823
856
|
- `fixed_values` (array, optional) - Domain fixed values list.
|
|
824
857
|
- `function_group_name` (string, optional) - ABAP function group name.
|
|
825
858
|
- `function_module_name` (string, optional) - ABAP function module name.
|
|
859
|
+
- `implementation_code` (string, optional) - Behavior implementation methods source code.
|
|
860
|
+
- `interface_name` (string, optional) - Interface name.
|
|
826
861
|
- `length` (number, optional) - Length for typed artifacts.
|
|
862
|
+
- `local_types_code` (string, optional) - Updated source for class local types.
|
|
827
863
|
- `lowercase` (boolean, optional) - Allow lowercase values (domain setting).
|
|
864
|
+
- `macros_code` (string, optional) - Updated source for class local macros.
|
|
865
|
+
- `name` (string, optional) - Object name for handlers that require a generic `name` (behavior definition, metadata extension).
|
|
828
866
|
- `object_type` (any, required) -
|
|
829
867
|
- `package_name` (string, optional) - ABAP package name.
|
|
830
868
|
- `program_name` (string, optional) - ABAP program name.
|
|
869
|
+
- `run_id` (string, optional) - Unit test run id (UNIT_TEST update).
|
|
870
|
+
- `service_binding_name` (string, optional) - Service binding name.
|
|
871
|
+
- `service_definition_name` (string, optional) - Service definition name.
|
|
872
|
+
- `service_name` (string, optional) - Published service name (service binding update).
|
|
831
873
|
- `sign_exists` (boolean, optional) - Allow signed values (domain setting).
|
|
832
874
|
- `source_code` (string, optional) - ABAP source code payload.
|
|
875
|
+
- `structure_name` (string, optional) - Structure name.
|
|
876
|
+
- `table_name` (string, optional) - Table name.
|
|
877
|
+
- `test_class_code` (string, optional) - Updated source for the local test class.
|
|
878
|
+
- `test_class_source` (string, optional) - Updated local test class source (CDS_UNIT_TEST update).
|
|
833
879
|
- `transport_request` (string, optional) - Transport request id (if required by system).
|
|
834
880
|
- `value_table` (string, optional) - Foreign key value table.
|
|
835
881
|
|
|
836
882
|
---
|
|
837
883
|
|
|
884
|
+
<a id="high-level-ddl"></a>
|
|
885
|
+
### High-Level / Ddl
|
|
886
|
+
|
|
887
|
+
<a id="checkddl-high-level-ddl"></a>
|
|
888
|
+
#### CheckDdl (High-Level / Ddl)
|
|
889
|
+
**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.
|
|
890
|
+
|
|
891
|
+
**Source:** `src/handlers/ddl/high/handleCheckDdl.ts`
|
|
892
|
+
|
|
893
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
894
|
+
|
|
895
|
+
**Parameters:**
|
|
896
|
+
- `ddl_name` (string, required) - CDS view name to check, passed as ddl_name (e.g., ZI_MY_VIEW).
|
|
897
|
+
- `ddl_source` (string, optional) - Optional: DDL source code to validate instead of the saved version.
|
|
898
|
+
- `version` (string, optional) - Version to check: 'active' or 'inactive'. Default: inactive.
|
|
899
|
+
|
|
900
|
+
---
|
|
901
|
+
|
|
902
|
+
<a id="createddl-high-level-ddl"></a>
|
|
903
|
+
#### CreateDdl (High-Level / Ddl)
|
|
904
|
+
**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.
|
|
905
|
+
|
|
906
|
+
**Source:** `src/handlers/ddl/high/handleCreateDdl.ts`
|
|
907
|
+
|
|
908
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
909
|
+
|
|
910
|
+
**Parameters:**
|
|
911
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
|
|
912
|
+
- `description` (string, optional) - Optional description (defaults to ddl_name).
|
|
913
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
914
|
+
- `transport_request` (string, optional) - Transport request number (required for transportable packages).
|
|
915
|
+
|
|
916
|
+
---
|
|
917
|
+
|
|
918
|
+
<a id="deleteddl-high-level-ddl"></a>
|
|
919
|
+
#### DeleteDdl (High-Level / Ddl)
|
|
920
|
+
**Description:** Delete a DDL source from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.
|
|
921
|
+
|
|
922
|
+
**Source:** `src/handlers/ddl/high/handleDeleteDdl.ts`
|
|
923
|
+
|
|
924
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
925
|
+
|
|
926
|
+
**Parameters:**
|
|
927
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_VIEW).
|
|
928
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
|
|
929
|
+
|
|
930
|
+
---
|
|
931
|
+
|
|
932
|
+
<a id="getddl-high-level-ddl"></a>
|
|
933
|
+
#### GetDdl (High-Level / Ddl)
|
|
934
|
+
**Description:** Retrieve ABAP DDL source definition. Supports reading active or inactive version.
|
|
935
|
+
|
|
936
|
+
**Source:** `src/handlers/ddl/high/handleGetDdl.ts`
|
|
937
|
+
|
|
938
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
939
|
+
|
|
940
|
+
**Parameters:**
|
|
941
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_VIEW).
|
|
942
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
943
|
+
|
|
944
|
+
---
|
|
945
|
+
|
|
946
|
+
<a id="updateddl-high-level-ddl"></a>
|
|
947
|
+
#### UpdateDdl (High-Level / Ddl)
|
|
948
|
+
**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.
|
|
949
|
+
|
|
950
|
+
**Source:** `src/handlers/ddl/high/handleUpdateDdl.ts`
|
|
951
|
+
|
|
952
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
953
|
+
|
|
954
|
+
**Parameters:**
|
|
955
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
956
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002).
|
|
957
|
+
- `ddl_source` (string, required) - Complete DDL source code.
|
|
958
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
959
|
+
|
|
960
|
+
---
|
|
961
|
+
|
|
838
962
|
<a id="high-level-function"></a>
|
|
839
963
|
### High-Level / Function
|
|
840
964
|
|
|
@@ -1426,84 +1550,6 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1426
1550
|
|
|
1427
1551
|
---
|
|
1428
1552
|
|
|
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
1553
|
<a id="low-level-group"></a>
|
|
1508
1554
|
## Low-Level Group
|
|
1509
1555
|
|
|
@@ -1783,11 +1829,144 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1783
1829
|
**Parameters:**
|
|
1784
1830
|
- `function_group_name` (string, optional) - Required only for function_module type
|
|
1785
1831
|
- `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,
|
|
1832
|
+
- `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
1833
|
- `transport_request` (string, optional) - Transport request number
|
|
1788
1834
|
|
|
1789
1835
|
---
|
|
1790
1836
|
|
|
1837
|
+
<a id="low-level-ddl"></a>
|
|
1838
|
+
### Low-Level / Ddl
|
|
1839
|
+
|
|
1840
|
+
<a id="activateddllow-low-level-ddl"></a>
|
|
1841
|
+
#### ActivateDdlLow (Low-Level / Ddl)
|
|
1842
|
+
**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.
|
|
1843
|
+
|
|
1844
|
+
**Source:** `src/handlers/ddl/low/handleActivateDdl.ts`
|
|
1845
|
+
|
|
1846
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1847
|
+
|
|
1848
|
+
**Parameters:**
|
|
1849
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZVW_MY_VIEW).
|
|
1850
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1851
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1852
|
+
|
|
1853
|
+
---
|
|
1854
|
+
|
|
1855
|
+
<a id="checkddllow-low-level-ddl"></a>
|
|
1856
|
+
#### CheckDdlLow (Low-Level / Ddl)
|
|
1857
|
+
**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).
|
|
1858
|
+
|
|
1859
|
+
**Source:** `src/handlers/ddl/low/handleCheckDdl.ts`
|
|
1860
|
+
|
|
1861
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1862
|
+
|
|
1863
|
+
**Parameters:**
|
|
1864
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1865
|
+
- `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.
|
|
1866
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1867
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1868
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
1869
|
+
|
|
1870
|
+
---
|
|
1871
|
+
|
|
1872
|
+
<a id="createddllow-low-level-ddl"></a>
|
|
1873
|
+
#### CreateDdlLow (Low-Level / Ddl)
|
|
1874
|
+
**Description:** [low-level] Create a new ABAP DDL source. - use CreateDdl (high-level) for full workflow with validation, lock, update, check, unlock, and activate.
|
|
1875
|
+
|
|
1876
|
+
**Source:** `src/handlers/ddl/low/handleCreateDdl.ts`
|
|
1877
|
+
|
|
1878
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1879
|
+
|
|
1880
|
+
**Parameters:**
|
|
1881
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
1882
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
1883
|
+
- `description` (string, required) - DDL source description.
|
|
1884
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
1885
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1886
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1887
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
1888
|
+
|
|
1889
|
+
---
|
|
1890
|
+
|
|
1891
|
+
<a id="deleteddllow-low-level-ddl"></a>
|
|
1892
|
+
#### DeleteDdlLow (Low-Level / Ddl)
|
|
1893
|
+
**Description:** [low-level] Delete a DDL source from the SAP system via ADT deletion API. Transport request optional for $TMP objects.
|
|
1894
|
+
|
|
1895
|
+
**Source:** `src/handlers/ddl/low/handleDeleteDdl.ts`
|
|
1896
|
+
|
|
1897
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1898
|
+
|
|
1899
|
+
**Parameters:**
|
|
1900
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1901
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
|
|
1902
|
+
|
|
1903
|
+
---
|
|
1904
|
+
|
|
1905
|
+
<a id="lockddllow-low-level-ddl"></a>
|
|
1906
|
+
#### LockDdlLow (Low-Level / Ddl)
|
|
1907
|
+
**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.
|
|
1908
|
+
|
|
1909
|
+
**Source:** `src/handlers/ddl/low/handleLockDdl.ts`
|
|
1910
|
+
|
|
1911
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1912
|
+
|
|
1913
|
+
**Parameters:**
|
|
1914
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1915
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1916
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1917
|
+
|
|
1918
|
+
---
|
|
1919
|
+
|
|
1920
|
+
<a id="unlockddllow-low-level-ddl"></a>
|
|
1921
|
+
#### UnlockDdlLow (Low-Level / Ddl)
|
|
1922
|
+
**Description:** [low-level] Unlock an ABAP DDL source after modification. Must use the same session_id and lock_handle from LockDdlLow operation.
|
|
1923
|
+
|
|
1924
|
+
**Source:** `src/handlers/ddl/low/handleUnlockDdl.ts`
|
|
1925
|
+
|
|
1926
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1927
|
+
|
|
1928
|
+
**Parameters:**
|
|
1929
|
+
- `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
|
|
1930
|
+
- `lock_handle` (string, required) - Lock handle from LockDdlLow operation.
|
|
1931
|
+
- `session_id` (string, required) - Session ID from LockDdlLow operation. Must be the same as used in LockDdlLow.
|
|
1932
|
+
- `session_state` (object, optional) - Session state from LockDdlLow (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1933
|
+
|
|
1934
|
+
---
|
|
1935
|
+
|
|
1936
|
+
<a id="updateddllow-low-level-ddl"></a>
|
|
1937
|
+
#### UpdateDdlLow (Low-Level / Ddl)
|
|
1938
|
+
**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.
|
|
1939
|
+
|
|
1940
|
+
**Source:** `src/handlers/ddl/low/handleUpdateDdl.ts`
|
|
1941
|
+
|
|
1942
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1943
|
+
|
|
1944
|
+
**Parameters:**
|
|
1945
|
+
- `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002). DDL source must already exist.
|
|
1946
|
+
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
|
|
1947
|
+
- `lock_handle` (string, required) - Lock handle from LockDdlLow. Required for update operation.
|
|
1948
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1949
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1950
|
+
|
|
1951
|
+
---
|
|
1952
|
+
|
|
1953
|
+
<a id="validateddllow-low-level-ddl"></a>
|
|
1954
|
+
#### ValidateDdlLow (Low-Level / Ddl)
|
|
1955
|
+
**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.
|
|
1956
|
+
|
|
1957
|
+
**Source:** `src/handlers/ddl/low/handleValidateDdl.ts`
|
|
1958
|
+
|
|
1959
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1960
|
+
|
|
1961
|
+
**Parameters:**
|
|
1962
|
+
- `ddl_name` (string, required) - DDL source name to validate (e.g., Z_MY_PROGRAM).
|
|
1963
|
+
- `description` (string, required) - DDL source description. Required for validation.
|
|
1964
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation.
|
|
1965
|
+
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1966
|
+
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1967
|
+
|
|
1968
|
+
---
|
|
1969
|
+
|
|
1791
1970
|
<a id="low-level-function"></a>
|
|
1792
1971
|
### Low-Level / Function
|
|
1793
1972
|
|
|
@@ -2385,138 +2564,4 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2385
2564
|
|
|
2386
2565
|
---
|
|
2387
2566
|
|
|
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*
|
|
2567
|
+
*Last updated: 2026-06-26*
|