@mcp-abap-adt/core 6.10.0 → 6.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/handlers/common/low/handleDeleteObject.d.ts +3 -3
- package/dist/handlers/common/low/handleDeleteObject.js +3 -3
- package/dist/handlers/common/low/handleDeleteObject.js.map +1 -1
- package/dist/handlers/common/low/handleLockObject.d.ts.map +1 -1
- package/dist/handlers/common/low/handleLockObject.js +11 -2
- package/dist/handlers/common/low/handleLockObject.js.map +1 -1
- package/dist/handlers/common/low/handleUnlockObject.d.ts.map +1 -1
- package/dist/handlers/common/low/handleUnlockObject.js +11 -2
- package/dist/handlers/common/low/handleUnlockObject.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerCreate.d.ts +2 -2
- package/dist/handlers/compact/high/handleHandlerCreate.js +2 -2
- package/dist/handlers/compact/high/handleHandlerCreate.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerDelete.d.ts +2 -2
- package/dist/handlers/compact/high/handleHandlerDelete.js +2 -2
- package/dist/handlers/compact/high/handleHandlerDelete.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerGet.d.ts +2 -2
- package/dist/handlers/compact/high/handleHandlerGet.js +2 -2
- package/dist/handlers/compact/high/handleHandlerGet.js.map +1 -1
- package/dist/handlers/compact/high/handleHandlerUpdate.d.ts +2 -2
- package/dist/handlers/compact/high/handleHandlerUpdate.js +2 -2
- package/dist/handlers/compact/high/handleHandlerUpdate.js.map +1 -1
- package/dist/handlers/enhancement/readonly/handleGetEnhancementImpl.d.ts.map +1 -1
- package/dist/handlers/enhancement/readonly/handleGetEnhancementImpl.js +0 -7
- package/dist/handlers/enhancement/readonly/handleGetEnhancementImpl.js.map +1 -1
- package/dist/handlers/enhancement/readonly/handleGetEnhancementSpot.d.ts.map +1 -1
- package/dist/handlers/enhancement/readonly/handleGetEnhancementSpot.js +0 -4
- package/dist/handlers/enhancement/readonly/handleGetEnhancementSpot.js.map +1 -1
- package/dist/handlers/enhancement/readonly/handleGetEnhancements.d.ts.map +1 -1
- package/dist/handlers/enhancement/readonly/handleGetEnhancements.js +0 -10
- package/dist/handlers/enhancement/readonly/handleGetEnhancements.js.map +1 -1
- package/dist/handlers/include/readonly/handleGetInclude.d.ts.map +1 -1
- package/dist/handlers/include/readonly/handleGetInclude.js +0 -4
- package/dist/handlers/include/readonly/handleGetInclude.js.map +1 -1
- package/dist/handlers/include/readonly/handleGetIncludesList.d.ts +1 -1
- package/dist/handlers/include/readonly/handleGetIncludesList.d.ts.map +1 -1
- package/dist/handlers/include/readonly/handleGetIncludesList.js +1 -8
- package/dist/handlers/include/readonly/handleGetIncludesList.js.map +1 -1
- package/dist/handlers/package/readonly/handleGetPackageContents.d.ts +0 -1
- package/dist/handlers/package/readonly/handleGetPackageContents.d.ts.map +1 -1
- package/dist/handlers/package/readonly/handleGetPackageContents.js +0 -4
- package/dist/handlers/package/readonly/handleGetPackageContents.js.map +1 -1
- package/dist/handlers/program/readonly/handleGetProgFullCode.js +4 -4
- package/dist/handlers/program/readonly/handleReadProgram.d.ts.map +1 -1
- package/dist/handlers/program/readonly/handleReadProgram.js +16 -0
- package/dist/handlers/program/readonly/handleReadProgram.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetAbapAST.d.ts +0 -4
- package/dist/handlers/system/readonly/handleGetAbapAST.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetAbapAST.js +0 -9
- package/dist/handlers/system/readonly/handleGetAbapAST.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetAbapSemanticAnalysis.d.ts +0 -4
- package/dist/handlers/system/readonly/handleGetAbapSemanticAnalysis.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetAbapSemanticAnalysis.js +0 -9
- package/dist/handlers/system/readonly/handleGetAbapSemanticAnalysis.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetAbapSystemSymbols.d.ts +0 -4
- package/dist/handlers/system/readonly/handleGetAbapSystemSymbols.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetAbapSystemSymbols.js +0 -9
- package/dist/handlers/system/readonly/handleGetAbapSystemSymbols.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetSqlQuery.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetSqlQuery.js +0 -5
- package/dist/handlers/system/readonly/handleGetSqlQuery.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts +4 -4
- package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.js +4 -4
- package/dist/handlers/system/readonly/handleGetWhereUsed.js.map +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS.md +121 -124
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +5 -5
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +43 -43
- package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +189 -50
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +34 -34
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +46 -49
- package/package.json +1 -1
|
@@ -5,10 +5,10 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
5
5
|
Tools available on legacy SAP systems (BASIS < 7.50).
|
|
6
6
|
Legacy systems support a subset of tools — primarily Class, Interface, View, Program, Function Group/Module, Package (read/update/delete), Include, Unit Test, and common utilities.
|
|
7
7
|
|
|
8
|
-
- Total tools:
|
|
8
|
+
- Total tools: 135
|
|
9
9
|
- Read-Only: 12
|
|
10
|
-
- High-Level:
|
|
11
|
-
- Low-Level:
|
|
10
|
+
- High-Level: 62
|
|
11
|
+
- Low-Level: 61
|
|
12
12
|
|
|
13
13
|
## Navigation
|
|
14
14
|
|
|
@@ -55,6 +55,11 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
55
55
|
- [UpdateLocalTypes](#updatelocaltypes-high-level-class)
|
|
56
56
|
- [Common](#high-level-common)
|
|
57
57
|
- [ActivateObjects](#activateobjects-high-level-common)
|
|
58
|
+
- [Compact](#high-level-compact)
|
|
59
|
+
- [HandlerCreate](#handlercreate-high-level-compact)
|
|
60
|
+
- [HandlerDelete](#handlerdelete-high-level-compact)
|
|
61
|
+
- [HandlerGet](#handlerget-high-level-compact)
|
|
62
|
+
- [HandlerUpdate](#handlerupdate-high-level-compact)
|
|
58
63
|
- [Function](#high-level-function)
|
|
59
64
|
- [CheckFunctionGroup](#checkfunctiongroup-high-level-function)
|
|
60
65
|
- [CheckFunctionModule](#checkfunctionmodule-high-level-function)
|
|
@@ -122,6 +127,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
122
127
|
- [ValidateClassLow](#validateclasslow-low-level-class)
|
|
123
128
|
- [Common](#low-level-common)
|
|
124
129
|
- [ActivateObjectLow](#activateobjectlow-low-level-common)
|
|
130
|
+
- [DeleteObjectLow](#deleteobjectlow-low-level-common)
|
|
125
131
|
- [Function](#low-level-function)
|
|
126
132
|
- [ActivateFunctionGroupLow](#activatefunctiongrouplow-low-level-function)
|
|
127
133
|
- [ActivateFunctionModuleLow](#activatefunctionmodulelow-low-level-function)
|
|
@@ -182,7 +188,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
182
188
|
|
|
183
189
|
<a id="readclass-read-only-class"></a>
|
|
184
190
|
#### ReadClass (Read-Only / Class)
|
|
185
|
-
**Description:** Operation: Read, Create, Update. Subject: Class. Will be useful for reading, creating, or updating class. [read-only] Read ABAP class source code and metadata. Answers:
|
|
191
|
+
**Description:** Operation: Read, Create, Update. Subject: Class. Will be useful for reading, creating, or updating class. [read-only] Read ABAP class source code and metadata. Answers: "show class code", "display class source", "view class definition/implementation", "get class X". Returns source code, package, responsible, description.
|
|
186
192
|
|
|
187
193
|
**Source:** `src/handlers/class/readonly/handleReadClass.ts`
|
|
188
194
|
|
|
@@ -190,7 +196,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
190
196
|
|
|
191
197
|
**Parameters:**
|
|
192
198
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
193
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
199
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
194
200
|
|
|
195
201
|
---
|
|
196
202
|
|
|
@@ -199,7 +205,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
199
205
|
|
|
200
206
|
<a id="readfunctiongroup-read-only-function-group"></a>
|
|
201
207
|
#### ReadFunctionGroup (Read-Only / Function Group)
|
|
202
|
-
**Description:** [read-only] Read ABAP function group source code and metadata. Answers:
|
|
208
|
+
**Description:** [read-only] Read ABAP function group source code and metadata. Answers: "show function group code", "display FUGR source", "view function group X", "get function group includes". Returns source code, package, responsible, description.
|
|
203
209
|
|
|
204
210
|
**Source:** `src/handlers/function_group/readonly/handleReadFunctionGroup.ts`
|
|
205
211
|
|
|
@@ -207,7 +213,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
207
213
|
|
|
208
214
|
**Parameters:**
|
|
209
215
|
- `function_group_name` (string, required) - Function group name (e.g., Z_MY_FG).
|
|
210
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
216
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
211
217
|
|
|
212
218
|
---
|
|
213
219
|
|
|
@@ -216,7 +222,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
216
222
|
|
|
217
223
|
<a id="readfunctionmodule-read-only-function-module"></a>
|
|
218
224
|
#### ReadFunctionModule (Read-Only / Function Module)
|
|
219
|
-
**Description:** Operation: Read, Create, Update. Subject: FunctionModule. Will be useful for reading, creating, or updating function module. [read-only] Read ABAP function module source code and metadata. Answers:
|
|
225
|
+
**Description:** Operation: Read, Create, Update. Subject: FunctionModule. Will be useful for reading, creating, or updating function module. [read-only] Read ABAP function module source code and metadata. Answers: "show function module code", "display FM source", "view function X", "get function module implementation". Returns source code, package, responsible, description.
|
|
220
226
|
|
|
221
227
|
**Source:** `src/handlers/function_module/readonly/handleReadFunctionModule.ts`
|
|
222
228
|
|
|
@@ -225,7 +231,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
225
231
|
**Parameters:**
|
|
226
232
|
- `function_group_name` (string, required) - Function group name containing the function module (e.g., Z_MY_FG).
|
|
227
233
|
- `function_module_name` (string, required) - Function module name (e.g., Z_MY_FM).
|
|
228
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
234
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
229
235
|
|
|
230
236
|
---
|
|
231
237
|
|
|
@@ -256,7 +262,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
256
262
|
**Parameters:**
|
|
257
263
|
- `detailed` (boolean, optional (default: false)) - [read-only] If true, returns structured JSON with metadata and raw XML.
|
|
258
264
|
- `object_name` (string, required) - Name of the ABAP program or include
|
|
259
|
-
- `object_type` (string, required) - [read-only] ADT object type
|
|
265
|
+
- `object_type` (string, required) - [read-only] ADT object type of the parent. Only these four values are supported: 'PROG/P' (program), 'PROG/I' (include), 'FUGR' (function group), 'CLAS/OC' (class). Any other value is rejected by the schema.
|
|
260
266
|
- `timeout` (number, optional) - [read-only] Timeout in ms for each ADT request.
|
|
261
267
|
|
|
262
268
|
---
|
|
@@ -266,7 +272,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
266
272
|
|
|
267
273
|
<a id="readinterface-read-only-interface"></a>
|
|
268
274
|
#### ReadInterface (Read-Only / Interface)
|
|
269
|
-
**Description:** Operation: Read, Create, Update. Subject: Interface. Will be useful for reading, creating, or updating interface. [read-only] Read ABAP interface source code and metadata. Answers:
|
|
275
|
+
**Description:** Operation: Read, Create, Update. Subject: Interface. Will be useful for reading, creating, or updating interface. [read-only] Read ABAP interface source code and metadata. Answers: "show interface code", "display interface definition", "view interface X", "get interface source". Returns source code, package, responsible, description.
|
|
270
276
|
|
|
271
277
|
**Source:** `src/handlers/interface/readonly/handleReadInterface.ts`
|
|
272
278
|
|
|
@@ -274,7 +280,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
274
280
|
|
|
275
281
|
**Parameters:**
|
|
276
282
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_MY_INTERFACE).
|
|
277
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
283
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
278
284
|
|
|
279
285
|
---
|
|
280
286
|
|
|
@@ -296,7 +302,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
296
302
|
|
|
297
303
|
<a id="readpackage-read-only-package"></a>
|
|
298
304
|
#### ReadPackage (Read-Only / Package)
|
|
299
|
-
**Description:** [read-only] Read ABAP package definition and metadata. Answers:
|
|
305
|
+
**Description:** [read-only] Read ABAP package definition and metadata. Answers: "show package X", "display package properties", "view package contents", "get package info". Returns definition, super-package, responsible, description.
|
|
300
306
|
|
|
301
307
|
**Source:** `src/handlers/package/readonly/handleReadPackage.ts`
|
|
302
308
|
|
|
@@ -304,7 +310,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
304
310
|
|
|
305
311
|
**Parameters:**
|
|
306
312
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
307
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
313
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
308
314
|
|
|
309
315
|
---
|
|
310
316
|
|
|
@@ -320,14 +326,14 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
320
326
|
**Available in:** `onprem`, `legacy`
|
|
321
327
|
|
|
322
328
|
**Parameters:**
|
|
323
|
-
- `name` (string, required) - [read-only] Technical name of the program or function group (e.g.,
|
|
324
|
-
- `type` (string, required) - [read-only]
|
|
329
|
+
- `name` (string, required) - [read-only] Technical name of the program or function group (e.g., '/CBY/MM_INVENTORY')
|
|
330
|
+
- `type` (string, required) - [read-only] 'PROG/P' for program or 'FUGR' for function group
|
|
325
331
|
|
|
326
332
|
---
|
|
327
333
|
|
|
328
334
|
<a id="readprogram-read-only-program"></a>
|
|
329
335
|
#### ReadProgram (Read-Only / Program)
|
|
330
|
-
**Description:** Operation: Read, Create, Update. Subject: Program. Will be useful for reading, creating, or updating program. [read-only] Read ABAP program (report) source code and metadata. Answers:
|
|
336
|
+
**Description:** Operation: Read, Create, Update. Subject: Program. Will be useful for reading, creating, or updating program. [read-only] Read ABAP program (report) source code and metadata. Answers: "show program code", "display report source", "view program X", "get program source". Returns source code, package, responsible, description.
|
|
331
337
|
|
|
332
338
|
**Source:** `src/handlers/program/readonly/handleReadProgram.ts`
|
|
333
339
|
|
|
@@ -335,7 +341,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
335
341
|
|
|
336
342
|
**Parameters:**
|
|
337
343
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
338
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
344
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
339
345
|
|
|
340
346
|
---
|
|
341
347
|
|
|
@@ -344,7 +350,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
344
350
|
|
|
345
351
|
<a id="searchsource-read-only-system"></a>
|
|
346
352
|
#### SearchSource (Read-Only / System)
|
|
347
|
-
**Description:** [read-only] Search ABAP source text inside one or more packages (programs, function groups, classes). Onprem-only (cloud lacks an indexed source-search endpoint). `packages` accepts `*` masks (Z*, ZFI_*, /NS/Z*) alongside exact names; mask resolution is best-effort and scoped to the ADT repository-search result window — there is no guarantee that every matching package is scanned. If you need certainty, pass concrete package names. When using masks, narrow the mask itself and use `object_types`, `object_filter`, and `max_objects` as scan-target controls that apply after package resolution. Comments are searched by default; set exclude_comments=true to drop col-1 `*` and full-line `
|
|
353
|
+
**Description:** [read-only] Search ABAP source text inside one or more packages (programs, function groups, classes). Onprem-only (cloud lacks an indexed source-search endpoint). `packages` accepts `*` masks (Z*, ZFI_*, /NS/Z*) alongside exact names; mask resolution is best-effort and scoped to the ADT repository-search result window — there is no guarantee that every matching package is scanned. If you need certainty, pass concrete package names. When using masks, narrow the mask itself and use `object_types`, `object_filter`, and `max_objects` as scan-target controls that apply after package resolution. Comments are searched by default; set exclude_comments=true to drop col-1 `*` and full-line `"` comments. The `version` parameter affects PROG and CLAS main include reads only — FUGR subinclude reads always go against the active version (the include endpoint exposes no version selector). `truncated.by_object_cap` means at least one object had MORE hits than `max_hits_per_object`, so that object's hits were capped — it is NOT a limit on the number of objects scanned. The object-count limit is `max_objects` (which sets `truncated.by_max_objects`). To avoid `by_object_cap`, raise `max_hits_per_object`. `concurrency` is capped at 16 per call. Run only ONE SearchSource per destination at a time — multiple parallel SearchSource calls against the same SAP system saturate the scan backend and can make all of them time out. Prefer combining terms into a single call over parallel calls.
|
|
348
354
|
|
|
349
355
|
**Source:** `src/handlers/system/readonly/handleSearchSource.ts`
|
|
350
356
|
|
|
@@ -360,14 +366,14 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
360
366
|
|
|
361
367
|
<a id="readview-read-only-view"></a>
|
|
362
368
|
#### ReadView (Read-Only / View)
|
|
363
|
-
**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:
|
|
369
|
+
**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.
|
|
364
370
|
|
|
365
371
|
**Source:** `src/handlers/view/readonly/handleReadView.ts`
|
|
366
372
|
|
|
367
373
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
368
374
|
|
|
369
375
|
**Parameters:**
|
|
370
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
376
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
371
377
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
372
378
|
|
|
373
379
|
---
|
|
@@ -389,7 +395,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
389
395
|
**Parameters:**
|
|
390
396
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
391
397
|
- `source_code` (string, optional) - Optional: source code to validate. If provided, validates hypothetical code without creating object. Must include complete CLASS DEFINITION and IMPLEMENTATION sections.
|
|
392
|
-
- `version` (string, optional) - Version to check:
|
|
398
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active.
|
|
393
399
|
|
|
394
400
|
---
|
|
395
401
|
|
|
@@ -497,7 +503,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
497
503
|
|
|
498
504
|
**Parameters:**
|
|
499
505
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
500
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
506
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
501
507
|
|
|
502
508
|
---
|
|
503
509
|
|
|
@@ -511,7 +517,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
511
517
|
|
|
512
518
|
**Parameters:**
|
|
513
519
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
514
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
520
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
515
521
|
|
|
516
522
|
---
|
|
517
523
|
|
|
@@ -525,7 +531,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
525
531
|
|
|
526
532
|
**Parameters:**
|
|
527
533
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
528
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
534
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
529
535
|
|
|
530
536
|
---
|
|
531
537
|
|
|
@@ -539,7 +545,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
539
545
|
|
|
540
546
|
**Parameters:**
|
|
541
547
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
542
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
548
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
543
549
|
|
|
544
550
|
---
|
|
545
551
|
|
|
@@ -553,7 +559,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
553
559
|
|
|
554
560
|
**Parameters:**
|
|
555
561
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
556
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
562
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
557
563
|
|
|
558
564
|
---
|
|
559
565
|
|
|
@@ -649,11 +655,128 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
649
655
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
650
656
|
|
|
651
657
|
**Parameters:**
|
|
652
|
-
- `objects` (array, required) - Array of objects to activate. Each object must have
|
|
658
|
+
- `objects` (array, required) - Array of objects to activate. Each object must have 'name' and 'type'.
|
|
653
659
|
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default: true
|
|
654
660
|
|
|
655
661
|
---
|
|
656
662
|
|
|
663
|
+
<a id="high-level-compact"></a>
|
|
664
|
+
### High-Level / Compact
|
|
665
|
+
|
|
666
|
+
<a id="handlercreate-high-level-compact"></a>
|
|
667
|
+
#### HandlerCreate (High-Level / Compact)
|
|
668
|
+
**Description:** Create operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), VIEW(view_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*).
|
|
669
|
+
|
|
670
|
+
**Source:** `src/handlers/compact/high/handleHandlerCreate.ts`
|
|
671
|
+
|
|
672
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
673
|
+
|
|
674
|
+
**Parameters:**
|
|
675
|
+
- `activate` (boolean, optional) - Activate object after create.
|
|
676
|
+
- `application` (string, optional) - Domain application area.
|
|
677
|
+
- `class_name` (string, optional) - ABAP class name.
|
|
678
|
+
- `conversion_exit` (string, optional) - Conversion exit name.
|
|
679
|
+
- `datatype` (string, optional) - ABAP data type.
|
|
680
|
+
- `decimals` (number, optional) - Decimal places.
|
|
681
|
+
- `description` (string, optional) - Human-readable object description.
|
|
682
|
+
- `domain_name` (string, optional) - ABAP domain name.
|
|
683
|
+
- `fixed_values` (array, optional) - Domain fixed values list.
|
|
684
|
+
- `function_group_name` (string, optional) - ABAP function group name.
|
|
685
|
+
- `function_module_name` (string, optional) - ABAP function module name.
|
|
686
|
+
- `length` (number, optional) - Length for typed artifacts.
|
|
687
|
+
- `lowercase` (boolean, optional) - Allow lowercase values (domain setting).
|
|
688
|
+
- `object_type` (any, required) -
|
|
689
|
+
- `package_name` (string, optional) - ABAP package name.
|
|
690
|
+
- `program_name` (string, optional) - ABAP program name.
|
|
691
|
+
- `program_type` (string, optional) - ABAP program type.
|
|
692
|
+
- `sign_exists` (boolean, optional) - Allow signed values (domain setting).
|
|
693
|
+
- `transport_request` (string, optional) - Transport request id (if required by system).
|
|
694
|
+
- `value_table` (string, optional) - Foreign key value table.
|
|
695
|
+
|
|
696
|
+
---
|
|
697
|
+
|
|
698
|
+
<a id="handlerdelete-high-level-compact"></a>
|
|
699
|
+
#### HandlerDelete (High-Level / Compact)
|
|
700
|
+
**Description:** Delete operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), VIEW(view_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*).
|
|
701
|
+
|
|
702
|
+
**Source:** `src/handlers/compact/high/handleHandlerDelete.ts`
|
|
703
|
+
|
|
704
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
705
|
+
|
|
706
|
+
**Parameters:**
|
|
707
|
+
- `class_name` (string, optional) - ABAP class name.
|
|
708
|
+
- `domain_name` (string, optional) - ABAP domain name.
|
|
709
|
+
- `function_group_name` (string, optional) - ABAP function group name.
|
|
710
|
+
- `function_module_name` (string, optional) - ABAP function module name.
|
|
711
|
+
- `object_type` (any, required) -
|
|
712
|
+
- `program_name` (string, optional) - ABAP program name.
|
|
713
|
+
- `transport_request` (string, optional) - Transport request id (if required by system).
|
|
714
|
+
|
|
715
|
+
---
|
|
716
|
+
|
|
717
|
+
<a id="handlerget-high-level-compact"></a>
|
|
718
|
+
#### HandlerGet (High-Level / Compact)
|
|
719
|
+
**Description:** Read operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), VIEW(view_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*).
|
|
720
|
+
|
|
721
|
+
**Source:** `src/handlers/compact/high/handleHandlerGet.ts`
|
|
722
|
+
|
|
723
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
724
|
+
|
|
725
|
+
**Parameters:**
|
|
726
|
+
- `behavior_definition_name` (string, optional) - Behavior definition name.
|
|
727
|
+
- `behavior_implementation_name` (string, optional) - Behavior implementation name.
|
|
728
|
+
- `class_name` (string, optional) - Class name.
|
|
729
|
+
- `data_element_name` (string, optional) - Data element name.
|
|
730
|
+
- `domain_name` (string, optional) - Domain name.
|
|
731
|
+
- `function_group_name` (string, optional) - Function group name.
|
|
732
|
+
- `function_module_name` (string, optional) - Function module name.
|
|
733
|
+
- `interface_name` (string, optional) - Interface name.
|
|
734
|
+
- `metadata_extension_name` (string, optional) - Metadata extension name.
|
|
735
|
+
- `object_type` (any, required) -
|
|
736
|
+
- `package_name` (string, optional) - Package name.
|
|
737
|
+
- `program_name` (string, optional) - Program name.
|
|
738
|
+
- `response_format` (string, optional) - Response format for SERVICE_BINDING reads.
|
|
739
|
+
- `run_id` (string, optional) - Unit test run id.
|
|
740
|
+
- `service_binding_name` (string, optional) - Service binding name.
|
|
741
|
+
- `service_definition_name` (string, optional) - Service definition name.
|
|
742
|
+
- `structure_name` (string, optional) - Structure name.
|
|
743
|
+
- `table_name` (string, optional) - Table name.
|
|
744
|
+
- `version` (any, optional) -
|
|
745
|
+
- `view_name` (string, optional) - View name.
|
|
746
|
+
|
|
747
|
+
---
|
|
748
|
+
|
|
749
|
+
<a id="handlerupdate-high-level-compact"></a>
|
|
750
|
+
#### HandlerUpdate (High-Level / Compact)
|
|
751
|
+
**Description:** Update operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), VIEW(view_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*).
|
|
752
|
+
|
|
753
|
+
**Source:** `src/handlers/compact/high/handleHandlerUpdate.ts`
|
|
754
|
+
|
|
755
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
756
|
+
|
|
757
|
+
**Parameters:**
|
|
758
|
+
- `activate` (boolean, optional) - Activate object after update.
|
|
759
|
+
- `class_name` (string, optional) - ABAP class name.
|
|
760
|
+
- `conversion_exit` (string, optional) - Conversion exit name.
|
|
761
|
+
- `datatype` (string, optional) - ABAP data type.
|
|
762
|
+
- `decimals` (number, optional) - Decimal places.
|
|
763
|
+
- `description` (string, optional) - Human-readable object description.
|
|
764
|
+
- `domain_name` (string, optional) - ABAP domain name.
|
|
765
|
+
- `fixed_values` (array, optional) - Domain fixed values list.
|
|
766
|
+
- `function_group_name` (string, optional) - ABAP function group name.
|
|
767
|
+
- `function_module_name` (string, optional) - ABAP function module name.
|
|
768
|
+
- `length` (number, optional) - Length for typed artifacts.
|
|
769
|
+
- `lowercase` (boolean, optional) - Allow lowercase values (domain setting).
|
|
770
|
+
- `object_type` (any, required) -
|
|
771
|
+
- `package_name` (string, optional) - ABAP package name.
|
|
772
|
+
- `program_name` (string, optional) - ABAP program name.
|
|
773
|
+
- `sign_exists` (boolean, optional) - Allow signed values (domain setting).
|
|
774
|
+
- `source_code` (string, optional) - ABAP source code payload.
|
|
775
|
+
- `transport_request` (string, optional) - Transport request id (if required by system).
|
|
776
|
+
- `value_table` (string, optional) - Foreign key value table.
|
|
777
|
+
|
|
778
|
+
---
|
|
779
|
+
|
|
657
780
|
<a id="high-level-function"></a>
|
|
658
781
|
### High-Level / Function
|
|
659
782
|
|
|
@@ -681,7 +804,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
681
804
|
**Parameters:**
|
|
682
805
|
- `function_group_name` (string, required) - Function group name containing the function module.
|
|
683
806
|
- `function_module_name` (string, required) - Function module name (e.g., Z_MY_FUNCTION).
|
|
684
|
-
- `version` (string, optional) - Version to check:
|
|
807
|
+
- `version` (string, optional) - Version to check: 'active' or 'inactive'. Default: active.
|
|
685
808
|
|
|
686
809
|
---
|
|
687
810
|
|
|
@@ -720,7 +843,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
720
843
|
|
|
721
844
|
<a id="updatefunctiongroup-high-level-function"></a>
|
|
722
845
|
#### UpdateFunctionGroup (High-Level / Function)
|
|
723
|
-
**Description:** Update metadata (description) of an existing ABAP function group. Function groups are containers for function modules and don
|
|
846
|
+
**Description:** Update metadata (description) of an existing ABAP function group. Function groups are containers for function modules and don't have source code to update directly. Uses stateful session with proper lock/unlock mechanism.
|
|
724
847
|
|
|
725
848
|
**Source:** `src/handlers/function/high/handleUpdateFunctionGroup.ts`
|
|
726
849
|
|
|
@@ -777,7 +900,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
777
900
|
|
|
778
901
|
**Parameters:**
|
|
779
902
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP).
|
|
780
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
903
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
781
904
|
|
|
782
905
|
---
|
|
783
906
|
|
|
@@ -810,7 +933,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
810
933
|
**Parameters:**
|
|
811
934
|
- `function_group_name` (string, required) - FunctionGroup name containing the function module (e.g., Z_MY_FUNCTIONGROUP).
|
|
812
935
|
- `function_module_name` (string, required) - FunctionModule name (e.g., Z_MY_FUNCTIONMODULE).
|
|
813
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
936
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
814
937
|
|
|
815
938
|
---
|
|
816
939
|
|
|
@@ -870,7 +993,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
870
993
|
|
|
871
994
|
**Parameters:**
|
|
872
995
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
873
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
996
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
874
997
|
|
|
875
998
|
---
|
|
876
999
|
|
|
@@ -917,7 +1040,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
917
1040
|
|
|
918
1041
|
**Parameters:**
|
|
919
1042
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
920
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
1043
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
921
1044
|
|
|
922
1045
|
---
|
|
923
1046
|
|
|
@@ -946,11 +1069,11 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
946
1069
|
**Available in:** `onprem`, `legacy`
|
|
947
1070
|
|
|
948
1071
|
**Parameters:**
|
|
949
|
-
- `application` (string, optional) - Application area (e.g.,
|
|
1072
|
+
- `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
|
|
950
1073
|
- `description` (string, optional) - Program description. If not provided, program_name will be used.
|
|
951
1074
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
952
1075
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y).
|
|
953
|
-
- `program_type` (string, optional) - Program type:
|
|
1076
|
+
- `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
|
|
954
1077
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
955
1078
|
|
|
956
1079
|
---
|
|
@@ -979,7 +1102,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
979
1102
|
|
|
980
1103
|
**Parameters:**
|
|
981
1104
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
982
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
1105
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
983
1106
|
|
|
984
1107
|
---
|
|
985
1108
|
|
|
@@ -1207,7 +1330,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1207
1330
|
|
|
1208
1331
|
**Parameters:**
|
|
1209
1332
|
- `ddl_source` (string, optional) - Optional: DDL source code to validate instead of the saved version.
|
|
1210
|
-
- `version` (string, optional) - Version to check:
|
|
1333
|
+
- `version` (string, optional) - Version to check: 'active' or 'inactive'. Default: inactive.
|
|
1211
1334
|
- `view_name` (string, required) - CDS view name (e.g., ZI_MY_VIEW).
|
|
1212
1335
|
|
|
1213
1336
|
---
|
|
@@ -1251,7 +1374,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1251
1374
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1252
1375
|
|
|
1253
1376
|
**Parameters:**
|
|
1254
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
1377
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) for deployed version, "inactive" for modified but not activated version.
|
|
1255
1378
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1256
1379
|
|
|
1257
1380
|
---
|
|
@@ -1322,7 +1445,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1322
1445
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1323
1446
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1324
1447
|
- `source_code` (string, optional) - Optional: source code to validate. If provided, validates hypothetical code without creating object. Must include complete CLASS DEFINITION and IMPLEMENTATION sections.
|
|
1325
|
-
- `version` (string, optional) - Version to check:
|
|
1448
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
1326
1449
|
|
|
1327
1450
|
---
|
|
1328
1451
|
|
|
@@ -1371,7 +1494,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1371
1494
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1372
1495
|
|
|
1373
1496
|
**Parameters:**
|
|
1374
|
-
- `format` (string, optional) - Preferred response format. Defaults to
|
|
1497
|
+
- `format` (string, optional) - Preferred response format. Defaults to 'abapunit'.
|
|
1375
1498
|
- `run_id` (string, required) - Run identifier returned by RunClassUnitTestsLow.
|
|
1376
1499
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1377
1500
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
@@ -1535,11 +1658,27 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1535
1658
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1536
1659
|
|
|
1537
1660
|
**Parameters:**
|
|
1538
|
-
- `objects` (array, required) - Array of objects to activate. Each object must have
|
|
1661
|
+
- `objects` (array, required) - Array of objects to activate. Each object must have 'name' and 'type'. URI is optional.
|
|
1539
1662
|
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default: true
|
|
1540
1663
|
|
|
1541
1664
|
---
|
|
1542
1665
|
|
|
1666
|
+
<a id="deleteobjectlow-low-level-common"></a>
|
|
1667
|
+
#### DeleteObjectLow (Low-Level / Common)
|
|
1668
|
+
**Description:** [low-level] Delete an ABAP object via ADT deletion API. Transport request optional for $TMP objects. Note: object_type "program" is onprem/legacy only — calling it on ABAP Cloud will fail.
|
|
1669
|
+
|
|
1670
|
+
**Source:** `src/handlers/common/low/handleDeleteObject.ts`
|
|
1671
|
+
|
|
1672
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1673
|
+
|
|
1674
|
+
**Parameters:**
|
|
1675
|
+
- `function_group_name` (string, optional) - Required only for function_module type
|
|
1676
|
+
- `object_name` (string, required) - Object name (e.g., ZCL_MY_CLASS)
|
|
1677
|
+
- `object_type` (string, required) - Object type. Supported: class, program (onprem/legacy only), interface, function_group, function_module, table, structure, view, 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).
|
|
1678
|
+
- `transport_request` (string, optional) - Transport request number
|
|
1679
|
+
|
|
1680
|
+
---
|
|
1681
|
+
|
|
1543
1682
|
<a id="low-level-function"></a>
|
|
1544
1683
|
### Low-Level / Function
|
|
1545
1684
|
|
|
@@ -1602,7 +1741,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1602
1741
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FM)
|
|
1603
1742
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1604
1743
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1605
|
-
- `version` (string, optional) - Version to check:
|
|
1744
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
1606
1745
|
|
|
1607
1746
|
---
|
|
1608
1747
|
|
|
@@ -2047,11 +2186,11 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2047
2186
|
**Available in:** `onprem`, `legacy`
|
|
2048
2187
|
|
|
2049
2188
|
**Parameters:**
|
|
2050
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
2189
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
2051
2190
|
- `description` (string, required) - Program description.
|
|
2052
2191
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2053
2192
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
2054
|
-
- `program_type` (string, optional) - Program type:
|
|
2193
|
+
- `program_type` (string, optional) - Program type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
2055
2194
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2056
2195
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2057
2196
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
@@ -2167,7 +2306,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2167
2306
|
- `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.
|
|
2168
2307
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2169
2308
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2170
|
-
- `version` (string, optional) - Version to check:
|
|
2309
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
2171
2310
|
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
2172
2311
|
|
|
2173
2312
|
---
|
|
@@ -2181,14 +2320,14 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2181
2320
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2182
2321
|
|
|
2183
2322
|
**Parameters:**
|
|
2184
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
2323
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
2185
2324
|
- `description` (string, required) - View description.
|
|
2186
2325
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2187
2326
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2188
2327
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2189
2328
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
|
|
2190
2329
|
- `view_name` (string, required) - View name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
2191
|
-
- `view_type` (string, optional) - View type:
|
|
2330
|
+
- `view_type` (string, optional) - View type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
2192
2331
|
|
|
2193
2332
|
---
|
|
2194
2333
|
|
|
@@ -2246,7 +2385,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2246
2385
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2247
2386
|
|
|
2248
2387
|
**Parameters:**
|
|
2249
|
-
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain
|
|
2388
|
+
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
|
|
2250
2389
|
- `lock_handle` (string, required) - Lock handle from LockObject. Required for update operation.
|
|
2251
2390
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2252
2391
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
@@ -2271,4 +2410,4 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2271
2410
|
|
|
2272
2411
|
---
|
|
2273
2412
|
|
|
2274
|
-
*Last updated: 2026-05-
|
|
2413
|
+
*Last updated: 2026-05-28*
|