@babamba2/abap-mcp-adt-powerup 4.8.11 → 4.8.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- 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/handleGetJobUsage.d.ts +48 -0
- package/dist/handlers/system/readonly/handleGetJobUsage.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleGetJobUsage.js +87 -0
- package/dist/handlers/system/readonly/handleGetJobUsage.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/handleGetTcodeUsage.d.ts +56 -0
- package/dist/handlers/system/readonly/handleGetTcodeUsage.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleGetTcodeUsage.js +96 -0
- package/dist/handlers/system/readonly/handleGetTcodeUsage.js.map +1 -0
- package/dist/handlers/system/readonly/handleGetTransaction.d.ts +32 -6
- package/dist/handlers/system/readonly/handleGetTransaction.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetTransaction.js +112 -50
- package/dist/handlers/system/readonly/handleGetTransaction.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts +8 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.js +52 -7
- package/dist/handlers/system/readonly/handleGetWhereUsed.js.map +1 -1
- package/dist/handlers/system/readonly/handleReloadProfile.d.ts +4 -3
- package/dist/handlers/system/readonly/handleReloadProfile.d.ts.map +1 -1
- package/dist/handlers/system/readonly/handleReloadProfile.js +13 -5
- package/dist/handlers/system/readonly/handleReloadProfile.js.map +1 -1
- 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/handlers/transport/readonly/handleGetTransport.d.ts +3 -0
- package/dist/handlers/transport/readonly/handleGetTransport.d.ts.map +1 -1
- package/dist/handlers/transport/readonly/handleGetTransport.js +24 -0
- package/dist/handlers/transport/readonly/handleGetTransport.js.map +1 -1
- package/dist/handlers/transport/readonly/handleListTransports.d.ts +2 -1
- package/dist/handlers/transport/readonly/handleListTransports.d.ts.map +1 -1
- package/dist/handlers/transport/readonly/handleListTransports.js +17 -7
- package/dist/handlers/transport/readonly/handleListTransports.js.map +1 -1
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js +11 -0
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +25 -0
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
- package/dist/lib/legacyLockHint.d.ts +15 -0
- package/dist/lib/legacyLockHint.d.ts.map +1 -0
- package/dist/lib/legacyLockHint.js +34 -0
- package/dist/lib/legacyLockHint.js.map +1 -0
- package/dist/lib/legacyTableRead.d.ts +1 -1
- package/dist/lib/legacyTableRead.d.ts.map +1 -1
- package/dist/lib/legacyTableRead.js +23 -9
- package/dist/lib/legacyTableRead.js.map +1 -1
- package/dist/lib/legacyTransport.d.ts +78 -0
- package/dist/lib/legacyTransport.d.ts.map +1 -0
- package/dist/lib/legacyTransport.js +233 -0
- package/dist/lib/legacyTransport.js.map +1 -0
- package/dist/lib/nativeRfc.d.ts.map +1 -1
- package/dist/lib/nativeRfc.js +5 -0
- package/dist/lib/nativeRfc.js.map +1 -1
- package/dist/lib/odataRfc.d.ts +48 -0
- package/dist/lib/odataRfc.d.ts.map +1 -1
- package/dist/lib/odataRfc.js +73 -0
- package/dist/lib/odataRfc.js.map +1 -1
- package/dist/lib/profile.d.ts.map +1 -1
- package/dist/lib/profile.js +34 -0
- package/dist/lib/profile.js.map +1 -1
- package/dist/lib/profileEvents.d.ts +16 -0
- package/dist/lib/profileEvents.d.ts.map +1 -0
- package/dist/lib/profileEvents.js +29 -0
- package/dist/lib/profileEvents.js.map +1 -0
- package/dist/lib/rfcBackend.d.ts +2 -0
- package/dist/lib/rfcBackend.d.ts.map +1 -1
- package/dist/lib/rfcBackend.js +20 -4
- package/dist/lib/rfcBackend.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/soapRfc.d.ts +17 -0
- package/dist/lib/soapRfc.d.ts.map +1 -1
- package/dist/lib/soapRfc.js +39 -0
- package/dist/lib/soapRfc.js.map +1 -1
- 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/dist/lib/zrfcProxy.d.ts.map +1 -1
- package/dist/lib/zrfcProxy.js +5 -0
- package/dist/lib/zrfcProxy.js.map +1 -1
- package/dist/server/BaseMcpServer.d.ts +11 -0
- package/dist/server/BaseMcpServer.d.ts.map +1 -1
- package/dist/server/BaseMcpServer.js +69 -2
- package/dist/server/BaseMcpServer.js.map +1 -1
- package/dist/server/StdioServer.d.ts.map +1 -1
- package/dist/server/StdioServer.js +9 -0
- package/dist/server/StdioServer.js.map +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS.md +1039 -204
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +2 -1
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +470 -85
- package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +955 -78
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +271 -60
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +299 -60
- package/package.json +19 -19
|
@@ -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,133 @@ 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.
|
|
2515
|
+
|
|
2516
|
+
**Source:** `src/handlers/gui_status/high/handleGetGuiStatus.ts`
|
|
2517
|
+
|
|
2518
|
+
**Parameters:**
|
|
2519
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
2520
|
+
- `status_name` (string, optional) - Optional: filter to a specific GUI Status name. If omitted, returns all statuses.
|
|
2521
|
+
|
|
2522
|
+
---
|
|
2523
|
+
|
|
2524
|
+
<a id="patchguistatus-high-level-gui-status"></a>
|
|
2525
|
+
#### PatchGuiStatus (High-Level / Gui Status)
|
|
2526
|
+
**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.
|
|
2527
|
+
|
|
2528
|
+
**Source:** `src/handlers/gui_status/high/handlePatchGuiStatus.ts`
|
|
2529
|
+
|
|
2530
|
+
**Parameters:**
|
|
2531
|
+
- `activate` (boolean, optional) - Activate after patch. Default: false.
|
|
2532
|
+
- `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.
|
|
2533
|
+
- `program_name` (string, required) - Parent program name.
|
|
2534
|
+
- `skip_validation` (boolean, optional) - Skip client-side validation of the merged result. Default: false.
|
|
2535
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2536
|
+
|
|
2537
|
+
---
|
|
2538
|
+
|
|
2539
|
+
<a id="updateguistatus-high-level-gui-status"></a>
|
|
2540
|
+
#### UpdateGuiStatus (High-Level / Gui Status)
|
|
2541
|
+
**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.
|
|
2542
|
+
|
|
2543
|
+
**Source:** `src/handlers/gui_status/high/handleUpdateGuiStatus.ts`
|
|
2544
|
+
|
|
2545
|
+
**Parameters:**
|
|
2546
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
2547
|
+
- `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.
|
|
2548
|
+
- `program_name` (string, required) - Parent program name.
|
|
2549
|
+
- `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.
|
|
2550
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2551
|
+
|
|
2552
|
+
---
|
|
2553
|
+
|
|
2554
|
+
<a id="high-level-include"></a>
|
|
2555
|
+
### High-Level / Include
|
|
2556
|
+
|
|
2557
|
+
<a id="createinclude-high-level-include"></a>
|
|
2558
|
+
#### CreateInclude (High-Level / Include)
|
|
2559
|
+
**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.
|
|
2560
|
+
|
|
2561
|
+
**Source:** `src/handlers/include/high/handleCreateInclude.ts`
|
|
2562
|
+
|
|
2563
|
+
**Parameters:**
|
|
2564
|
+
- `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.
|
|
2565
|
+
- `description` (string, optional) - Include description (max 60 chars). If not provided, include_name will be used.
|
|
2566
|
+
- `include_name` (string, required) - Include program name (e.g., ZPAEK_TEST_INC01). Must follow SAP naming conventions (start with Z or Y).
|
|
2567
|
+
- `insert_into_main` (boolean, optional) - Auto-insert `INCLUDE <name>.` statement into the main program source. Default: true. Set false to skip main-program modification.
|
|
2568
|
+
- `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.
|
|
2569
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects).
|
|
2570
|
+
- `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.
|
|
2571
|
+
- `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).
|
|
2572
|
+
- `transport_request` (string, optional) - Transport request number (e.g., S4HK904224). Required for transportable packages. Optional for local ($TMP) objects.
|
|
2573
|
+
|
|
2574
|
+
---
|
|
2575
|
+
|
|
2576
|
+
<a id="deleteinclude-high-level-include"></a>
|
|
2577
|
+
#### DeleteInclude (High-Level / Include)
|
|
2578
|
+
**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.
|
|
2579
|
+
|
|
2580
|
+
**Source:** `src/handlers/include/high/handleDeleteInclude.ts`
|
|
2581
|
+
|
|
2582
|
+
**Parameters:**
|
|
2583
|
+
- `include_name` (string, required) - Include program name to delete.
|
|
2584
|
+
- `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).
|
|
2585
|
+
- `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.
|
|
2586
|
+
- `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.
|
|
2587
|
+
|
|
2588
|
+
---
|
|
2589
|
+
|
|
2590
|
+
<a id="updateinclude-high-level-include"></a>
|
|
2591
|
+
#### UpdateInclude (High-Level / Include)
|
|
2592
|
+
**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.
|
|
2593
|
+
|
|
2594
|
+
**Source:** `src/handlers/include/high/handleUpdateInclude.ts`
|
|
2595
|
+
|
|
2596
|
+
**Parameters:**
|
|
2597
|
+
- `activate` (boolean, optional) - Activate include after source update. Default: false. Set to true to activate immediately.
|
|
2598
|
+
- `include_name` (string, required) - Include program name. Must already exist as Type I include in SAP.
|
|
2599
|
+
- `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.
|
|
2600
|
+
- `source_code` (string, required) - Complete ABAP include source code. Do NOT include a REPORT statement — include programs start directly with code or comments.
|
|
2601
|
+
- `transport_request` (string, optional) - Transport request number. Required for transportable packages.
|
|
2151
2602
|
|
|
2152
2603
|
---
|
|
2153
2604
|
|
|
@@ -2164,7 +2615,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2164
2615
|
- `description` (string, optional) - Interface description. If not provided, interface_name will be used.
|
|
2165
2616
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
|
|
2166
2617
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
2167
|
-
- `transport_request` (string, optional) - Transport request
|
|
2618
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2168
2619
|
|
|
2169
2620
|
---
|
|
2170
2621
|
|
|
@@ -2176,7 +2627,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2176
2627
|
|
|
2177
2628
|
**Parameters:**
|
|
2178
2629
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
2179
|
-
- `transport_request` (string, optional) - Transport request
|
|
2630
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2180
2631
|
|
|
2181
2632
|
---
|
|
2182
2633
|
|
|
@@ -2188,7 +2639,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2188
2639
|
|
|
2189
2640
|
**Parameters:**
|
|
2190
2641
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
2191
|
-
- `
|
|
2642
|
+
- `output` (string, optional (default: inline)) -
|
|
2643
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2192
2644
|
|
|
2193
2645
|
---
|
|
2194
2646
|
|
|
@@ -2202,7 +2654,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2202
2654
|
- `activate` (boolean, optional) - Activate interface after update. Default: true.
|
|
2203
2655
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_MY_INTERFACE). Must exist in the system.
|
|
2204
2656
|
- `source_code` (string, required) - Complete ABAP interface source code with INTERFACE...ENDINTERFACE section.
|
|
2205
|
-
- `transport_request` (string, optional) - Transport request
|
|
2657
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
2206
2658
|
|
|
2207
2659
|
---
|
|
2208
2660
|
|
|
@@ -2217,7 +2669,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2217
2669
|
|
|
2218
2670
|
**Parameters:**
|
|
2219
2671
|
- `metadata_extension_name` (string, required) - MetadataExtension name (e.g., Z_MY_METADATAEXTENSION).
|
|
2220
|
-
- `transport_request` (string, optional) - Transport request
|
|
2672
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2221
2673
|
|
|
2222
2674
|
---
|
|
2223
2675
|
|
|
@@ -2229,7 +2681,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2229
2681
|
|
|
2230
2682
|
**Parameters:**
|
|
2231
2683
|
- `metadata_extension_name` (string, required) - MetadataExtension name (e.g., Z_MY_METADATAEXTENSION).
|
|
2232
|
-
- `version` (string, optional (default: active)) -
|
|
2684
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2233
2685
|
|
|
2234
2686
|
---
|
|
2235
2687
|
|
|
@@ -2255,7 +2707,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2255
2707
|
|
|
2256
2708
|
**Parameters:**
|
|
2257
2709
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
2258
|
-
- `version` (string, optional (default: active)) -
|
|
2710
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2259
2711
|
|
|
2260
2712
|
---
|
|
2261
2713
|
|
|
@@ -2269,12 +2721,12 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2269
2721
|
**Source:** `src/handlers/program/high/handleCreateProgram.ts`
|
|
2270
2722
|
|
|
2271
2723
|
**Parameters:**
|
|
2272
|
-
- `application` (string, optional) - Application area (e.g.,
|
|
2724
|
+
- `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
|
|
2273
2725
|
- `description` (string, optional) - Program description. If not provided, program_name will be used.
|
|
2274
2726
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
2275
2727
|
- `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
|
|
2728
|
+
- `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
|
|
2729
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2278
2730
|
|
|
2279
2731
|
---
|
|
2280
2732
|
|
|
@@ -2286,7 +2738,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2286
2738
|
|
|
2287
2739
|
**Parameters:**
|
|
2288
2740
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
2289
|
-
- `transport_request` (string, optional) - Transport request
|
|
2741
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2290
2742
|
|
|
2291
2743
|
---
|
|
2292
2744
|
|
|
@@ -2297,8 +2749,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2297
2749
|
**Source:** `src/handlers/program/high/handleGetProgram.ts`
|
|
2298
2750
|
|
|
2299
2751
|
**Parameters:**
|
|
2752
|
+
- `output` (string, optional (default: inline)) -
|
|
2300
2753
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
2301
|
-
- `version` (string, optional (default: active)) -
|
|
2754
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2302
2755
|
|
|
2303
2756
|
---
|
|
2304
2757
|
|
|
@@ -2312,7 +2765,66 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2312
2765
|
- `activate` (boolean, optional) - Activate program after source update. Default: false. Set to true to activate immediately, or use ActivateObject for batch activation.
|
|
2313
2766
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Program must already exist.
|
|
2314
2767
|
- `source_code` (string, required) - Complete ABAP program source code.
|
|
2315
|
-
- `transport_request` (string, optional) - Transport request
|
|
2768
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2769
|
+
|
|
2770
|
+
---
|
|
2771
|
+
|
|
2772
|
+
<a id="high-level-screen"></a>
|
|
2773
|
+
### High-Level / Screen
|
|
2774
|
+
|
|
2775
|
+
<a id="createscreen-high-level-screen"></a>
|
|
2776
|
+
#### CreateScreen (High-Level / Screen)
|
|
2777
|
+
**Description:** Create a new ABAP Screen (Dynpro) on an existing program. Optionally activates.
|
|
2778
|
+
|
|
2779
|
+
**Source:** `src/handlers/screen/high/handleCreateScreen.ts`
|
|
2780
|
+
|
|
2781
|
+
**Parameters:**
|
|
2782
|
+
- `activate` (boolean, optional) - Activate after creation. Default: false.
|
|
2783
|
+
- `description` (string, optional) - Screen description.
|
|
2784
|
+
- `dynpro_data` (string, optional) - Full screen definition as JSON. If omitted, creates minimal screen.
|
|
2785
|
+
- `program_name` (string, required) - Parent program name.
|
|
2786
|
+
- `screen_number` (string, required) - Screen number to create (e.g., 0100).
|
|
2787
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2788
|
+
|
|
2789
|
+
---
|
|
2790
|
+
|
|
2791
|
+
<a id="deletescreen-high-level-screen"></a>
|
|
2792
|
+
#### DeleteScreen (High-Level / Screen)
|
|
2793
|
+
**Description:** Delete an ABAP Screen (Dynpro) from a program. Handles lock/unlock automatically.
|
|
2794
|
+
|
|
2795
|
+
**Source:** `src/handlers/screen/high/handleDeleteScreen.ts`
|
|
2796
|
+
|
|
2797
|
+
**Parameters:**
|
|
2798
|
+
- `program_name` (string, required) - Parent program name.
|
|
2799
|
+
- `screen_number` (string, required) - Screen number to delete.
|
|
2800
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2801
|
+
|
|
2802
|
+
---
|
|
2803
|
+
|
|
2804
|
+
<a id="getscreen-high-level-screen"></a>
|
|
2805
|
+
#### GetScreen (High-Level / Screen)
|
|
2806
|
+
**Description:** Get ABAP Screen (Dynpro) definition including metadata, fields, and flow logic source code.
|
|
2807
|
+
|
|
2808
|
+
**Source:** `src/handlers/screen/high/handleGetScreen.ts`
|
|
2809
|
+
|
|
2810
|
+
**Parameters:**
|
|
2811
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
2812
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
2813
|
+
|
|
2814
|
+
---
|
|
2815
|
+
|
|
2816
|
+
<a id="updatescreen-high-level-screen"></a>
|
|
2817
|
+
#### UpdateScreen (High-Level / Screen)
|
|
2818
|
+
**Description:** Update an ABAP Screen (Dynpro) definition. Provide full screen data as JSON. Handles lock/unlock automatically.
|
|
2819
|
+
|
|
2820
|
+
**Source:** `src/handlers/screen/high/handleUpdateScreen.ts`
|
|
2821
|
+
|
|
2822
|
+
**Parameters:**
|
|
2823
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
2824
|
+
- `dynpro_data` (string, required) - Complete screen definition as JSON (from GetScreen/ReadScreen).
|
|
2825
|
+
- `program_name` (string, required) - Parent program name.
|
|
2826
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
2827
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2316
2828
|
|
|
2317
2829
|
---
|
|
2318
2830
|
|
|
@@ -2360,7 +2872,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2360
2872
|
**Source:** `src/handlers/service_binding/high/handleGetServiceBinding.ts`
|
|
2361
2873
|
|
|
2362
2874
|
**Parameters:**
|
|
2363
|
-
- `response_format` (string, optional (default: xml)) - Preferred response format.
|
|
2875
|
+
- `response_format` (string, optional (default: xml)) - Preferred response format. "json" requests JSON from endpoint, "xml" parses XML payload, "plain" returns raw text.
|
|
2364
2876
|
- `service_binding_name` (string, required) - Service binding name (for example: ZUI_MY_BINDING). Case-insensitive.
|
|
2365
2877
|
|
|
2366
2878
|
---
|
|
@@ -2422,7 +2934,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2422
2934
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
2423
2935
|
- `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must follow SAP naming conventions (start with Z or Y).
|
|
2424
2936
|
- `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
|
|
2937
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2426
2938
|
|
|
2427
2939
|
---
|
|
2428
2940
|
|
|
@@ -2434,7 +2946,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2434
2946
|
|
|
2435
2947
|
**Parameters:**
|
|
2436
2948
|
- `service_definition_name` (string, required) - ServiceDefinition name (e.g., Z_MY_SERVICEDEFINITION).
|
|
2437
|
-
- `transport_request` (string, optional) - Transport request
|
|
2949
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2438
2950
|
|
|
2439
2951
|
---
|
|
2440
2952
|
|
|
@@ -2446,7 +2958,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2446
2958
|
|
|
2447
2959
|
**Parameters:**
|
|
2448
2960
|
- `service_definition_name` (string, required) - ServiceDefinition name (e.g., Z_MY_SERVICEDEFINITION).
|
|
2449
|
-
- `version` (string, optional (default: active)) -
|
|
2961
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2450
2962
|
|
|
2451
2963
|
---
|
|
2452
2964
|
|
|
@@ -2460,7 +2972,38 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2460
2972
|
- `activate` (boolean, optional) - Activate service definition after update. Default: true.
|
|
2461
2973
|
- `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must exist in the system.
|
|
2462
2974
|
- `source_code` (string, required) - Complete service definition source code.
|
|
2463
|
-
- `transport_request` (string, optional) - Transport request
|
|
2975
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
2976
|
+
|
|
2977
|
+
---
|
|
2978
|
+
|
|
2979
|
+
<a id="high-level-smartform"></a>
|
|
2980
|
+
### High-Level / Smartform
|
|
2981
|
+
|
|
2982
|
+
<a id="createsmartform-high-level-smartform"></a>
|
|
2983
|
+
#### CreateSmartForm (High-Level / Smartform)
|
|
2984
|
+
**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.
|
|
2985
|
+
|
|
2986
|
+
**Source:** `src/handlers/smartform/high/handleCreateSmartForm.ts`
|
|
2987
|
+
|
|
2988
|
+
**Parameters:**
|
|
2989
|
+
- `activate` (boolean, optional) - Check and store active. Default true; false stores the form inactive without a check.
|
|
2990
|
+
- `form_name` (string, required) - Target SmartForm name, Z* or Y* (e.g. "ZMY_FORM").
|
|
2991
|
+
- `overwrite` (boolean, optional) - Replace the form when it exists. Default false (an existing form is refused).
|
|
2992
|
+
- `package_name` (string, optional) - Package. Default $TMP; any other package needs transport_request.
|
|
2993
|
+
- `transport_request` (string, optional) - Transport request the form is recorded in.
|
|
2994
|
+
- `xml_file` (string, required) - Path of the Form Builder XML file (UTF-8).
|
|
2995
|
+
|
|
2996
|
+
---
|
|
2997
|
+
|
|
2998
|
+
<a id="deletesmartform-high-level-smartform"></a>
|
|
2999
|
+
#### DeleteSmartForm (High-Level / Smartform)
|
|
3000
|
+
**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.
|
|
3001
|
+
|
|
3002
|
+
**Source:** `src/handlers/smartform/high/handleDeleteSmartForm.ts`
|
|
3003
|
+
|
|
3004
|
+
**Parameters:**
|
|
3005
|
+
- `confirm` (boolean, optional) - true = really delete. Default false (dry run).
|
|
3006
|
+
- `form_name` (string, required) - SmartForm name, Z* or Y*.
|
|
2464
3007
|
|
|
2465
3008
|
---
|
|
2466
3009
|
|
|
@@ -2480,7 +3023,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2480
3023
|
- `includes` (array, optional) - Include other structures in this structure
|
|
2481
3024
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
2482
3025
|
- `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Must follow SAP naming conventions.
|
|
2483
|
-
- `transport_request` (string, optional) - Transport request
|
|
3026
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2484
3027
|
|
|
2485
3028
|
---
|
|
2486
3029
|
|
|
@@ -2492,7 +3035,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2492
3035
|
|
|
2493
3036
|
**Parameters:**
|
|
2494
3037
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_STRUCTURE).
|
|
2495
|
-
- `transport_request` (string, optional) - Transport request
|
|
3038
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2496
3039
|
|
|
2497
3040
|
---
|
|
2498
3041
|
|
|
@@ -2504,7 +3047,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2504
3047
|
|
|
2505
3048
|
**Parameters:**
|
|
2506
3049
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_STRUCTURE).
|
|
2507
|
-
- `version` (string, optional (default: active)) -
|
|
3050
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2508
3051
|
|
|
2509
3052
|
---
|
|
2510
3053
|
|
|
@@ -2516,9 +3059,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2516
3059
|
|
|
2517
3060
|
**Parameters:**
|
|
2518
3061
|
- `activate` (boolean, optional) - Activate structure after source update. Default: true.
|
|
2519
|
-
- `ddl_code` (string, required) - Complete DDL source code for structure. Example:
|
|
3062
|
+
- `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
3063
|
- `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Structure must already exist.
|
|
2521
|
-
- `transport_request` (string, optional) - Transport request
|
|
3064
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
2522
3065
|
|
|
2523
3066
|
---
|
|
2524
3067
|
|
|
@@ -2536,7 +3079,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2536
3079
|
- `include_descriptions` (boolean, optional (default: true)) - Include object descriptions in response. Default: true
|
|
2537
3080
|
- `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
3081
|
- `max_depth` (integer, optional (default: 5)) - Maximum depth for recursive package traversal. Default: 5
|
|
2539
|
-
- `package_name` (string, required) - Package name (e.g.,
|
|
3082
|
+
- `package_name` (string, required) - Package name (e.g., "ZMY_PACKAGE")
|
|
2540
3083
|
|
|
2541
3084
|
---
|
|
2542
3085
|
|
|
@@ -2553,7 +3096,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2553
3096
|
- `description` (string, optional) - Table description for validation and creation.
|
|
2554
3097
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
|
|
2555
3098
|
- `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Must follow SAP naming conventions.
|
|
2556
|
-
- `transport_request` (string, optional) - Transport request
|
|
3099
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2557
3100
|
|
|
2558
3101
|
---
|
|
2559
3102
|
|
|
@@ -2565,7 +3108,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2565
3108
|
|
|
2566
3109
|
**Parameters:**
|
|
2567
3110
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE).
|
|
2568
|
-
- `transport_request` (string, optional) - Transport request
|
|
3111
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2569
3112
|
|
|
2570
3113
|
---
|
|
2571
3114
|
|
|
@@ -2577,7 +3120,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2577
3120
|
|
|
2578
3121
|
**Parameters:**
|
|
2579
3122
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE).
|
|
2580
|
-
- `version` (string, optional (default: active)) -
|
|
3123
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2581
3124
|
|
|
2582
3125
|
---
|
|
2583
3126
|
|
|
@@ -2589,9 +3132,104 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2589
3132
|
|
|
2590
3133
|
**Parameters:**
|
|
2591
3134
|
- `activate` (boolean, optional) - Activate table after source update. Default: true.
|
|
2592
|
-
- `ddl_code` (string, required) - Complete DDL source code for
|
|
3135
|
+
- `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
3136
|
- `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Table must already exist.
|
|
2594
|
-
- `transport_request` (string, optional) - Transport request
|
|
3137
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
3138
|
+
|
|
3139
|
+
---
|
|
3140
|
+
|
|
3141
|
+
<a id="high-level-text-element"></a>
|
|
3142
|
+
### High-Level / Text Element
|
|
3143
|
+
|
|
3144
|
+
<a id="createtextelement-high-level-text-element"></a>
|
|
3145
|
+
#### CreateTextElement (High-Level / Text Element)
|
|
3146
|
+
**Description:** Add a text element (text symbol, selection text, program title, or list heading) to an ABAP program. Optionally activates after write.
|
|
3147
|
+
|
|
3148
|
+
**Source:** `src/handlers/text_element/high/handleCreateTextElement.ts`
|
|
3149
|
+
|
|
3150
|
+
**Parameters:**
|
|
3151
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
3152
|
+
- `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).
|
|
3153
|
+
- `language` (string, optional) - Language key (1-char). Defaults to SAP logon language.
|
|
3154
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
3155
|
+
- `text` (string, required) - Text content (max ${MAX_ENTRY_LEN} characters).
|
|
3156
|
+
- `text_type` (string, required) - "I"=text symbol (TEXT-xxx), "S"=selection text, "R"=program title, "H"=list heading.
|
|
3157
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
3158
|
+
|
|
3159
|
+
---
|
|
3160
|
+
|
|
3161
|
+
<a id="deletetextelement-high-level-text-element"></a>
|
|
3162
|
+
#### DeleteTextElement (High-Level / Text Element)
|
|
3163
|
+
**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.
|
|
3164
|
+
|
|
3165
|
+
**Source:** `src/handlers/text_element/high/handleDeleteTextElement.ts`
|
|
3166
|
+
|
|
3167
|
+
**Parameters:**
|
|
3168
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
3169
|
+
- `key` (string, optional) - Row key, or "*" to delete every row of the given text_type.
|
|
3170
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
3171
|
+
- `program_name` (string, required) - Parent program name.
|
|
3172
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H", or "*" to wipe every row in the language.
|
|
3173
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
3174
|
+
|
|
3175
|
+
---
|
|
3176
|
+
|
|
3177
|
+
<a id="gettextelement-high-level-text-element"></a>
|
|
3178
|
+
#### GetTextElement (High-Level / Text Element)
|
|
3179
|
+
**Description:** Read ABAP program text pool (text symbols, selection texts, title, headings). Optionally filter by text_type / key.
|
|
3180
|
+
|
|
3181
|
+
**Source:** `src/handlers/text_element/high/handleGetTextElement.ts`
|
|
3182
|
+
|
|
3183
|
+
**Parameters:**
|
|
3184
|
+
- `key` (string, optional) - Optional: filter by row key (e.g., "001" for text symbol TEXT-001, or a parameter name for selection text).
|
|
3185
|
+
- `language` (string, optional) - Language key (1-char, e.g., "E", "D", "K"). Defaults to the SAP logon language.
|
|
3186
|
+
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
3187
|
+
- `text_type` (string, optional) - Filter by ID: "I"=text symbol, "S"=selection text, "R"=program title, "H"=list heading.
|
|
3188
|
+
|
|
3189
|
+
---
|
|
3190
|
+
|
|
3191
|
+
<a id="readtextelementsbulk-high-level-text-element"></a>
|
|
3192
|
+
#### ReadTextElementsBulk (High-Level / Text Element)
|
|
3193
|
+
**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.
|
|
3194
|
+
|
|
3195
|
+
**Source:** `src/handlers/text_element/high/handleReadTextElementsBulk.ts`
|
|
3196
|
+
|
|
3197
|
+
**Parameters:**
|
|
3198
|
+
- `language` (string, optional) - 1-char language. Defaults to SAP logon language.
|
|
3199
|
+
- `program_name` (string, required) - Program name.
|
|
3200
|
+
|
|
3201
|
+
---
|
|
3202
|
+
|
|
3203
|
+
<a id="updatetextelement-high-level-text-element"></a>
|
|
3204
|
+
#### UpdateTextElement (High-Level / Text Element)
|
|
3205
|
+
**Description:** Update an existing text element in an ABAP program text pool. Handles lock/unlock automatically.
|
|
3206
|
+
|
|
3207
|
+
**Source:** `src/handlers/text_element/high/handleUpdateTextElement.ts`
|
|
3208
|
+
|
|
3209
|
+
**Parameters:**
|
|
3210
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
3211
|
+
- `key` (string, optional) - Row key. Required except for "R" (single program title).
|
|
3212
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
3213
|
+
- `program_name` (string, required) - Parent program name.
|
|
3214
|
+
- `text` (string, required) - New text content (max ${MAX_ENTRY_LEN} characters).
|
|
3215
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H" — see GetTextElement.
|
|
3216
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
3217
|
+
|
|
3218
|
+
---
|
|
3219
|
+
|
|
3220
|
+
<a id="writetextelementsbulk-high-level-text-element"></a>
|
|
3221
|
+
#### WriteTextElementsBulk (High-Level / Text Element)
|
|
3222
|
+
**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.
|
|
3223
|
+
|
|
3224
|
+
**Source:** `src/handlers/text_element/high/handleWriteTextElementsBulk.ts`
|
|
3225
|
+
|
|
3226
|
+
**Parameters:**
|
|
3227
|
+
- `activate` (boolean, optional) - false (default) — stage as INACTIVE (program activation promotes). true — write ACTIVE immediately.
|
|
3228
|
+
- `language` (string, optional) - 1-char language key (e.g. "K" for Korean). Defaults to SAP logon language.
|
|
3229
|
+
- `program_name` (string, required) - Parent program name.
|
|
3230
|
+
- `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).
|
|
3231
|
+
- `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".
|
|
3232
|
+
- `transport_request` (string, optional) - Transport request number (informational).
|
|
2595
3233
|
|
|
2596
3234
|
---
|
|
2597
3235
|
|
|
@@ -2607,8 +3245,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2607
3245
|
**Parameters:**
|
|
2608
3246
|
- `description` (string, required) - Transport request description (mandatory)
|
|
2609
3247
|
- `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:
|
|
3248
|
+
- `target_system` (string, optional) - Target system for transport (optional, e.g., 'PRD', 'QAS'). If not provided or empty, uses 'LOCAL'
|
|
3249
|
+
- `transport_type` (string, optional (default: workbench)) - Transport type: 'workbench' (cross-client) or 'customizing' (client-specific)
|
|
2612
3250
|
|
|
2613
3251
|
---
|
|
2614
3252
|
|
|
@@ -2626,7 +3264,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2626
3264
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
2627
3265
|
- `description` (string, optional) - Optional description for the global test class.
|
|
2628
3266
|
- `package_name` (string, required) - Package name (e.g., ZOK_TEST_PKG_01, $TMP).
|
|
2629
|
-
- `transport_request` (string, optional) - Transport request
|
|
3267
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2630
3268
|
|
|
2631
3269
|
---
|
|
2632
3270
|
|
|
@@ -2654,7 +3292,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2654
3292
|
|
|
2655
3293
|
**Parameters:**
|
|
2656
3294
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
2657
|
-
- `transport_request` (string, optional) - Transport request
|
|
3295
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2658
3296
|
|
|
2659
3297
|
---
|
|
2660
3298
|
|
|
@@ -2743,7 +3381,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2743
3381
|
|
|
2744
3382
|
<a id="rununittest-high-level-unit-test"></a>
|
|
2745
3383
|
#### RunUnitTest (High-Level / Unit Test)
|
|
2746
|
-
**Description:** Start an ABAP Unit test run for provided
|
|
3384
|
+
**Description:** Start an ABAP Unit test run for provided test definitions. Returns run_id for status/result queries.
|
|
2747
3385
|
|
|
2748
3386
|
**Source:** `src/handlers/unit_test/high/handleRunUnitTest.ts`
|
|
2749
3387
|
|
|
@@ -2766,7 +3404,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2766
3404
|
**Parameters:**
|
|
2767
3405
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
2768
3406
|
- `test_class_source` (string, required) - Updated local test class ABAP source code.
|
|
2769
|
-
- `transport_request` (string, optional) - Transport request
|
|
3407
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2770
3408
|
|
|
2771
3409
|
---
|
|
2772
3410
|
|
|
@@ -2793,7 +3431,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2793
3431
|
**Parameters:**
|
|
2794
3432
|
- `description` (string, optional) - Optional description (defaults to view_name).
|
|
2795
3433
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
2796
|
-
- `transport_request` (string, optional) - Transport request
|
|
3434
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2797
3435
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
|
|
2798
3436
|
|
|
2799
3437
|
---
|
|
@@ -2805,7 +3443,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2805
3443
|
**Source:** `src/handlers/view/high/handleDeleteView.ts`
|
|
2806
3444
|
|
|
2807
3445
|
**Parameters:**
|
|
2808
|
-
- `transport_request` (string, optional) - Transport request
|
|
3446
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2809
3447
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
2810
3448
|
|
|
2811
3449
|
---
|
|
@@ -2817,7 +3455,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2817
3455
|
**Source:** `src/handlers/view/high/handleGetView.ts`
|
|
2818
3456
|
|
|
2819
3457
|
**Parameters:**
|
|
2820
|
-
- `version` (string, optional (default: active)) -
|
|
3458
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
2821
3459
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
2822
3460
|
|
|
2823
3461
|
---
|
|
@@ -2831,7 +3469,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2831
3469
|
**Parameters:**
|
|
2832
3470
|
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
2833
3471
|
- `ddl_source` (string, required) - Complete DDL source code.
|
|
2834
|
-
- `transport_request` (string, optional) - Transport request
|
|
3472
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2835
3473
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002).
|
|
2836
3474
|
|
|
2837
3475
|
---
|
|
@@ -2876,7 +3514,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2876
3514
|
|
|
2877
3515
|
**Parameters:**
|
|
2878
3516
|
- `description` (string, required) - Behavior Definition description.
|
|
2879
|
-
- `implementation_type` (string, required) - Implementation type:
|
|
3517
|
+
- `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', or 'Projection'.
|
|
2880
3518
|
- `name` (string, required) - Behavior Definition name (e.g., ZI_MY_BDEF).
|
|
2881
3519
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2882
3520
|
- `root_entity` (string, required) - Root entity name (e.g., ZI_MY_ENTITY).
|
|
@@ -2894,7 +3532,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2894
3532
|
|
|
2895
3533
|
**Parameters:**
|
|
2896
3534
|
- `name` (string, required) - BehaviorDefinition name (e.g., ZI_MY_BDEF).
|
|
2897
|
-
- `transport_request` (string, optional) - Transport request
|
|
3535
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2898
3536
|
|
|
2899
3537
|
---
|
|
2900
3538
|
|
|
@@ -2936,8 +3574,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2936
3574
|
- `name` (string, required) - Behavior definition name (e.g., ZOK_C_TEST_0001). Behavior definition must already exist.
|
|
2937
3575
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2938
3576
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3577
|
+
- `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
3578
|
- `source_code` (string, required) - Complete behavior definition source code.
|
|
2940
|
-
- `transport_request` (string, optional) - Transport request
|
|
3579
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2941
3580
|
|
|
2942
3581
|
---
|
|
2943
3582
|
|
|
@@ -2949,7 +3588,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2949
3588
|
|
|
2950
3589
|
**Parameters:**
|
|
2951
3590
|
- `description` (string, required) - BehaviorDefinition description. Required for validation.
|
|
2952
|
-
- `implementation_type` (string, required) - Implementation type:
|
|
3591
|
+
- `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', or 'Projection'.
|
|
2953
3592
|
- `name` (string, required) - BehaviorDefinition name to validate (e.g., ZI_MY_BDEF).
|
|
2954
3593
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation.
|
|
2955
3594
|
- `root_entity` (string, required) - Root entity name (e.g., ZI_MY_ENTITY). Required for validation.
|
|
@@ -2975,7 +3614,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
2975
3614
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2976
3615
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2977
3616
|
- `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
|
|
3617
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2979
3618
|
|
|
2980
3619
|
---
|
|
2981
3620
|
|
|
@@ -3049,7 +3688,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3049
3688
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3050
3689
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3051
3690
|
- `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:
|
|
3691
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
3053
3692
|
|
|
3054
3693
|
---
|
|
3055
3694
|
|
|
@@ -3068,8 +3707,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3068
3707
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3069
3708
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3070
3709
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3710
|
+
- `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
3711
|
- `superclass` (string, optional) - Superclass name (optional).
|
|
3072
|
-
- `transport_request` (string, optional) - Transport request
|
|
3712
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3073
3713
|
|
|
3074
3714
|
---
|
|
3075
3715
|
|
|
@@ -3081,7 +3721,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3081
3721
|
|
|
3082
3722
|
**Parameters:**
|
|
3083
3723
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
3084
|
-
- `transport_request` (string, optional) - Transport request
|
|
3724
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3085
3725
|
|
|
3086
3726
|
---
|
|
3087
3727
|
|
|
@@ -3092,7 +3732,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3092
3732
|
**Source:** `src/handlers/class/low/handleGetClassUnitTestResult.ts`
|
|
3093
3733
|
|
|
3094
3734
|
**Parameters:**
|
|
3095
|
-
- `format` (string, optional) - Preferred response format. Defaults to
|
|
3735
|
+
- `format` (string, optional) - Preferred response format. Defaults to 'abapunit'.
|
|
3096
3736
|
- `run_id` (string, required) - Run identifier returned by RunClassUnitTestsLow.
|
|
3097
3737
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3098
3738
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
@@ -3191,6 +3831,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3191
3831
|
**Parameters:**
|
|
3192
3832
|
- `class_name` (string, required) - Class name (e.g., ZCL_TEST_CLASS_001). Class must already exist.
|
|
3193
3833
|
- `lock_handle` (string, required) - Lock handle from LockClass operation. Required for update operation.
|
|
3834
|
+
- `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
3835
|
- `source_code` (string, required) - Complete ABAP class source code including CLASS DEFINITION and IMPLEMENTATION sections.
|
|
3195
3836
|
|
|
3196
3837
|
---
|
|
@@ -3206,6 +3847,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3206
3847
|
- `lock_handle` (string, required) - Test classes lock handle from LockClassTestClassesLow.
|
|
3207
3848
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3208
3849
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
3850
|
+
- `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
3851
|
- `test_class_source` (string, required) - Complete ABAP Unit test class source code.
|
|
3210
3852
|
|
|
3211
3853
|
---
|
|
@@ -3236,7 +3878,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3236
3878
|
**Source:** `src/handlers/common/low/handleActivateObject.ts`
|
|
3237
3879
|
|
|
3238
3880
|
**Parameters:**
|
|
3239
|
-
- `objects` (array, required) - Array of objects to activate. Each object must have
|
|
3881
|
+
- `objects` (array, required) - Array of objects to activate. Each object must have 'name' and 'type'. URI is optional.
|
|
3240
3882
|
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default: true
|
|
3241
3883
|
|
|
3242
3884
|
---
|
|
@@ -3252,7 +3894,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3252
3894
|
- `object_type` (string, required) - Object type
|
|
3253
3895
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3254
3896
|
- `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:
|
|
3897
|
+
- `version` (string, optional) - Version to check: 'active' or 'inactive' (default active)
|
|
3256
3898
|
|
|
3257
3899
|
---
|
|
3258
3900
|
|
|
@@ -3309,9 +3951,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3309
3951
|
**Parameters:**
|
|
3310
3952
|
- `behavior_definition` (string, optional) - Optional behavior definition name (required for behavior_implementation validation)
|
|
3311
3953
|
- `description` (string, optional) - Optional description for validation
|
|
3312
|
-
- `implementation_type` (string, optional) - Implementation type:
|
|
3954
|
+
- `implementation_type` (string, optional) - Implementation type: 'Managed', 'Unmanaged', or 'External' (required for behavior_definition validation)
|
|
3313
3955
|
- `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:
|
|
3956
|
+
- `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
3957
|
- `package_name` (string, optional) - Optional package name for validation
|
|
3316
3958
|
- `root_entity` (string, optional) - Root entity name (required for behavior_definition validation)
|
|
3317
3959
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
@@ -3356,16 +3998,16 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3356
3998
|
|
|
3357
3999
|
**Parameters:**
|
|
3358
4000
|
- `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
|
|
4001
|
+
- `data_type` (string, optional) - Data type (e.g., CHAR, NUMC) or domain name when type_kind is 'E' or 'domain'.
|
|
3360
4002
|
- `decimals` (number, optional) - Decimal places (for predefinedAbapType or refToPredefinedAbapType)
|
|
3361
4003
|
- `description` (string, required) - DataElement description.
|
|
3362
4004
|
- `length` (number, optional) - Data type length (for predefinedAbapType or refToPredefinedAbapType)
|
|
3363
4005
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3364
4006
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3365
4007
|
- `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
|
|
4008
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4009
|
+
- `type_kind` (string, optional) - Type kind: 'E' for domain-based, 'P' for predefined type, etc.
|
|
4010
|
+
- `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
4011
|
|
|
3370
4012
|
---
|
|
3371
4013
|
|
|
@@ -3377,7 +4019,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3377
4019
|
|
|
3378
4020
|
**Parameters:**
|
|
3379
4021
|
- `data_element_name` (string, required) - DataElement name (e.g., Z_MY_PROGRAM).
|
|
3380
|
-
- `transport_request` (string, optional) - Transport request
|
|
4022
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3381
4023
|
|
|
3382
4024
|
---
|
|
3383
4025
|
|
|
@@ -3475,11 +4117,12 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3475
4117
|
|
|
3476
4118
|
**Parameters:**
|
|
3477
4119
|
- `description` (string, required) - Metadata Extension description.
|
|
3478
|
-
- `master_language` (string, optional) - Master language (optional, e.g.,
|
|
4120
|
+
- `master_language` (string, optional) - Master language (optional, e.g., 'EN').
|
|
3479
4121
|
- `name` (string, required) - Metadata Extension name (e.g., ZI_MY_DDLX).
|
|
3480
4122
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3481
4123
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3482
4124
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4125
|
+
- `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
4126
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Optional for local objects.
|
|
3484
4127
|
|
|
3485
4128
|
---
|
|
@@ -3492,7 +4135,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3492
4135
|
|
|
3493
4136
|
**Parameters:**
|
|
3494
4137
|
- `name` (string, required) - MetadataExtension name (e.g., ZI_MY_DDLX).
|
|
3495
|
-
- `transport_request` (string, optional) - Transport request
|
|
4138
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3496
4139
|
|
|
3497
4140
|
---
|
|
3498
4141
|
|
|
@@ -3534,6 +4177,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3534
4177
|
- `name` (string, required) - Metadata extension name (e.g., ZOK_C_TEST_0001). Metadata extension must already exist.
|
|
3535
4178
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3536
4179
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4180
|
+
- `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
4181
|
- `source_code` (string, required) - Complete metadata extension source code.
|
|
3538
4182
|
|
|
3539
4183
|
---
|
|
@@ -3594,7 +4238,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3594
4238
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3595
4239
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3596
4240
|
- `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
|
|
4241
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3598
4242
|
|
|
3599
4243
|
---
|
|
3600
4244
|
|
|
@@ -3606,7 +4250,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3606
4250
|
|
|
3607
4251
|
**Parameters:**
|
|
3608
4252
|
- `domain_name` (string, required) - Domain name (e.g., Z_MY_PROGRAM).
|
|
3609
|
-
- `transport_request` (string, optional) - Transport request
|
|
4253
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3610
4254
|
|
|
3611
4255
|
---
|
|
3612
4256
|
|
|
@@ -3721,7 +4365,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3721
4365
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FM)
|
|
3722
4366
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3723
4367
|
- `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:
|
|
4368
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
3725
4369
|
|
|
3726
4370
|
---
|
|
3727
4371
|
|
|
@@ -3737,7 +4381,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3737
4381
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3738
4382
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3739
4383
|
- `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
|
|
4384
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3741
4385
|
|
|
3742
4386
|
---
|
|
3743
4387
|
|
|
@@ -3754,7 +4398,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3754
4398
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3755
4399
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3756
4400
|
- `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
|
|
4401
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3758
4402
|
|
|
3759
4403
|
---
|
|
3760
4404
|
|
|
@@ -3766,7 +4410,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3766
4410
|
|
|
3767
4411
|
**Parameters:**
|
|
3768
4412
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_PROGRAM).
|
|
3769
|
-
- `transport_request` (string, optional) - Transport request
|
|
4413
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3770
4414
|
|
|
3771
4415
|
---
|
|
3772
4416
|
|
|
@@ -3779,7 +4423,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3779
4423
|
**Parameters:**
|
|
3780
4424
|
- `function_group_name` (string, required) - Function group name (e.g., ZFG_MY_GROUP).
|
|
3781
4425
|
- `function_module_name` (string, required) - Function module name (e.g., Z_MY_FUNCTION).
|
|
3782
|
-
- `transport_request` (string, optional) - Transport request
|
|
4426
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3783
4427
|
|
|
3784
4428
|
---
|
|
3785
4429
|
|
|
@@ -3851,6 +4495,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3851
4495
|
- `lock_handle` (string, required) - Lock handle from LockFunctionModule. Required for update operation.
|
|
3852
4496
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3853
4497
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4498
|
+
- `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
4499
|
- `source_code` (string, required) - Complete ABAP function module source code.
|
|
3855
4500
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects locked in a request.
|
|
3856
4501
|
|
|
@@ -3886,6 +4531,99 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3886
4531
|
|
|
3887
4532
|
---
|
|
3888
4533
|
|
|
4534
|
+
<a id="low-level-gui-status"></a>
|
|
4535
|
+
### Low-Level / Gui Status
|
|
4536
|
+
|
|
4537
|
+
<a id="activateguistatuslow-low-level-gui-status"></a>
|
|
4538
|
+
#### ActivateGuiStatusLow (Low-Level / Gui Status)
|
|
4539
|
+
**Description:** [low-level] Activate an ABAP program to make GUI Status changes active.
|
|
4540
|
+
|
|
4541
|
+
**Source:** `src/handlers/gui_status/low/handleActivateGuiStatus.ts`
|
|
4542
|
+
|
|
4543
|
+
**Parameters:**
|
|
4544
|
+
- `program_name` (string, required) - Parent program name.
|
|
4545
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4546
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4547
|
+
|
|
4548
|
+
---
|
|
4549
|
+
|
|
4550
|
+
<a id="createguistatuslow-low-level-gui-status"></a>
|
|
4551
|
+
#### CreateGuiStatusLow (Low-Level / Gui Status)
|
|
4552
|
+
**Description:** [low-level] Create a new ABAP GUI Status on an existing program.
|
|
4553
|
+
|
|
4554
|
+
**Source:** `src/handlers/gui_status/low/handleCreateGuiStatus.ts`
|
|
4555
|
+
|
|
4556
|
+
**Parameters:**
|
|
4557
|
+
- `description` (string, optional) - GUI Status description.
|
|
4558
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
4559
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4560
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4561
|
+
- `status_name` (string, required) - GUI Status name to create (e.g., MAIN_STATUS).
|
|
4562
|
+
- `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".
|
|
4563
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
4564
|
+
|
|
4565
|
+
---
|
|
4566
|
+
|
|
4567
|
+
<a id="deleteguistatuslow-low-level-gui-status"></a>
|
|
4568
|
+
#### DeleteGuiStatusLow (Low-Level / Gui Status)
|
|
4569
|
+
**Description:** [low-level] Delete an ABAP GUI Status from a program.
|
|
4570
|
+
|
|
4571
|
+
**Source:** `src/handlers/gui_status/low/handleDeleteGuiStatus.ts`
|
|
4572
|
+
|
|
4573
|
+
**Parameters:**
|
|
4574
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
4575
|
+
- `program_name` (string, required) - Parent program name.
|
|
4576
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4577
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4578
|
+
- `status_name` (string, required) - GUI Status name to delete. Use "*" to delete all.
|
|
4579
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
4580
|
+
|
|
4581
|
+
---
|
|
4582
|
+
|
|
4583
|
+
<a id="lockguistatuslow-low-level-gui-status"></a>
|
|
4584
|
+
#### LockGuiStatusLow (Low-Level / Gui Status)
|
|
4585
|
+
**Description:** [low-level] Lock a program for GUI Status modification. Returns lock handle for subsequent update/unlock operations.
|
|
4586
|
+
|
|
4587
|
+
**Source:** `src/handlers/gui_status/low/handleLockGuiStatus.ts`
|
|
4588
|
+
|
|
4589
|
+
**Parameters:**
|
|
4590
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
4591
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4592
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4593
|
+
- `status_name` (string, optional) - GUI Status name (for reference only).
|
|
4594
|
+
|
|
4595
|
+
---
|
|
4596
|
+
|
|
4597
|
+
<a id="unlockguistatuslow-low-level-gui-status"></a>
|
|
4598
|
+
#### UnlockGuiStatusLow (Low-Level / Gui Status)
|
|
4599
|
+
**Description:** [low-level] Unlock a program after GUI Status modification. Requires lock handle from LockGuiStatusLow.
|
|
4600
|
+
|
|
4601
|
+
**Source:** `src/handlers/gui_status/low/handleUnlockGuiStatus.ts`
|
|
4602
|
+
|
|
4603
|
+
**Parameters:**
|
|
4604
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
4605
|
+
- `program_name` (string, required) - Parent program name.
|
|
4606
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4607
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4608
|
+
|
|
4609
|
+
---
|
|
4610
|
+
|
|
4611
|
+
<a id="updateguistatuslow-low-level-gui-status"></a>
|
|
4612
|
+
#### UpdateGuiStatusLow (Low-Level / Gui Status)
|
|
4613
|
+
**Description:** [low-level] Update an ABAP GUI Status definition. Provide full CUA data (from ReadGuiStatus) with modifications.
|
|
4614
|
+
|
|
4615
|
+
**Source:** `src/handlers/gui_status/low/handleUpdateGuiStatus.ts`
|
|
4616
|
+
|
|
4617
|
+
**Parameters:**
|
|
4618
|
+
- `cua_data` (string, required) - Complete CUA data as JSON string (from ReadGuiStatus/GetGuiStatus). Modify and pass back.
|
|
4619
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
4620
|
+
- `program_name` (string, required) - Parent program name.
|
|
4621
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4622
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4623
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
4624
|
+
|
|
4625
|
+
---
|
|
4626
|
+
|
|
3889
4627
|
<a id="low-level-interface"></a>
|
|
3890
4628
|
### Low-Level / Interface
|
|
3891
4629
|
|
|
@@ -3927,7 +4665,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3927
4665
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
3928
4666
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
3929
4667
|
- `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
|
|
4668
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
3931
4669
|
|
|
3932
4670
|
---
|
|
3933
4671
|
|
|
@@ -3939,7 +4677,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3939
4677
|
|
|
3940
4678
|
**Parameters:**
|
|
3941
4679
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_PROGRAM).
|
|
3942
|
-
- `transport_request` (string, optional) - Transport request
|
|
4680
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
3943
4681
|
|
|
3944
4682
|
---
|
|
3945
4683
|
|
|
@@ -4034,7 +4772,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4034
4772
|
- `software_component` (string, optional) - Software component (e.g., HOME, ZLOCAL). If not provided, SAP will set a default (typically ZLOCAL for local packages).
|
|
4035
4773
|
- `super_package` (string, required) - Super package (parent package) name (e.g., ZOK_PACKAGE). Required.
|
|
4036
4774
|
- `transport_layer` (string, optional) - Transport layer (e.g., ZDEV). Required for transportable packages.
|
|
4037
|
-
- `transport_request` (string, optional) - Transport request
|
|
4775
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4038
4776
|
|
|
4039
4777
|
---
|
|
4040
4778
|
|
|
@@ -4048,7 +4786,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4048
4786
|
- `connection_config` (object, optional) - Optional SAP connection config to create a fresh connection for deletion. Useful when the existing connection config is unavailable.
|
|
4049
4787
|
- `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
4788
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PROGRAM).
|
|
4051
|
-
- `transport_request` (string, optional) - Transport request
|
|
4789
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4052
4790
|
|
|
4053
4791
|
---
|
|
4054
4792
|
|
|
@@ -4147,14 +4885,15 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4147
4885
|
**Source:** `src/handlers/program/low/handleCreateProgram.ts`
|
|
4148
4886
|
|
|
4149
4887
|
**Parameters:**
|
|
4150
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
4888
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
4151
4889
|
- `description` (string, required) - Program description.
|
|
4152
4890
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
4153
4891
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
4154
|
-
- `program_type` (string, optional) - Program type:
|
|
4892
|
+
- `program_type` (string, optional) - Program type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
4155
4893
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4156
4894
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4157
|
-
- `
|
|
4895
|
+
- `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.
|
|
4896
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4158
4897
|
|
|
4159
4898
|
---
|
|
4160
4899
|
|
|
@@ -4166,7 +4905,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4166
4905
|
|
|
4167
4906
|
**Parameters:**
|
|
4168
4907
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
4169
|
-
- `transport_request` (string, optional) - Transport request
|
|
4908
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4170
4909
|
|
|
4171
4910
|
---
|
|
4172
4911
|
|
|
@@ -4208,6 +4947,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4208
4947
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM). Program must already exist.
|
|
4209
4948
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4210
4949
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4950
|
+
- `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
4951
|
- `source_code` (string, required) - Complete ABAP program source code.
|
|
4212
4952
|
|
|
4213
4953
|
---
|
|
@@ -4227,6 +4967,99 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4227
4967
|
|
|
4228
4968
|
---
|
|
4229
4969
|
|
|
4970
|
+
<a id="low-level-screen"></a>
|
|
4971
|
+
### Low-Level / Screen
|
|
4972
|
+
|
|
4973
|
+
<a id="activatescreenlow-low-level-screen"></a>
|
|
4974
|
+
#### ActivateScreenLow (Low-Level / Screen)
|
|
4975
|
+
**Description:** [low-level] Activate an ABAP program to make Screen changes active.
|
|
4976
|
+
|
|
4977
|
+
**Source:** `src/handlers/screen/low/handleActivateScreen.ts`
|
|
4978
|
+
|
|
4979
|
+
**Parameters:**
|
|
4980
|
+
- `program_name` (string, required) - Parent program name.
|
|
4981
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4982
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4983
|
+
|
|
4984
|
+
---
|
|
4985
|
+
|
|
4986
|
+
<a id="createscreenlow-low-level-screen"></a>
|
|
4987
|
+
#### CreateScreenLow (Low-Level / Screen)
|
|
4988
|
+
**Description:** [low-level] Create a new ABAP Screen (Dynpro) on an existing program.
|
|
4989
|
+
|
|
4990
|
+
**Source:** `src/handlers/screen/low/handleCreateScreen.ts`
|
|
4991
|
+
|
|
4992
|
+
**Parameters:**
|
|
4993
|
+
- `description` (string, optional) - Screen description.
|
|
4994
|
+
- `dynpro_data` (string, optional) - Full screen definition as JSON (header, containers, fields_to_containers, flow_logic). If omitted, creates a minimal empty screen.
|
|
4995
|
+
- `program_name` (string, required) - Parent program name.
|
|
4996
|
+
- `screen_number` (string, required) - Screen number to create (e.g., 0100).
|
|
4997
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
4998
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
4999
|
+
- `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.
|
|
5000
|
+
|
|
5001
|
+
---
|
|
5002
|
+
|
|
5003
|
+
<a id="deletescreenlow-low-level-screen"></a>
|
|
5004
|
+
#### DeleteScreenLow (Low-Level / Screen)
|
|
5005
|
+
**Description:** [low-level] Delete an ABAP Screen (Dynpro) from a program.
|
|
5006
|
+
|
|
5007
|
+
**Source:** `src/handlers/screen/low/handleDeleteScreen.ts`
|
|
5008
|
+
|
|
5009
|
+
**Parameters:**
|
|
5010
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
5011
|
+
- `program_name` (string, required) - Parent program name.
|
|
5012
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
5013
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5014
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5015
|
+
|
|
5016
|
+
---
|
|
5017
|
+
|
|
5018
|
+
<a id="lockscreenlow-low-level-screen"></a>
|
|
5019
|
+
#### LockScreenLow (Low-Level / Screen)
|
|
5020
|
+
**Description:** [low-level] Lock a program for Screen modification. Returns lock handle for subsequent operations.
|
|
5021
|
+
|
|
5022
|
+
**Source:** `src/handlers/screen/low/handleLockScreen.ts`
|
|
5023
|
+
|
|
5024
|
+
**Parameters:**
|
|
5025
|
+
- `program_name` (string, required) - Parent program name.
|
|
5026
|
+
- `screen_number` (string, optional) - Screen number (for reference).
|
|
5027
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5028
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5029
|
+
|
|
5030
|
+
---
|
|
5031
|
+
|
|
5032
|
+
<a id="unlockscreenlow-low-level-screen"></a>
|
|
5033
|
+
#### UnlockScreenLow (Low-Level / Screen)
|
|
5034
|
+
**Description:** [low-level] Unlock a program after Screen modification.
|
|
5035
|
+
|
|
5036
|
+
**Source:** `src/handlers/screen/low/handleUnlockScreen.ts`
|
|
5037
|
+
|
|
5038
|
+
**Parameters:**
|
|
5039
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
5040
|
+
- `program_name` (string, required) - Parent program name.
|
|
5041
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5042
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5043
|
+
|
|
5044
|
+
---
|
|
5045
|
+
|
|
5046
|
+
<a id="updatescreenlow-low-level-screen"></a>
|
|
5047
|
+
#### UpdateScreenLow (Low-Level / Screen)
|
|
5048
|
+
**Description:** [low-level] Update an ABAP Screen (Dynpro) definition. Provide full screen data as JSON.
|
|
5049
|
+
|
|
5050
|
+
**Source:** `src/handlers/screen/low/handleUpdateScreen.ts`
|
|
5051
|
+
|
|
5052
|
+
**Parameters:**
|
|
5053
|
+
- `dynpro_data` (string, required) - Complete screen definition as JSON (header, containers, fields_to_containers, flow_logic).
|
|
5054
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
5055
|
+
- `program_name` (string, required) - Parent program name.
|
|
5056
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
5057
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
5058
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
5059
|
+
- `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.
|
|
5060
|
+
|
|
5061
|
+
---
|
|
5062
|
+
|
|
4230
5063
|
<a id="low-level-structure"></a>
|
|
4231
5064
|
### Low-Level / Structure
|
|
4232
5065
|
|
|
@@ -4254,7 +5087,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4254
5087
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4255
5088
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4256
5089
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_PROGRAM).
|
|
4257
|
-
- `version` (string, optional) - Version to check:
|
|
5090
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
4258
5091
|
|
|
4259
5092
|
---
|
|
4260
5093
|
|
|
@@ -4265,14 +5098,14 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4265
5098
|
**Source:** `src/handlers/structure/low/handleCreateStructure.ts`
|
|
4266
5099
|
|
|
4267
5100
|
**Parameters:**
|
|
4268
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
5101
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
4269
5102
|
- `description` (string, required) - Structure description.
|
|
4270
5103
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
4271
5104
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4272
5105
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4273
5106
|
- `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
|
|
5107
|
+
- `structure_type` (string, optional) - Structure type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
5108
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4276
5109
|
|
|
4277
5110
|
---
|
|
4278
5111
|
|
|
@@ -4284,7 +5117,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4284
5117
|
|
|
4285
5118
|
**Parameters:**
|
|
4286
5119
|
- `structure_name` (string, required) - Structure name (e.g., Z_MY_PROGRAM).
|
|
4287
|
-
- `transport_request` (string, optional) - Transport request
|
|
5120
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4288
5121
|
|
|
4289
5122
|
---
|
|
4290
5123
|
|
|
@@ -4355,9 +5188,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4355
5188
|
**Source:** `src/handlers/system/low/handleGetNodeStructure.ts`
|
|
4356
5189
|
|
|
4357
5190
|
**Parameters:**
|
|
4358
|
-
- `node_id` (string, optional (default: 0000" for root). Use to fetch child nodes.)) - Optional node ID (default:
|
|
5191
|
+
- `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
5192
|
- `parent_name` (string, required) - Parent object name
|
|
4360
|
-
- `parent_type` (string, required) - Parent object type (e.g.,
|
|
5193
|
+
- `parent_type` (string, required) - Parent object type (e.g., "CLAS/OC", "PROG/P", "DEVC/K")
|
|
4361
5194
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4362
5195
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4363
5196
|
- `with_short_descriptions` (boolean, optional (default: true)) - Include short descriptions in response
|
|
@@ -4371,8 +5204,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4371
5204
|
**Source:** `src/handlers/system/low/handleGetObjectStructure.ts`
|
|
4372
5205
|
|
|
4373
5206
|
**Parameters:**
|
|
4374
|
-
- `object_name` (string, required) - Object name (e.g.,
|
|
4375
|
-
- `object_type` (string, required) - Object type (e.g.,
|
|
5207
|
+
- `object_name` (string, required) - Object name (e.g., "ZMY_CLASS", "ZMY_PROGRAM")
|
|
5208
|
+
- `object_type` (string, required) - Object type (e.g., "CLAS/OC", "PROG/P", "DEVC/K", "DDLS/DF")
|
|
4376
5209
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4377
5210
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4378
5211
|
|
|
@@ -4385,9 +5218,9 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4385
5218
|
**Source:** `src/handlers/system/low/handleGetVirtualFolders.ts`
|
|
4386
5219
|
|
|
4387
5220
|
**Parameters:**
|
|
4388
|
-
- `facet_order` (array, optional (default: ['package)) - Order of facets in response (e.g., [
|
|
5221
|
+
- `facet_order` (array, optional (default: ['package)) - Order of facets in response (e.g., ["package", "group", "type"]). Default: ["package", "group", "type"]
|
|
4389
5222
|
- `ignore_short_descriptions` (boolean, optional (default: false)) - Ignore short descriptions in response
|
|
4390
|
-
- `object_search_pattern` (string, optional (default: *)) - Object search pattern (e.g.,
|
|
5223
|
+
- `object_search_pattern` (string, optional (default: *)) - Object search pattern (e.g., "*", "Z*", "ZCL_*"). Default: "*"
|
|
4391
5224
|
- `preselection` (array, optional) - Optional preselection filters (facet-value pairs for filtering)
|
|
4392
5225
|
- `with_versions` (boolean, optional (default: false)) - Include version information in response
|
|
4393
5226
|
|
|
@@ -4417,11 +5250,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4417
5250
|
|
|
4418
5251
|
**Parameters:**
|
|
4419
5252
|
- `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:
|
|
5253
|
+
- `reporter` (string, optional) - Check reporter: 'tableStatusCheck' or 'abapCheckRun'. Default: abapCheckRun
|
|
4421
5254
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4422
5255
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4423
5256
|
- `table_name` (string, required) - Table name (e.g., Z_MY_TABLE)
|
|
4424
|
-
- `version` (string, optional) - Version to check:
|
|
5257
|
+
- `version` (string, optional) - Version to check: 'active' (last activated), 'inactive' (current unsaved), or 'new' (for new code validation). Default: new
|
|
4425
5258
|
|
|
4426
5259
|
---
|
|
4427
5260
|
|
|
@@ -4436,7 +5269,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4436
5269
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4437
5270
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4438
5271
|
- `table_name` (string, required) - Table name (e.g., ZT_TEST_001). Must follow SAP naming conventions.
|
|
4439
|
-
- `transport_request` (string, optional) - Transport request
|
|
5272
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4440
5273
|
|
|
4441
5274
|
---
|
|
4442
5275
|
|
|
@@ -4448,7 +5281,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4448
5281
|
|
|
4449
5282
|
**Parameters:**
|
|
4450
5283
|
- `table_name` (string, required) - Table name (e.g., Z_MY_PROGRAM).
|
|
4451
|
-
- `transport_request` (string, optional) - Transport request
|
|
5284
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4452
5285
|
|
|
4453
5286
|
---
|
|
4454
5287
|
|
|
@@ -4491,7 +5324,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4491
5324
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4492
5325
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4493
5326
|
- `table_name` (string, required) - Table name (e.g., ZOK_T_TEST_0001). Table must already exist.
|
|
4494
|
-
- `transport_request` (string, optional) - Transport request
|
|
5327
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
4495
5328
|
|
|
4496
5329
|
---
|
|
4497
5330
|
|
|
@@ -4521,7 +5354,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4521
5354
|
|
|
4522
5355
|
**Parameters:**
|
|
4523
5356
|
- `description` (string, required) - Transport request description.
|
|
4524
|
-
- `transport_type` (string, optional (default: workbench').)) - Transport type:
|
|
5357
|
+
- `transport_type` (string, optional (default: workbench').)) - Transport type: 'workbench' or 'customizing' (optional, default: 'workbench').
|
|
4525
5358
|
|
|
4526
5359
|
---
|
|
4527
5360
|
|
|
@@ -4551,7 +5384,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4551
5384
|
- `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
5385
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4553
5386
|
- `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:
|
|
5387
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
4555
5388
|
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
4556
5389
|
|
|
4557
5390
|
---
|
|
@@ -4563,14 +5396,15 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4563
5396
|
**Source:** `src/handlers/view/low/handleCreateView.ts`
|
|
4564
5397
|
|
|
4565
5398
|
**Parameters:**
|
|
4566
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
5399
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
4567
5400
|
- `description` (string, required) - View description.
|
|
4568
5401
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
4569
5402
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4570
5403
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
4571
|
-
- `
|
|
5404
|
+
- `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.
|
|
5405
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
4572
5406
|
- `view_name` (string, required) - View name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
4573
|
-
- `view_type` (string, optional) - View type:
|
|
5407
|
+
- `view_type` (string, optional) - View type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
4574
5408
|
|
|
4575
5409
|
---
|
|
4576
5410
|
|
|
@@ -4581,7 +5415,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4581
5415
|
**Source:** `src/handlers/view/low/handleDeleteView.ts`
|
|
4582
5416
|
|
|
4583
5417
|
**Parameters:**
|
|
4584
|
-
- `transport_request` (string, optional) - Transport request
|
|
5418
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
4585
5419
|
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
4586
5420
|
|
|
4587
5421
|
---
|
|
@@ -4620,10 +5454,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4620
5454
|
**Source:** `src/handlers/view/low/handleUpdateView.ts`
|
|
4621
5455
|
|
|
4622
5456
|
**Parameters:**
|
|
4623
|
-
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain
|
|
5457
|
+
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
|
|
4624
5458
|
- `lock_handle` (string, required) - Lock handle from LockObject. Required for update operation.
|
|
4625
5459
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
4626
5460
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
5461
|
+
- `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
5462
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002). View must already exist.
|
|
4628
5463
|
|
|
4629
5464
|
---
|
|
@@ -4643,4 +5478,4 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4643
5478
|
|
|
4644
5479
|
---
|
|
4645
5480
|
|
|
4646
|
-
*Last updated: 2026-
|
|
5481
|
+
*Last updated: 2026-10-19*
|