@babamba2/abap-mcp-adt-powerup 4.8.12 → 4.8.13
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 +22 -1
- package/dist/handlers/smartform/high/handleCreateSmartForm.d.ts +71 -0
- package/dist/handlers/smartform/high/handleCreateSmartForm.d.ts.map +1 -0
- package/dist/handlers/smartform/high/handleCreateSmartForm.js +163 -0
- package/dist/handlers/smartform/high/handleCreateSmartForm.js.map +1 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.d.ts +41 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.d.ts.map +1 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.js +76 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.js.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.d.ts +77 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.js +98 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.js.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.d.ts +47 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.js +70 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.js.map +1 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.d.ts +65 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.js +111 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.js.map +1 -0
- package/dist/handlers/system/readonly/runtimeFeedsHelper.d.ts +1 -1
- package/dist/handlers/system/readonly/runtimeFeedsHelper.d.ts.map +1 -1
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js +11 -0
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +15 -0
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
- package/dist/lib/legacyTableRead.d.ts.map +1 -1
- package/dist/lib/legacyTableRead.js +19 -9
- package/dist/lib/legacyTableRead.js.map +1 -1
- package/dist/lib/smartFormContent.d.ts +277 -0
- package/dist/lib/smartFormContent.d.ts.map +1 -0
- package/dist/lib/smartFormContent.js +1130 -0
- package/dist/lib/smartFormContent.js.map +1 -0
- package/dist/lib/smartFormLayout.d.ts +83 -0
- package/dist/lib/smartFormLayout.d.ts.map +1 -0
- package/dist/lib/smartFormLayout.js +236 -0
- package/dist/lib/smartFormLayout.js.map +1 -0
- package/dist/lib/smartFormRender.d.ts +17 -0
- package/dist/lib/smartFormRender.d.ts.map +1 -0
- package/dist/lib/smartFormRender.js +112 -0
- package/dist/lib/smartFormRender.js.map +1 -0
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS.md +1039 -204
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +2 -1
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +470 -85
- package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +955 -78
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +271 -60
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +299 -60
- package/package.json +19 -19
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Generated from code in `src/handlers/**` (not from docs).
|
|
4
4
|
|
|
5
5
|
- Level: High-Level
|
|
6
|
-
- Total tools:
|
|
6
|
+
- Total tools: 134
|
|
7
7
|
|
|
8
8
|
## Navigation
|
|
9
9
|
|
|
@@ -35,6 +35,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
35
35
|
- [UpdateLocalMacros](#updatelocalmacros-high-level-class)
|
|
36
36
|
- [UpdateLocalTestClass](#updatelocaltestclass-high-level-class)
|
|
37
37
|
- [UpdateLocalTypes](#updatelocaltypes-high-level-class)
|
|
38
|
+
- [Common](#high-level-common)
|
|
39
|
+
- [ActivateObjects](#activateobjects-high-level-common)
|
|
38
40
|
- [Compact](#high-level-compact)
|
|
39
41
|
- [HandlerActivate](#handleractivate-high-level-compact)
|
|
40
42
|
- [HandlerCdsUnitTestResult](#handlercdsunittestresult-high-level-compact)
|
|
@@ -82,6 +84,16 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
82
84
|
- [Function Module](#high-level-function-module)
|
|
83
85
|
- [DeleteFunctionModule](#deletefunctionmodule-high-level-function-module)
|
|
84
86
|
- [GetFunctionModule](#getfunctionmodule-high-level-function-module)
|
|
87
|
+
- [Gui Status](#high-level-gui-status)
|
|
88
|
+
- [CreateGuiStatus](#createguistatus-high-level-gui-status)
|
|
89
|
+
- [DeleteGuiStatus](#deleteguistatus-high-level-gui-status)
|
|
90
|
+
- [GetGuiStatus](#getguistatus-high-level-gui-status)
|
|
91
|
+
- [PatchGuiStatus](#patchguistatus-high-level-gui-status)
|
|
92
|
+
- [UpdateGuiStatus](#updateguistatus-high-level-gui-status)
|
|
93
|
+
- [Include](#high-level-include)
|
|
94
|
+
- [CreateInclude](#createinclude-high-level-include)
|
|
95
|
+
- [DeleteInclude](#deleteinclude-high-level-include)
|
|
96
|
+
- [UpdateInclude](#updateinclude-high-level-include)
|
|
85
97
|
- [Interface](#high-level-interface)
|
|
86
98
|
- [CreateInterface](#createinterface-high-level-interface)
|
|
87
99
|
- [DeleteInterface](#deleteinterface-high-level-interface)
|
|
@@ -98,6 +110,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
98
110
|
- [DeleteProgram](#deleteprogram-high-level-program)
|
|
99
111
|
- [GetProgram](#getprogram-high-level-program)
|
|
100
112
|
- [UpdateProgram](#updateprogram-high-level-program)
|
|
113
|
+
- [Screen](#high-level-screen)
|
|
114
|
+
- [CreateScreen](#createscreen-high-level-screen)
|
|
115
|
+
- [DeleteScreen](#deletescreen-high-level-screen)
|
|
116
|
+
- [GetScreen](#getscreen-high-level-screen)
|
|
117
|
+
- [UpdateScreen](#updatescreen-high-level-screen)
|
|
101
118
|
- [Service Binding](#high-level-service-binding)
|
|
102
119
|
- [CreateServiceBinding](#createservicebinding-high-level-service-binding)
|
|
103
120
|
- [DeleteServiceBinding](#deleteservicebinding-high-level-service-binding)
|
|
@@ -110,6 +127,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
110
127
|
- [DeleteServiceDefinition](#deleteservicedefinition-high-level-service-definition)
|
|
111
128
|
- [GetServiceDefinition](#getservicedefinition-high-level-service-definition)
|
|
112
129
|
- [UpdateServiceDefinition](#updateservicedefinition-high-level-service-definition)
|
|
130
|
+
- [Smartform](#high-level-smartform)
|
|
131
|
+
- [CreateSmartForm](#createsmartform-high-level-smartform)
|
|
132
|
+
- [DeleteSmartForm](#deletesmartform-high-level-smartform)
|
|
113
133
|
- [Structure](#high-level-structure)
|
|
114
134
|
- [CreateStructure](#createstructure-high-level-structure)
|
|
115
135
|
- [DeleteStructure](#deletestructure-high-level-structure)
|
|
@@ -122,6 +142,13 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
122
142
|
- [DeleteTable](#deletetable-high-level-table)
|
|
123
143
|
- [GetTable](#gettable-high-level-table)
|
|
124
144
|
- [UpdateTable](#updatetable-high-level-table)
|
|
145
|
+
- [Text Element](#high-level-text-element)
|
|
146
|
+
- [CreateTextElement](#createtextelement-high-level-text-element)
|
|
147
|
+
- [DeleteTextElement](#deletetextelement-high-level-text-element)
|
|
148
|
+
- [GetTextElement](#gettextelement-high-level-text-element)
|
|
149
|
+
- [ReadTextElementsBulk](#readtextelementsbulk-high-level-text-element)
|
|
150
|
+
- [UpdateTextElement](#updatetextelement-high-level-text-element)
|
|
151
|
+
- [WriteTextElementsBulk](#writetextelementsbulk-high-level-text-element)
|
|
125
152
|
- [Transport](#high-level-transport)
|
|
126
153
|
- [CreateTransport](#createtransport-high-level-transport)
|
|
127
154
|
- [Unit Test](#high-level-unit-test)
|
|
@@ -154,14 +181,14 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
154
181
|
|
|
155
182
|
<a id="createbehaviordefinition-high-level-behavior-definition"></a>
|
|
156
183
|
#### CreateBehaviorDefinition (High-Level / Behavior Definition)
|
|
157
|
-
**Description:** Create a new ABAP Behavior Definition (BDEF) in SAP system.
|
|
184
|
+
**Description:** Create a new ABAP Behavior Definition (BDEF) in SAP system. Defines RAP business object behavior: CRUD operations, validations, determinations, actions, and draft handling.
|
|
158
185
|
|
|
159
186
|
**Source:** `src/handlers/behavior_definition/high/handleCreateBehaviorDefinition.ts`
|
|
160
187
|
|
|
161
188
|
**Parameters:**
|
|
162
189
|
- `activate` (boolean, optional) - Activate after creation. Default: true
|
|
163
190
|
- `description` (string, optional) - Description
|
|
164
|
-
- `implementation_type` (string, required) - Implementation type:
|
|
191
|
+
- `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', 'Projection'
|
|
165
192
|
- `name` (string, required) - Behavior Definition name (usually same as Root Entity name)
|
|
166
193
|
- `package_name` (string, required) - Package name
|
|
167
194
|
- `root_entity` (string, required) - Root Entity name (CDS View name)
|
|
@@ -177,7 +204,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
177
204
|
|
|
178
205
|
**Parameters:**
|
|
179
206
|
- `behavior_definition_name` (string, required) - BehaviorDefinition name (e.g., Z_MY_BEHAVIORDEFINITION).
|
|
180
|
-
- `transport_request` (string, optional) - Transport request
|
|
207
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
181
208
|
|
|
182
209
|
---
|
|
183
210
|
|
|
@@ -189,13 +216,13 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
189
216
|
|
|
190
217
|
**Parameters:**
|
|
191
218
|
- `behavior_definition_name` (string, required) - BehaviorDefinition name (e.g., Z_MY_BEHAVIORDEFINITION).
|
|
192
|
-
- `version` (string, optional (default: active)) -
|
|
219
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
193
220
|
|
|
194
221
|
---
|
|
195
222
|
|
|
196
223
|
<a id="updatebehaviordefinition-high-level-behavior-definition"></a>
|
|
197
224
|
#### UpdateBehaviorDefinition (High-Level / Behavior Definition)
|
|
198
|
-
**Description:** Update source code of an ABAP Behavior Definition.
|
|
225
|
+
**Description:** Update source code of an ABAP Behavior Definition (BDEF). Modifies RAP business object behavior: CRUD operations, validations, determinations, actions, and draft handling.
|
|
199
226
|
|
|
200
227
|
**Source:** `src/handlers/behavior_definition/high/handleUpdateBehaviorDefinition.ts`
|
|
201
228
|
|
|
@@ -204,7 +231,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
204
231
|
- `lock_handle` (string, optional) - Lock handle from LockObject. If not provided, will attempt to lock internally (not recommended for stateful flows).
|
|
205
232
|
- `name` (string, required) - Behavior Definition name
|
|
206
233
|
- `source_code` (string, required) - New source code
|
|
207
|
-
- `transport_request` (string, optional) - Transport request
|
|
234
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
208
235
|
|
|
209
236
|
---
|
|
210
237
|
|
|
@@ -222,7 +249,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
222
249
|
- `class_name` (string, required) - Behavior Implementation class name (e.g., ZBP_MY_ENTITY). Must follow SAP naming conventions (typically starts with ZBP_ for behavior implementations).
|
|
223
250
|
- `description` (string, optional) - Class description. If not provided, class_name will be used.
|
|
224
251
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
225
|
-
- `transport_request` (string, optional) - Transport request
|
|
252
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
226
253
|
|
|
227
254
|
---
|
|
228
255
|
|
|
@@ -234,7 +261,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
234
261
|
|
|
235
262
|
**Parameters:**
|
|
236
263
|
- `behavior_implementation_name` (string, required) - BehaviorImplementation name (e.g., Z_MY_BEHAVIORIMPLEMENTATION).
|
|
237
|
-
- `transport_request` (string, optional) - Transport request
|
|
264
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
238
265
|
|
|
239
266
|
---
|
|
240
267
|
|
|
@@ -246,7 +273,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
246
273
|
|
|
247
274
|
**Parameters:**
|
|
248
275
|
- `behavior_implementation_name` (string, required) - BehaviorImplementation name (e.g., Z_MY_BEHAVIORIMPLEMENTATION).
|
|
249
|
-
- `version` (string, optional (default: active)) -
|
|
276
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
250
277
|
|
|
251
278
|
---
|
|
252
279
|
|
|
@@ -261,7 +288,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
261
288
|
- `behavior_definition` (string, required) - Behavior Definition name (e.g., ZI_MY_ENTITY). Must match the behavior definition used when creating the class.
|
|
262
289
|
- `class_name` (string, required) - Behavior Implementation class name (e.g., ZBP_MY_ENTITY). Must exist in the system.
|
|
263
290
|
- `implementation_code` (string, required) - Implementation code for the implementations include. Contains the actual behavior implementation methods.
|
|
264
|
-
- `transport_request` (string, optional) - Transport request
|
|
291
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
265
292
|
|
|
266
293
|
---
|
|
267
294
|
|
|
@@ -282,7 +309,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
282
309
|
- `final` (boolean, optional) - Mark class as final. Default: false
|
|
283
310
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP).
|
|
284
311
|
- `superclass` (string, optional) - Optional superclass name.
|
|
285
|
-
- `transport_request` (string, optional) - Transport request
|
|
312
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
286
313
|
|
|
287
314
|
---
|
|
288
315
|
|
|
@@ -294,7 +321,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
294
321
|
|
|
295
322
|
**Parameters:**
|
|
296
323
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
297
|
-
- `transport_request` (string, optional) - Transport request
|
|
324
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
298
325
|
|
|
299
326
|
---
|
|
300
327
|
|
|
@@ -358,7 +385,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
358
385
|
|
|
359
386
|
**Parameters:**
|
|
360
387
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
361
|
-
- `
|
|
388
|
+
- `output` (string, optional (default: inline)) -
|
|
389
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
362
390
|
|
|
363
391
|
---
|
|
364
392
|
|
|
@@ -370,7 +398,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
370
398
|
|
|
371
399
|
**Parameters:**
|
|
372
400
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
373
|
-
- `version` (string, optional (default: active)) -
|
|
401
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
374
402
|
|
|
375
403
|
---
|
|
376
404
|
|
|
@@ -382,7 +410,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
382
410
|
|
|
383
411
|
**Parameters:**
|
|
384
412
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
385
|
-
- `version` (string, optional (default: active)) -
|
|
413
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
386
414
|
|
|
387
415
|
---
|
|
388
416
|
|
|
@@ -394,7 +422,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
394
422
|
|
|
395
423
|
**Parameters:**
|
|
396
424
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
397
|
-
- `version` (string, optional (default: active)) -
|
|
425
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
398
426
|
|
|
399
427
|
---
|
|
400
428
|
|
|
@@ -406,7 +434,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
406
434
|
|
|
407
435
|
**Parameters:**
|
|
408
436
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
409
|
-
- `version` (string, optional (default: active)) -
|
|
437
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
410
438
|
|
|
411
439
|
---
|
|
412
440
|
|
|
@@ -420,7 +448,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
420
448
|
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
421
449
|
- `class_name` (string, required) - Class name (e.g., ZCL_TEST_CLASS_001).
|
|
422
450
|
- `source_code` (string, required) - Complete ABAP class source code.
|
|
423
|
-
- `transport_request` (string, optional) - Transport request
|
|
451
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
424
452
|
|
|
425
453
|
---
|
|
426
454
|
|
|
@@ -480,6 +508,22 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
480
508
|
|
|
481
509
|
---
|
|
482
510
|
|
|
511
|
+
<a id="high-level-common"></a>
|
|
512
|
+
### High-Level / Common
|
|
513
|
+
|
|
514
|
+
<a id="activateobjects-high-level-common"></a>
|
|
515
|
+
#### ActivateObjects (High-Level / Common)
|
|
516
|
+
**Description:** [high-level] Activate a set of ABAP objects in a single call. Uses the ADT mass-activation endpoint (/sap/bc/adt/activation/runs) so cyclic references between siblings (e.g. main program + multiple cross-referencing includes) resolve in one compilation scope. Returns per-object status, errors, warnings. Falls back to /sap/bc/adt/activation on legacy systems.
|
|
517
|
+
|
|
518
|
+
**Source:** `src/handlers/common/high/handleActivateObjects.ts`
|
|
519
|
+
|
|
520
|
+
**Parameters:**
|
|
521
|
+
- `objects` (array, required) - Objects to activate in one batch. Supply either explicit uri, or name+type (and parent_name for FUGR/FF, FUGR/I).
|
|
522
|
+
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default true.
|
|
523
|
+
- `run_timeout_ms` (number, optional) - Max time to wait for the activation run to finish (runs endpoint only). Default 120000.
|
|
524
|
+
|
|
525
|
+
---
|
|
526
|
+
|
|
483
527
|
<a id="high-level-compact"></a>
|
|
484
528
|
### High-Level / Compact
|
|
485
529
|
|
|
@@ -619,6 +663,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
619
663
|
**Source:** `src/handlers/compact/high/handleHandlerDumpList.ts`
|
|
620
664
|
|
|
621
665
|
**Parameters:**
|
|
666
|
+
- `include_summary` (boolean, optional) - Keep each dump's HTML summary (large). Default false; use HandlerDumpView for one dump.
|
|
622
667
|
- `inlinecount` (string, optional) - Include total count in response.
|
|
623
668
|
- `orderby` (string, optional) - Sort expression.
|
|
624
669
|
- `skip` (number, optional) - Offset for pagination.
|
|
@@ -891,7 +936,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
891
936
|
|
|
892
937
|
**Parameters:**
|
|
893
938
|
- `data_element_name` (string, required) - Data element name (e.g., ZZ_E_TEST_001). Must follow SAP naming conventions.
|
|
894
|
-
- `data_type` (string, optional (default: CHAR)) - Data type (e.g., CHAR, NUMC) or domain name when type_kind is
|
|
939
|
+
- `data_type` (string, optional (default: CHAR)) - Data type (e.g., CHAR, NUMC) or domain name when type_kind is 'domain'.
|
|
895
940
|
- `decimals` (number, optional (default: 0)) - Decimal places. Usually inherited from domain.
|
|
896
941
|
- `description` (string, optional) - Data element description. If not provided, data_element_name will be used.
|
|
897
942
|
- `heading_label` (string, optional) - Heading field label (max 55 chars). Applied during update step after creation.
|
|
@@ -903,9 +948,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
903
948
|
- `search_help_parameter` (string, optional) - Search help parameter. Applied during update step after creation.
|
|
904
949
|
- `set_get_parameter` (string, optional) - Set/Get parameter ID. Applied during update step after creation.
|
|
905
950
|
- `short_label` (string, optional) - Short field label (max 10 chars). Applied during update step after creation.
|
|
906
|
-
- `transport_request` (string, optional) - Transport request
|
|
907
|
-
- `type_kind` (string, optional (default: domain)) - Type kind:
|
|
908
|
-
- `type_name` (string, optional) - Type name: domain name (when type_kind is
|
|
951
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
952
|
+
- `type_kind` (string, optional (default: domain)) - Type kind: 'domain' (default), 'predefinedAbapType', 'refToPredefinedAbapType', 'refToDictionaryType', 'refToClifType'. If not specified, defaults to 'domain'.
|
|
953
|
+
- `type_name` (string, optional) - Type name: domain name (when type_kind is 'domain'), data element name (when type_kind is 'refToDictionaryType'), or class name (when type_kind is 'refToClifType')
|
|
909
954
|
|
|
910
955
|
---
|
|
911
956
|
|
|
@@ -917,7 +962,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
917
962
|
|
|
918
963
|
**Parameters:**
|
|
919
964
|
- `data_element_name` (string, required) - Data element name (e.g., Z_MY_DATA_ELEMENT).
|
|
920
|
-
- `transport_request` (string, optional) - Transport request
|
|
965
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
921
966
|
|
|
922
967
|
---
|
|
923
968
|
|
|
@@ -929,13 +974,30 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
929
974
|
|
|
930
975
|
**Parameters:**
|
|
931
976
|
- `data_element_name` (string, required) - Data element name (e.g., Z_MY_DATA_ELEMENT).
|
|
932
|
-
- `version` (string, optional (default: active)) -
|
|
977
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
933
978
|
|
|
934
979
|
---
|
|
935
980
|
|
|
936
981
|
<a id="updatedataelement-high-level-data-element"></a>
|
|
937
982
|
#### UpdateDataElement (High-Level / Data Element)
|
|
938
|
-
**Description:**
|
|
983
|
+
**Description:** Update an existing ABAP data element in SAP system.
|
|
984
|
+
|
|
985
|
+
Workflow:
|
|
986
|
+
1. Gets domain info (if type_kind is 'domain') to extract dataType/length/decimals
|
|
987
|
+
2. Acquires lock on the data element
|
|
988
|
+
3. Updates data element with provided parameters (complete replacement)
|
|
989
|
+
4. Unlocks data element
|
|
990
|
+
5. Optionally activates data element (default: true)
|
|
991
|
+
6. Returns updated data element details
|
|
992
|
+
|
|
993
|
+
Supported type_kind values:
|
|
994
|
+
- domain: Based on ABAP domain (requires type_name = domain name)
|
|
995
|
+
- predefinedAbapType: Direct ABAP type (requires data_type, length, decimals)
|
|
996
|
+
- refToPredefinedAbapType: Reference to ABAP type (requires data_type, length, decimals)
|
|
997
|
+
- refToDictionaryType: Reference to another data element (requires type_name = data element name)
|
|
998
|
+
- refToClifType: Reference to class (requires type_name = class name)
|
|
999
|
+
|
|
1000
|
+
Note: All provided parameters completely replace existing values. Field labels are truncated to max lengths (10/20/40/55).
|
|
939
1001
|
|
|
940
1002
|
**Source:** `src/handlers/data_element/high/handleUpdateDataElement.ts`
|
|
941
1003
|
|
|
@@ -954,7 +1016,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
954
1016
|
- `search_help` (string, optional) - Search help name
|
|
955
1017
|
- `search_help_parameter` (string, optional) - Search help parameter
|
|
956
1018
|
- `set_get_parameter` (string, optional) - Set/Get parameter ID
|
|
957
|
-
- `transport_request` (string, optional) - Transport request
|
|
1019
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
958
1020
|
- `type_kind` (string, optional (default: domain)) - Type kind: domain, predefinedAbapType, refToPredefinedAbapType, refToDictionaryType, refToClifType
|
|
959
1021
|
- `type_name` (string, optional) - Type name: domain name, data element name, or class name (depending on type_kind)
|
|
960
1022
|
|
|
@@ -965,7 +1027,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
965
1027
|
|
|
966
1028
|
<a id="createmetadataextension-high-level-ddlx"></a>
|
|
967
1029
|
#### CreateMetadataExtension (High-Level / Ddlx)
|
|
968
|
-
**Description:** Create a new ABAP Metadata Extension (DDLX) in SAP system.
|
|
1030
|
+
**Description:** Create a new ABAP Metadata Extension (DDLX) in SAP system. Defines Fiori UI annotations, field labels, search help, and list/object page layout for CDS views.
|
|
969
1031
|
|
|
970
1032
|
**Source:** `src/handlers/ddlx/high/handleCreateMetadataExtension.ts`
|
|
971
1033
|
|
|
@@ -980,7 +1042,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
980
1042
|
|
|
981
1043
|
<a id="updatemetadataextension-high-level-ddlx"></a>
|
|
982
1044
|
#### UpdateMetadataExtension (High-Level / Ddlx)
|
|
983
|
-
**Description:** Update source code of an ABAP Metadata Extension.
|
|
1045
|
+
**Description:** Update source code of an ABAP Metadata Extension (DDLX). Modifies Fiori UI annotations, field labels, search help, and list/object page layout for CDS views.
|
|
984
1046
|
|
|
985
1047
|
**Source:** `src/handlers/ddlx/high/handleUpdateMetadataExtension.ts`
|
|
986
1048
|
|
|
@@ -989,7 +1051,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
989
1051
|
- `lock_handle` (string, optional) - Lock handle from LockObject. If not provided, will attempt to lock internally.
|
|
990
1052
|
- `name` (string, required) - Metadata Extension name
|
|
991
1053
|
- `source_code` (string, required) - New source code
|
|
992
|
-
- `transport_request` (string, optional) - Transport request
|
|
1054
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
993
1055
|
|
|
994
1056
|
---
|
|
995
1057
|
|
|
@@ -1014,7 +1076,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1014
1076
|
- `lowercase` (boolean, optional (default: false)) - (optional) Allow lowercase input
|
|
1015
1077
|
- `package_name` (string, optional) - (optional) Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
1016
1078
|
- `sign_exists` (boolean, optional (default: false)) - (optional) Field has sign (+/-)
|
|
1017
|
-
- `transport_request` (string, optional) - (optional) Transport request
|
|
1079
|
+
- `transport_request` (string, optional) - (optional) Transport request. Required for transportable packages.
|
|
1018
1080
|
- `value_table` (string, optional) - (optional) Value table name for foreign key relationship
|
|
1019
1081
|
|
|
1020
1082
|
---
|
|
@@ -1027,7 +1089,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1027
1089
|
|
|
1028
1090
|
**Parameters:**
|
|
1029
1091
|
- `domain_name` (string, required) - Domain name (e.g., Z_MY_DOMAIN).
|
|
1030
|
-
- `transport_request` (string, optional) - Transport request
|
|
1092
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1031
1093
|
|
|
1032
1094
|
---
|
|
1033
1095
|
|
|
@@ -1039,13 +1101,23 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1039
1101
|
|
|
1040
1102
|
**Parameters:**
|
|
1041
1103
|
- `domain_name` (string, required) - Domain name (e.g., Z_MY_DOMAIN).
|
|
1042
|
-
- `version` (string, optional (default: active)) -
|
|
1104
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1043
1105
|
|
|
1044
1106
|
---
|
|
1045
1107
|
|
|
1046
1108
|
<a id="updatedomain-high-level-domain"></a>
|
|
1047
1109
|
#### UpdateDomain (High-Level / Domain)
|
|
1048
|
-
**Description:**
|
|
1110
|
+
**Description:** Update an existing ABAP domain in SAP system.
|
|
1111
|
+
|
|
1112
|
+
Workflow:
|
|
1113
|
+
1. Acquires lock on the domain
|
|
1114
|
+
2. Updates domain with provided parameters (complete replacement)
|
|
1115
|
+
3. Performs syntax check
|
|
1116
|
+
4. Unlocks domain
|
|
1117
|
+
5. Optionally activates domain (default: true)
|
|
1118
|
+
6. Returns updated domain details
|
|
1119
|
+
|
|
1120
|
+
Note: All provided parameters completely replace existing values. Use GetDomain first to see current values if needed.
|
|
1049
1121
|
|
|
1050
1122
|
**Source:** `src/handlers/domain/high/handleUpdateDomain.ts`
|
|
1051
1123
|
|
|
@@ -1061,7 +1133,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1061
1133
|
- `lowercase` (boolean, optional) - Allow lowercase input
|
|
1062
1134
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
1063
1135
|
- `sign_exists` (boolean, optional) - Field has sign (+/-)
|
|
1064
|
-
- `transport_request` (string, optional) - Transport request
|
|
1136
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1065
1137
|
- `value_table` (string, optional) - Value table name for foreign key relationship
|
|
1066
1138
|
|
|
1067
1139
|
---
|
|
@@ -1080,7 +1152,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1080
1152
|
- `description` (string, optional) - Function group description. If not provided, function_group_name will be used.
|
|
1081
1153
|
- `function_group_name` (string, required) - Function group name (e.g., ZTEST_FG_001). Must follow SAP naming conventions (start with Z or Y, max 26 chars).
|
|
1082
1154
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
1083
|
-
- `transport_request` (string, optional) - Transport request
|
|
1155
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1084
1156
|
|
|
1085
1157
|
---
|
|
1086
1158
|
|
|
@@ -1094,20 +1166,20 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1094
1166
|
- `description` (string, optional) - Optional description for the function module
|
|
1095
1167
|
- `function_group_name` (string, required) - Parent function group name (e.g., ZTEST_FG_001)
|
|
1096
1168
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FUNCTION_001). Must follow SAP naming conventions (start with Z or Y, max 30 chars).
|
|
1097
|
-
- `transport_request` (string, optional) - Transport request
|
|
1169
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1098
1170
|
|
|
1099
1171
|
---
|
|
1100
1172
|
|
|
1101
1173
|
<a id="updatefunctiongroup-high-level-function"></a>
|
|
1102
1174
|
#### UpdateFunctionGroup (High-Level / Function)
|
|
1103
|
-
**Description:** Update metadata (description) of an existing ABAP function group. Function groups are containers for function modules and don
|
|
1175
|
+
**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.
|
|
1104
1176
|
|
|
1105
1177
|
**Source:** `src/handlers/function/high/handleUpdateFunctionGroup.ts`
|
|
1106
1178
|
|
|
1107
1179
|
**Parameters:**
|
|
1108
1180
|
- `description` (string, required) - New description for the function group.
|
|
1109
1181
|
- `function_group_name` (string, required) - Function group name (e.g., ZTEST_FG_001). Must exist in the system.
|
|
1110
|
-
- `transport_request` (string, optional) - Transport request
|
|
1182
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
1111
1183
|
|
|
1112
1184
|
---
|
|
1113
1185
|
|
|
@@ -1121,8 +1193,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1121
1193
|
- `activate` (boolean, optional) - Activate function module after source update. Default: false. Set to true to activate immediately.
|
|
1122
1194
|
- `function_group_name` (string, required) - Function group name containing the function module (e.g., ZOK_FG_MCP01).
|
|
1123
1195
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FM_MCP01). Function module must already exist.
|
|
1124
|
-
- `source_code` (string, required) - Complete ABAP function module source code. Must include FUNCTION statement with parameters and ENDFUNCTION. Example
|
|
1125
|
-
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable function modules.
|
|
1196
|
+
- `source_code` (string, required) - Complete ABAP function module source code. Must include FUNCTION statement with parameters and ENDFUNCTION. Example: FUNCTION Z_TEST_FM IMPORTING VALUE(iv_input) TYPE string EXPORTING VALUE(ev_output) TYPE string. ev_output = iv_input. ENDFUNCTION.
|
|
1197
|
+
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable function modules. For local objects ($TMP package) this can be omitted — the handler defaults to "local".
|
|
1126
1198
|
|
|
1127
1199
|
---
|
|
1128
1200
|
|
|
@@ -1137,7 +1209,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1137
1209
|
|
|
1138
1210
|
**Parameters:**
|
|
1139
1211
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP).
|
|
1140
|
-
- `transport_request` (string, optional) - Transport request
|
|
1212
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1141
1213
|
|
|
1142
1214
|
---
|
|
1143
1215
|
|
|
@@ -1149,7 +1221,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1149
1221
|
|
|
1150
1222
|
**Parameters:**
|
|
1151
1223
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP).
|
|
1152
|
-
- `version` (string, optional (default: active)) -
|
|
1224
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1153
1225
|
|
|
1154
1226
|
---
|
|
1155
1227
|
|
|
@@ -1165,7 +1237,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1165
1237
|
**Parameters:**
|
|
1166
1238
|
- `function_group_name` (string, required) - FunctionGroup name containing the function module (e.g., Z_MY_FUNCTIONGROUP).
|
|
1167
1239
|
- `function_module_name` (string, required) - FunctionModule name (e.g., Z_MY_FUNCTIONMODULE).
|
|
1168
|
-
- `transport_request` (string, optional) - Transport request
|
|
1240
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1169
1241
|
|
|
1170
1242
|
---
|
|
1171
1243
|
|
|
@@ -1178,7 +1250,133 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1178
1250
|
**Parameters:**
|
|
1179
1251
|
- `function_group_name` (string, required) - FunctionGroup name containing the function module (e.g., Z_MY_FUNCTIONGROUP).
|
|
1180
1252
|
- `function_module_name` (string, required) - FunctionModule name (e.g., Z_MY_FUNCTIONMODULE).
|
|
1181
|
-
- `
|
|
1253
|
+
- `output` (string, optional (default: inline)) -
|
|
1254
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1255
|
+
|
|
1256
|
+
---
|
|
1257
|
+
|
|
1258
|
+
<a id="high-level-gui-status"></a>
|
|
1259
|
+
### High-Level / Gui Status
|
|
1260
|
+
|
|
1261
|
+
<a id="createguistatus-high-level-gui-status"></a>
|
|
1262
|
+
#### CreateGuiStatus (High-Level / Gui Status)
|
|
1263
|
+
**Description:** Create a new ABAP GUI Status on an existing program. Optionally activates after creation.
|
|
1264
|
+
|
|
1265
|
+
**Source:** `src/handlers/gui_status/high/handleCreateGuiStatus.ts`
|
|
1266
|
+
|
|
1267
|
+
**Parameters:**
|
|
1268
|
+
- `activate` (boolean, optional) - Activate after creation. Default: false.
|
|
1269
|
+
- `description` (string, optional) - GUI Status description.
|
|
1270
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
1271
|
+
- `status_name` (string, required) - GUI Status name to create (e.g., MAIN_STATUS).
|
|
1272
|
+
- `status_type` (string, optional) - Status type: "N" (normal screen/list status, stored as MODAL D), "P" (dialog box/popup, MODAL P), "C" (context menu, MODAL C). Default: "N".
|
|
1273
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1274
|
+
|
|
1275
|
+
---
|
|
1276
|
+
|
|
1277
|
+
<a id="deleteguistatus-high-level-gui-status"></a>
|
|
1278
|
+
#### DeleteGuiStatus (High-Level / Gui Status)
|
|
1279
|
+
**Description:** Delete an ABAP GUI Status from a program. Handles lock/unlock automatically.
|
|
1280
|
+
|
|
1281
|
+
**Source:** `src/handlers/gui_status/high/handleDeleteGuiStatus.ts`
|
|
1282
|
+
|
|
1283
|
+
**Parameters:**
|
|
1284
|
+
- `program_name` (string, required) - Parent program name.
|
|
1285
|
+
- `status_name` (string, required) - GUI Status name to delete.
|
|
1286
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1287
|
+
|
|
1288
|
+
---
|
|
1289
|
+
|
|
1290
|
+
<a id="getguistatus-high-level-gui-status"></a>
|
|
1291
|
+
#### GetGuiStatus (High-Level / Gui Status)
|
|
1292
|
+
**Description:** Get ABAP GUI Status definition including statuses, function codes, menus, toolbars, and titles.
|
|
1293
|
+
|
|
1294
|
+
**Source:** `src/handlers/gui_status/high/handleGetGuiStatus.ts`
|
|
1295
|
+
|
|
1296
|
+
**Parameters:**
|
|
1297
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
1298
|
+
- `status_name` (string, optional) - Optional: filter to a specific GUI Status name. If omitted, returns all statuses.
|
|
1299
|
+
|
|
1300
|
+
---
|
|
1301
|
+
|
|
1302
|
+
<a id="patchguistatus-high-level-gui-status"></a>
|
|
1303
|
+
#### PatchGuiStatus (High-Level / Gui Status)
|
|
1304
|
+
**Description:** Row-level merge into an existing ABAP GUI Status definition. Fetches current CUA → merges the caller-supplied changes (by natural key) → writes merged result back. Rows / fields you omit are preserved. Safer default for targeted edits; use UpdateGuiStatus only when you truly want to replace the whole CUA. Merge keys per table: STA=CODE, FUN=CODE, PFK=CODE+PFNO, BUT=PFK_CODE+CODE+NO, TIT=CODE, MEN=CODE+NO, MTX=CODE, ACT=CODE+NO, SET=STATUS+FUNCTION, DOC=OBJ_TYPE+OBJ_CODE, BIV=CODE+POS.
|
|
1305
|
+
|
|
1306
|
+
**Source:** `src/handlers/gui_status/high/handlePatchGuiStatus.ts`
|
|
1307
|
+
|
|
1308
|
+
**Parameters:**
|
|
1309
|
+
- `activate` (boolean, optional) - Activate after patch. Default: false.
|
|
1310
|
+
- `changes` (string, required) - Partial CUA data to merge into the current definition. Same shape as cua_data (ADM / STA / FUN / MEN / MTX / ACT / BUT / PFK / SET / DOC / TIT / BIV). Accepts JSON string or object. Rows matched by natural key are field-merged (changes win). New rows are appended. Omitted tables are left untouched.
|
|
1311
|
+
- `program_name` (string, required) - Parent program name.
|
|
1312
|
+
- `skip_validation` (boolean, optional) - Skip client-side validation of the merged result. Default: false.
|
|
1313
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1314
|
+
|
|
1315
|
+
---
|
|
1316
|
+
|
|
1317
|
+
<a id="updateguistatus-high-level-gui-status"></a>
|
|
1318
|
+
#### UpdateGuiStatus (High-Level / Gui Status)
|
|
1319
|
+
**Description:** ⚠️ FULL REPLACE — overwrites the entire GUI Status definition (all 12 CUA tables) for the program. Any row or field you omit is DROPPED. Always Read (ReadGuiStatus) → modify → Update, or use PatchGuiStatus for row-level merges. cua_data must include complete STA / FUN / PFK / BUT / TIT rows with all required fields (CODE, PFNO, FUNCODE, ...). Handles lock/unlock automatically.
|
|
1320
|
+
|
|
1321
|
+
**Source:** `src/handlers/gui_status/high/handleUpdateGuiStatus.ts`
|
|
1322
|
+
|
|
1323
|
+
**Parameters:**
|
|
1324
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1325
|
+
- `cua_data` (string, required) - Complete CUA data — accepts either a JSON string or a structured object with ADM / STA / FUN / MEN / MTX / ACT / BUT / PFK / SET / DOC / TIT / BIV. Required row fields: STA.CODE, FUN.CODE, PFK.{CODE,PFNO,FUNCODE}, BUT.{PFK_CODE,CODE,NO,PFNO}, TIT.CODE. Missing rows are dropped — this is full-replace semantics.
|
|
1326
|
+
- `program_name` (string, required) - Parent program name.
|
|
1327
|
+
- `skip_validation` (boolean, optional) - Skip client-side schema validation. Default: false. Only set true if you know the CUA payload is intentionally partial and SAP will accept it.
|
|
1328
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1329
|
+
|
|
1330
|
+
---
|
|
1331
|
+
|
|
1332
|
+
<a id="high-level-include"></a>
|
|
1333
|
+
### High-Level / Include
|
|
1334
|
+
|
|
1335
|
+
<a id="createinclude-high-level-include"></a>
|
|
1336
|
+
#### CreateInclude (High-Level / Include)
|
|
1337
|
+
**Description:** Create a new ABAP Include program (Type I, PROG/I) in SAP system. Creates the include object and registers it under the main program in D010INC. By default also auto-inserts an `INCLUDE <name>.` statement into the main program source so the include is actually used. Use UpdateInclude to set source code afterwards. Unlike CreateProgram with program_type=include (which creates PROG/P), this creates a proper PROG/I include. For mass-activation scenarios (many cross-referencing includes) pass source_code inline, set activate_main_program=false and skip_program_tree_check=true, then call ActivateObjects once with the full set.
|
|
1338
|
+
|
|
1339
|
+
**Source:** `src/handlers/include/high/handleCreateInclude.ts`
|
|
1340
|
+
|
|
1341
|
+
**Parameters:**
|
|
1342
|
+
- `activate_main_program` (boolean, optional) - When inserting INCLUDE statement into the main program, also activate the main program afterwards. Default: true (existing behavior). Set false when batching many includes so that activation is deferred to a single ActivateObjects call.
|
|
1343
|
+
- `description` (string, optional) - Include description (max 60 chars). If not provided, include_name will be used.
|
|
1344
|
+
- `include_name` (string, required) - Include program name (e.g., ZPAEK_TEST_INC01). Must follow SAP naming conventions (start with Z or Y).
|
|
1345
|
+
- `insert_into_main` (boolean, optional) - Auto-insert `INCLUDE <name>.` statement into the main program source. Default: true. Set false to skip main-program modification.
|
|
1346
|
+
- `main_program` (string, required) - Name of the main/master program that will contain this include (e.g., ZPAEK_TEST003). Required for proper include registration and activation.
|
|
1347
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects).
|
|
1348
|
+
- `skip_program_tree_check` (boolean, optional) - Skip the post-create program-tree syntax check. Default: false (existing behavior). Set true when batching many cross-referencing includes — an intermediate include in a cycle will necessarily fail the tree check while its siblings are still missing.
|
|
1349
|
+
- `source_code` (string, optional) - Optional include body. When provided, the handler also locks, writes the source, and unlocks the new include in a single call. Never activates — caller must run a separate activation (ActivateObjects for batch scenarios).
|
|
1350
|
+
- `transport_request` (string, optional) - Transport request number (e.g., S4HK904224). Required for transportable packages. Optional for local ($TMP) objects.
|
|
1351
|
+
|
|
1352
|
+
---
|
|
1353
|
+
|
|
1354
|
+
<a id="deleteinclude-high-level-include"></a>
|
|
1355
|
+
#### DeleteInclude (High-Level / Include)
|
|
1356
|
+
**Description:** Delete an existing ABAP Include program (Type I) from the SAP system via ADT API. If the include is referenced by a main program, provide main_program so the handler can first remove the `INCLUDE <name>.` line from the main program source before deleting.
|
|
1357
|
+
|
|
1358
|
+
**Source:** `src/handlers/include/high/handleDeleteInclude.ts`
|
|
1359
|
+
|
|
1360
|
+
**Parameters:**
|
|
1361
|
+
- `include_name` (string, required) - Include program name to delete.
|
|
1362
|
+
- `main_program` (string, optional) - Optional. Name of the main program referencing this include. If provided, the `INCLUDE <name>.` line is removed from the main program source first (so the include is no longer referenced and delete succeeds).
|
|
1363
|
+
- `remove_from_main` (boolean, optional) - Auto-remove `INCLUDE <name>.` line from main program source. Default: true when main_program is provided. Set false to skip the main-program modification.
|
|
1364
|
+
- `transport_request` (string, optional) - Transport request number. Required for transportable packages. Optional for local ($TMP) objects. Also used for updating the main program if main_program is provided.
|
|
1365
|
+
|
|
1366
|
+
---
|
|
1367
|
+
|
|
1368
|
+
<a id="updateinclude-high-level-include"></a>
|
|
1369
|
+
#### UpdateInclude (High-Level / Include)
|
|
1370
|
+
**Description:** Update source code of an existing ABAP Include program (Type I). Locks the include, uploads new source code, and unlocks. Optionally activates after update. Use this instead of UpdateProgram for Type I include programs.
|
|
1371
|
+
|
|
1372
|
+
**Source:** `src/handlers/include/high/handleUpdateInclude.ts`
|
|
1373
|
+
|
|
1374
|
+
**Parameters:**
|
|
1375
|
+
- `activate` (boolean, optional) - Activate include after source update. Default: false. Set to true to activate immediately.
|
|
1376
|
+
- `include_name` (string, required) - Include program name. Must already exist as Type I include in SAP.
|
|
1377
|
+
- `main_program` (string, optional) - Name of the parent/master program that contains this include. When provided, a program-wide syntax check is run after the source is uploaded to catch ABAP errors in the new include code. Highly recommended.
|
|
1378
|
+
- `source_code` (string, required) - Complete ABAP include source code. Do NOT include a REPORT statement — include programs start directly with code or comments.
|
|
1379
|
+
- `transport_request` (string, optional) - Transport request number. Required for transportable packages.
|
|
1182
1380
|
|
|
1183
1381
|
---
|
|
1184
1382
|
|
|
@@ -1195,7 +1393,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1195
1393
|
- `description` (string, optional) - Interface description. If not provided, interface_name will be used.
|
|
1196
1394
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
|
|
1197
1395
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
1198
|
-
- `transport_request` (string, optional) - Transport request
|
|
1396
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1199
1397
|
|
|
1200
1398
|
---
|
|
1201
1399
|
|
|
@@ -1207,7 +1405,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1207
1405
|
|
|
1208
1406
|
**Parameters:**
|
|
1209
1407
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
1210
|
-
- `transport_request` (string, optional) - Transport request
|
|
1408
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1211
1409
|
|
|
1212
1410
|
---
|
|
1213
1411
|
|
|
@@ -1219,7 +1417,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1219
1417
|
|
|
1220
1418
|
**Parameters:**
|
|
1221
1419
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
1222
|
-
- `
|
|
1420
|
+
- `output` (string, optional (default: inline)) -
|
|
1421
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1223
1422
|
|
|
1224
1423
|
---
|
|
1225
1424
|
|
|
@@ -1233,7 +1432,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1233
1432
|
- `activate` (boolean, optional) - Activate interface after update. Default: true.
|
|
1234
1433
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_MY_INTERFACE). Must exist in the system.
|
|
1235
1434
|
- `source_code` (string, required) - Complete ABAP interface source code with INTERFACE...ENDINTERFACE section.
|
|
1236
|
-
- `transport_request` (string, optional) - Transport request
|
|
1435
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
1237
1436
|
|
|
1238
1437
|
---
|
|
1239
1438
|
|
|
@@ -1248,7 +1447,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1248
1447
|
|
|
1249
1448
|
**Parameters:**
|
|
1250
1449
|
- `metadata_extension_name` (string, required) - MetadataExtension name (e.g., Z_MY_METADATAEXTENSION).
|
|
1251
|
-
- `transport_request` (string, optional) - Transport request
|
|
1450
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1252
1451
|
|
|
1253
1452
|
---
|
|
1254
1453
|
|
|
@@ -1260,7 +1459,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1260
1459
|
|
|
1261
1460
|
**Parameters:**
|
|
1262
1461
|
- `metadata_extension_name` (string, required) - MetadataExtension name (e.g., Z_MY_METADATAEXTENSION).
|
|
1263
|
-
- `version` (string, optional (default: active)) -
|
|
1462
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1264
1463
|
|
|
1265
1464
|
---
|
|
1266
1465
|
|
|
@@ -1286,7 +1485,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1286
1485
|
|
|
1287
1486
|
**Parameters:**
|
|
1288
1487
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
1289
|
-
- `version` (string, optional (default: active)) -
|
|
1488
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1290
1489
|
|
|
1291
1490
|
---
|
|
1292
1491
|
|
|
@@ -1300,12 +1499,12 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1300
1499
|
**Source:** `src/handlers/program/high/handleCreateProgram.ts`
|
|
1301
1500
|
|
|
1302
1501
|
**Parameters:**
|
|
1303
|
-
- `application` (string, optional) - Application area (e.g.,
|
|
1502
|
+
- `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
|
|
1304
1503
|
- `description` (string, optional) - Program description. If not provided, program_name will be used.
|
|
1305
1504
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
1306
1505
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y).
|
|
1307
|
-
- `program_type` (string, optional) - Program type:
|
|
1308
|
-
- `transport_request` (string, optional) - Transport request
|
|
1506
|
+
- `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
|
|
1507
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1309
1508
|
|
|
1310
1509
|
---
|
|
1311
1510
|
|
|
@@ -1317,7 +1516,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1317
1516
|
|
|
1318
1517
|
**Parameters:**
|
|
1319
1518
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
1320
|
-
- `transport_request` (string, optional) - Transport request
|
|
1519
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1321
1520
|
|
|
1322
1521
|
---
|
|
1323
1522
|
|
|
@@ -1328,8 +1527,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1328
1527
|
**Source:** `src/handlers/program/high/handleGetProgram.ts`
|
|
1329
1528
|
|
|
1330
1529
|
**Parameters:**
|
|
1530
|
+
- `output` (string, optional (default: inline)) -
|
|
1331
1531
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
1332
|
-
- `version` (string, optional (default: active)) -
|
|
1532
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1333
1533
|
|
|
1334
1534
|
---
|
|
1335
1535
|
|
|
@@ -1343,7 +1543,66 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1343
1543
|
- `activate` (boolean, optional) - Activate program after source update. Default: false. Set to true to activate immediately, or use ActivateObject for batch activation.
|
|
1344
1544
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Program must already exist.
|
|
1345
1545
|
- `source_code` (string, required) - Complete ABAP program source code.
|
|
1346
|
-
- `transport_request` (string, optional) - Transport request
|
|
1546
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1547
|
+
|
|
1548
|
+
---
|
|
1549
|
+
|
|
1550
|
+
<a id="high-level-screen"></a>
|
|
1551
|
+
### High-Level / Screen
|
|
1552
|
+
|
|
1553
|
+
<a id="createscreen-high-level-screen"></a>
|
|
1554
|
+
#### CreateScreen (High-Level / Screen)
|
|
1555
|
+
**Description:** Create a new ABAP Screen (Dynpro) on an existing program. Optionally activates.
|
|
1556
|
+
|
|
1557
|
+
**Source:** `src/handlers/screen/high/handleCreateScreen.ts`
|
|
1558
|
+
|
|
1559
|
+
**Parameters:**
|
|
1560
|
+
- `activate` (boolean, optional) - Activate after creation. Default: false.
|
|
1561
|
+
- `description` (string, optional) - Screen description.
|
|
1562
|
+
- `dynpro_data` (string, optional) - Full screen definition as JSON. If omitted, creates minimal screen.
|
|
1563
|
+
- `program_name` (string, required) - Parent program name.
|
|
1564
|
+
- `screen_number` (string, required) - Screen number to create (e.g., 0100).
|
|
1565
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1566
|
+
|
|
1567
|
+
---
|
|
1568
|
+
|
|
1569
|
+
<a id="deletescreen-high-level-screen"></a>
|
|
1570
|
+
#### DeleteScreen (High-Level / Screen)
|
|
1571
|
+
**Description:** Delete an ABAP Screen (Dynpro) from a program. Handles lock/unlock automatically.
|
|
1572
|
+
|
|
1573
|
+
**Source:** `src/handlers/screen/high/handleDeleteScreen.ts`
|
|
1574
|
+
|
|
1575
|
+
**Parameters:**
|
|
1576
|
+
- `program_name` (string, required) - Parent program name.
|
|
1577
|
+
- `screen_number` (string, required) - Screen number to delete.
|
|
1578
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1579
|
+
|
|
1580
|
+
---
|
|
1581
|
+
|
|
1582
|
+
<a id="getscreen-high-level-screen"></a>
|
|
1583
|
+
#### GetScreen (High-Level / Screen)
|
|
1584
|
+
**Description:** Get ABAP Screen (Dynpro) definition including metadata, fields, and flow logic source code.
|
|
1585
|
+
|
|
1586
|
+
**Source:** `src/handlers/screen/high/handleGetScreen.ts`
|
|
1587
|
+
|
|
1588
|
+
**Parameters:**
|
|
1589
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
1590
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
1591
|
+
|
|
1592
|
+
---
|
|
1593
|
+
|
|
1594
|
+
<a id="updatescreen-high-level-screen"></a>
|
|
1595
|
+
#### UpdateScreen (High-Level / Screen)
|
|
1596
|
+
**Description:** Update an ABAP Screen (Dynpro) definition. Provide full screen data as JSON. Handles lock/unlock automatically.
|
|
1597
|
+
|
|
1598
|
+
**Source:** `src/handlers/screen/high/handleUpdateScreen.ts`
|
|
1599
|
+
|
|
1600
|
+
**Parameters:**
|
|
1601
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1602
|
+
- `dynpro_data` (string, required) - Complete screen definition as JSON (from GetScreen/ReadScreen).
|
|
1603
|
+
- `program_name` (string, required) - Parent program name.
|
|
1604
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
1605
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1347
1606
|
|
|
1348
1607
|
---
|
|
1349
1608
|
|
|
@@ -1391,7 +1650,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1391
1650
|
**Source:** `src/handlers/service_binding/high/handleGetServiceBinding.ts`
|
|
1392
1651
|
|
|
1393
1652
|
**Parameters:**
|
|
1394
|
-
- `response_format` (string, optional (default: xml)) - Preferred response format.
|
|
1653
|
+
- `response_format` (string, optional (default: xml)) - Preferred response format. "json" requests JSON from endpoint, "xml" parses XML payload, "plain" returns raw text.
|
|
1395
1654
|
- `service_binding_name` (string, required) - Service binding name (for example: ZUI_MY_BINDING). Case-insensitive.
|
|
1396
1655
|
|
|
1397
1656
|
---
|
|
@@ -1453,7 +1712,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1453
1712
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
1454
1713
|
- `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must follow SAP naming conventions (start with Z or Y).
|
|
1455
1714
|
- `source_code` (string, optional) - Service definition source code (optional). If not provided, a minimal template will be created.
|
|
1456
|
-
- `transport_request` (string, optional) - Transport request
|
|
1715
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1457
1716
|
|
|
1458
1717
|
---
|
|
1459
1718
|
|
|
@@ -1465,7 +1724,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1465
1724
|
|
|
1466
1725
|
**Parameters:**
|
|
1467
1726
|
- `service_definition_name` (string, required) - ServiceDefinition name (e.g., Z_MY_SERVICEDEFINITION).
|
|
1468
|
-
- `transport_request` (string, optional) - Transport request
|
|
1727
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1469
1728
|
|
|
1470
1729
|
---
|
|
1471
1730
|
|
|
@@ -1477,7 +1736,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1477
1736
|
|
|
1478
1737
|
**Parameters:**
|
|
1479
1738
|
- `service_definition_name` (string, required) - ServiceDefinition name (e.g., Z_MY_SERVICEDEFINITION).
|
|
1480
|
-
- `version` (string, optional (default: active)) -
|
|
1739
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1481
1740
|
|
|
1482
1741
|
---
|
|
1483
1742
|
|
|
@@ -1491,7 +1750,38 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1491
1750
|
- `activate` (boolean, optional) - Activate service definition after update. Default: true.
|
|
1492
1751
|
- `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must exist in the system.
|
|
1493
1752
|
- `source_code` (string, required) - Complete service definition source code.
|
|
1494
|
-
- `transport_request` (string, optional) - Transport request
|
|
1753
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
1754
|
+
|
|
1755
|
+
---
|
|
1756
|
+
|
|
1757
|
+
<a id="high-level-smartform"></a>
|
|
1758
|
+
### High-Level / Smartform
|
|
1759
|
+
|
|
1760
|
+
<a id="createsmartform-high-level-smartform"></a>
|
|
1761
|
+
#### CreateSmartForm (High-Level / Smartform)
|
|
1762
|
+
**Description:** [writes] Create (or, with overwrite, replace) a Z/Y SmartForm from Form Builder XML — the format of SMARTFORMS > Utilities > Download. The form is checked and stored active (function module generated) when the check finds no error; otherwise it is stored inactive and the check errors are returned. SmartStyles and SE78 graphics the XML names must already exist. Needs the ZMCP_SSF_UPLOAD FM and the SSF_UPLOAD_XML dispatcher action.
|
|
1763
|
+
|
|
1764
|
+
**Source:** `src/handlers/smartform/high/handleCreateSmartForm.ts`
|
|
1765
|
+
|
|
1766
|
+
**Parameters:**
|
|
1767
|
+
- `activate` (boolean, optional) - Check and store active. Default true; false stores the form inactive without a check.
|
|
1768
|
+
- `form_name` (string, required) - Target SmartForm name, Z* or Y* (e.g. "ZMY_FORM").
|
|
1769
|
+
- `overwrite` (boolean, optional) - Replace the form when it exists. Default false (an existing form is refused).
|
|
1770
|
+
- `package_name` (string, optional) - Package. Default $TMP; any other package needs transport_request.
|
|
1771
|
+
- `transport_request` (string, optional) - Transport request the form is recorded in.
|
|
1772
|
+
- `xml_file` (string, required) - Path of the Form Builder XML file (UTF-8).
|
|
1773
|
+
|
|
1774
|
+
---
|
|
1775
|
+
|
|
1776
|
+
<a id="deletesmartform-high-level-smartform"></a>
|
|
1777
|
+
#### DeleteSmartForm (High-Level / Smartform)
|
|
1778
|
+
**Description:** [writes, destructive] Delete a Z/Y SmartForm of a local package ($TMP, $…) with its generated function module. Without confirm: true only reports what would be deleted (dry run). Transportable forms are refused. Needs the ZMCP_SSF_DELETE FM and the SSF_DELETE_FORM dispatcher action.
|
|
1779
|
+
|
|
1780
|
+
**Source:** `src/handlers/smartform/high/handleDeleteSmartForm.ts`
|
|
1781
|
+
|
|
1782
|
+
**Parameters:**
|
|
1783
|
+
- `confirm` (boolean, optional) - true = really delete. Default false (dry run).
|
|
1784
|
+
- `form_name` (string, required) - SmartForm name, Z* or Y*.
|
|
1495
1785
|
|
|
1496
1786
|
---
|
|
1497
1787
|
|
|
@@ -1511,7 +1801,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1511
1801
|
- `includes` (array, optional) - Include other structures in this structure
|
|
1512
1802
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
1513
1803
|
- `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Must follow SAP naming conventions.
|
|
1514
|
-
- `transport_request` (string, optional) - Transport request
|
|
1804
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1515
1805
|
|
|
1516
1806
|
---
|
|
1517
1807
|
|
|
@@ -1523,7 +1813,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1523
1813
|
|
|
1524
1814
|
**Parameters:**
|
|
1525
1815
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_STRUCTURE).
|
|
1526
|
-
- `transport_request` (string, optional) - Transport request
|
|
1816
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1527
1817
|
|
|
1528
1818
|
---
|
|
1529
1819
|
|
|
@@ -1535,7 +1825,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1535
1825
|
|
|
1536
1826
|
**Parameters:**
|
|
1537
1827
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_STRUCTURE).
|
|
1538
|
-
- `version` (string, optional (default: active)) -
|
|
1828
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1539
1829
|
|
|
1540
1830
|
---
|
|
1541
1831
|
|
|
@@ -1547,9 +1837,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1547
1837
|
|
|
1548
1838
|
**Parameters:**
|
|
1549
1839
|
- `activate` (boolean, optional) - Activate structure after source update. Default: true.
|
|
1550
|
-
- `ddl_code` (string, required) - Complete DDL source code for structure. Example:
|
|
1840
|
+
- `ddl_code` (string, required) - Complete DDL source code for structure. Example: '@EndUserText.label : \'My Structure\' @AbapCatalog.tableCategory : #TRANSPARENT define structure zz_s_test_001 { client : abap.clnt not null; id : abap.char(10); name : abap.char(255); }'
|
|
1551
1841
|
- `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Structure must already exist.
|
|
1552
|
-
- `transport_request` (string, optional) - Transport request
|
|
1842
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
1553
1843
|
|
|
1554
1844
|
---
|
|
1555
1845
|
|
|
@@ -1567,7 +1857,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1567
1857
|
- `include_descriptions` (boolean, optional (default: true)) - Include object descriptions in response. Default: true
|
|
1568
1858
|
- `include_subpackages` (boolean, optional (default: true)) - Include subpackages recursively in the tree. If false, subpackages are shown as first-level objects but not recursively expanded. Default: true
|
|
1569
1859
|
- `max_depth` (integer, optional (default: 5)) - Maximum depth for recursive package traversal. Default: 5
|
|
1570
|
-
- `package_name` (string, required) - Package name (e.g.,
|
|
1860
|
+
- `package_name` (string, required) - Package name (e.g., "ZMY_PACKAGE")
|
|
1571
1861
|
|
|
1572
1862
|
---
|
|
1573
1863
|
|
|
@@ -1584,7 +1874,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1584
1874
|
- `description` (string, optional) - Table description for validation and creation.
|
|
1585
1875
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
1586
1876
|
- `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Must follow SAP naming conventions.
|
|
1587
|
-
- `transport_request` (string, optional) - Transport request
|
|
1877
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1588
1878
|
|
|
1589
1879
|
---
|
|
1590
1880
|
|
|
@@ -1596,7 +1886,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1596
1886
|
|
|
1597
1887
|
**Parameters:**
|
|
1598
1888
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE).
|
|
1599
|
-
- `transport_request` (string, optional) - Transport request
|
|
1889
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1600
1890
|
|
|
1601
1891
|
---
|
|
1602
1892
|
|
|
@@ -1608,7 +1898,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1608
1898
|
|
|
1609
1899
|
**Parameters:**
|
|
1610
1900
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE).
|
|
1611
|
-
- `version` (string, optional (default: active)) -
|
|
1901
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1612
1902
|
|
|
1613
1903
|
---
|
|
1614
1904
|
|
|
@@ -1620,9 +1910,104 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1620
1910
|
|
|
1621
1911
|
**Parameters:**
|
|
1622
1912
|
- `activate` (boolean, optional) - Activate table after source update. Default: true.
|
|
1623
|
-
- `ddl_code` (string, required) - Complete DDL source code for
|
|
1913
|
+
- `ddl_code` (string, required) - Complete DDL source code for a TRANSPARENT TABLE. IMPORTANT — use the MANDT data element for the client key ('key mandt : mandt not null'), NOT 'abap.clnt' (that's CDS-view syntax). Standard SAP tables (MARA, T001, VBAK, …) all use MANDT. The annotation block CreateTable seeded must be preserved verbatim: #NOT_EXTENSIBLE enhancement category, #TRANSPARENT tableCategory, #A deliveryClass, #RESTRICTED dataMaintenance. Example: '@EndUserText.label : \'My Table\' @AbapCatalog.enhancement.category : #NOT_EXTENSIBLE @AbapCatalog.tableCategory : #TRANSPARENT @AbapCatalog.deliveryClass : #A @AbapCatalog.dataMaintenance : #RESTRICTED define table ztst_table { key mandt : mandt not null; key id : abap.char(10); name : abap.char(255); }'
|
|
1624
1914
|
- `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Table must already exist.
|
|
1625
|
-
- `transport_request` (string, optional) - Transport request
|
|
1915
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
1916
|
+
|
|
1917
|
+
---
|
|
1918
|
+
|
|
1919
|
+
<a id="high-level-text-element"></a>
|
|
1920
|
+
### High-Level / Text Element
|
|
1921
|
+
|
|
1922
|
+
<a id="createtextelement-high-level-text-element"></a>
|
|
1923
|
+
#### CreateTextElement (High-Level / Text Element)
|
|
1924
|
+
**Description:** Add a text element (text symbol, selection text, program title, or list heading) to an ABAP program. Optionally activates after write.
|
|
1925
|
+
|
|
1926
|
+
**Source:** `src/handlers/text_element/high/handleCreateTextElement.ts`
|
|
1927
|
+
|
|
1928
|
+
**Parameters:**
|
|
1929
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
1930
|
+
- `key` (string, optional) - Row key. For "I" use 3-char code (e.g., "001"). For "S" use the parameter/select-option name. For "R" the key is ignored (single row).
|
|
1931
|
+
- `language` (string, optional) - Language key (1-char). Defaults to SAP logon language.
|
|
1932
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
1933
|
+
- `text` (string, required) - Text content (max ${MAX_ENTRY_LEN} characters).
|
|
1934
|
+
- `text_type` (string, required) - "I"=text symbol (TEXT-xxx), "S"=selection text, "R"=program title, "H"=list heading.
|
|
1935
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1936
|
+
|
|
1937
|
+
---
|
|
1938
|
+
|
|
1939
|
+
<a id="deletetextelement-high-level-text-element"></a>
|
|
1940
|
+
#### DeleteTextElement (High-Level / Text Element)
|
|
1941
|
+
**Description:** Delete a text element from an ABAP program text pool. key="*" wipes all rows of the given text_type; text_type="*" wipes the whole pool.
|
|
1942
|
+
|
|
1943
|
+
**Source:** `src/handlers/text_element/high/handleDeleteTextElement.ts`
|
|
1944
|
+
|
|
1945
|
+
**Parameters:**
|
|
1946
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
1947
|
+
- `key` (string, optional) - Row key, or "*" to delete every row of the given text_type.
|
|
1948
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
1949
|
+
- `program_name` (string, required) - Parent program name.
|
|
1950
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H", or "*" to wipe every row in the language.
|
|
1951
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1952
|
+
|
|
1953
|
+
---
|
|
1954
|
+
|
|
1955
|
+
<a id="gettextelement-high-level-text-element"></a>
|
|
1956
|
+
#### GetTextElement (High-Level / Text Element)
|
|
1957
|
+
**Description:** Read ABAP program text pool (text symbols, selection texts, title, headings). Optionally filter by text_type / key.
|
|
1958
|
+
|
|
1959
|
+
**Source:** `src/handlers/text_element/high/handleGetTextElement.ts`
|
|
1960
|
+
|
|
1961
|
+
**Parameters:**
|
|
1962
|
+
- `key` (string, optional) - Optional: filter by row key (e.g., "001" for text symbol TEXT-001, or a parameter name for selection text).
|
|
1963
|
+
- `language` (string, optional) - Language key (1-char, e.g., "E", "D", "K"). Defaults to the SAP logon language.
|
|
1964
|
+
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
1965
|
+
- `text_type` (string, optional) - Filter by ID: "I"=text symbol, "S"=selection text, "R"=program title, "H"=list heading.
|
|
1966
|
+
|
|
1967
|
+
---
|
|
1968
|
+
|
|
1969
|
+
<a id="readtextelementsbulk-high-level-text-element"></a>
|
|
1970
|
+
#### ReadTextElementsBulk (High-Level / Text Element)
|
|
1971
|
+
**Description:** Read every text element (R/I/S/H) of a program in ONE call via the TPOOL RFC. Partitions rows by type and returns structured arrays. Use this instead of calling GetTextElement per row.
|
|
1972
|
+
|
|
1973
|
+
**Source:** `src/handlers/text_element/high/handleReadTextElementsBulk.ts`
|
|
1974
|
+
|
|
1975
|
+
**Parameters:**
|
|
1976
|
+
- `language` (string, optional) - 1-char language. Defaults to SAP logon language.
|
|
1977
|
+
- `program_name` (string, required) - Program name.
|
|
1978
|
+
|
|
1979
|
+
---
|
|
1980
|
+
|
|
1981
|
+
<a id="updatetextelement-high-level-text-element"></a>
|
|
1982
|
+
#### UpdateTextElement (High-Level / Text Element)
|
|
1983
|
+
**Description:** Update an existing text element in an ABAP program text pool. Handles lock/unlock automatically.
|
|
1984
|
+
|
|
1985
|
+
**Source:** `src/handlers/text_element/high/handleUpdateTextElement.ts`
|
|
1986
|
+
|
|
1987
|
+
**Parameters:**
|
|
1988
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
1989
|
+
- `key` (string, optional) - Row key. Required except for "R" (single program title).
|
|
1990
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
1991
|
+
- `program_name` (string, required) - Parent program name.
|
|
1992
|
+
- `text` (string, required) - New text content (max ${MAX_ENTRY_LEN} characters).
|
|
1993
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H" — see GetTextElement.
|
|
1994
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1995
|
+
|
|
1996
|
+
---
|
|
1997
|
+
|
|
1998
|
+
<a id="writetextelementsbulk-high-level-text-element"></a>
|
|
1999
|
+
#### WriteTextElementsBulk (High-Level / Text Element)
|
|
2000
|
+
**Description:** Register many ABAP text elements (R/I/S/H) in ONE tool call via a single TPOOL RFC write. Use instead of calling CreateTextElement N times. With activate=false (default) the pool is staged INACTIVE — the parent program's next activation promotes every entry atomically, which is the correct flow for "register 40 now, activate program later". With activate=true the pool is written ACTIVE immediately. Set replace_existing=false to merge into the current pool instead of replacing it.
|
|
2001
|
+
|
|
2002
|
+
**Source:** `src/handlers/text_element/high/handleWriteTextElementsBulk.ts`
|
|
2003
|
+
|
|
2004
|
+
**Parameters:**
|
|
2005
|
+
- `activate` (boolean, optional) - false (default) — stage as INACTIVE (program activation promotes). true — write ACTIVE immediately.
|
|
2006
|
+
- `language` (string, optional) - 1-char language key (e.g. "K" for Korean). Defaults to SAP logon language.
|
|
2007
|
+
- `program_name` (string, required) - Parent program name.
|
|
2008
|
+
- `replace_existing` (boolean, optional) - If true (default), the TPOOL is replaced with the provided entries only. If false, existing rows are preserved and provided rows merge by (type, key).
|
|
2009
|
+
- `text_elements` (array, required) - Array of entries. Each: { type: "R"|"I"|"S"|"H", key?: string, text: string }. R ignores key (single-row program title — key defaults to program name). I requires a 3-char key. S requires a parameter / select-option name (max 8 chars). H requires one of "listHeader" or "columnHeader_N".
|
|
2010
|
+
- `transport_request` (string, optional) - Transport request number (informational).
|
|
1626
2011
|
|
|
1627
2012
|
---
|
|
1628
2013
|
|
|
@@ -1638,8 +2023,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1638
2023
|
**Parameters:**
|
|
1639
2024
|
- `description` (string, required) - Transport request description (mandatory)
|
|
1640
2025
|
- `owner` (string, optional) - Transport owner (optional, defaults to current user)
|
|
1641
|
-
- `target_system` (string, optional) - Target system for transport (optional, e.g.,
|
|
1642
|
-
- `transport_type` (string, optional (default: workbench)) - Transport type:
|
|
2026
|
+
- `target_system` (string, optional) - Target system for transport (optional, e.g., 'PRD', 'QAS'). If not provided or empty, uses 'LOCAL'
|
|
2027
|
+
- `transport_type` (string, optional (default: workbench)) - Transport type: 'workbench' (cross-client) or 'customizing' (client-specific)
|
|
1643
2028
|
|
|
1644
2029
|
---
|
|
1645
2030
|
|
|
@@ -1657,7 +2042,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1657
2042
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
1658
2043
|
- `description` (string, optional) - Optional description for the global test class.
|
|
1659
2044
|
- `package_name` (string, required) - Package name (e.g., ZOK_TEST_PKG_01, $TMP).
|
|
1660
|
-
- `transport_request` (string, optional) - Transport request
|
|
2045
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1661
2046
|
|
|
1662
2047
|
---
|
|
1663
2048
|
|
|
@@ -1685,7 +2070,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1685
2070
|
|
|
1686
2071
|
**Parameters:**
|
|
1687
2072
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
1688
|
-
- `transport_request` (string, optional) - Transport request
|
|
2073
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1689
2074
|
|
|
1690
2075
|
---
|
|
1691
2076
|
|
|
@@ -1774,7 +2159,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1774
2159
|
|
|
1775
2160
|
<a id="rununittest-high-level-unit-test"></a>
|
|
1776
2161
|
#### RunUnitTest (High-Level / Unit Test)
|
|
1777
|
-
**Description:** Start an ABAP Unit test run for provided
|
|
2162
|
+
**Description:** Start an ABAP Unit test run for provided test definitions. Returns run_id for status/result queries.
|
|
1778
2163
|
|
|
1779
2164
|
**Source:** `src/handlers/unit_test/high/handleRunUnitTest.ts`
|
|
1780
2165
|
|
|
@@ -1797,7 +2182,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1797
2182
|
**Parameters:**
|
|
1798
2183
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
1799
2184
|
- `test_class_source` (string, required) - Updated local test class ABAP source code.
|
|
1800
|
-
- `transport_request` (string, optional) - Transport request
|
|
2185
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1801
2186
|
|
|
1802
2187
|
---
|
|
1803
2188
|
|
|
@@ -1824,7 +2209,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1824
2209
|
**Parameters:**
|
|
1825
2210
|
- `description` (string, optional) - Optional description (defaults to view_name).
|
|
1826
2211
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
1827
|
-
- `transport_request` (string, optional) - Transport request
|
|
2212
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1828
2213
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
|
|
1829
2214
|
|
|
1830
2215
|
---
|
|
@@ -1836,7 +2221,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1836
2221
|
**Source:** `src/handlers/view/high/handleDeleteView.ts`
|
|
1837
2222
|
|
|
1838
2223
|
**Parameters:**
|
|
1839
|
-
- `transport_request` (string, optional) - Transport request
|
|
2224
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1840
2225
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1841
2226
|
|
|
1842
2227
|
---
|
|
@@ -1848,7 +2233,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1848
2233
|
**Source:** `src/handlers/view/high/handleGetView.ts`
|
|
1849
2234
|
|
|
1850
2235
|
**Parameters:**
|
|
1851
|
-
- `version` (string, optional (default: active)) -
|
|
2236
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1852
2237
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1853
2238
|
|
|
1854
2239
|
---
|
|
@@ -1862,9 +2247,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1862
2247
|
**Parameters:**
|
|
1863
2248
|
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1864
2249
|
- `ddl_source` (string, required) - Complete DDL source code.
|
|
1865
|
-
- `transport_request` (string, optional) - Transport request
|
|
2250
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1866
2251
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002).
|
|
1867
2252
|
|
|
1868
2253
|
---
|
|
1869
2254
|
|
|
1870
|
-
*Last updated: 2026-
|
|
2255
|
+
*Last updated: 2026-10-19*
|