@babamba2/abap-mcp-adt-powerup 4.8.12 → 4.8.14
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 +30 -1
- package/dist/handlers/gui_status/high/handleGetGuiStatus.d.ts +14 -2
- package/dist/handlers/gui_status/high/handleGetGuiStatus.d.ts.map +1 -1
- package/dist/handlers/gui_status/high/handleGetGuiStatus.js +24 -11
- package/dist/handlers/gui_status/high/handleGetGuiStatus.js.map +1 -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/cuaFilter.d.ts +38 -0
- package/dist/lib/cuaFilter.d.ts.map +1 -0
- package/dist/lib/cuaFilter.js +132 -0
- package/dist/lib/cuaFilter.js.map +1 -0
- 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 +1041 -204
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +2 -1
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +472 -85
- package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +957 -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
|
@@ -4,10 +4,10 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4
4
|
|
|
5
5
|
## Summary
|
|
6
6
|
|
|
7
|
-
- Total tools:
|
|
8
|
-
- Read-only tools:
|
|
9
|
-
- High-level tools:
|
|
10
|
-
- Low-level tools:
|
|
7
|
+
- Total tools: 335
|
|
8
|
+
- Read-only tools: 67
|
|
9
|
+
- High-level tools: 134
|
|
10
|
+
- Low-level tools: 134
|
|
11
11
|
|
|
12
12
|
- Compact tools: 22 (included in High-level group)
|
|
13
13
|
|
|
@@ -33,6 +33,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
33
33
|
- [Domain](#read-only-domain)
|
|
34
34
|
- [ReadDomain](#readdomain-read-only-domain)
|
|
35
35
|
- [Enhancement](#read-only-enhancement)
|
|
36
|
+
- [GetBadiImplementations](#getbadiimplementations-read-only-enhancement)
|
|
36
37
|
- [GetEnhancementImpl](#getenhancementimpl-read-only-enhancement)
|
|
37
38
|
- [GetEnhancements](#getenhancements-read-only-enhancement)
|
|
38
39
|
- [GetEnhancementSpot](#getenhancementspot-read-only-enhancement)
|
|
@@ -40,6 +41,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
40
41
|
- [ReadFunctionGroup](#readfunctiongroup-read-only-function-group)
|
|
41
42
|
- [Function Module](#read-only-function-module)
|
|
42
43
|
- [ReadFunctionModule](#readfunctionmodule-read-only-function-module)
|
|
44
|
+
- [Gui Status](#read-only-gui-status)
|
|
45
|
+
- [GetGuiStatusList](#getguistatuslist-read-only-gui-status)
|
|
46
|
+
- [ReadGuiStatus](#readguistatus-read-only-gui-status)
|
|
43
47
|
- [Include](#read-only-include)
|
|
44
48
|
- [GetInclude](#getinclude-read-only-include)
|
|
45
49
|
- [GetIncludesList](#getincludeslist-read-only-include)
|
|
@@ -53,6 +57,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
53
57
|
- [Program](#read-only-program)
|
|
54
58
|
- [GetProgFullCode](#getprogfullcode-read-only-program)
|
|
55
59
|
- [ReadProgram](#readprogram-read-only-program)
|
|
60
|
+
- [Screen](#read-only-screen)
|
|
61
|
+
- [GetScreensList](#getscreenslist-read-only-screen)
|
|
62
|
+
- [ReadScreen](#readscreen-read-only-screen)
|
|
56
63
|
- [Search](#read-only-search)
|
|
57
64
|
- [GetObjectsByType](#getobjectsbytype-read-only-search)
|
|
58
65
|
- [GetObjectsList](#getobjectslist-read-only-search)
|
|
@@ -70,21 +77,31 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
70
77
|
- [GetAbapSystemSymbols](#getabapsystemsymbols-read-only-system)
|
|
71
78
|
- [GetAdtTypes](#getadttypes-read-only-system)
|
|
72
79
|
- [GetInactiveObjects](#getinactiveobjects-read-only-system)
|
|
80
|
+
- [GetJobUsage](#getjobusage-read-only-system)
|
|
73
81
|
- [GetObjectInfo](#getobjectinfo-read-only-system)
|
|
74
82
|
- [GetObjectNodeFromCache](#getobjectnodefromcache-read-only-system)
|
|
75
83
|
- [GetObjectStructure](#getobjectstructure-read-only-system)
|
|
76
84
|
- [GetSession](#getsession-read-only-system)
|
|
85
|
+
- [GetSmartFormContent](#getsmartformcontent-read-only-system)
|
|
86
|
+
- [GetSmartFormLayout](#getsmartformlayout-read-only-system)
|
|
77
87
|
- [GetSqlQuery](#getsqlquery-read-only-system)
|
|
88
|
+
- [GetTcodeUsage](#gettcodeusage-read-only-system)
|
|
78
89
|
- [GetTransaction](#gettransaction-read-only-system)
|
|
79
90
|
- [GetTypeInfo](#gettypeinfo-read-only-system)
|
|
91
|
+
- [GetUsageSnippets](#getusagesnippets-read-only-system)
|
|
80
92
|
- [GetWhereUsed](#getwhereused-read-only-system)
|
|
93
|
+
- [ReloadProfile](#reloadprofile-read-only-system)
|
|
94
|
+
- [RenderSmartForm](#rendersmartform-read-only-system)
|
|
81
95
|
- [RuntimeAnalyzeDump](#runtimeanalyzedump-read-only-system)
|
|
82
96
|
- [RuntimeAnalyzeProfilerTrace](#runtimeanalyzeprofilertrace-read-only-system)
|
|
83
97
|
- [RuntimeCreateProfilerTraceParameters](#runtimecreateprofilertraceparameters-read-only-system)
|
|
84
98
|
- [RuntimeGetDumpById](#runtimegetdumpbyid-read-only-system)
|
|
99
|
+
- [RuntimeGetGatewayErrorLog](#runtimegetgatewayerrorlog-read-only-system)
|
|
85
100
|
- [RuntimeGetProfilerTraceData](#runtimegetprofilertracedata-read-only-system)
|
|
86
101
|
- [RuntimeListDumps](#runtimelistdumps-read-only-system)
|
|
102
|
+
- [RuntimeListFeeds](#runtimelistfeeds-read-only-system)
|
|
87
103
|
- [RuntimeListProfilerTraceFiles](#runtimelistprofilertracefiles-read-only-system)
|
|
104
|
+
- [RuntimeListSystemMessages](#runtimelistsystemmessages-read-only-system)
|
|
88
105
|
- [RuntimeRunClassWithProfiling](#runtimerunclasswithprofiling-read-only-system)
|
|
89
106
|
- [RuntimeRunProgramWithProfiling](#runtimerunprogramwithprofiling-read-only-system)
|
|
90
107
|
- [Table](#read-only-table)
|
|
@@ -123,6 +140,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
123
140
|
- [UpdateLocalMacros](#updatelocalmacros-high-level-class)
|
|
124
141
|
- [UpdateLocalTestClass](#updatelocaltestclass-high-level-class)
|
|
125
142
|
- [UpdateLocalTypes](#updatelocaltypes-high-level-class)
|
|
143
|
+
- [Common](#high-level-common)
|
|
144
|
+
- [ActivateObjects](#activateobjects-high-level-common)
|
|
126
145
|
- [Compact](#high-level-compact)
|
|
127
146
|
- [HandlerActivate](#handleractivate-high-level-compact)
|
|
128
147
|
- [HandlerCdsUnitTestResult](#handlercdsunittestresult-high-level-compact)
|
|
@@ -170,6 +189,16 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
170
189
|
- [Function Module](#high-level-function-module)
|
|
171
190
|
- [DeleteFunctionModule](#deletefunctionmodule-high-level-function-module)
|
|
172
191
|
- [GetFunctionModule](#getfunctionmodule-high-level-function-module)
|
|
192
|
+
- [Gui Status](#high-level-gui-status)
|
|
193
|
+
- [CreateGuiStatus](#createguistatus-high-level-gui-status)
|
|
194
|
+
- [DeleteGuiStatus](#deleteguistatus-high-level-gui-status)
|
|
195
|
+
- [GetGuiStatus](#getguistatus-high-level-gui-status)
|
|
196
|
+
- [PatchGuiStatus](#patchguistatus-high-level-gui-status)
|
|
197
|
+
- [UpdateGuiStatus](#updateguistatus-high-level-gui-status)
|
|
198
|
+
- [Include](#high-level-include)
|
|
199
|
+
- [CreateInclude](#createinclude-high-level-include)
|
|
200
|
+
- [DeleteInclude](#deleteinclude-high-level-include)
|
|
201
|
+
- [UpdateInclude](#updateinclude-high-level-include)
|
|
173
202
|
- [Interface](#high-level-interface)
|
|
174
203
|
- [CreateInterface](#createinterface-high-level-interface)
|
|
175
204
|
- [DeleteInterface](#deleteinterface-high-level-interface)
|
|
@@ -186,6 +215,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
186
215
|
- [DeleteProgram](#deleteprogram-high-level-program)
|
|
187
216
|
- [GetProgram](#getprogram-high-level-program)
|
|
188
217
|
- [UpdateProgram](#updateprogram-high-level-program)
|
|
218
|
+
- [Screen](#high-level-screen)
|
|
219
|
+
- [CreateScreen](#createscreen-high-level-screen)
|
|
220
|
+
- [DeleteScreen](#deletescreen-high-level-screen)
|
|
221
|
+
- [GetScreen](#getscreen-high-level-screen)
|
|
222
|
+
- [UpdateScreen](#updatescreen-high-level-screen)
|
|
189
223
|
- [Service Binding](#high-level-service-binding)
|
|
190
224
|
- [CreateServiceBinding](#createservicebinding-high-level-service-binding)
|
|
191
225
|
- [DeleteServiceBinding](#deleteservicebinding-high-level-service-binding)
|
|
@@ -198,6 +232,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
198
232
|
- [DeleteServiceDefinition](#deleteservicedefinition-high-level-service-definition)
|
|
199
233
|
- [GetServiceDefinition](#getservicedefinition-high-level-service-definition)
|
|
200
234
|
- [UpdateServiceDefinition](#updateservicedefinition-high-level-service-definition)
|
|
235
|
+
- [Smartform](#high-level-smartform)
|
|
236
|
+
- [CreateSmartForm](#createsmartform-high-level-smartform)
|
|
237
|
+
- [DeleteSmartForm](#deletesmartform-high-level-smartform)
|
|
201
238
|
- [Structure](#high-level-structure)
|
|
202
239
|
- [CreateStructure](#createstructure-high-level-structure)
|
|
203
240
|
- [DeleteStructure](#deletestructure-high-level-structure)
|
|
@@ -210,6 +247,13 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
210
247
|
- [DeleteTable](#deletetable-high-level-table)
|
|
211
248
|
- [GetTable](#gettable-high-level-table)
|
|
212
249
|
- [UpdateTable](#updatetable-high-level-table)
|
|
250
|
+
- [Text Element](#high-level-text-element)
|
|
251
|
+
- [CreateTextElement](#createtextelement-high-level-text-element)
|
|
252
|
+
- [DeleteTextElement](#deletetextelement-high-level-text-element)
|
|
253
|
+
- [GetTextElement](#gettextelement-high-level-text-element)
|
|
254
|
+
- [ReadTextElementsBulk](#readtextelementsbulk-high-level-text-element)
|
|
255
|
+
- [UpdateTextElement](#updatetextelement-high-level-text-element)
|
|
256
|
+
- [WriteTextElementsBulk](#writetextelementsbulk-high-level-text-element)
|
|
213
257
|
- [Transport](#high-level-transport)
|
|
214
258
|
- [CreateTransport](#createtransport-high-level-transport)
|
|
215
259
|
- [Unit Test](#high-level-unit-test)
|
|
@@ -311,6 +355,13 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
311
355
|
- [UpdateFunctionModuleLow](#updatefunctionmodulelow-low-level-function)
|
|
312
356
|
- [ValidateFunctionGroupLow](#validatefunctiongrouplow-low-level-function)
|
|
313
357
|
- [ValidateFunctionModuleLow](#validatefunctionmodulelow-low-level-function)
|
|
358
|
+
- [Gui Status](#low-level-gui-status)
|
|
359
|
+
- [ActivateGuiStatusLow](#activateguistatuslow-low-level-gui-status)
|
|
360
|
+
- [CreateGuiStatusLow](#createguistatuslow-low-level-gui-status)
|
|
361
|
+
- [DeleteGuiStatusLow](#deleteguistatuslow-low-level-gui-status)
|
|
362
|
+
- [LockGuiStatusLow](#lockguistatuslow-low-level-gui-status)
|
|
363
|
+
- [UnlockGuiStatusLow](#unlockguistatuslow-low-level-gui-status)
|
|
364
|
+
- [UpdateGuiStatusLow](#updateguistatuslow-low-level-gui-status)
|
|
314
365
|
- [Interface](#low-level-interface)
|
|
315
366
|
- [ActivateInterfaceLow](#activateinterfacelow-low-level-interface)
|
|
316
367
|
- [CheckInterfaceLow](#checkinterfacelow-low-level-interface)
|
|
@@ -337,6 +388,13 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
337
388
|
- [UnlockProgramLow](#unlockprogramlow-low-level-program)
|
|
338
389
|
- [UpdateProgramLow](#updateprogramlow-low-level-program)
|
|
339
390
|
- [ValidateProgramLow](#validateprogramlow-low-level-program)
|
|
391
|
+
- [Screen](#low-level-screen)
|
|
392
|
+
- [ActivateScreenLow](#activatescreenlow-low-level-screen)
|
|
393
|
+
- [CreateScreenLow](#createscreenlow-low-level-screen)
|
|
394
|
+
- [DeleteScreenLow](#deletescreenlow-low-level-screen)
|
|
395
|
+
- [LockScreenLow](#lockscreenlow-low-level-screen)
|
|
396
|
+
- [UnlockScreenLow](#unlockscreenlow-low-level-screen)
|
|
397
|
+
- [UpdateScreenLow](#updatescreenlow-low-level-screen)
|
|
340
398
|
- [Structure](#low-level-structure)
|
|
341
399
|
- [ActivateStructureLow](#activatestructurelow-low-level-structure)
|
|
342
400
|
- [CheckStructureLow](#checkstructurelow-low-level-structure)
|
|
@@ -387,7 +445,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
387
445
|
|
|
388
446
|
**Parameters:**
|
|
389
447
|
- `behavior_definition_name` (string, required) - Behavior definition name (e.g., Z_MY_BDEF).
|
|
390
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
448
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
391
449
|
|
|
392
450
|
---
|
|
393
451
|
|
|
@@ -402,7 +460,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
402
460
|
|
|
403
461
|
**Parameters:**
|
|
404
462
|
- `behavior_implementation_name` (string, required) - Behavior implementation name (e.g., ZBP_MY_CLASS).
|
|
405
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
463
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
406
464
|
|
|
407
465
|
---
|
|
408
466
|
|
|
@@ -417,7 +475,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
417
475
|
|
|
418
476
|
**Parameters:**
|
|
419
477
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
420
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
478
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
421
479
|
|
|
422
480
|
---
|
|
423
481
|
|
|
@@ -432,7 +490,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
432
490
|
|
|
433
491
|
**Parameters:**
|
|
434
492
|
- `data_element_name` (string, required) - Data element name (e.g., Z_MY_DATA_ELEMENT).
|
|
435
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
493
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
436
494
|
|
|
437
495
|
---
|
|
438
496
|
|
|
@@ -447,13 +505,27 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
447
505
|
|
|
448
506
|
**Parameters:**
|
|
449
507
|
- `domain_name` (string, required) - Domain name (e.g., Z_MY_DOMAIN).
|
|
450
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
508
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
451
509
|
|
|
452
510
|
---
|
|
453
511
|
|
|
454
512
|
<a id="read-only-enhancement"></a>
|
|
455
513
|
### Read-Only / Enhancement
|
|
456
514
|
|
|
515
|
+
<a id="getbadiimplementations-read-only-enhancement"></a>
|
|
516
|
+
#### GetBadiImplementations (Read-Only / Enhancement)
|
|
517
|
+
**Description:** [read-only] Find implementations of a (classic) BAdI definition. Use during symptom analysis when a standard SAP BAdI is implicated — answers 'which Z class extends this standard BAdI?'. Example flow: PO BAPI error → ME_PROCESS_PO_CUST → list Z impls → read the impl class source via GetClass to find the bug. Currently ECC-only (routes through the ZMCP_ADT_DDIC_BADI bridge FM). Classic BAdI only; kernel BAdI returns kind='unknown'.
|
|
518
|
+
|
|
519
|
+
**Source:** `src/handlers/enhancement/readonly/handleGetBadiImplementations.ts`
|
|
520
|
+
|
|
521
|
+
**Parameters:**
|
|
522
|
+
- `active_only` (boolean, optional (default: true)) - Restrict to active implementations only. Default: true.
|
|
523
|
+
- `badi_definition` (string, required) - BAdI definition name (e.g., ME_PROCESS_PO_CUST). Will be uppercased.
|
|
524
|
+
- `customer_only` (boolean, optional (default: true)) - Restrict to Z*/Y* implementations. Default: true. Set false to include SAP-shipped implementations.
|
|
525
|
+
- `include_methods` (boolean, optional (default: true)) - Include the list of redefined method names per implementation (from SXC_EXIT). Default: true.
|
|
526
|
+
|
|
527
|
+
---
|
|
528
|
+
|
|
457
529
|
<a id="getenhancementimpl-read-only-enhancement"></a>
|
|
458
530
|
#### GetEnhancementImpl (Read-Only / Enhancement)
|
|
459
531
|
**Description:** [read-only] Retrieve source code of a specific enhancement implementation by its name and enhancement spot.
|
|
@@ -461,7 +533,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
461
533
|
**Source:** `src/handlers/enhancement/readonly/handleGetEnhancementImpl.ts`
|
|
462
534
|
|
|
463
535
|
**Parameters:**
|
|
464
|
-
- `enhancement_name` (string, required) -
|
|
536
|
+
- `enhancement_name` (string, required) - Name of the enhancement implementation
|
|
465
537
|
- `enhancement_spot` (string, required) - Name of the enhancement spot
|
|
466
538
|
|
|
467
539
|
---
|
|
@@ -474,7 +546,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
474
546
|
|
|
475
547
|
**Parameters:**
|
|
476
548
|
- `object_name` (string, required) - Name of the ABAP object
|
|
477
|
-
- `object_type` (string, required) -
|
|
549
|
+
- `object_type` (string, required) - Type of the ABAP object
|
|
478
550
|
|
|
479
551
|
---
|
|
480
552
|
|
|
@@ -500,7 +572,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
500
572
|
|
|
501
573
|
**Parameters:**
|
|
502
574
|
- `function_group_name` (string, required) - Function group name (e.g., Z_MY_FG).
|
|
503
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
575
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
504
576
|
|
|
505
577
|
---
|
|
506
578
|
|
|
@@ -516,7 +588,32 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
516
588
|
**Parameters:**
|
|
517
589
|
- `function_group_name` (string, required) - Function group name containing the function module (e.g., Z_MY_FG).
|
|
518
590
|
- `function_module_name` (string, required) - Function module name (e.g., Z_MY_FM).
|
|
519
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
591
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
592
|
+
|
|
593
|
+
---
|
|
594
|
+
|
|
595
|
+
<a id="read-only-gui-status"></a>
|
|
596
|
+
### Read-Only / Gui Status
|
|
597
|
+
|
|
598
|
+
<a id="getguistatuslist-read-only-gui-status"></a>
|
|
599
|
+
#### GetGuiStatusList (Read-Only / Gui Status)
|
|
600
|
+
**Description:** [read-only] List all GUI statuses belonging to an ABAP program.
|
|
601
|
+
|
|
602
|
+
**Source:** `src/handlers/gui_status/readonly/handleGetGuiStatusList.ts`
|
|
603
|
+
|
|
604
|
+
**Parameters:**
|
|
605
|
+
- `program_name` (string, required) - Program name (e.g., SAPMV45A).
|
|
606
|
+
|
|
607
|
+
---
|
|
608
|
+
|
|
609
|
+
<a id="readguistatus-read-only-gui-status"></a>
|
|
610
|
+
#### ReadGuiStatus (Read-Only / Gui Status)
|
|
611
|
+
**Description:** [read-only] Read ABAP GUI Status definition (statuses, function codes, menus, toolbars, titles) for a program.
|
|
612
|
+
|
|
613
|
+
**Source:** `src/handlers/gui_status/readonly/handleReadGuiStatus.ts`
|
|
614
|
+
|
|
615
|
+
**Parameters:**
|
|
616
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
520
617
|
|
|
521
618
|
---
|
|
522
619
|
|
|
@@ -541,10 +638,10 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
541
638
|
**Source:** `src/handlers/include/readonly/handleGetIncludesList.ts`
|
|
542
639
|
|
|
543
640
|
**Parameters:**
|
|
544
|
-
- `detailed` (boolean, optional (default: false)) -
|
|
641
|
+
- `detailed` (boolean, optional (default: false)) - If true, returns structured JSON with metadata and raw XML.
|
|
545
642
|
- `object_name` (string, required) - Name of the ABAP program or include
|
|
546
|
-
- `object_type` (string, required) -
|
|
547
|
-
- `timeout` (number, optional) -
|
|
643
|
+
- `object_type` (string, required) - ADT object type (e.g. PROG/P, PROG/I, FUGR, CLAS/OC)
|
|
644
|
+
- `timeout` (number, optional) - Timeout in ms for each ADT request.
|
|
548
645
|
|
|
549
646
|
---
|
|
550
647
|
|
|
@@ -559,7 +656,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
559
656
|
|
|
560
657
|
**Parameters:**
|
|
561
658
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_MY_INTERFACE).
|
|
562
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
659
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
563
660
|
|
|
564
661
|
---
|
|
565
662
|
|
|
@@ -574,7 +671,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
574
671
|
|
|
575
672
|
**Parameters:**
|
|
576
673
|
- `metadata_extension_name` (string, required) - Metadata extension name (e.g., Z_MY_DDLX).
|
|
577
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
674
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
578
675
|
|
|
579
676
|
---
|
|
580
677
|
|
|
@@ -600,7 +697,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
600
697
|
|
|
601
698
|
**Parameters:**
|
|
602
699
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
603
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
700
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
604
701
|
|
|
605
702
|
---
|
|
606
703
|
|
|
@@ -609,13 +706,14 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
609
706
|
|
|
610
707
|
<a id="getprogfullcode-read-only-program"></a>
|
|
611
708
|
#### GetProgFullCode (Read-Only / Program)
|
|
612
|
-
**Description:** [read-only] Returns the full code for a program or function group, including all includes, in tree traversal order.
|
|
709
|
+
**Description:** [read-only] Returns the full code for a program or function group, including all includes, in tree traversal order. Use output="file" to get paths + outlines instead of the code.
|
|
613
710
|
|
|
614
711
|
**Source:** `src/handlers/program/readonly/handleGetProgFullCode.ts`
|
|
615
712
|
|
|
616
713
|
**Parameters:**
|
|
617
|
-
- `name` (string, required) -
|
|
618
|
-
- `
|
|
714
|
+
- `name` (string, required) - Technical name of the program or function group (e.g., '/CBY/MM_INVENTORY')
|
|
715
|
+
- `output` (string, optional (default: inline)) -
|
|
716
|
+
- `type` (string, required) - 'PROG/P' for program or 'FUGR' for function group
|
|
619
717
|
|
|
620
718
|
---
|
|
621
719
|
|
|
@@ -627,7 +725,33 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
627
725
|
|
|
628
726
|
**Parameters:**
|
|
629
727
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
630
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
728
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
729
|
+
|
|
730
|
+
---
|
|
731
|
+
|
|
732
|
+
<a id="read-only-screen"></a>
|
|
733
|
+
### Read-Only / Screen
|
|
734
|
+
|
|
735
|
+
<a id="getscreenslist-read-only-screen"></a>
|
|
736
|
+
#### GetScreensList (Read-Only / Screen)
|
|
737
|
+
**Description:** [read-only] List all screens (dynpros) belonging to an ABAP program.
|
|
738
|
+
|
|
739
|
+
**Source:** `src/handlers/screen/readonly/handleGetScreensList.ts`
|
|
740
|
+
|
|
741
|
+
**Parameters:**
|
|
742
|
+
- `program_name` (string, required) - Program name (e.g., SAPMV45A).
|
|
743
|
+
|
|
744
|
+
---
|
|
745
|
+
|
|
746
|
+
<a id="readscreen-read-only-screen"></a>
|
|
747
|
+
#### ReadScreen (Read-Only / Screen)
|
|
748
|
+
**Description:** [read-only] Read ABAP Screen (Dynpro) flow logic source code, fields, and metadata.
|
|
749
|
+
|
|
750
|
+
**Source:** `src/handlers/screen/readonly/handleReadScreen.ts`
|
|
751
|
+
|
|
752
|
+
**Parameters:**
|
|
753
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
754
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
631
755
|
|
|
632
756
|
---
|
|
633
757
|
|
|
@@ -636,44 +760,45 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
636
760
|
|
|
637
761
|
<a id="getobjectsbytype-read-only-search"></a>
|
|
638
762
|
#### GetObjectsByType (Read-Only / Search)
|
|
639
|
-
**Description:** [read-only] Retrieves all ABAP objects of a specific type under a given node.
|
|
763
|
+
**Description:** [read-only] Retrieves all ABAP objects of a specific type (classes, tables, programs, interfaces, etc.) under a given parent node. Useful for listing all objects of one type within a package or composite object.
|
|
640
764
|
|
|
641
765
|
**Source:** `src/handlers/search/readonly/handleGetObjectsByType.ts`
|
|
642
766
|
|
|
643
767
|
**Parameters:**
|
|
644
|
-
- `format` (string, optional) -
|
|
768
|
+
- `format` (string, optional) - Output format: 'raw' or 'parsed'
|
|
645
769
|
- `node_id` (string, required) - [read-only] Node ID
|
|
646
|
-
- `parent_name` (string, required) -
|
|
647
|
-
- `parent_tech_name` (string, required) -
|
|
648
|
-
- `parent_type` (string, required) -
|
|
649
|
-
- `with_short_descriptions` (boolean, optional) -
|
|
770
|
+
- `parent_name` (string, required) - Parent object name
|
|
771
|
+
- `parent_tech_name` (string, required) - Parent technical name
|
|
772
|
+
- `parent_type` (string, required) - Parent object type
|
|
773
|
+
- `with_short_descriptions` (boolean, optional) - Include short descriptions
|
|
650
774
|
|
|
651
775
|
---
|
|
652
776
|
|
|
653
777
|
<a id="getobjectslist-read-only-search"></a>
|
|
654
778
|
#### GetObjectsList (Read-Only / Search)
|
|
655
|
-
**Description:** [read-only] Recursively retrieves all
|
|
779
|
+
**Description:** [read-only] Recursively retrieves all child ABAP repository objects for a given parent — programs (PROG), function groups (FUGR), classes (CLAS), packages (DEVC), and other composite objects — including nested includes and subcomponents.
|
|
656
780
|
|
|
657
781
|
**Source:** `src/handlers/search/readonly/handleGetObjectsList.ts`
|
|
658
782
|
|
|
659
783
|
**Parameters:**
|
|
660
|
-
- `parent_name` (string, required) -
|
|
661
|
-
- `parent_tech_name` (string, required) -
|
|
662
|
-
- `parent_type` (string, required) -
|
|
663
|
-
- `with_short_descriptions` (boolean, optional (default: true))) -
|
|
784
|
+
- `parent_name` (string, required) - Parent object name
|
|
785
|
+
- `parent_tech_name` (string, required) - Parent technical name
|
|
786
|
+
- `parent_type` (string, required) - Parent object type (e.g. PROG/P, FUGR)
|
|
787
|
+
- `with_short_descriptions` (boolean, optional (default: true))) - Include short descriptions (default: true)
|
|
664
788
|
|
|
665
789
|
---
|
|
666
790
|
|
|
667
791
|
<a id="searchobject-read-only-search"></a>
|
|
668
792
|
#### SearchObject (Read-Only / Search)
|
|
669
|
-
**Description:** [read-only]
|
|
793
|
+
**Description:** [read-only] Find, search, locate, or check if an ABAP repository object exists by name or wildcard pattern (e.g. 'ZOK*'). Use this tool to answer questions like 'is there a program named...', 'find all objects starting with...', 'does this class exist?', 'list objects matching...'. Supports all repository object types — optionally filter by type (PROG, CLAS, INTF, DEVC, TABL, DDLS, DTEL, FUGR, SRVD, SRVB, BDEF, DDLX, etc.).
|
|
670
794
|
|
|
671
795
|
**Source:** `src/handlers/search/readonly/handleSearchObject.ts`
|
|
672
796
|
|
|
673
797
|
**Parameters:**
|
|
674
|
-
- `
|
|
675
|
-
- `
|
|
676
|
-
- `
|
|
798
|
+
- `include_raw_xml` (boolean, optional (default: false)) - Also return the raw ADT XML (the parsed results already carry every field). Default false.
|
|
799
|
+
- `maxResults` (number, optional (default: DEFAULT_MAX_RESULTS)) - Maximum number of results to return (default ${DEFAULT_MAX_RESULTS}). The response has truncated=true when this limit was hit.
|
|
800
|
+
- `object_name` (string, required) - Object name or mask (e.g. 'MARA*')
|
|
801
|
+
- `object_type` (string, optional) - Optional ABAP object type (e.g. 'TABL', 'CLAS/OC')
|
|
677
802
|
|
|
678
803
|
---
|
|
679
804
|
|
|
@@ -702,7 +827,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
702
827
|
|
|
703
828
|
**Parameters:**
|
|
704
829
|
- `service_definition_name` (string, required) - Service definition name (e.g., Z_MY_SRVD).
|
|
705
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
830
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
706
831
|
|
|
707
832
|
---
|
|
708
833
|
|
|
@@ -717,7 +842,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
717
842
|
|
|
718
843
|
**Parameters:**
|
|
719
844
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_STRUCTURE).
|
|
720
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
845
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
721
846
|
|
|
722
847
|
---
|
|
723
848
|
|
|
@@ -731,7 +856,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
731
856
|
**Source:** `src/handlers/system/readonly/handleDescribeByList.ts`
|
|
732
857
|
|
|
733
858
|
**Parameters:**
|
|
734
|
-
- `objects` (array, required) -
|
|
859
|
+
- `objects` (array, required) - Object name (required, must be valid ABAP object name or mask)
|
|
735
860
|
|
|
736
861
|
---
|
|
737
862
|
|
|
@@ -773,7 +898,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
773
898
|
|
|
774
899
|
<a id="getadttypes-read-only-system"></a>
|
|
775
900
|
#### GetAdtTypes (Read-Only / System)
|
|
776
|
-
**Description:** [read-only] Retrieve all valid ADT object types.
|
|
901
|
+
**Description:** [read-only] Retrieve all valid ADT object types (CLAS, TABL, PROG, DEVC, FUGR, INTF, DDLS, DTEL, DOMA, SRVD, SRVB, BDEF, DDLX, etc.) or validate a specific type name.
|
|
777
902
|
|
|
778
903
|
**Source:** `src/handlers/system/readonly/handleGetAllTypes.ts`
|
|
779
904
|
|
|
@@ -784,7 +909,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
784
909
|
|
|
785
910
|
<a id="getinactiveobjects-read-only-system"></a>
|
|
786
911
|
#### GetInactiveObjects (Read-Only / System)
|
|
787
|
-
**Description:** [read-only] Get a list of inactive ABAP objects
|
|
912
|
+
**Description:** [read-only] Get a list of inactive ABAP objects — modified but not yet activated, pending activation. Shows classes, tables, CDS views, and other objects awaiting activation.
|
|
788
913
|
|
|
789
914
|
**Source:** `src/handlers/system/readonly/handleGetInactiveObjects.ts`
|
|
790
915
|
|
|
@@ -793,17 +918,29 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
793
918
|
|
|
794
919
|
---
|
|
795
920
|
|
|
921
|
+
<a id="getjobusage-read-only-system"></a>
|
|
922
|
+
#### GetJobUsage (Read-Only / System)
|
|
923
|
+
**Description:** [read-only] Check whether programs are used as background job steps (SM37 jobs, TBTCO/TBTCP): true when the program is a step of a job that is scheduled now (released/ready/active, incl. periodic) or that finished/was cancelled in the last N months. SE38/SA38 dialog runs do not count. `oldest` = start date of the oldest finished job still kept; job reorganization deletes older ones, so when `complete` is false a false means "no job since <oldest>". No user names are returned. ECC-only (ZMCP_WL_JOB_USAGE bridge FM).
|
|
924
|
+
|
|
925
|
+
**Source:** `src/handlers/system/readonly/handleGetJobUsage.ts`
|
|
926
|
+
|
|
927
|
+
**Parameters:**
|
|
928
|
+
- `months` (number, optional (default: 12)) - Months back including the current one (1-36). Default: 12.
|
|
929
|
+
- `programs` (array, required) - ABAP program names to check (e.g. ["ZMY_REPORT"]).
|
|
930
|
+
|
|
931
|
+
---
|
|
932
|
+
|
|
796
933
|
<a id="getobjectinfo-read-only-system"></a>
|
|
797
934
|
#### GetObjectInfo (Read-Only / System)
|
|
798
|
-
**Description:** [read-only] Return ABAP object tree
|
|
935
|
+
**Description:** [read-only] Return ABAP object tree structure for packages (DEVC), classes (CLAS), programs (PROG), function groups (FUGR), and other objects. Shows root, group nodes, and terminal leaves up to maxDepth. Enrich each node with description and package via SearchObject if enrich=true.
|
|
799
936
|
|
|
800
937
|
**Source:** `src/handlers/system/readonly/handleGetObjectInfo.ts`
|
|
801
938
|
|
|
802
939
|
**Parameters:**
|
|
803
|
-
- `enrich` (boolean, optional (default: true)) -
|
|
804
|
-
- `maxDepth` (integer, optional (default: 1)) -
|
|
805
|
-
- `parent_name` (string, required) -
|
|
806
|
-
- `parent_type` (string, required) -
|
|
940
|
+
- `enrich` (boolean, optional (default: true)) - Whether to add description and package via SearchObject (default true)
|
|
941
|
+
- `maxDepth` (integer, optional (default: 1)) - Maximum tree depth (default depends on type)
|
|
942
|
+
- `parent_name` (string, required) - Parent object name
|
|
943
|
+
- `parent_type` (string, required) - Parent object type (e.g. DEVC/K, CLAS/OC, PROG/P)
|
|
807
944
|
|
|
808
945
|
---
|
|
809
946
|
|
|
@@ -843,32 +980,77 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
843
980
|
|
|
844
981
|
---
|
|
845
982
|
|
|
983
|
+
<a id="getsmartformcontent-read-only-system"></a>
|
|
984
|
+
#### GetSmartFormContent (Read-Only / System)
|
|
985
|
+
**Description:** [read-only] Read what a SmartForm prints, for a preview: per page and window (position in mm) the content tree — text nodes with their lines (paragraph format + text with inline tags and &symbols&), include texts, tables / templates / loops with line types and cells, graphics, addresses, conditions; code nodes appear only as markers (no program lines). Also fetches the SmartStyles as CSS, the SE78 graphics with a fixed key as BMP files (with printed size) and the include texts with a fixed key. Graphics / texts whose key holds a &symbol& are listed under dynamicReferences. Active version, texts in the logon language. Files go under the MCP output directory (smartforms/<form>/), including <form>.content.json with the full result; summary=true answers with an overview (windows, data declarations, &symbols&, files) instead of the content tree. Needs the ZMCP_SSF_CONTENT FM and the SSF_CONTENT dispatcher action.
|
|
986
|
+
|
|
987
|
+
**Source:** `src/handlers/system/readonly/handleGetSmartFormContent.ts`
|
|
988
|
+
|
|
989
|
+
**Parameters:**
|
|
990
|
+
- `device` (string, optional) - Output device whose printer fonts the preview should assume. Default: a device whose type has fonts for most of the families of the form.
|
|
991
|
+
- `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
|
|
992
|
+
- `include_graphics` (boolean, optional) - Fetch SE78 graphics with a fixed key as BMP files. Default true.
|
|
993
|
+
- `include_styles` (boolean, optional) - Fetch the SmartStyles (form default + text node styles) as CSS. Default true.
|
|
994
|
+
- `include_texts` (boolean, optional) - Fetch include texts (SO10) with a fixed key. Default true.
|
|
995
|
+
- `summary` (boolean, optional) - Answer with an overview (windows, data declarations, &symbols&, graphics, files) instead of the full content tree; the full result is always written to files.content. Default false.
|
|
996
|
+
- `text_language` (string, optional) - Language for include texts whose key has no language: 1-char SAP key (e.g. "3") or 2-letter ISO code (e.g. "KO"). Default: the form language.
|
|
997
|
+
- `values` (object, optional) - Sample values for &symbols& in graphic keys (e.g. {"IM_SIGN": "ZSIGN"}): graphics named by a variable are then fetched too.
|
|
998
|
+
|
|
999
|
+
---
|
|
1000
|
+
|
|
1001
|
+
<a id="getsmartformlayout-read-only-system"></a>
|
|
1002
|
+
#### GetSmartFormLayout (Read-Only / System)
|
|
1003
|
+
**Description:** [read-only] Read the page and window layout of a SmartForm (active version; a never-activated form is read from its saved version, then `active` is false): per page the format, orientation, next page, CPI / LPI and style, and per window its type (MAIN / SECONDARY / ...), position and size as stored (value + unit) and converted to millimetres. Layout only: no texts, code or form interface. Needs the ZMCP_SSF_LAYOUT FM and the SSF_LAYOUT dispatcher action.
|
|
1004
|
+
|
|
1005
|
+
**Source:** `src/handlers/system/readonly/handleGetSmartFormLayout.ts`
|
|
1006
|
+
|
|
1007
|
+
**Parameters:**
|
|
1008
|
+
- `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
|
|
1009
|
+
- `language` (string, optional) - Form language: 1-char SAP key (e.g. "E", "3") or 2-letter ISO code (e.g. "EN", "KO"). Default: the master language of the form.
|
|
1010
|
+
|
|
1011
|
+
---
|
|
1012
|
+
|
|
846
1013
|
<a id="getsqlquery-read-only-system"></a>
|
|
847
1014
|
#### GetSqlQuery (Read-Only / System)
|
|
848
|
-
**Description:** [read-only] Execute
|
|
1015
|
+
**Description:** [read-only] Execute ABAP SQL SELECT queries on database tables and CDS views via SAP ADT Data Preview API. Use for ad-hoc data retrieval, row counts, and filtered queries.
|
|
849
1016
|
|
|
850
1017
|
**Source:** `src/handlers/system/readonly/handleGetSqlQuery.ts`
|
|
851
1018
|
|
|
852
1019
|
**Parameters:**
|
|
853
|
-
- `
|
|
1020
|
+
- `acknowledge_risk` (boolean, optional (default: false)) - Set to true ONLY after the user has explicitly authorized row extraction from an 'ask'-tier protected table. The approval is logged to stderr for audit. Has no effect on 'deny'-tier tables.
|
|
1021
|
+
- `row_number` (number, optional (default: 100)) - Maximum number of rows to return
|
|
854
1022
|
- `sql_query` (string, required) - SQL query to execute
|
|
855
1023
|
|
|
856
1024
|
---
|
|
857
1025
|
|
|
1026
|
+
<a id="gettcodeusage-read-only-system"></a>
|
|
1027
|
+
#### GetTcodeUsage (Read-Only / System)
|
|
1028
|
+
**Description:** [read-only] Check whether transactions were used in the last N months, from the ST03N workload monthly aggregates. Returns one boolean per transaction plus `coverage` = months that actually hold workload data; when coverage < months, false means "not used in the last <coverage> months". No user names are returned. ECC-only (ZMCP_WL_TCODE_USAGE bridge FM).
|
|
1029
|
+
|
|
1030
|
+
**Source:** `src/handlers/system/readonly/handleGetTcodeUsage.ts`
|
|
1031
|
+
|
|
1032
|
+
**Parameters:**
|
|
1033
|
+
- `destination` (string, optional) - SM59 RFC destination (on the connected system) of the system to measure, e.g. the QA or PRD system. Omitted → SAP_USAGE_RFCDEST from the profile sap.env, else the connected system. "" or "LOCAL" → the connected system.
|
|
1034
|
+
- `months` (number, optional (default: 12)) - Months back including the current one (1-36). Default: 12.
|
|
1035
|
+
- `tcodes` (array, required) - Transaction codes to check (e.g. ["VA01","ZMY_TCODE"]).
|
|
1036
|
+
|
|
1037
|
+
---
|
|
1038
|
+
|
|
858
1039
|
<a id="gettransaction-read-only-system"></a>
|
|
859
1040
|
#### GetTransaction (Read-Only / System)
|
|
860
|
-
**Description:** [read-only] Retrieve ABAP transaction details.
|
|
1041
|
+
**Description:** [read-only] Retrieve ABAP transaction (t-code) details from TSTC / TSTCP — program, screen, and kind (program, parameter transaction with its target t-code and parameters such as an SM30 view, variant transaction). Pass transaction_names for many t-codes in one call.
|
|
861
1042
|
|
|
862
1043
|
**Source:** `src/handlers/system/readonly/handleGetTransaction.ts`
|
|
863
1044
|
|
|
864
1045
|
**Parameters:**
|
|
865
|
-
- `transaction_name` (string,
|
|
1046
|
+
- `transaction_name` (string, optional) - Name of the ABAP transaction
|
|
1047
|
+
- `transaction_names` (array, optional) - Several transactions in one call (e.g. ["VA01","ZMY_TCODE"]).
|
|
866
1048
|
|
|
867
1049
|
---
|
|
868
1050
|
|
|
869
1051
|
<a id="gettypeinfo-read-only-system"></a>
|
|
870
1052
|
#### GetTypeInfo (Read-Only / System)
|
|
871
|
-
**Description:** [read-only] Retrieve ABAP type information.
|
|
1053
|
+
**Description:** [read-only] Retrieve ABAP type information for domains (DOMA), data elements (DTEL), table types, and structures. Returns field definitions, value ranges, fixed values, and DDIC metadata.
|
|
872
1054
|
|
|
873
1055
|
**Source:** `src/handlers/system/readonly/handleGetTypeInfo.ts`
|
|
874
1056
|
|
|
@@ -878,26 +1060,76 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
878
1060
|
|
|
879
1061
|
---
|
|
880
1062
|
|
|
1063
|
+
<a id="getusagesnippets-read-only-system"></a>
|
|
1064
|
+
#### GetUsageSnippets (Read-Only / System)
|
|
1065
|
+
**Description:** [read-only] Line-level where-used hits: for each referencing object, the source lines that use the searched object, with uri ".../source/main#start=<line>,<col>", line, column and the source line. Pass object_identifiers from GetWhereUsed references[].object_identifier, or object_name + object_type to run the where-used search first (customer_only / package filters apply to that search). Works on ECC 7.40 and S/4HANA.
|
|
1066
|
+
|
|
1067
|
+
**Source:** `src/handlers/system/readonly/handleGetUsageSnippets.ts`
|
|
1068
|
+
|
|
1069
|
+
**Parameters:**
|
|
1070
|
+
- `customer_only` (boolean, optional (default: false)) - With object_name: only customer referencing objects (Z / Y name, or package Z* / Y* / $*). Default: false.
|
|
1071
|
+
- `include_context` (boolean, optional (default: false)) - Include the multi-line context SAP returns per hit (description). Default: false.
|
|
1072
|
+
- `max_objects` (number, optional) - Cap on referencing objects whose snippets are fetched. Default: ${DEFAULT_MAX_OBJECTS}. truncated=true when more were available.
|
|
1073
|
+
- `object_identifiers` (array, optional) - object_identifier values from GetWhereUsed references[]. Takes precedence over object_name / object_type.
|
|
1074
|
+
- `object_name` (string, optional) - Object to search (used when object_identifiers is not given).
|
|
1075
|
+
- `object_type` (string, optional) - Object type for object_name: ${SUPPORTED_WHERE_USED_TYPES}
|
|
1076
|
+
- `package` (string, optional) - With object_name: package filter on the referencing objects (exact, or prefix with trailing *).
|
|
1077
|
+
- `timeout_ms` (number, optional) - Optional request timeout in ms per SAP request (the where-used search and each snippet batch).
|
|
1078
|
+
|
|
1079
|
+
---
|
|
1080
|
+
|
|
881
1081
|
<a id="getwhereused-read-only-system"></a>
|
|
882
1082
|
#### GetWhereUsed (Read-Only / System)
|
|
883
|
-
**Description:** [read-only]
|
|
1083
|
+
**Description:** [read-only] Find where-used references (cross-references, usages, dependencies) for ABAP objects — classes, interfaces, tables, data elements, programs, function modules, etc. Returns list of all referencing objects with their types and packages. On ECC a function module may be given by plain name (no GROUP|FM needed). Widely used SAP standard tables (e.g. VBAK) can take about 60 s and return thousands of references — use customer_only / package / max_results to shrink the answer (filtering happens after the SAP search, so it does not shorten the search time). Pass references[].object_identifier to GetUsageSnippets for line-level hits.
|
|
884
1084
|
|
|
885
1085
|
**Source:** `src/handlers/system/readonly/handleGetWhereUsed.ts`
|
|
886
1086
|
|
|
887
1087
|
**Parameters:**
|
|
888
|
-
- `
|
|
1088
|
+
- `customer_only` (boolean, optional (default: false)) - Optional. Keep only customer objects: name starting with Z / Y, or package Z* / Y* / $*. Objects in /namespace/ (SAP industry solutions, partners, generated /1.../) are dropped; for a registered customer namespace use package: "/ACME/*" instead. Default: false.
|
|
1089
|
+
- `enable_all_types` (boolean, optional (default: false)) - If true, searches in all available object types (Eclipse 'select all' behavior). Default: false (uses SAP default scope). Ignored on ECC (no scope resource).
|
|
1090
|
+
- `max_results` (number, optional) - Optional cap on references[] after filtering. Omit or 0 = no cap. truncated=true when more were found.
|
|
889
1091
|
- `object_name` (string, required) - Name of the ABAP object
|
|
890
|
-
- `object_type` (string, required) - Type of the ABAP object
|
|
1092
|
+
- `object_type` (string, required) - Type of the ABAP object: ${SUPPORTED_WHERE_USED_TYPES}
|
|
1093
|
+
- `package` (string, optional) - Optional package filter on references[].package_name: exact name, or prefix with a trailing * (e.g. ZSD*).
|
|
1094
|
+
- `timeout_ms` (number, optional) - Optional request timeout in ms for the SAP search. Default: SAP_TIMEOUT_LONG (120 s) on ECC, SAP_TIMEOUT_DEFAULT (45 s) otherwise.
|
|
1095
|
+
|
|
1096
|
+
---
|
|
1097
|
+
|
|
1098
|
+
<a id="reloadprofile-read-only-system"></a>
|
|
1099
|
+
#### ReloadProfile (Read-Only / System)
|
|
1100
|
+
**Description:** [system] Reload the active SAP profile from .sc4sap/active-profile.txt and reset the cached connection. Called by the sc4sap plugin after switching profiles. Returns the newly active alias, host, tier, and readonly status.
|
|
1101
|
+
|
|
1102
|
+
**Source:** `src/handlers/system/readonly/handleReloadProfile.ts`
|
|
1103
|
+
|
|
1104
|
+
**Parameters:**
|
|
1105
|
+
- None
|
|
1106
|
+
|
|
1107
|
+
---
|
|
1108
|
+
|
|
1109
|
+
<a id="rendersmartform-read-only-system"></a>
|
|
1110
|
+
#### RenderSmartForm (Read-Only / System)
|
|
1111
|
+
**Description:** [runs the form, no output] The output of a SmartForm as SAP prints it, for given interface values: calls the generated function module with GETOTF (no dialog, no print, no spool) and writes the OTF (text: positions, fonts, strings) and the PDF under the MCP output directory (smartforms/<form>/<form>.sap.otf.txt / .sap.pdf). The form's own program lines run as in a real print and may read the database — pass invented sample values only. Needs the ZMCP_SSF_RENDER FM and the SSF_RENDER dispatcher action.
|
|
1112
|
+
|
|
1113
|
+
**Source:** `src/handlers/system/readonly/handleRenderSmartForm.ts`
|
|
1114
|
+
|
|
1115
|
+
**Parameters:**
|
|
1116
|
+
- `device` (string, optional) - Output device whose device type sets fonts and character widths (e.g. the printer the form goes to). Default: the user default device, else a SAPWIN / PDF device.
|
|
1117
|
+
- `families` (array, optional) - Font families the form uses (from GetSmartFormContent styles). Without `device`, a device whose type has printer fonts for most of them is used, so the output shows the fonts the form was made for.
|
|
1118
|
+
- `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
|
|
1119
|
+
- `language` (string, optional) - Output language: 1-char SAP key or 2-letter ISO code. Default: logon language.
|
|
1120
|
+
- `values` (object, optional) - Interface parameter → value, in internal format: structures as objects with the ABAP component names, TABLES parameters / table types as arrays, dates "2026-10-16", times "14:00:00", amounts and quantities as numbers. Parameters left out are passed initial.
|
|
1121
|
+
- `values_file` (string, optional) - Path of a JSON file with the same object as `values` (for large interfaces). Ignored when `values` is given.
|
|
891
1122
|
|
|
892
1123
|
---
|
|
893
1124
|
|
|
894
1125
|
<a id="runtimeanalyzedump-read-only-system"></a>
|
|
895
1126
|
#### RuntimeAnalyzeDump (Read-Only / System)
|
|
896
|
-
**Description:** [runtime] Read runtime dump by ID and return
|
|
1127
|
+
**Description:** [runtime] Read runtime dump by ID and return key facts (runtime error, exception, program, termination object/line, user, date, chapter index). Set include_payload=false for facts only. Pass chapters=["developer"] to get the ST22 long text reduced to the developer chapters (~10 KB instead of ~50 KB).
|
|
897
1128
|
|
|
898
1129
|
**Source:** `src/handlers/system/readonly/handleRuntimeAnalyzeDump.ts`
|
|
899
1130
|
|
|
900
1131
|
**Parameters:**
|
|
1132
|
+
- `chapters` (array, optional) - Formatted long text only (implies view="formatted"): keep just these chapters, without box borders or padding. "developer" = Short Text, What happened?, Error analysis, Chain of Exception Objects, Information on where terminated, Source Code Extract, Active Calls/Events, User and Transaction. Other entries match chapter titles by prefix.
|
|
901
1133
|
- `dump_id` (string, required) - Runtime dump ID.
|
|
902
1134
|
- `include_payload` (boolean, optional (default: true)) - Include full parsed payload in response.
|
|
903
1135
|
- `view` (string, optional (default: default)) - Dump view mode to analyze: default payload, summary section, or formatted long text.
|
|
@@ -944,16 +1176,33 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
944
1176
|
|
|
945
1177
|
<a id="runtimegetdumpbyid-read-only-system"></a>
|
|
946
1178
|
#### RuntimeGetDumpById (Read-Only / System)
|
|
947
|
-
**Description:** [runtime] Read a specific ABAP runtime dump by dump ID.
|
|
1179
|
+
**Description:** [runtime] Read a specific ABAP runtime dump by dump ID. Default view (~7 KB): dump metadata, termination link (object + line) and chapter index. Use response_mode="summary" for key facts only (runtime error, exception, program, termination object/line, user, date). For the ST22 long text pass chapters=["developer"] (or chapter titles) to get only those chapters, compacted (~10 KB instead of ~50 KB).
|
|
948
1180
|
|
|
949
1181
|
**Source:** `src/handlers/system/readonly/handleRuntimeGetDumpById.ts`
|
|
950
1182
|
|
|
951
1183
|
**Parameters:**
|
|
1184
|
+
- `chapters` (array, optional) - Formatted long text only (implies view="formatted"): keep just these chapters, without box borders or padding. "developer" = Short Text, What happened?, Error analysis, Chain of Exception Objects, Information on where terminated, Source Code Extract, Active Calls/Events, User and Transaction. Other entries match chapter titles by prefix, e.g. "Selected Variables".
|
|
952
1185
|
- `dump_id` (string, required) - Runtime dump ID (for example: 694AB694097211F1929806D06D234D38).
|
|
1186
|
+
- `response_mode` (string, optional (default: payload)) - Controls what is returned: "payload" (default, legacy) — full parsed dump data only, "summary" — compact key facts only (title, exception, program, line, user, date...), "both" — summary + full payload.
|
|
953
1187
|
- `view` (string, optional (default: default)) - Dump view mode: default payload, summary section, or formatted long text.
|
|
954
1188
|
|
|
955
1189
|
---
|
|
956
1190
|
|
|
1191
|
+
<a id="runtimegetgatewayerrorlog-read-only-system"></a>
|
|
1192
|
+
#### RuntimeGetGatewayErrorLog (Read-Only / System)
|
|
1193
|
+
**Description:** [runtime] List SAP Gateway error log (/IWFND/ERROR_LOG) or get error detail. Returns structured entries with type, shortText, transactionId, dateTime, username. With error_url returns full detail including serviceInfo, errorContext, sourceCode, callStack.
|
|
1194
|
+
|
|
1195
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeGetGatewayErrorLog.ts`
|
|
1196
|
+
|
|
1197
|
+
**Parameters:**
|
|
1198
|
+
- `error_url` (string, optional) - Feed URL of a specific error entry (from a previous list response link field). When provided, returns detailed error info instead of listing.
|
|
1199
|
+
- `from` (string, optional) - Start of time range in YYYYMMDDHHMMSS format.
|
|
1200
|
+
- `max_results` (number, optional) - Maximum number of errors to return.
|
|
1201
|
+
- `to` (string, optional) - End of time range in YYYYMMDDHHMMSS format.
|
|
1202
|
+
- `user` (string, optional) - Filter errors by SAP username.
|
|
1203
|
+
|
|
1204
|
+
---
|
|
1205
|
+
|
|
957
1206
|
<a id="runtimegetprofilertracedata-read-only-system"></a>
|
|
958
1207
|
#### RuntimeGetProfilerTraceData (Read-Only / System)
|
|
959
1208
|
**Description:** [runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload.
|
|
@@ -972,11 +1221,12 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
972
1221
|
|
|
973
1222
|
<a id="runtimelistdumps-read-only-system"></a>
|
|
974
1223
|
#### RuntimeListDumps (Read-Only / System)
|
|
975
|
-
**Description:** [runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload.
|
|
1224
|
+
**Description:** [runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload. Each entry's HTML summary (~13 KB per dump) is omitted unless include_summary=true — use RuntimeGetDumpById / RuntimeAnalyzeDump for one dump's details.
|
|
976
1225
|
|
|
977
1226
|
**Source:** `src/handlers/system/readonly/handleRuntimeListDumps.ts`
|
|
978
1227
|
|
|
979
1228
|
**Parameters:**
|
|
1229
|
+
- `include_summary` (boolean, optional) - Keep each entry's HTML summary (atom:summary). Default false — it is ~96% of the payload and duplicates what RuntimeGetDumpById returns.
|
|
980
1230
|
- `inlinecount` (string, optional) - Include total count metadata.
|
|
981
1231
|
- `orderby` (string, optional) - ADT order by expression.
|
|
982
1232
|
- `skip` (number, optional) - Number of records to skip.
|
|
@@ -985,6 +1235,21 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
985
1235
|
|
|
986
1236
|
---
|
|
987
1237
|
|
|
1238
|
+
<a id="runtimelistfeeds-read-only-system"></a>
|
|
1239
|
+
#### RuntimeListFeeds (Read-Only / System)
|
|
1240
|
+
**Description:** [runtime] List available ADT runtime feeds or read a specific feed type. Feed types: dumps, system_messages, gateway_errors. Without feed_type returns available feed descriptors.
|
|
1241
|
+
|
|
1242
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeListFeeds.ts`
|
|
1243
|
+
|
|
1244
|
+
**Parameters:**
|
|
1245
|
+
- `feed_type` (string, optional (default: descriptors)) - Feed to read. "descriptors" lists available feeds, "variants" lists feed variants, others read that specific feed. Default: descriptors.
|
|
1246
|
+
- `from` (string, optional) - Start of time range in YYYYMMDDHHMMSS format.
|
|
1247
|
+
- `max_results` (number, optional) - Maximum number of entries to return.
|
|
1248
|
+
- `to` (string, optional) - End of time range in YYYYMMDDHHMMSS format.
|
|
1249
|
+
- `user` (string, optional) - Filter feed entries by SAP username.
|
|
1250
|
+
|
|
1251
|
+
---
|
|
1252
|
+
|
|
988
1253
|
<a id="runtimelistprofilertracefiles-read-only-system"></a>
|
|
989
1254
|
#### RuntimeListProfilerTraceFiles (Read-Only / System)
|
|
990
1255
|
**Description:** [runtime] List ABAP profiler trace files available in ADT runtime. Returns parsed JSON payload.
|
|
@@ -996,6 +1261,20 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
996
1261
|
|
|
997
1262
|
---
|
|
998
1263
|
|
|
1264
|
+
<a id="runtimelistsystemmessages-read-only-system"></a>
|
|
1265
|
+
#### RuntimeListSystemMessages (Read-Only / System)
|
|
1266
|
+
**Description:** [runtime] List SM02 system messages. Returns structured entries with id, title, text, severity, validity period, and author.
|
|
1267
|
+
|
|
1268
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeListSystemMessages.ts`
|
|
1269
|
+
|
|
1270
|
+
**Parameters:**
|
|
1271
|
+
- `from` (string, optional) - Start of time range in YYYYMMDDHHMMSS format.
|
|
1272
|
+
- `max_results` (number, optional) - Maximum number of messages to return.
|
|
1273
|
+
- `to` (string, optional) - End of time range in YYYYMMDDHHMMSS format.
|
|
1274
|
+
- `user` (string, optional) - Filter by author username.
|
|
1275
|
+
|
|
1276
|
+
---
|
|
1277
|
+
|
|
999
1278
|
<a id="runtimerunclasswithprofiling-read-only-system"></a>
|
|
1000
1279
|
#### RuntimeRunClassWithProfiling (Read-Only / System)
|
|
1001
1280
|
**Description:** [runtime] Execute ABAP class with profiler enabled and return created profilerId + traceId.
|
|
@@ -1051,7 +1330,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1051
1330
|
|
|
1052
1331
|
<a id="gettablecontents-read-only-table"></a>
|
|
1053
1332
|
#### GetTableContents (Read-Only / Table)
|
|
1054
|
-
**Description:** [read-only] Retrieve contents of an ABAP table.
|
|
1333
|
+
**Description:** [read-only] Retrieve contents (data preview) of an ABAP database table or CDS view, like SE16. Compact by default: column names only, empty cell values left out of each row, 20 rows. Use fields to keep only some columns and include_metadata for column types/descriptions.
|
|
1055
1334
|
|
|
1056
1335
|
**Source:** `src/handlers/table/readonly/handleGetTableContents.ts`
|
|
1057
1336
|
|
|
@@ -1068,7 +1347,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1068
1347
|
|
|
1069
1348
|
**Parameters:**
|
|
1070
1349
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE).
|
|
1071
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
1350
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
1072
1351
|
|
|
1073
1352
|
---
|
|
1074
1353
|
|
|
@@ -1084,6 +1363,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1084
1363
|
**Parameters:**
|
|
1085
1364
|
- `include_objects` (boolean, optional (default: true))) - Include list of objects in transport (default: true)
|
|
1086
1365
|
- `include_tasks` (boolean, optional (default: true))) - Include list of tasks in transport (default: true)
|
|
1366
|
+
- `owner` (string, optional) - SAP user who owns the transport. On ECC the session-user-scoped path endpoint silently filters out other users' TRs — pass `owner` to retry via the list endpoint. On S/4 usually unnecessary, but provide it if the path read is rejected by authorization.
|
|
1087
1367
|
- `transport_number` (string, required) - Transport request number (e.g., E19K905635, DEVK905123)
|
|
1088
1368
|
|
|
1089
1369
|
---
|
|
@@ -1110,7 +1390,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1110
1390
|
**Source:** `src/handlers/view/readonly/handleReadView.ts`
|
|
1111
1391
|
|
|
1112
1392
|
**Parameters:**
|
|
1113
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
1393
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
1114
1394
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1115
1395
|
|
|
1116
1396
|
---
|
|
@@ -1123,14 +1403,14 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1123
1403
|
|
|
1124
1404
|
<a id="createbehaviordefinition-high-level-behavior-definition"></a>
|
|
1125
1405
|
#### CreateBehaviorDefinition (High-Level / Behavior Definition)
|
|
1126
|
-
**Description:** Create a new ABAP Behavior Definition (BDEF) in SAP system.
|
|
1406
|
+
**Description:** Create a new ABAP Behavior Definition (BDEF) in SAP system. Defines RAP business object behavior: CRUD operations, validations, determinations, actions, and draft handling.
|
|
1127
1407
|
|
|
1128
1408
|
**Source:** `src/handlers/behavior_definition/high/handleCreateBehaviorDefinition.ts`
|
|
1129
1409
|
|
|
1130
1410
|
**Parameters:**
|
|
1131
1411
|
- `activate` (boolean, optional) - Activate after creation. Default: true
|
|
1132
1412
|
- `description` (string, optional) - Description
|
|
1133
|
-
- `implementation_type` (string, required) - Implementation type:
|
|
1413
|
+
- `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', 'Projection'
|
|
1134
1414
|
- `name` (string, required) - Behavior Definition name (usually same as Root Entity name)
|
|
1135
1415
|
- `package_name` (string, required) - Package name
|
|
1136
1416
|
- `root_entity` (string, required) - Root Entity name (CDS View name)
|
|
@@ -1146,7 +1426,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1146
1426
|
|
|
1147
1427
|
**Parameters:**
|
|
1148
1428
|
- `behavior_definition_name` (string, required) - BehaviorDefinition name (e.g., Z_MY_BEHAVIORDEFINITION).
|
|
1149
|
-
- `transport_request` (string, optional) - Transport request
|
|
1429
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1150
1430
|
|
|
1151
1431
|
---
|
|
1152
1432
|
|
|
@@ -1158,13 +1438,13 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1158
1438
|
|
|
1159
1439
|
**Parameters:**
|
|
1160
1440
|
- `behavior_definition_name` (string, required) - BehaviorDefinition name (e.g., Z_MY_BEHAVIORDEFINITION).
|
|
1161
|
-
- `version` (string, optional (default: active)) -
|
|
1441
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1162
1442
|
|
|
1163
1443
|
---
|
|
1164
1444
|
|
|
1165
1445
|
<a id="updatebehaviordefinition-high-level-behavior-definition"></a>
|
|
1166
1446
|
#### UpdateBehaviorDefinition (High-Level / Behavior Definition)
|
|
1167
|
-
**Description:** Update source code of an ABAP Behavior Definition.
|
|
1447
|
+
**Description:** Update source code of an ABAP Behavior Definition (BDEF). Modifies RAP business object behavior: CRUD operations, validations, determinations, actions, and draft handling.
|
|
1168
1448
|
|
|
1169
1449
|
**Source:** `src/handlers/behavior_definition/high/handleUpdateBehaviorDefinition.ts`
|
|
1170
1450
|
|
|
@@ -1173,7 +1453,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1173
1453
|
- `lock_handle` (string, optional) - Lock handle from LockObject. If not provided, will attempt to lock internally (not recommended for stateful flows).
|
|
1174
1454
|
- `name` (string, required) - Behavior Definition name
|
|
1175
1455
|
- `source_code` (string, required) - New source code
|
|
1176
|
-
- `transport_request` (string, optional) - Transport request
|
|
1456
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1177
1457
|
|
|
1178
1458
|
---
|
|
1179
1459
|
|
|
@@ -1191,7 +1471,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1191
1471
|
- `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).
|
|
1192
1472
|
- `description` (string, optional) - Class description. If not provided, class_name will be used.
|
|
1193
1473
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
1194
|
-
- `transport_request` (string, optional) - Transport request
|
|
1474
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1195
1475
|
|
|
1196
1476
|
---
|
|
1197
1477
|
|
|
@@ -1203,7 +1483,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1203
1483
|
|
|
1204
1484
|
**Parameters:**
|
|
1205
1485
|
- `behavior_implementation_name` (string, required) - BehaviorImplementation name (e.g., Z_MY_BEHAVIORIMPLEMENTATION).
|
|
1206
|
-
- `transport_request` (string, optional) - Transport request
|
|
1486
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1207
1487
|
|
|
1208
1488
|
---
|
|
1209
1489
|
|
|
@@ -1215,7 +1495,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1215
1495
|
|
|
1216
1496
|
**Parameters:**
|
|
1217
1497
|
- `behavior_implementation_name` (string, required) - BehaviorImplementation name (e.g., Z_MY_BEHAVIORIMPLEMENTATION).
|
|
1218
|
-
- `version` (string, optional (default: active)) -
|
|
1498
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1219
1499
|
|
|
1220
1500
|
---
|
|
1221
1501
|
|
|
@@ -1230,7 +1510,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1230
1510
|
- `behavior_definition` (string, required) - Behavior Definition name (e.g., ZI_MY_ENTITY). Must match the behavior definition used when creating the class.
|
|
1231
1511
|
- `class_name` (string, required) - Behavior Implementation class name (e.g., ZBP_MY_ENTITY). Must exist in the system.
|
|
1232
1512
|
- `implementation_code` (string, required) - Implementation code for the implementations include. Contains the actual behavior implementation methods.
|
|
1233
|
-
- `transport_request` (string, optional) - Transport request
|
|
1513
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
1234
1514
|
|
|
1235
1515
|
---
|
|
1236
1516
|
|
|
@@ -1251,7 +1531,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1251
1531
|
- `final` (boolean, optional) - Mark class as final. Default: false
|
|
1252
1532
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP).
|
|
1253
1533
|
- `superclass` (string, optional) - Optional superclass name.
|
|
1254
|
-
- `transport_request` (string, optional) - Transport request
|
|
1534
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1255
1535
|
|
|
1256
1536
|
---
|
|
1257
1537
|
|
|
@@ -1263,7 +1543,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1263
1543
|
|
|
1264
1544
|
**Parameters:**
|
|
1265
1545
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
1266
|
-
- `transport_request` (string, optional) - Transport request
|
|
1546
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1267
1547
|
|
|
1268
1548
|
---
|
|
1269
1549
|
|
|
@@ -1327,7 +1607,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1327
1607
|
|
|
1328
1608
|
**Parameters:**
|
|
1329
1609
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
1330
|
-
- `
|
|
1610
|
+
- `output` (string, optional (default: inline)) -
|
|
1611
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1331
1612
|
|
|
1332
1613
|
---
|
|
1333
1614
|
|
|
@@ -1339,7 +1620,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1339
1620
|
|
|
1340
1621
|
**Parameters:**
|
|
1341
1622
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
1342
|
-
- `version` (string, optional (default: active)) -
|
|
1623
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1343
1624
|
|
|
1344
1625
|
---
|
|
1345
1626
|
|
|
@@ -1351,7 +1632,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1351
1632
|
|
|
1352
1633
|
**Parameters:**
|
|
1353
1634
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
1354
|
-
- `version` (string, optional (default: active)) -
|
|
1635
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1355
1636
|
|
|
1356
1637
|
---
|
|
1357
1638
|
|
|
@@ -1363,7 +1644,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1363
1644
|
|
|
1364
1645
|
**Parameters:**
|
|
1365
1646
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
1366
|
-
- `version` (string, optional (default: active)) -
|
|
1647
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1367
1648
|
|
|
1368
1649
|
---
|
|
1369
1650
|
|
|
@@ -1375,7 +1656,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1375
1656
|
|
|
1376
1657
|
**Parameters:**
|
|
1377
1658
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
1378
|
-
- `version` (string, optional (default: active)) -
|
|
1659
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1379
1660
|
|
|
1380
1661
|
---
|
|
1381
1662
|
|
|
@@ -1389,7 +1670,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1389
1670
|
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1390
1671
|
- `class_name` (string, required) - Class name (e.g., ZCL_TEST_CLASS_001).
|
|
1391
1672
|
- `source_code` (string, required) - Complete ABAP class source code.
|
|
1392
|
-
- `transport_request` (string, optional) - Transport request
|
|
1673
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1393
1674
|
|
|
1394
1675
|
---
|
|
1395
1676
|
|
|
@@ -1449,6 +1730,22 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1449
1730
|
|
|
1450
1731
|
---
|
|
1451
1732
|
|
|
1733
|
+
<a id="high-level-common"></a>
|
|
1734
|
+
### High-Level / Common
|
|
1735
|
+
|
|
1736
|
+
<a id="activateobjects-high-level-common"></a>
|
|
1737
|
+
#### ActivateObjects (High-Level / Common)
|
|
1738
|
+
**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.
|
|
1739
|
+
|
|
1740
|
+
**Source:** `src/handlers/common/high/handleActivateObjects.ts`
|
|
1741
|
+
|
|
1742
|
+
**Parameters:**
|
|
1743
|
+
- `objects` (array, required) - Objects to activate in one batch. Supply either explicit uri, or name+type (and parent_name for FUGR/FF, FUGR/I).
|
|
1744
|
+
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default true.
|
|
1745
|
+
- `run_timeout_ms` (number, optional) - Max time to wait for the activation run to finish (runs endpoint only). Default 120000.
|
|
1746
|
+
|
|
1747
|
+
---
|
|
1748
|
+
|
|
1452
1749
|
<a id="high-level-compact"></a>
|
|
1453
1750
|
### High-Level / Compact
|
|
1454
1751
|
|
|
@@ -1588,6 +1885,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1588
1885
|
**Source:** `src/handlers/compact/high/handleHandlerDumpList.ts`
|
|
1589
1886
|
|
|
1590
1887
|
**Parameters:**
|
|
1888
|
+
- `include_summary` (boolean, optional) - Keep each dump's HTML summary (large). Default false; use HandlerDumpView for one dump.
|
|
1591
1889
|
- `inlinecount` (string, optional) - Include total count in response.
|
|
1592
1890
|
- `orderby` (string, optional) - Sort expression.
|
|
1593
1891
|
- `skip` (number, optional) - Offset for pagination.
|
|
@@ -1860,7 +2158,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1860
2158
|
|
|
1861
2159
|
**Parameters:**
|
|
1862
2160
|
- `data_element_name` (string, required) - Data element name (e.g., ZZ_E_TEST_001). Must follow SAP naming conventions.
|
|
1863
|
-
- `data_type` (string, optional (default: CHAR)) - Data type (e.g., CHAR, NUMC) or domain name when type_kind is
|
|
2161
|
+
- `data_type` (string, optional (default: CHAR)) - Data type (e.g., CHAR, NUMC) or domain name when type_kind is 'domain'.
|
|
1864
2162
|
- `decimals` (number, optional (default: 0)) - Decimal places. Usually inherited from domain.
|
|
1865
2163
|
- `description` (string, optional) - Data element description. If not provided, data_element_name will be used.
|
|
1866
2164
|
- `heading_label` (string, optional) - Heading field label (max 55 chars). Applied during update step after creation.
|
|
@@ -1872,9 +2170,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1872
2170
|
- `search_help_parameter` (string, optional) - Search help parameter. Applied during update step after creation.
|
|
1873
2171
|
- `set_get_parameter` (string, optional) - Set/Get parameter ID. Applied during update step after creation.
|
|
1874
2172
|
- `short_label` (string, optional) - Short field label (max 10 chars). Applied during update step after creation.
|
|
1875
|
-
- `transport_request` (string, optional) - Transport request
|
|
1876
|
-
- `type_kind` (string, optional (default: domain)) - Type kind:
|
|
1877
|
-
- `type_name` (string, optional) - Type name: domain name (when type_kind is
|
|
2173
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2174
|
+
- `type_kind` (string, optional (default: domain)) - Type kind: 'domain' (default), 'predefinedAbapType', 'refToPredefinedAbapType', 'refToDictionaryType', 'refToClifType'. If not specified, defaults to 'domain'.
|
|
2175
|
+
- `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')
|
|
1878
2176
|
|
|
1879
2177
|
---
|
|
1880
2178
|
|
|
@@ -1886,7 +2184,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1886
2184
|
|
|
1887
2185
|
**Parameters:**
|
|
1888
2186
|
- `data_element_name` (string, required) - Data element name (e.g., Z_MY_DATA_ELEMENT).
|
|
1889
|
-
- `transport_request` (string, optional) - Transport request
|
|
2187
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1890
2188
|
|
|
1891
2189
|
---
|
|
1892
2190
|
|
|
@@ -1898,13 +2196,30 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1898
2196
|
|
|
1899
2197
|
**Parameters:**
|
|
1900
2198
|
- `data_element_name` (string, required) - Data element name (e.g., Z_MY_DATA_ELEMENT).
|
|
1901
|
-
- `version` (string, optional (default: active)) -
|
|
2199
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1902
2200
|
|
|
1903
2201
|
---
|
|
1904
2202
|
|
|
1905
2203
|
<a id="updatedataelement-high-level-data-element"></a>
|
|
1906
2204
|
#### UpdateDataElement (High-Level / Data Element)
|
|
1907
|
-
**Description:**
|
|
2205
|
+
**Description:** Update an existing ABAP data element in SAP system.
|
|
2206
|
+
|
|
2207
|
+
Workflow:
|
|
2208
|
+
1. Gets domain info (if type_kind is 'domain') to extract dataType/length/decimals
|
|
2209
|
+
2. Acquires lock on the data element
|
|
2210
|
+
3. Updates data element with provided parameters (complete replacement)
|
|
2211
|
+
4. Unlocks data element
|
|
2212
|
+
5. Optionally activates data element (default: true)
|
|
2213
|
+
6. Returns updated data element details
|
|
2214
|
+
|
|
2215
|
+
Supported type_kind values:
|
|
2216
|
+
- domain: Based on ABAP domain (requires type_name = domain name)
|
|
2217
|
+
- predefinedAbapType: Direct ABAP type (requires data_type, length, decimals)
|
|
2218
|
+
- refToPredefinedAbapType: Reference to ABAP type (requires data_type, length, decimals)
|
|
2219
|
+
- refToDictionaryType: Reference to another data element (requires type_name = data element name)
|
|
2220
|
+
- refToClifType: Reference to class (requires type_name = class name)
|
|
2221
|
+
|
|
2222
|
+
Note: All provided parameters completely replace existing values. Field labels are truncated to max lengths (10/20/40/55).
|
|
1908
2223
|
|
|
1909
2224
|
**Source:** `src/handlers/data_element/high/handleUpdateDataElement.ts`
|
|
1910
2225
|
|
|
@@ -1923,7 +2238,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1923
2238
|
- `search_help` (string, optional) - Search help name
|
|
1924
2239
|
- `search_help_parameter` (string, optional) - Search help parameter
|
|
1925
2240
|
- `set_get_parameter` (string, optional) - Set/Get parameter ID
|
|
1926
|
-
- `transport_request` (string, optional) - Transport request
|
|
2241
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1927
2242
|
- `type_kind` (string, optional (default: domain)) - Type kind: domain, predefinedAbapType, refToPredefinedAbapType, refToDictionaryType, refToClifType
|
|
1928
2243
|
- `type_name` (string, optional) - Type name: domain name, data element name, or class name (depending on type_kind)
|
|
1929
2244
|
|
|
@@ -1934,7 +2249,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1934
2249
|
|
|
1935
2250
|
<a id="createmetadataextension-high-level-ddlx"></a>
|
|
1936
2251
|
#### CreateMetadataExtension (High-Level / Ddlx)
|
|
1937
|
-
**Description:** Create a new ABAP Metadata Extension (DDLX) in SAP system.
|
|
2252
|
+
**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.
|
|
1938
2253
|
|
|
1939
2254
|
**Source:** `src/handlers/ddlx/high/handleCreateMetadataExtension.ts`
|
|
1940
2255
|
|
|
@@ -1949,7 +2264,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1949
2264
|
|
|
1950
2265
|
<a id="updatemetadataextension-high-level-ddlx"></a>
|
|
1951
2266
|
#### UpdateMetadataExtension (High-Level / Ddlx)
|
|
1952
|
-
**Description:** Update source code of an ABAP Metadata Extension.
|
|
2267
|
+
**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.
|
|
1953
2268
|
|
|
1954
2269
|
**Source:** `src/handlers/ddlx/high/handleUpdateMetadataExtension.ts`
|
|
1955
2270
|
|
|
@@ -1958,7 +2273,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1958
2273
|
- `lock_handle` (string, optional) - Lock handle from LockObject. If not provided, will attempt to lock internally.
|
|
1959
2274
|
- `name` (string, required) - Metadata Extension name
|
|
1960
2275
|
- `source_code` (string, required) - New source code
|
|
1961
|
-
- `transport_request` (string, optional) - Transport request
|
|
2276
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1962
2277
|
|
|
1963
2278
|
---
|
|
1964
2279
|
|
|
@@ -1983,7 +2298,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1983
2298
|
- `lowercase` (boolean, optional (default: false)) - (optional) Allow lowercase input
|
|
1984
2299
|
- `package_name` (string, optional) - (optional) Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
1985
2300
|
- `sign_exists` (boolean, optional (default: false)) - (optional) Field has sign (+/-)
|
|
1986
|
-
- `transport_request` (string, optional) - (optional) Transport request
|
|
2301
|
+
- `transport_request` (string, optional) - (optional) Transport request. Required for transportable packages.
|
|
1987
2302
|
- `value_table` (string, optional) - (optional) Value table name for foreign key relationship
|
|
1988
2303
|
|
|
1989
2304
|
---
|
|
@@ -1996,7 +2311,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
1996
2311
|
|
|
1997
2312
|
**Parameters:**
|
|
1998
2313
|
- `domain_name` (string, required) - Domain name (e.g., Z_MY_DOMAIN).
|
|
1999
|
-
- `transport_request` (string, optional) - Transport request
|
|
2314
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2000
2315
|
|
|
2001
2316
|
---
|
|
2002
2317
|
|
|
@@ -2008,13 +2323,23 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2008
2323
|
|
|
2009
2324
|
**Parameters:**
|
|
2010
2325
|
- `domain_name` (string, required) - Domain name (e.g., Z_MY_DOMAIN).
|
|
2011
|
-
- `version` (string, optional (default: active)) -
|
|
2326
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2012
2327
|
|
|
2013
2328
|
---
|
|
2014
2329
|
|
|
2015
2330
|
<a id="updatedomain-high-level-domain"></a>
|
|
2016
2331
|
#### UpdateDomain (High-Level / Domain)
|
|
2017
|
-
**Description:**
|
|
2332
|
+
**Description:** Update an existing ABAP domain in SAP system.
|
|
2333
|
+
|
|
2334
|
+
Workflow:
|
|
2335
|
+
1. Acquires lock on the domain
|
|
2336
|
+
2. Updates domain with provided parameters (complete replacement)
|
|
2337
|
+
3. Performs syntax check
|
|
2338
|
+
4. Unlocks domain
|
|
2339
|
+
5. Optionally activates domain (default: true)
|
|
2340
|
+
6. Returns updated domain details
|
|
2341
|
+
|
|
2342
|
+
Note: All provided parameters completely replace existing values. Use GetDomain first to see current values if needed.
|
|
2018
2343
|
|
|
2019
2344
|
**Source:** `src/handlers/domain/high/handleUpdateDomain.ts`
|
|
2020
2345
|
|
|
@@ -2030,7 +2355,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2030
2355
|
- `lowercase` (boolean, optional) - Allow lowercase input
|
|
2031
2356
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
2032
2357
|
- `sign_exists` (boolean, optional) - Field has sign (+/-)
|
|
2033
|
-
- `transport_request` (string, optional) - Transport request
|
|
2358
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2034
2359
|
- `value_table` (string, optional) - Value table name for foreign key relationship
|
|
2035
2360
|
|
|
2036
2361
|
---
|
|
@@ -2049,7 +2374,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2049
2374
|
- `description` (string, optional) - Function group description. If not provided, function_group_name will be used.
|
|
2050
2375
|
- `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).
|
|
2051
2376
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
2052
|
-
- `transport_request` (string, optional) - Transport request
|
|
2377
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2053
2378
|
|
|
2054
2379
|
---
|
|
2055
2380
|
|
|
@@ -2063,20 +2388,20 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2063
2388
|
- `description` (string, optional) - Optional description for the function module
|
|
2064
2389
|
- `function_group_name` (string, required) - Parent function group name (e.g., ZTEST_FG_001)
|
|
2065
2390
|
- `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).
|
|
2066
|
-
- `transport_request` (string, optional) - Transport request
|
|
2391
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2067
2392
|
|
|
2068
2393
|
---
|
|
2069
2394
|
|
|
2070
2395
|
<a id="updatefunctiongroup-high-level-function"></a>
|
|
2071
2396
|
#### UpdateFunctionGroup (High-Level / Function)
|
|
2072
|
-
**Description:** Update metadata (description) of an existing ABAP function group. Function groups are containers for function modules and don
|
|
2397
|
+
**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.
|
|
2073
2398
|
|
|
2074
2399
|
**Source:** `src/handlers/function/high/handleUpdateFunctionGroup.ts`
|
|
2075
2400
|
|
|
2076
2401
|
**Parameters:**
|
|
2077
2402
|
- `description` (string, required) - New description for the function group.
|
|
2078
2403
|
- `function_group_name` (string, required) - Function group name (e.g., ZTEST_FG_001). Must exist in the system.
|
|
2079
|
-
- `transport_request` (string, optional) - Transport request
|
|
2404
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
2080
2405
|
|
|
2081
2406
|
---
|
|
2082
2407
|
|
|
@@ -2090,8 +2415,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2090
2415
|
- `activate` (boolean, optional) - Activate function module after source update. Default: false. Set to true to activate immediately.
|
|
2091
2416
|
- `function_group_name` (string, required) - Function group name containing the function module (e.g., ZOK_FG_MCP01).
|
|
2092
2417
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FM_MCP01). Function module must already exist.
|
|
2093
|
-
- `source_code` (string, required) - Complete ABAP function module source code. Must include FUNCTION statement with parameters and ENDFUNCTION. Example
|
|
2094
|
-
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable function modules.
|
|
2418
|
+
- `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.
|
|
2419
|
+
- `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".
|
|
2095
2420
|
|
|
2096
2421
|
---
|
|
2097
2422
|
|
|
@@ -2106,7 +2431,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2106
2431
|
|
|
2107
2432
|
**Parameters:**
|
|
2108
2433
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP).
|
|
2109
|
-
- `transport_request` (string, optional) - Transport request
|
|
2434
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2110
2435
|
|
|
2111
2436
|
---
|
|
2112
2437
|
|
|
@@ -2118,7 +2443,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2118
2443
|
|
|
2119
2444
|
**Parameters:**
|
|
2120
2445
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP).
|
|
2121
|
-
- `version` (string, optional (default: active)) -
|
|
2446
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2122
2447
|
|
|
2123
2448
|
---
|
|
2124
2449
|
|
|
@@ -2134,7 +2459,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2134
2459
|
**Parameters:**
|
|
2135
2460
|
- `function_group_name` (string, required) - FunctionGroup name containing the function module (e.g., Z_MY_FUNCTIONGROUP).
|
|
2136
2461
|
- `function_module_name` (string, required) - FunctionModule name (e.g., Z_MY_FUNCTIONMODULE).
|
|
2137
|
-
- `transport_request` (string, optional) - Transport request
|
|
2462
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2138
2463
|
|
|
2139
2464
|
---
|
|
2140
2465
|
|
|
@@ -2147,7 +2472,135 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2147
2472
|
**Parameters:**
|
|
2148
2473
|
- `function_group_name` (string, required) - FunctionGroup name containing the function module (e.g., Z_MY_FUNCTIONGROUP).
|
|
2149
2474
|
- `function_module_name` (string, required) - FunctionModule name (e.g., Z_MY_FUNCTIONMODULE).
|
|
2150
|
-
- `
|
|
2475
|
+
- `output` (string, optional (default: inline)) -
|
|
2476
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2477
|
+
|
|
2478
|
+
---
|
|
2479
|
+
|
|
2480
|
+
<a id="high-level-gui-status"></a>
|
|
2481
|
+
### High-Level / Gui Status
|
|
2482
|
+
|
|
2483
|
+
<a id="createguistatus-high-level-gui-status"></a>
|
|
2484
|
+
#### CreateGuiStatus (High-Level / Gui Status)
|
|
2485
|
+
**Description:** Create a new ABAP GUI Status on an existing program. Optionally activates after creation.
|
|
2486
|
+
|
|
2487
|
+
**Source:** `src/handlers/gui_status/high/handleCreateGuiStatus.ts`
|
|
2488
|
+
|
|
2489
|
+
**Parameters:**
|
|
2490
|
+
- `activate` (boolean, optional) - Activate after creation. Default: false.
|
|
2491
|
+
- `description` (string, optional) - GUI Status description.
|
|
2492
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
2493
|
+
- `status_name` (string, required) - GUI Status name to create (e.g., MAIN_STATUS).
|
|
2494
|
+
- `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".
|
|
2495
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2496
|
+
|
|
2497
|
+
---
|
|
2498
|
+
|
|
2499
|
+
<a id="deleteguistatus-high-level-gui-status"></a>
|
|
2500
|
+
#### DeleteGuiStatus (High-Level / Gui Status)
|
|
2501
|
+
**Description:** Delete an ABAP GUI Status from a program. Handles lock/unlock automatically.
|
|
2502
|
+
|
|
2503
|
+
**Source:** `src/handlers/gui_status/high/handleDeleteGuiStatus.ts`
|
|
2504
|
+
|
|
2505
|
+
**Parameters:**
|
|
2506
|
+
- `program_name` (string, required) - Parent program name.
|
|
2507
|
+
- `status_name` (string, required) - GUI Status name to delete.
|
|
2508
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2509
|
+
|
|
2510
|
+
---
|
|
2511
|
+
|
|
2512
|
+
<a id="getguistatus-high-level-gui-status"></a>
|
|
2513
|
+
#### GetGuiStatus (High-Level / Gui Status)
|
|
2514
|
+
**Description:** Get ABAP GUI Status definition including statuses, function codes, menus, toolbars, and titles. A large program interface is big: pass status_name and/or function_codes to narrow every table, and format="compact" for one line per function (code, text, icon, function key, toolbar).
|
|
2515
|
+
|
|
2516
|
+
**Source:** `src/handlers/gui_status/high/handleGetGuiStatus.ts`
|
|
2517
|
+
|
|
2518
|
+
**Parameters:**
|
|
2519
|
+
- `format` (string, optional) - full (default) = CUA tables; compact = { statuses: [{ code, type, functions: [{ code, text, icon?, fkey?, toolbar? }] }] }.
|
|
2520
|
+
- `function_codes` (array, optional) - Optional: function codes to keep (e.g. ["SAVE", "CRPO"]). Narrows FUN / SET / PFK / BUT to them.
|
|
2521
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
2522
|
+
- `status_name` (string, optional) - Optional: one GUI Status name. Narrows every table to that status (its SET functions, FUN texts, PFK keys, BUT toolbar, ACT / MEN / MTX menus); TIT / DOC / BIV are left out. If omitted, returns all statuses.
|
|
2523
|
+
|
|
2524
|
+
---
|
|
2525
|
+
|
|
2526
|
+
<a id="patchguistatus-high-level-gui-status"></a>
|
|
2527
|
+
#### PatchGuiStatus (High-Level / Gui Status)
|
|
2528
|
+
**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.
|
|
2529
|
+
|
|
2530
|
+
**Source:** `src/handlers/gui_status/high/handlePatchGuiStatus.ts`
|
|
2531
|
+
|
|
2532
|
+
**Parameters:**
|
|
2533
|
+
- `activate` (boolean, optional) - Activate after patch. Default: false.
|
|
2534
|
+
- `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.
|
|
2535
|
+
- `program_name` (string, required) - Parent program name.
|
|
2536
|
+
- `skip_validation` (boolean, optional) - Skip client-side validation of the merged result. Default: false.
|
|
2537
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2538
|
+
|
|
2539
|
+
---
|
|
2540
|
+
|
|
2541
|
+
<a id="updateguistatus-high-level-gui-status"></a>
|
|
2542
|
+
#### UpdateGuiStatus (High-Level / Gui Status)
|
|
2543
|
+
**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.
|
|
2544
|
+
|
|
2545
|
+
**Source:** `src/handlers/gui_status/high/handleUpdateGuiStatus.ts`
|
|
2546
|
+
|
|
2547
|
+
**Parameters:**
|
|
2548
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
2549
|
+
- `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.
|
|
2550
|
+
- `program_name` (string, required) - Parent program name.
|
|
2551
|
+
- `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.
|
|
2552
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2553
|
+
|
|
2554
|
+
---
|
|
2555
|
+
|
|
2556
|
+
<a id="high-level-include"></a>
|
|
2557
|
+
### High-Level / Include
|
|
2558
|
+
|
|
2559
|
+
<a id="createinclude-high-level-include"></a>
|
|
2560
|
+
#### CreateInclude (High-Level / Include)
|
|
2561
|
+
**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.
|
|
2562
|
+
|
|
2563
|
+
**Source:** `src/handlers/include/high/handleCreateInclude.ts`
|
|
2564
|
+
|
|
2565
|
+
**Parameters:**
|
|
2566
|
+
- `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.
|
|
2567
|
+
- `description` (string, optional) - Include description (max 60 chars). If not provided, include_name will be used.
|
|
2568
|
+
- `include_name` (string, required) - Include program name (e.g., ZPAEK_TEST_INC01). Must follow SAP naming conventions (start with Z or Y).
|
|
2569
|
+
- `insert_into_main` (boolean, optional) - Auto-insert `INCLUDE <name>.` statement into the main program source. Default: true. Set false to skip main-program modification.
|
|
2570
|
+
- `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.
|
|
2571
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects).
|
|
2572
|
+
- `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.
|
|
2573
|
+
- `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).
|
|
2574
|
+
- `transport_request` (string, optional) - Transport request number (e.g., S4HK904224). Required for transportable packages. Optional for local ($TMP) objects.
|
|
2575
|
+
|
|
2576
|
+
---
|
|
2577
|
+
|
|
2578
|
+
<a id="deleteinclude-high-level-include"></a>
|
|
2579
|
+
#### DeleteInclude (High-Level / Include)
|
|
2580
|
+
**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.
|
|
2581
|
+
|
|
2582
|
+
**Source:** `src/handlers/include/high/handleDeleteInclude.ts`
|
|
2583
|
+
|
|
2584
|
+
**Parameters:**
|
|
2585
|
+
- `include_name` (string, required) - Include program name to delete.
|
|
2586
|
+
- `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).
|
|
2587
|
+
- `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.
|
|
2588
|
+
- `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.
|
|
2589
|
+
|
|
2590
|
+
---
|
|
2591
|
+
|
|
2592
|
+
<a id="updateinclude-high-level-include"></a>
|
|
2593
|
+
#### UpdateInclude (High-Level / Include)
|
|
2594
|
+
**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.
|
|
2595
|
+
|
|
2596
|
+
**Source:** `src/handlers/include/high/handleUpdateInclude.ts`
|
|
2597
|
+
|
|
2598
|
+
**Parameters:**
|
|
2599
|
+
- `activate` (boolean, optional) - Activate include after source update. Default: false. Set to true to activate immediately.
|
|
2600
|
+
- `include_name` (string, required) - Include program name. Must already exist as Type I include in SAP.
|
|
2601
|
+
- `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.
|
|
2602
|
+
- `source_code` (string, required) - Complete ABAP include source code. Do NOT include a REPORT statement — include programs start directly with code or comments.
|
|
2603
|
+
- `transport_request` (string, optional) - Transport request number. Required for transportable packages.
|
|
2151
2604
|
|
|
2152
2605
|
---
|
|
2153
2606
|
|
|
@@ -2164,7 +2617,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2164
2617
|
- `description` (string, optional) - Interface description. If not provided, interface_name will be used.
|
|
2165
2618
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
|
|
2166
2619
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
2167
|
-
- `transport_request` (string, optional) - Transport request
|
|
2620
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2168
2621
|
|
|
2169
2622
|
---
|
|
2170
2623
|
|
|
@@ -2176,7 +2629,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2176
2629
|
|
|
2177
2630
|
**Parameters:**
|
|
2178
2631
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
2179
|
-
- `transport_request` (string, optional) - Transport request
|
|
2632
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2180
2633
|
|
|
2181
2634
|
---
|
|
2182
2635
|
|
|
@@ -2188,7 +2641,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2188
2641
|
|
|
2189
2642
|
**Parameters:**
|
|
2190
2643
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
2191
|
-
- `
|
|
2644
|
+
- `output` (string, optional (default: inline)) -
|
|
2645
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2192
2646
|
|
|
2193
2647
|
---
|
|
2194
2648
|
|
|
@@ -2202,7 +2656,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2202
2656
|
- `activate` (boolean, optional) - Activate interface after update. Default: true.
|
|
2203
2657
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_MY_INTERFACE). Must exist in the system.
|
|
2204
2658
|
- `source_code` (string, required) - Complete ABAP interface source code with INTERFACE...ENDINTERFACE section.
|
|
2205
|
-
- `transport_request` (string, optional) - Transport request
|
|
2659
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
2206
2660
|
|
|
2207
2661
|
---
|
|
2208
2662
|
|
|
@@ -2217,7 +2671,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2217
2671
|
|
|
2218
2672
|
**Parameters:**
|
|
2219
2673
|
- `metadata_extension_name` (string, required) - MetadataExtension name (e.g., Z_MY_METADATAEXTENSION).
|
|
2220
|
-
- `transport_request` (string, optional) - Transport request
|
|
2674
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2221
2675
|
|
|
2222
2676
|
---
|
|
2223
2677
|
|
|
@@ -2229,7 +2683,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2229
2683
|
|
|
2230
2684
|
**Parameters:**
|
|
2231
2685
|
- `metadata_extension_name` (string, required) - MetadataExtension name (e.g., Z_MY_METADATAEXTENSION).
|
|
2232
|
-
- `version` (string, optional (default: active)) -
|
|
2686
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2233
2687
|
|
|
2234
2688
|
---
|
|
2235
2689
|
|
|
@@ -2255,7 +2709,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2255
2709
|
|
|
2256
2710
|
**Parameters:**
|
|
2257
2711
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
2258
|
-
- `version` (string, optional (default: active)) -
|
|
2712
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2259
2713
|
|
|
2260
2714
|
---
|
|
2261
2715
|
|
|
@@ -2269,12 +2723,12 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2269
2723
|
**Source:** `src/handlers/program/high/handleCreateProgram.ts`
|
|
2270
2724
|
|
|
2271
2725
|
**Parameters:**
|
|
2272
|
-
- `application` (string, optional) - Application area (e.g.,
|
|
2726
|
+
- `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
|
|
2273
2727
|
- `description` (string, optional) - Program description. If not provided, program_name will be used.
|
|
2274
2728
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
2275
2729
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y).
|
|
2276
|
-
- `program_type` (string, optional) - Program type:
|
|
2277
|
-
- `transport_request` (string, optional) - Transport request
|
|
2730
|
+
- `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
|
|
2731
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2278
2732
|
|
|
2279
2733
|
---
|
|
2280
2734
|
|
|
@@ -2286,7 +2740,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2286
2740
|
|
|
2287
2741
|
**Parameters:**
|
|
2288
2742
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
2289
|
-
- `transport_request` (string, optional) - Transport request
|
|
2743
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2290
2744
|
|
|
2291
2745
|
---
|
|
2292
2746
|
|
|
@@ -2297,8 +2751,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2297
2751
|
**Source:** `src/handlers/program/high/handleGetProgram.ts`
|
|
2298
2752
|
|
|
2299
2753
|
**Parameters:**
|
|
2754
|
+
- `output` (string, optional (default: inline)) -
|
|
2300
2755
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
2301
|
-
- `version` (string, optional (default: active)) -
|
|
2756
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2302
2757
|
|
|
2303
2758
|
---
|
|
2304
2759
|
|
|
@@ -2312,7 +2767,66 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2312
2767
|
- `activate` (boolean, optional) - Activate program after source update. Default: false. Set to true to activate immediately, or use ActivateObject for batch activation.
|
|
2313
2768
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Program must already exist.
|
|
2314
2769
|
- `source_code` (string, required) - Complete ABAP program source code.
|
|
2315
|
-
- `transport_request` (string, optional) - Transport request
|
|
2770
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2771
|
+
|
|
2772
|
+
---
|
|
2773
|
+
|
|
2774
|
+
<a id="high-level-screen"></a>
|
|
2775
|
+
### High-Level / Screen
|
|
2776
|
+
|
|
2777
|
+
<a id="createscreen-high-level-screen"></a>
|
|
2778
|
+
#### CreateScreen (High-Level / Screen)
|
|
2779
|
+
**Description:** Create a new ABAP Screen (Dynpro) on an existing program. Optionally activates.
|
|
2780
|
+
|
|
2781
|
+
**Source:** `src/handlers/screen/high/handleCreateScreen.ts`
|
|
2782
|
+
|
|
2783
|
+
**Parameters:**
|
|
2784
|
+
- `activate` (boolean, optional) - Activate after creation. Default: false.
|
|
2785
|
+
- `description` (string, optional) - Screen description.
|
|
2786
|
+
- `dynpro_data` (string, optional) - Full screen definition as JSON. If omitted, creates minimal screen.
|
|
2787
|
+
- `program_name` (string, required) - Parent program name.
|
|
2788
|
+
- `screen_number` (string, required) - Screen number to create (e.g., 0100).
|
|
2789
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2790
|
+
|
|
2791
|
+
---
|
|
2792
|
+
|
|
2793
|
+
<a id="deletescreen-high-level-screen"></a>
|
|
2794
|
+
#### DeleteScreen (High-Level / Screen)
|
|
2795
|
+
**Description:** Delete an ABAP Screen (Dynpro) from a program. Handles lock/unlock automatically.
|
|
2796
|
+
|
|
2797
|
+
**Source:** `src/handlers/screen/high/handleDeleteScreen.ts`
|
|
2798
|
+
|
|
2799
|
+
**Parameters:**
|
|
2800
|
+
- `program_name` (string, required) - Parent program name.
|
|
2801
|
+
- `screen_number` (string, required) - Screen number to delete.
|
|
2802
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2803
|
+
|
|
2804
|
+
---
|
|
2805
|
+
|
|
2806
|
+
<a id="getscreen-high-level-screen"></a>
|
|
2807
|
+
#### GetScreen (High-Level / Screen)
|
|
2808
|
+
**Description:** Get ABAP Screen (Dynpro) definition including metadata, fields, and flow logic source code.
|
|
2809
|
+
|
|
2810
|
+
**Source:** `src/handlers/screen/high/handleGetScreen.ts`
|
|
2811
|
+
|
|
2812
|
+
**Parameters:**
|
|
2813
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
2814
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
2815
|
+
|
|
2816
|
+
---
|
|
2817
|
+
|
|
2818
|
+
<a id="updatescreen-high-level-screen"></a>
|
|
2819
|
+
#### UpdateScreen (High-Level / Screen)
|
|
2820
|
+
**Description:** Update an ABAP Screen (Dynpro) definition. Provide full screen data as JSON. Handles lock/unlock automatically.
|
|
2821
|
+
|
|
2822
|
+
**Source:** `src/handlers/screen/high/handleUpdateScreen.ts`
|
|
2823
|
+
|
|
2824
|
+
**Parameters:**
|
|
2825
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
2826
|
+
- `dynpro_data` (string, required) - Complete screen definition as JSON (from GetScreen/ReadScreen).
|
|
2827
|
+
- `program_name` (string, required) - Parent program name.
|
|
2828
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
2829
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2316
2830
|
|
|
2317
2831
|
---
|
|
2318
2832
|
|
|
@@ -2360,7 +2874,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2360
2874
|
**Source:** `src/handlers/service_binding/high/handleGetServiceBinding.ts`
|
|
2361
2875
|
|
|
2362
2876
|
**Parameters:**
|
|
2363
|
-
- `response_format` (string, optional (default: xml)) - Preferred response format.
|
|
2877
|
+
- `response_format` (string, optional (default: xml)) - Preferred response format. "json" requests JSON from endpoint, "xml" parses XML payload, "plain" returns raw text.
|
|
2364
2878
|
- `service_binding_name` (string, required) - Service binding name (for example: ZUI_MY_BINDING). Case-insensitive.
|
|
2365
2879
|
|
|
2366
2880
|
---
|
|
@@ -2422,7 +2936,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2422
2936
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
2423
2937
|
- `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must follow SAP naming conventions (start with Z or Y).
|
|
2424
2938
|
- `source_code` (string, optional) - Service definition source code (optional). If not provided, a minimal template will be created.
|
|
2425
|
-
- `transport_request` (string, optional) - Transport request
|
|
2939
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2426
2940
|
|
|
2427
2941
|
---
|
|
2428
2942
|
|
|
@@ -2434,7 +2948,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2434
2948
|
|
|
2435
2949
|
**Parameters:**
|
|
2436
2950
|
- `service_definition_name` (string, required) - ServiceDefinition name (e.g., Z_MY_SERVICEDEFINITION).
|
|
2437
|
-
- `transport_request` (string, optional) - Transport request
|
|
2951
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2438
2952
|
|
|
2439
2953
|
---
|
|
2440
2954
|
|
|
@@ -2446,7 +2960,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2446
2960
|
|
|
2447
2961
|
**Parameters:**
|
|
2448
2962
|
- `service_definition_name` (string, required) - ServiceDefinition name (e.g., Z_MY_SERVICEDEFINITION).
|
|
2449
|
-
- `version` (string, optional (default: active)) -
|
|
2963
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2450
2964
|
|
|
2451
2965
|
---
|
|
2452
2966
|
|
|
@@ -2460,7 +2974,38 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2460
2974
|
- `activate` (boolean, optional) - Activate service definition after update. Default: true.
|
|
2461
2975
|
- `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must exist in the system.
|
|
2462
2976
|
- `source_code` (string, required) - Complete service definition source code.
|
|
2463
|
-
- `transport_request` (string, optional) - Transport request
|
|
2977
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
2978
|
+
|
|
2979
|
+
---
|
|
2980
|
+
|
|
2981
|
+
<a id="high-level-smartform"></a>
|
|
2982
|
+
### High-Level / Smartform
|
|
2983
|
+
|
|
2984
|
+
<a id="createsmartform-high-level-smartform"></a>
|
|
2985
|
+
#### CreateSmartForm (High-Level / Smartform)
|
|
2986
|
+
**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.
|
|
2987
|
+
|
|
2988
|
+
**Source:** `src/handlers/smartform/high/handleCreateSmartForm.ts`
|
|
2989
|
+
|
|
2990
|
+
**Parameters:**
|
|
2991
|
+
- `activate` (boolean, optional) - Check and store active. Default true; false stores the form inactive without a check.
|
|
2992
|
+
- `form_name` (string, required) - Target SmartForm name, Z* or Y* (e.g. "ZMY_FORM").
|
|
2993
|
+
- `overwrite` (boolean, optional) - Replace the form when it exists. Default false (an existing form is refused).
|
|
2994
|
+
- `package_name` (string, optional) - Package. Default $TMP; any other package needs transport_request.
|
|
2995
|
+
- `transport_request` (string, optional) - Transport request the form is recorded in.
|
|
2996
|
+
- `xml_file` (string, required) - Path of the Form Builder XML file (UTF-8).
|
|
2997
|
+
|
|
2998
|
+
---
|
|
2999
|
+
|
|
3000
|
+
<a id="deletesmartform-high-level-smartform"></a>
|
|
3001
|
+
#### DeleteSmartForm (High-Level / Smartform)
|
|
3002
|
+
**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.
|
|
3003
|
+
|
|
3004
|
+
**Source:** `src/handlers/smartform/high/handleDeleteSmartForm.ts`
|
|
3005
|
+
|
|
3006
|
+
**Parameters:**
|
|
3007
|
+
- `confirm` (boolean, optional) - true = really delete. Default false (dry run).
|
|
3008
|
+
- `form_name` (string, required) - SmartForm name, Z* or Y*.
|
|
2464
3009
|
|
|
2465
3010
|
---
|
|
2466
3011
|
|
|
@@ -2480,7 +3025,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2480
3025
|
- `includes` (array, optional) - Include other structures in this structure
|
|
2481
3026
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
2482
3027
|
- `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Must follow SAP naming conventions.
|
|
2483
|
-
- `transport_request` (string, optional) - Transport request
|
|
3028
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2484
3029
|
|
|
2485
3030
|
---
|
|
2486
3031
|
|
|
@@ -2492,7 +3037,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2492
3037
|
|
|
2493
3038
|
**Parameters:**
|
|
2494
3039
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_STRUCTURE).
|
|
2495
|
-
- `transport_request` (string, optional) - Transport request
|
|
3040
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2496
3041
|
|
|
2497
3042
|
---
|
|
2498
3043
|
|
|
@@ -2504,7 +3049,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2504
3049
|
|
|
2505
3050
|
**Parameters:**
|
|
2506
3051
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_STRUCTURE).
|
|
2507
|
-
- `version` (string, optional (default: active)) -
|
|
3052
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2508
3053
|
|
|
2509
3054
|
---
|
|
2510
3055
|
|
|
@@ -2516,9 +3061,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2516
3061
|
|
|
2517
3062
|
**Parameters:**
|
|
2518
3063
|
- `activate` (boolean, optional) - Activate structure after source update. Default: true.
|
|
2519
|
-
- `ddl_code` (string, required) - Complete DDL source code for structure. Example:
|
|
3064
|
+
- `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); }'
|
|
2520
3065
|
- `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Structure must already exist.
|
|
2521
|
-
- `transport_request` (string, optional) - Transport request
|
|
3066
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
2522
3067
|
|
|
2523
3068
|
---
|
|
2524
3069
|
|
|
@@ -2536,7 +3081,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2536
3081
|
- `include_descriptions` (boolean, optional (default: true)) - Include object descriptions in response. Default: true
|
|
2537
3082
|
- `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
|
|
2538
3083
|
- `max_depth` (integer, optional (default: 5)) - Maximum depth for recursive package traversal. Default: 5
|
|
2539
|
-
- `package_name` (string, required) - Package name (e.g.,
|
|
3084
|
+
- `package_name` (string, required) - Package name (e.g., "ZMY_PACKAGE")
|
|
2540
3085
|
|
|
2541
3086
|
---
|
|
2542
3087
|
|
|
@@ -2553,7 +3098,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2553
3098
|
- `description` (string, optional) - Table description for validation and creation.
|
|
2554
3099
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
2555
3100
|
- `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Must follow SAP naming conventions.
|
|
2556
|
-
- `transport_request` (string, optional) - Transport request
|
|
3101
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2557
3102
|
|
|
2558
3103
|
---
|
|
2559
3104
|
|
|
@@ -2565,7 +3110,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2565
3110
|
|
|
2566
3111
|
**Parameters:**
|
|
2567
3112
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE).
|
|
2568
|
-
- `transport_request` (string, optional) - Transport request
|
|
3113
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2569
3114
|
|
|
2570
3115
|
---
|
|
2571
3116
|
|
|
@@ -2577,7 +3122,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2577
3122
|
|
|
2578
3123
|
**Parameters:**
|
|
2579
3124
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE).
|
|
2580
|
-
- `version` (string, optional (default: active)) -
|
|
3125
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2581
3126
|
|
|
2582
3127
|
---
|
|
2583
3128
|
|
|
@@ -2589,9 +3134,104 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2589
3134
|
|
|
2590
3135
|
**Parameters:**
|
|
2591
3136
|
- `activate` (boolean, optional) - Activate table after source update. Default: true.
|
|
2592
|
-
- `ddl_code` (string, required) - Complete DDL source code for
|
|
3137
|
+
- `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); }'
|
|
2593
3138
|
- `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Table must already exist.
|
|
2594
|
-
- `transport_request` (string, optional) - Transport request
|
|
3139
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
3140
|
+
|
|
3141
|
+
---
|
|
3142
|
+
|
|
3143
|
+
<a id="high-level-text-element"></a>
|
|
3144
|
+
### High-Level / Text Element
|
|
3145
|
+
|
|
3146
|
+
<a id="createtextelement-high-level-text-element"></a>
|
|
3147
|
+
#### CreateTextElement (High-Level / Text Element)
|
|
3148
|
+
**Description:** Add a text element (text symbol, selection text, program title, or list heading) to an ABAP program. Optionally activates after write.
|
|
3149
|
+
|
|
3150
|
+
**Source:** `src/handlers/text_element/high/handleCreateTextElement.ts`
|
|
3151
|
+
|
|
3152
|
+
**Parameters:**
|
|
3153
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
3154
|
+
- `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).
|
|
3155
|
+
- `language` (string, optional) - Language key (1-char). Defaults to SAP logon language.
|
|
3156
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
3157
|
+
- `text` (string, required) - Text content (max ${MAX_ENTRY_LEN} characters).
|
|
3158
|
+
- `text_type` (string, required) - "I"=text symbol (TEXT-xxx), "S"=selection text, "R"=program title, "H"=list heading.
|
|
3159
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
3160
|
+
|
|
3161
|
+
---
|
|
3162
|
+
|
|
3163
|
+
<a id="deletetextelement-high-level-text-element"></a>
|
|
3164
|
+
#### DeleteTextElement (High-Level / Text Element)
|
|
3165
|
+
**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.
|
|
3166
|
+
|
|
3167
|
+
**Source:** `src/handlers/text_element/high/handleDeleteTextElement.ts`
|
|
3168
|
+
|
|
3169
|
+
**Parameters:**
|
|
3170
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
3171
|
+
- `key` (string, optional) - Row key, or "*" to delete every row of the given text_type.
|
|
3172
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
3173
|
+
- `program_name` (string, required) - Parent program name.
|
|
3174
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H", or "*" to wipe every row in the language.
|
|
3175
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
3176
|
+
|
|
3177
|
+
---
|
|
3178
|
+
|
|
3179
|
+
<a id="gettextelement-high-level-text-element"></a>
|
|
3180
|
+
#### GetTextElement (High-Level / Text Element)
|
|
3181
|
+
**Description:** Read ABAP program text pool (text symbols, selection texts, title, headings). Optionally filter by text_type / key.
|
|
3182
|
+
|
|
3183
|
+
**Source:** `src/handlers/text_element/high/handleGetTextElement.ts`
|
|
3184
|
+
|
|
3185
|
+
**Parameters:**
|
|
3186
|
+
- `key` (string, optional) - Optional: filter by row key (e.g., "001" for text symbol TEXT-001, or a parameter name for selection text).
|
|
3187
|
+
- `language` (string, optional) - Language key (1-char, e.g., "E", "D", "K"). Defaults to the SAP logon language.
|
|
3188
|
+
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
3189
|
+
- `text_type` (string, optional) - Filter by ID: "I"=text symbol, "S"=selection text, "R"=program title, "H"=list heading.
|
|
3190
|
+
|
|
3191
|
+
---
|
|
3192
|
+
|
|
3193
|
+
<a id="readtextelementsbulk-high-level-text-element"></a>
|
|
3194
|
+
#### ReadTextElementsBulk (High-Level / Text Element)
|
|
3195
|
+
**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.
|
|
3196
|
+
|
|
3197
|
+
**Source:** `src/handlers/text_element/high/handleReadTextElementsBulk.ts`
|
|
3198
|
+
|
|
3199
|
+
**Parameters:**
|
|
3200
|
+
- `language` (string, optional) - 1-char language. Defaults to SAP logon language.
|
|
3201
|
+
- `program_name` (string, required) - Program name.
|
|
3202
|
+
|
|
3203
|
+
---
|
|
3204
|
+
|
|
3205
|
+
<a id="updatetextelement-high-level-text-element"></a>
|
|
3206
|
+
#### UpdateTextElement (High-Level / Text Element)
|
|
3207
|
+
**Description:** Update an existing text element in an ABAP program text pool. Handles lock/unlock automatically.
|
|
3208
|
+
|
|
3209
|
+
**Source:** `src/handlers/text_element/high/handleUpdateTextElement.ts`
|
|
3210
|
+
|
|
3211
|
+
**Parameters:**
|
|
3212
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
3213
|
+
- `key` (string, optional) - Row key. Required except for "R" (single program title).
|
|
3214
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
3215
|
+
- `program_name` (string, required) - Parent program name.
|
|
3216
|
+
- `text` (string, required) - New text content (max ${MAX_ENTRY_LEN} characters).
|
|
3217
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H" — see GetTextElement.
|
|
3218
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
3219
|
+
|
|
3220
|
+
---
|
|
3221
|
+
|
|
3222
|
+
<a id="writetextelementsbulk-high-level-text-element"></a>
|
|
3223
|
+
#### WriteTextElementsBulk (High-Level / Text Element)
|
|
3224
|
+
**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.
|
|
3225
|
+
|
|
3226
|
+
**Source:** `src/handlers/text_element/high/handleWriteTextElementsBulk.ts`
|
|
3227
|
+
|
|
3228
|
+
**Parameters:**
|
|
3229
|
+
- `activate` (boolean, optional) - false (default) — stage as INACTIVE (program activation promotes). true — write ACTIVE immediately.
|
|
3230
|
+
- `language` (string, optional) - 1-char language key (e.g. "K" for Korean). Defaults to SAP logon language.
|
|
3231
|
+
- `program_name` (string, required) - Parent program name.
|
|
3232
|
+
- `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).
|
|
3233
|
+
- `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".
|
|
3234
|
+
- `transport_request` (string, optional) - Transport request number (informational).
|
|
2595
3235
|
|
|
2596
3236
|
---
|
|
2597
3237
|
|
|
@@ -2607,8 +3247,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2607
3247
|
**Parameters:**
|
|
2608
3248
|
- `description` (string, required) - Transport request description (mandatory)
|
|
2609
3249
|
- `owner` (string, optional) - Transport owner (optional, defaults to current user)
|
|
2610
|
-
- `target_system` (string, optional) - Target system for transport (optional, e.g.,
|
|
2611
|
-
- `transport_type` (string, optional (default: workbench)) - Transport type:
|
|
3250
|
+
- `target_system` (string, optional) - Target system for transport (optional, e.g., 'PRD', 'QAS'). If not provided or empty, uses 'LOCAL'
|
|
3251
|
+
- `transport_type` (string, optional (default: workbench)) - Transport type: 'workbench' (cross-client) or 'customizing' (client-specific)
|
|
2612
3252
|
|
|
2613
3253
|
---
|
|
2614
3254
|
|
|
@@ -2626,7 +3266,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2626
3266
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
2627
3267
|
- `description` (string, optional) - Optional description for the global test class.
|
|
2628
3268
|
- `package_name` (string, required) - Package name (e.g., ZOK_TEST_PKG_01, $TMP).
|
|
2629
|
-
- `transport_request` (string, optional) - Transport request
|
|
3269
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2630
3270
|
|
|
2631
3271
|
---
|
|
2632
3272
|
|
|
@@ -2654,7 +3294,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2654
3294
|
|
|
2655
3295
|
**Parameters:**
|
|
2656
3296
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
2657
|
-
- `transport_request` (string, optional) - Transport request
|
|
3297
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2658
3298
|
|
|
2659
3299
|
---
|
|
2660
3300
|
|
|
@@ -2743,7 +3383,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2743
3383
|
|
|
2744
3384
|
<a id="rununittest-high-level-unit-test"></a>
|
|
2745
3385
|
#### RunUnitTest (High-Level / Unit Test)
|
|
2746
|
-
**Description:** Start an ABAP Unit test run for provided
|
|
3386
|
+
**Description:** Start an ABAP Unit test run for provided test definitions. Returns run_id for status/result queries.
|
|
2747
3387
|
|
|
2748
3388
|
**Source:** `src/handlers/unit_test/high/handleRunUnitTest.ts`
|
|
2749
3389
|
|
|
@@ -2766,7 +3406,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2766
3406
|
**Parameters:**
|
|
2767
3407
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
2768
3408
|
- `test_class_source` (string, required) - Updated local test class ABAP source code.
|
|
2769
|
-
- `transport_request` (string, optional) - Transport request
|
|
3409
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2770
3410
|
|
|
2771
3411
|
---
|
|
2772
3412
|
|
|
@@ -2793,7 +3433,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2793
3433
|
**Parameters:**
|
|
2794
3434
|
- `description` (string, optional) - Optional description (defaults to view_name).
|
|
2795
3435
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
2796
|
-
- `transport_request` (string, optional) - Transport request
|
|
3436
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2797
3437
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
|
|
2798
3438
|
|
|
2799
3439
|
---
|
|
@@ -2805,7 +3445,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2805
3445
|
**Source:** `src/handlers/view/high/handleDeleteView.ts`
|
|
2806
3446
|
|
|
2807
3447
|
**Parameters:**
|
|
2808
|
-
- `transport_request` (string, optional) - Transport request
|
|
3448
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2809
3449
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
2810
3450
|
|
|
2811
3451
|
---
|
|
@@ -2817,7 +3457,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2817
3457
|
**Source:** `src/handlers/view/high/handleGetView.ts`
|
|
2818
3458
|
|
|
2819
3459
|
**Parameters:**
|
|
2820
|
-
- `version` (string, optional (default: active)) -
|
|
3460
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2821
3461
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
2822
3462
|
|
|
2823
3463
|
---
|
|
@@ -2831,7 +3471,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2831
3471
|
**Parameters:**
|
|
2832
3472
|
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
2833
3473
|
- `ddl_source` (string, required) - Complete DDL source code.
|
|
2834
|
-
- `transport_request` (string, optional) - Transport request
|
|
3474
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2835
3475
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002).
|
|
2836
3476
|
|
|
2837
3477
|
---
|
|
@@ -2876,7 +3516,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2876
3516
|
|
|
2877
3517
|
**Parameters:**
|
|
2878
3518
|
- `description` (string, required) - Behavior Definition description.
|
|
2879
|
-
- `implementation_type` (string, required) - Implementation type:
|
|
3519
|
+
- `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', or 'Projection'.
|
|
2880
3520
|
- `name` (string, required) - Behavior Definition name (e.g., ZI_MY_BDEF).
|
|
2881
3521
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2882
3522
|
- `root_entity` (string, required) - Root entity name (e.g., ZI_MY_ENTITY).
|
|
@@ -2894,7 +3534,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2894
3534
|
|
|
2895
3535
|
**Parameters:**
|
|
2896
3536
|
- `name` (string, required) - BehaviorDefinition name (e.g., ZI_MY_BDEF).
|
|
2897
|
-
- `transport_request` (string, optional) - Transport request
|
|
3537
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2898
3538
|
|
|
2899
3539
|
---
|
|
2900
3540
|
|
|
@@ -2936,8 +3576,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2936
3576
|
- `name` (string, required) - Behavior definition name (e.g., ZOK_C_TEST_0001). Behavior definition must already exist.
|
|
2937
3577
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2938
3578
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3579
|
+
- `skip_check` (boolean, optional) - Skip post-write syntax check. Default: false. When false, runs a syntax check on the staged inactive version after update and surfaces any errors with line numbers.
|
|
2939
3580
|
- `source_code` (string, required) - Complete behavior definition source code.
|
|
2940
|
-
- `transport_request` (string, optional) - Transport request
|
|
3581
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2941
3582
|
|
|
2942
3583
|
---
|
|
2943
3584
|
|
|
@@ -2949,7 +3590,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2949
3590
|
|
|
2950
3591
|
**Parameters:**
|
|
2951
3592
|
- `description` (string, required) - BehaviorDefinition description. Required for validation.
|
|
2952
|
-
- `implementation_type` (string, required) - Implementation type:
|
|
3593
|
+
- `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', or 'Projection'.
|
|
2953
3594
|
- `name` (string, required) - BehaviorDefinition name to validate (e.g., ZI_MY_BDEF).
|
|
2954
3595
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation.
|
|
2955
3596
|
- `root_entity` (string, required) - Root entity name (e.g., ZI_MY_ENTITY). Required for validation.
|
|
@@ -2975,7 +3616,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2975
3616
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2976
3617
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2977
3618
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2978
|
-
- `transport_request` (string, optional) - Transport request
|
|
3619
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2979
3620
|
|
|
2980
3621
|
---
|
|
2981
3622
|
|
|
@@ -3049,7 +3690,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3049
3690
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3050
3691
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3051
3692
|
- `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.
|
|
3052
|
-
- `version` (string, optional) - Version to check:
|
|
3693
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
3053
3694
|
|
|
3054
3695
|
---
|
|
3055
3696
|
|
|
@@ -3068,8 +3709,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3068
3709
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3069
3710
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3070
3711
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3712
|
+
- `skip_check` (boolean, optional) - Skip post-create syntax check. Default: false. When false, runs a syntax check on the newly created class shell and surfaces any errors with line numbers.
|
|
3071
3713
|
- `superclass` (string, optional) - Superclass name (optional).
|
|
3072
|
-
- `transport_request` (string, optional) - Transport request
|
|
3714
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3073
3715
|
|
|
3074
3716
|
---
|
|
3075
3717
|
|
|
@@ -3081,7 +3723,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3081
3723
|
|
|
3082
3724
|
**Parameters:**
|
|
3083
3725
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
3084
|
-
- `transport_request` (string, optional) - Transport request
|
|
3726
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3085
3727
|
|
|
3086
3728
|
---
|
|
3087
3729
|
|
|
@@ -3092,7 +3734,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3092
3734
|
**Source:** `src/handlers/class/low/handleGetClassUnitTestResult.ts`
|
|
3093
3735
|
|
|
3094
3736
|
**Parameters:**
|
|
3095
|
-
- `format` (string, optional) - Preferred response format. Defaults to
|
|
3737
|
+
- `format` (string, optional) - Preferred response format. Defaults to 'abapunit'.
|
|
3096
3738
|
- `run_id` (string, required) - Run identifier returned by RunClassUnitTestsLow.
|
|
3097
3739
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3098
3740
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
@@ -3191,6 +3833,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3191
3833
|
**Parameters:**
|
|
3192
3834
|
- `class_name` (string, required) - Class name (e.g., ZCL_TEST_CLASS_001). Class must already exist.
|
|
3193
3835
|
- `lock_handle` (string, required) - Lock handle from LockClass operation. Required for update operation.
|
|
3836
|
+
- `skip_check` (boolean, optional) - Skip pre-write syntax check on source_code. Default: false. When false, runs a syntax check on the proposed code BEFORE uploading it and surfaces any errors with line numbers — the broken source never lands on SAP.
|
|
3194
3837
|
- `source_code` (string, required) - Complete ABAP class source code including CLASS DEFINITION and IMPLEMENTATION sections.
|
|
3195
3838
|
|
|
3196
3839
|
---
|
|
@@ -3206,6 +3849,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3206
3849
|
- `lock_handle` (string, required) - Test classes lock handle from LockClassTestClassesLow.
|
|
3207
3850
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3208
3851
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3852
|
+
- `skip_check` (boolean, optional) - Skip post-write syntax check. Default: false. When false, runs a syntax check on the parent class after updating the test-classes include and surfaces any errors with line numbers.
|
|
3209
3853
|
- `test_class_source` (string, required) - Complete ABAP Unit test class source code.
|
|
3210
3854
|
|
|
3211
3855
|
---
|
|
@@ -3236,7 +3880,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3236
3880
|
**Source:** `src/handlers/common/low/handleActivateObject.ts`
|
|
3237
3881
|
|
|
3238
3882
|
**Parameters:**
|
|
3239
|
-
- `objects` (array, required) - Array of objects to activate. Each object must have
|
|
3883
|
+
- `objects` (array, required) - Array of objects to activate. Each object must have 'name' and 'type'. URI is optional.
|
|
3240
3884
|
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default: true
|
|
3241
3885
|
|
|
3242
3886
|
---
|
|
@@ -3252,7 +3896,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3252
3896
|
- `object_type` (string, required) - Object type
|
|
3253
3897
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3254
3898
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3255
|
-
- `version` (string, optional) - Version to check:
|
|
3899
|
+
- `version` (string, optional) - Version to check: 'active' or 'inactive' (default active)
|
|
3256
3900
|
|
|
3257
3901
|
---
|
|
3258
3902
|
|
|
@@ -3309,9 +3953,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3309
3953
|
**Parameters:**
|
|
3310
3954
|
- `behavior_definition` (string, optional) - Optional behavior definition name (required for behavior_implementation validation)
|
|
3311
3955
|
- `description` (string, optional) - Optional description for validation
|
|
3312
|
-
- `implementation_type` (string, optional) - Implementation type:
|
|
3956
|
+
- `implementation_type` (string, optional) - Implementation type: 'Managed', 'Unmanaged', or 'External' (required for behavior_definition validation)
|
|
3313
3957
|
- `object_name` (string, required) - Object name to validate (e.g., ZCL_MY_CLASS, Z_MY_PROGRAM, ZIF_MY_INTERFACE)
|
|
3314
|
-
- `object_type` (string, required) - Object type:
|
|
3958
|
+
- `object_type` (string, required) - Object type: 'class', 'program', 'interface', 'function_group', 'table', 'structure', 'view', 'domain', 'data_element', 'package', 'behavior_definition', 'behavior_implementation', 'metadata_extension'
|
|
3315
3959
|
- `package_name` (string, optional) - Optional package name for validation
|
|
3316
3960
|
- `root_entity` (string, optional) - Root entity name (required for behavior_definition validation)
|
|
3317
3961
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
@@ -3356,16 +4000,16 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3356
4000
|
|
|
3357
4001
|
**Parameters:**
|
|
3358
4002
|
- `data_element_name` (string, required) - DataElement name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
3359
|
-
- `data_type` (string, optional) - Data type (e.g., CHAR, NUMC) or domain name when type_kind is
|
|
4003
|
+
- `data_type` (string, optional) - Data type (e.g., CHAR, NUMC) or domain name when type_kind is 'E' or 'domain'.
|
|
3360
4004
|
- `decimals` (number, optional) - Decimal places (for predefinedAbapType or refToPredefinedAbapType)
|
|
3361
4005
|
- `description` (string, required) - DataElement description.
|
|
3362
4006
|
- `length` (number, optional) - Data type length (for predefinedAbapType or refToPredefinedAbapType)
|
|
3363
4007
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3364
4008
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3365
4009
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3366
|
-
- `transport_request` (string, optional) - Transport request
|
|
3367
|
-
- `type_kind` (string, optional) - Type kind:
|
|
3368
|
-
- `type_name` (string, optional) - Type name: domain name (when type_kind is
|
|
4010
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4011
|
+
- `type_kind` (string, optional) - Type kind: 'E' for domain-based, 'P' for predefined type, etc.
|
|
4012
|
+
- `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')
|
|
3369
4013
|
|
|
3370
4014
|
---
|
|
3371
4015
|
|
|
@@ -3377,7 +4021,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3377
4021
|
|
|
3378
4022
|
**Parameters:**
|
|
3379
4023
|
- `data_element_name` (string, required) - DataElement name (e.g., Z_MY_PROGRAM).
|
|
3380
|
-
- `transport_request` (string, optional) - Transport request
|
|
4024
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3381
4025
|
|
|
3382
4026
|
---
|
|
3383
4027
|
|
|
@@ -3475,11 +4119,12 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3475
4119
|
|
|
3476
4120
|
**Parameters:**
|
|
3477
4121
|
- `description` (string, required) - Metadata Extension description.
|
|
3478
|
-
- `master_language` (string, optional) - Master language (optional, e.g.,
|
|
4122
|
+
- `master_language` (string, optional) - Master language (optional, e.g., 'EN').
|
|
3479
4123
|
- `name` (string, required) - Metadata Extension name (e.g., ZI_MY_DDLX).
|
|
3480
4124
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3481
4125
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3482
4126
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4127
|
+
- `skip_check` (boolean, optional) - Skip post-create syntax check. Default: false. NOTE: SAP's /checkruns reporter is weak for DDLX — may return empty results for some error classes.
|
|
3483
4128
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Optional for local objects.
|
|
3484
4129
|
|
|
3485
4130
|
---
|
|
@@ -3492,7 +4137,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3492
4137
|
|
|
3493
4138
|
**Parameters:**
|
|
3494
4139
|
- `name` (string, required) - MetadataExtension name (e.g., ZI_MY_DDLX).
|
|
3495
|
-
- `transport_request` (string, optional) - Transport request
|
|
4140
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3496
4141
|
|
|
3497
4142
|
---
|
|
3498
4143
|
|
|
@@ -3534,6 +4179,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3534
4179
|
- `name` (string, required) - Metadata extension name (e.g., ZOK_C_TEST_0001). Metadata extension must already exist.
|
|
3535
4180
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3536
4181
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4182
|
+
- `skip_check` (boolean, optional) - Skip post-write syntax check. Default: false. NOTE: SAP's /checkruns reporter is weak for DDLX — may return empty results for some error classes.
|
|
3537
4183
|
- `source_code` (string, required) - Complete metadata extension source code.
|
|
3538
4184
|
|
|
3539
4185
|
---
|
|
@@ -3594,7 +4240,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3594
4240
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3595
4241
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3596
4242
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3597
|
-
- `transport_request` (string, optional) - Transport request
|
|
4243
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3598
4244
|
|
|
3599
4245
|
---
|
|
3600
4246
|
|
|
@@ -3606,7 +4252,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3606
4252
|
|
|
3607
4253
|
**Parameters:**
|
|
3608
4254
|
- `domain_name` (string, required) - Domain name (e.g., Z_MY_PROGRAM).
|
|
3609
|
-
- `transport_request` (string, optional) - Transport request
|
|
4255
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3610
4256
|
|
|
3611
4257
|
---
|
|
3612
4258
|
|
|
@@ -3721,7 +4367,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3721
4367
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FM)
|
|
3722
4368
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3723
4369
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3724
|
-
- `version` (string, optional) - Version to check:
|
|
4370
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
3725
4371
|
|
|
3726
4372
|
---
|
|
3727
4373
|
|
|
@@ -3737,7 +4383,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3737
4383
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3738
4384
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3739
4385
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3740
|
-
- `transport_request` (string, optional) - Transport request
|
|
4386
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3741
4387
|
|
|
3742
4388
|
---
|
|
3743
4389
|
|
|
@@ -3754,7 +4400,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3754
4400
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3755
4401
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3756
4402
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3757
|
-
- `transport_request` (string, optional) - Transport request
|
|
4403
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3758
4404
|
|
|
3759
4405
|
---
|
|
3760
4406
|
|
|
@@ -3766,7 +4412,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3766
4412
|
|
|
3767
4413
|
**Parameters:**
|
|
3768
4414
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_PROGRAM).
|
|
3769
|
-
- `transport_request` (string, optional) - Transport request
|
|
4415
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3770
4416
|
|
|
3771
4417
|
---
|
|
3772
4418
|
|
|
@@ -3779,7 +4425,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3779
4425
|
**Parameters:**
|
|
3780
4426
|
- `function_group_name` (string, required) - Function group name (e.g., ZFG_MY_GROUP).
|
|
3781
4427
|
- `function_module_name` (string, required) - Function module name (e.g., Z_MY_FUNCTION).
|
|
3782
|
-
- `transport_request` (string, optional) - Transport request
|
|
4428
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3783
4429
|
|
|
3784
4430
|
---
|
|
3785
4431
|
|
|
@@ -3851,6 +4497,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3851
4497
|
- `lock_handle` (string, required) - Lock handle from LockFunctionModule. Required for update operation.
|
|
3852
4498
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3853
4499
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4500
|
+
- `skip_check` (boolean, optional) - Skip post-write syntax check. Default: false. When false, runs a syntax check on the staged inactive version after update and surfaces any errors with line numbers.
|
|
3854
4501
|
- `source_code` (string, required) - Complete ABAP function module source code.
|
|
3855
4502
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects locked in a request.
|
|
3856
4503
|
|
|
@@ -3886,6 +4533,99 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3886
4533
|
|
|
3887
4534
|
---
|
|
3888
4535
|
|
|
4536
|
+
<a id="low-level-gui-status"></a>
|
|
4537
|
+
### Low-Level / Gui Status
|
|
4538
|
+
|
|
4539
|
+
<a id="activateguistatuslow-low-level-gui-status"></a>
|
|
4540
|
+
#### ActivateGuiStatusLow (Low-Level / Gui Status)
|
|
4541
|
+
**Description:** [low-level] Activate an ABAP program to make GUI Status changes active.
|
|
4542
|
+
|
|
4543
|
+
**Source:** `src/handlers/gui_status/low/handleActivateGuiStatus.ts`
|
|
4544
|
+
|
|
4545
|
+
**Parameters:**
|
|
4546
|
+
- `program_name` (string, required) - Parent program name.
|
|
4547
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4548
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4549
|
+
|
|
4550
|
+
---
|
|
4551
|
+
|
|
4552
|
+
<a id="createguistatuslow-low-level-gui-status"></a>
|
|
4553
|
+
#### CreateGuiStatusLow (Low-Level / Gui Status)
|
|
4554
|
+
**Description:** [low-level] Create a new ABAP GUI Status on an existing program.
|
|
4555
|
+
|
|
4556
|
+
**Source:** `src/handlers/gui_status/low/handleCreateGuiStatus.ts`
|
|
4557
|
+
|
|
4558
|
+
**Parameters:**
|
|
4559
|
+
- `description` (string, optional) - GUI Status description.
|
|
4560
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
4561
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4562
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4563
|
+
- `status_name` (string, required) - GUI Status name to create (e.g., MAIN_STATUS).
|
|
4564
|
+
- `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".
|
|
4565
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
4566
|
+
|
|
4567
|
+
---
|
|
4568
|
+
|
|
4569
|
+
<a id="deleteguistatuslow-low-level-gui-status"></a>
|
|
4570
|
+
#### DeleteGuiStatusLow (Low-Level / Gui Status)
|
|
4571
|
+
**Description:** [low-level] Delete an ABAP GUI Status from a program.
|
|
4572
|
+
|
|
4573
|
+
**Source:** `src/handlers/gui_status/low/handleDeleteGuiStatus.ts`
|
|
4574
|
+
|
|
4575
|
+
**Parameters:**
|
|
4576
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
4577
|
+
- `program_name` (string, required) - Parent program name.
|
|
4578
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4579
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4580
|
+
- `status_name` (string, required) - GUI Status name to delete. Use "*" to delete all.
|
|
4581
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
4582
|
+
|
|
4583
|
+
---
|
|
4584
|
+
|
|
4585
|
+
<a id="lockguistatuslow-low-level-gui-status"></a>
|
|
4586
|
+
#### LockGuiStatusLow (Low-Level / Gui Status)
|
|
4587
|
+
**Description:** [low-level] Lock a program for GUI Status modification. Returns lock handle for subsequent update/unlock operations.
|
|
4588
|
+
|
|
4589
|
+
**Source:** `src/handlers/gui_status/low/handleLockGuiStatus.ts`
|
|
4590
|
+
|
|
4591
|
+
**Parameters:**
|
|
4592
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
4593
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4594
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4595
|
+
- `status_name` (string, optional) - GUI Status name (for reference only).
|
|
4596
|
+
|
|
4597
|
+
---
|
|
4598
|
+
|
|
4599
|
+
<a id="unlockguistatuslow-low-level-gui-status"></a>
|
|
4600
|
+
#### UnlockGuiStatusLow (Low-Level / Gui Status)
|
|
4601
|
+
**Description:** [low-level] Unlock a program after GUI Status modification. Requires lock handle from LockGuiStatusLow.
|
|
4602
|
+
|
|
4603
|
+
**Source:** `src/handlers/gui_status/low/handleUnlockGuiStatus.ts`
|
|
4604
|
+
|
|
4605
|
+
**Parameters:**
|
|
4606
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
4607
|
+
- `program_name` (string, required) - Parent program name.
|
|
4608
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4609
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4610
|
+
|
|
4611
|
+
---
|
|
4612
|
+
|
|
4613
|
+
<a id="updateguistatuslow-low-level-gui-status"></a>
|
|
4614
|
+
#### UpdateGuiStatusLow (Low-Level / Gui Status)
|
|
4615
|
+
**Description:** [low-level] Update an ABAP GUI Status definition. Provide full CUA data (from ReadGuiStatus) with modifications.
|
|
4616
|
+
|
|
4617
|
+
**Source:** `src/handlers/gui_status/low/handleUpdateGuiStatus.ts`
|
|
4618
|
+
|
|
4619
|
+
**Parameters:**
|
|
4620
|
+
- `cua_data` (string, required) - Complete CUA data as JSON string (from ReadGuiStatus/GetGuiStatus). Modify and pass back.
|
|
4621
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
4622
|
+
- `program_name` (string, required) - Parent program name.
|
|
4623
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4624
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4625
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
4626
|
+
|
|
4627
|
+
---
|
|
4628
|
+
|
|
3889
4629
|
<a id="low-level-interface"></a>
|
|
3890
4630
|
### Low-Level / Interface
|
|
3891
4631
|
|
|
@@ -3927,7 +4667,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3927
4667
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3928
4668
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3929
4669
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3930
|
-
- `transport_request` (string, optional) - Transport request
|
|
4670
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3931
4671
|
|
|
3932
4672
|
---
|
|
3933
4673
|
|
|
@@ -3939,7 +4679,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3939
4679
|
|
|
3940
4680
|
**Parameters:**
|
|
3941
4681
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_PROGRAM).
|
|
3942
|
-
- `transport_request` (string, optional) - Transport request
|
|
4682
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3943
4683
|
|
|
3944
4684
|
---
|
|
3945
4685
|
|
|
@@ -4034,7 +4774,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4034
4774
|
- `software_component` (string, optional) - Software component (e.g., HOME, ZLOCAL). If not provided, SAP will set a default (typically ZLOCAL for local packages).
|
|
4035
4775
|
- `super_package` (string, required) - Super package (parent package) name (e.g., ZOK_PACKAGE). Required.
|
|
4036
4776
|
- `transport_layer` (string, optional) - Transport layer (e.g., ZDEV). Required for transportable packages.
|
|
4037
|
-
- `transport_request` (string, optional) - Transport request
|
|
4777
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4038
4778
|
|
|
4039
4779
|
---
|
|
4040
4780
|
|
|
@@ -4048,7 +4788,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4048
4788
|
- `connection_config` (object, optional) - Optional SAP connection config to create a fresh connection for deletion. Useful when the existing connection config is unavailable.
|
|
4049
4789
|
- `force_new_connection` (boolean, optional) - Force creation of a new connection (bypass cache). Useful when package was locked/unlocked and needs to be deleted in a fresh session. Default: false.
|
|
4050
4790
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PROGRAM).
|
|
4051
|
-
- `transport_request` (string, optional) - Transport request
|
|
4791
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4052
4792
|
|
|
4053
4793
|
---
|
|
4054
4794
|
|
|
@@ -4147,14 +4887,15 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4147
4887
|
**Source:** `src/handlers/program/low/handleCreateProgram.ts`
|
|
4148
4888
|
|
|
4149
4889
|
**Parameters:**
|
|
4150
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
4890
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
4151
4891
|
- `description` (string, required) - Program description.
|
|
4152
4892
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
4153
4893
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
4154
|
-
- `program_type` (string, optional) - Program type:
|
|
4894
|
+
- `program_type` (string, optional) - Program type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
4155
4895
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4156
4896
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4157
|
-
- `
|
|
4897
|
+
- `skip_check` (boolean, optional) - Skip the post-create syntax check on the newly created program shell. Default: false. Set to true when chaining multiple low-level calls where the caller will run CheckProgramLow explicitly later.
|
|
4898
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4158
4899
|
|
|
4159
4900
|
---
|
|
4160
4901
|
|
|
@@ -4166,7 +4907,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4166
4907
|
|
|
4167
4908
|
**Parameters:**
|
|
4168
4909
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
4169
|
-
- `transport_request` (string, optional) - Transport request
|
|
4910
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4170
4911
|
|
|
4171
4912
|
---
|
|
4172
4913
|
|
|
@@ -4208,6 +4949,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4208
4949
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM). Program must already exist.
|
|
4209
4950
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4210
4951
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4952
|
+
- `skip_check` (boolean, optional) - Skip the pre-write syntax check of the new source. Default: false. Set to true when chaining multiple low-level calls where the caller will run CheckProgramLow explicitly before this update.
|
|
4211
4953
|
- `source_code` (string, required) - Complete ABAP program source code.
|
|
4212
4954
|
|
|
4213
4955
|
---
|
|
@@ -4227,6 +4969,99 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4227
4969
|
|
|
4228
4970
|
---
|
|
4229
4971
|
|
|
4972
|
+
<a id="low-level-screen"></a>
|
|
4973
|
+
### Low-Level / Screen
|
|
4974
|
+
|
|
4975
|
+
<a id="activatescreenlow-low-level-screen"></a>
|
|
4976
|
+
#### ActivateScreenLow (Low-Level / Screen)
|
|
4977
|
+
**Description:** [low-level] Activate an ABAP program to make Screen changes active.
|
|
4978
|
+
|
|
4979
|
+
**Source:** `src/handlers/screen/low/handleActivateScreen.ts`
|
|
4980
|
+
|
|
4981
|
+
**Parameters:**
|
|
4982
|
+
- `program_name` (string, required) - Parent program name.
|
|
4983
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4984
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4985
|
+
|
|
4986
|
+
---
|
|
4987
|
+
|
|
4988
|
+
<a id="createscreenlow-low-level-screen"></a>
|
|
4989
|
+
#### CreateScreenLow (Low-Level / Screen)
|
|
4990
|
+
**Description:** [low-level] Create a new ABAP Screen (Dynpro) on an existing program.
|
|
4991
|
+
|
|
4992
|
+
**Source:** `src/handlers/screen/low/handleCreateScreen.ts`
|
|
4993
|
+
|
|
4994
|
+
**Parameters:**
|
|
4995
|
+
- `description` (string, optional) - Screen description.
|
|
4996
|
+
- `dynpro_data` (string, optional) - Full screen definition as JSON (header, containers, fields_to_containers, flow_logic). If omitted, creates a minimal empty screen.
|
|
4997
|
+
- `program_name` (string, required) - Parent program name.
|
|
4998
|
+
- `screen_number` (string, required) - Screen number to create (e.g., 0100).
|
|
4999
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5000
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5001
|
+
- `skip_check` (boolean, optional) - Skip post-write syntax check. Default: false. When false, runs a program-tree syntax check on the parent program after DYNPRO_INSERT and surfaces any flow-logic errors with line numbers.
|
|
5002
|
+
|
|
5003
|
+
---
|
|
5004
|
+
|
|
5005
|
+
<a id="deletescreenlow-low-level-screen"></a>
|
|
5006
|
+
#### DeleteScreenLow (Low-Level / Screen)
|
|
5007
|
+
**Description:** [low-level] Delete an ABAP Screen (Dynpro) from a program.
|
|
5008
|
+
|
|
5009
|
+
**Source:** `src/handlers/screen/low/handleDeleteScreen.ts`
|
|
5010
|
+
|
|
5011
|
+
**Parameters:**
|
|
5012
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
5013
|
+
- `program_name` (string, required) - Parent program name.
|
|
5014
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
5015
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5016
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5017
|
+
|
|
5018
|
+
---
|
|
5019
|
+
|
|
5020
|
+
<a id="lockscreenlow-low-level-screen"></a>
|
|
5021
|
+
#### LockScreenLow (Low-Level / Screen)
|
|
5022
|
+
**Description:** [low-level] Lock a program for Screen modification. Returns lock handle for subsequent operations.
|
|
5023
|
+
|
|
5024
|
+
**Source:** `src/handlers/screen/low/handleLockScreen.ts`
|
|
5025
|
+
|
|
5026
|
+
**Parameters:**
|
|
5027
|
+
- `program_name` (string, required) - Parent program name.
|
|
5028
|
+
- `screen_number` (string, optional) - Screen number (for reference).
|
|
5029
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5030
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5031
|
+
|
|
5032
|
+
---
|
|
5033
|
+
|
|
5034
|
+
<a id="unlockscreenlow-low-level-screen"></a>
|
|
5035
|
+
#### UnlockScreenLow (Low-Level / Screen)
|
|
5036
|
+
**Description:** [low-level] Unlock a program after Screen modification.
|
|
5037
|
+
|
|
5038
|
+
**Source:** `src/handlers/screen/low/handleUnlockScreen.ts`
|
|
5039
|
+
|
|
5040
|
+
**Parameters:**
|
|
5041
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
5042
|
+
- `program_name` (string, required) - Parent program name.
|
|
5043
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5044
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5045
|
+
|
|
5046
|
+
---
|
|
5047
|
+
|
|
5048
|
+
<a id="updatescreenlow-low-level-screen"></a>
|
|
5049
|
+
#### UpdateScreenLow (Low-Level / Screen)
|
|
5050
|
+
**Description:** [low-level] Update an ABAP Screen (Dynpro) definition. Provide full screen data as JSON.
|
|
5051
|
+
|
|
5052
|
+
**Source:** `src/handlers/screen/low/handleUpdateScreen.ts`
|
|
5053
|
+
|
|
5054
|
+
**Parameters:**
|
|
5055
|
+
- `dynpro_data` (string, required) - Complete screen definition as JSON (header, containers, fields_to_containers, flow_logic).
|
|
5056
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
5057
|
+
- `program_name` (string, required) - Parent program name.
|
|
5058
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
5059
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5060
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5061
|
+
- `skip_check` (boolean, optional) - Skip post-write syntax check. Default: false. When false, runs a program-tree syntax check on the parent program after DYNPRO_INSERT and surfaces any flow-logic errors with line numbers.
|
|
5062
|
+
|
|
5063
|
+
---
|
|
5064
|
+
|
|
4230
5065
|
<a id="low-level-structure"></a>
|
|
4231
5066
|
### Low-Level / Structure
|
|
4232
5067
|
|
|
@@ -4254,7 +5089,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4254
5089
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4255
5090
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4256
5091
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_PROGRAM).
|
|
4257
|
-
- `version` (string, optional) - Version to check:
|
|
5092
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
4258
5093
|
|
|
4259
5094
|
---
|
|
4260
5095
|
|
|
@@ -4265,14 +5100,14 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4265
5100
|
**Source:** `src/handlers/structure/low/handleCreateStructure.ts`
|
|
4266
5101
|
|
|
4267
5102
|
**Parameters:**
|
|
4268
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
5103
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
4269
5104
|
- `description` (string, required) - Structure description.
|
|
4270
5105
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
4271
5106
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4272
5107
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4273
5108
|
- `structure_name` (string, required) - Structure name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
4274
|
-
- `structure_type` (string, optional) - Structure type:
|
|
4275
|
-
- `transport_request` (string, optional) - Transport request
|
|
5109
|
+
- `structure_type` (string, optional) - Structure type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
5110
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4276
5111
|
|
|
4277
5112
|
---
|
|
4278
5113
|
|
|
@@ -4284,7 +5119,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4284
5119
|
|
|
4285
5120
|
**Parameters:**
|
|
4286
5121
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_PROGRAM).
|
|
4287
|
-
- `transport_request` (string, optional) - Transport request
|
|
5122
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4288
5123
|
|
|
4289
5124
|
---
|
|
4290
5125
|
|
|
@@ -4355,9 +5190,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4355
5190
|
**Source:** `src/handlers/system/low/handleGetNodeStructure.ts`
|
|
4356
5191
|
|
|
4357
5192
|
**Parameters:**
|
|
4358
|
-
- `node_id` (string, optional (default: 0000" for root). Use to fetch child nodes.)) - Optional node ID (default:
|
|
5193
|
+
- `node_id` (string, optional (default: 0000" for root). Use to fetch child nodes.)) - Optional node ID (default: "0000" for root). Use to fetch child nodes.
|
|
4359
5194
|
- `parent_name` (string, required) - Parent object name
|
|
4360
|
-
- `parent_type` (string, required) - Parent object type (e.g.,
|
|
5195
|
+
- `parent_type` (string, required) - Parent object type (e.g., "CLAS/OC", "PROG/P", "DEVC/K")
|
|
4361
5196
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4362
5197
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4363
5198
|
- `with_short_descriptions` (boolean, optional (default: true)) - Include short descriptions in response
|
|
@@ -4371,8 +5206,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4371
5206
|
**Source:** `src/handlers/system/low/handleGetObjectStructure.ts`
|
|
4372
5207
|
|
|
4373
5208
|
**Parameters:**
|
|
4374
|
-
- `object_name` (string, required) - Object name (e.g.,
|
|
4375
|
-
- `object_type` (string, required) - Object type (e.g.,
|
|
5209
|
+
- `object_name` (string, required) - Object name (e.g., "ZMY_CLASS", "ZMY_PROGRAM")
|
|
5210
|
+
- `object_type` (string, required) - Object type (e.g., "CLAS/OC", "PROG/P", "DEVC/K", "DDLS/DF")
|
|
4376
5211
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4377
5212
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4378
5213
|
|
|
@@ -4385,9 +5220,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4385
5220
|
**Source:** `src/handlers/system/low/handleGetVirtualFolders.ts`
|
|
4386
5221
|
|
|
4387
5222
|
**Parameters:**
|
|
4388
|
-
- `facet_order` (array, optional (default: ['package)) - Order of facets in response (e.g., [
|
|
5223
|
+
- `facet_order` (array, optional (default: ['package)) - Order of facets in response (e.g., ["package", "group", "type"]). Default: ["package", "group", "type"]
|
|
4389
5224
|
- `ignore_short_descriptions` (boolean, optional (default: false)) - Ignore short descriptions in response
|
|
4390
|
-
- `object_search_pattern` (string, optional (default: *)) - Object search pattern (e.g.,
|
|
5225
|
+
- `object_search_pattern` (string, optional (default: *)) - Object search pattern (e.g., "*", "Z*", "ZCL_*"). Default: "*"
|
|
4391
5226
|
- `preselection` (array, optional) - Optional preselection filters (facet-value pairs for filtering)
|
|
4392
5227
|
- `with_versions` (boolean, optional (default: false)) - Include version information in response
|
|
4393
5228
|
|
|
@@ -4417,11 +5252,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4417
5252
|
|
|
4418
5253
|
**Parameters:**
|
|
4419
5254
|
- `ddl_code` (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.
|
|
4420
|
-
- `reporter` (string, optional) - Check reporter:
|
|
5255
|
+
- `reporter` (string, optional) - Check reporter: 'tableStatusCheck' or 'abapCheckRun'. Default: abapCheckRun
|
|
4421
5256
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4422
5257
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4423
5258
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE)
|
|
4424
|
-
- `version` (string, optional) - Version to check:
|
|
5259
|
+
- `version` (string, optional) - Version to check: 'active' (last activated), 'inactive' (current unsaved), or 'new' (for new code validation). Default: new
|
|
4425
5260
|
|
|
4426
5261
|
---
|
|
4427
5262
|
|
|
@@ -4436,7 +5271,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4436
5271
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4437
5272
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4438
5273
|
- `table_name` (string, required) - Table name (e.g., ZT_TEST_001). Must follow SAP naming conventions.
|
|
4439
|
-
- `transport_request` (string, optional) - Transport request
|
|
5274
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4440
5275
|
|
|
4441
5276
|
---
|
|
4442
5277
|
|
|
@@ -4448,7 +5283,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4448
5283
|
|
|
4449
5284
|
**Parameters:**
|
|
4450
5285
|
- `table_name` (string, required) - Table name (e.g., Z_MY_PROGRAM).
|
|
4451
|
-
- `transport_request` (string, optional) - Transport request
|
|
5286
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4452
5287
|
|
|
4453
5288
|
---
|
|
4454
5289
|
|
|
@@ -4491,7 +5326,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4491
5326
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4492
5327
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4493
5328
|
- `table_name` (string, required) - Table name (e.g., ZOK_T_TEST_0001). Table must already exist.
|
|
4494
|
-
- `transport_request` (string, optional) - Transport request
|
|
5329
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
4495
5330
|
|
|
4496
5331
|
---
|
|
4497
5332
|
|
|
@@ -4521,7 +5356,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4521
5356
|
|
|
4522
5357
|
**Parameters:**
|
|
4523
5358
|
- `description` (string, required) - Transport request description.
|
|
4524
|
-
- `transport_type` (string, optional (default: workbench').)) - Transport type:
|
|
5359
|
+
- `transport_type` (string, optional (default: workbench').)) - Transport type: 'workbench' or 'customizing' (optional, default: 'workbench').
|
|
4525
5360
|
|
|
4526
5361
|
---
|
|
4527
5362
|
|
|
@@ -4551,7 +5386,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4551
5386
|
- `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.
|
|
4552
5387
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4553
5388
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4554
|
-
- `version` (string, optional) - Version to check:
|
|
5389
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
4555
5390
|
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
4556
5391
|
|
|
4557
5392
|
---
|
|
@@ -4563,14 +5398,15 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4563
5398
|
**Source:** `src/handlers/view/low/handleCreateView.ts`
|
|
4564
5399
|
|
|
4565
5400
|
**Parameters:**
|
|
4566
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
5401
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
4567
5402
|
- `description` (string, required) - View description.
|
|
4568
5403
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
4569
5404
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4570
5405
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4571
|
-
- `
|
|
5406
|
+
- `skip_check` (boolean, optional) - Skip post-create syntax check. Default: false. When false, runs a syntax check on the freshly created view shell and surfaces any errors with line numbers.
|
|
5407
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4572
5408
|
- `view_name` (string, required) - View name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
4573
|
-
- `view_type` (string, optional) - View type:
|
|
5409
|
+
- `view_type` (string, optional) - View type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
4574
5410
|
|
|
4575
5411
|
---
|
|
4576
5412
|
|
|
@@ -4581,7 +5417,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4581
5417
|
**Source:** `src/handlers/view/low/handleDeleteView.ts`
|
|
4582
5418
|
|
|
4583
5419
|
**Parameters:**
|
|
4584
|
-
- `transport_request` (string, optional) - Transport request
|
|
5420
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4585
5421
|
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
4586
5422
|
|
|
4587
5423
|
---
|
|
@@ -4620,10 +5456,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4620
5456
|
**Source:** `src/handlers/view/low/handleUpdateView.ts`
|
|
4621
5457
|
|
|
4622
5458
|
**Parameters:**
|
|
4623
|
-
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain
|
|
5459
|
+
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
|
|
4624
5460
|
- `lock_handle` (string, required) - Lock handle from LockObject. Required for update operation.
|
|
4625
5461
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4626
5462
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
5463
|
+
- `skip_check` (boolean, optional) - Skip pre-write syntax check on ddl_source. Default: false. When false, runs a syntax check on the proposed code BEFORE uploading it and surfaces any errors with line numbers — the broken source never lands on SAP.
|
|
4627
5464
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002). View must already exist.
|
|
4628
5465
|
|
|
4629
5466
|
---
|
|
@@ -4643,4 +5480,4 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4643
5480
|
|
|
4644
5481
|
---
|
|
4645
5482
|
|
|
4646
|
-
*Last updated: 2026-
|
|
5483
|
+
*Last updated: 2026-10-28*
|