@babamba2/abap-mcp-adt-powerup 4.8.12 → 4.8.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -1
- package/dist/handlers/smartform/high/handleCreateSmartForm.d.ts +71 -0
- package/dist/handlers/smartform/high/handleCreateSmartForm.d.ts.map +1 -0
- package/dist/handlers/smartform/high/handleCreateSmartForm.js +163 -0
- package/dist/handlers/smartform/high/handleCreateSmartForm.js.map +1 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.d.ts +41 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.d.ts.map +1 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.js +76 -0
- package/dist/handlers/smartform/high/handleDeleteSmartForm.js.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.d.ts +77 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.js +98 -0
- package/dist/handlers/system/readonly/handleGetSmartFormContent.js.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.d.ts +47 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.js +70 -0
- package/dist/handlers/system/readonly/handleGetSmartFormLayout.js.map +1 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.d.ts +65 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.js +111 -0
- package/dist/handlers/system/readonly/handleRenderSmartForm.js.map +1 -0
- package/dist/handlers/system/readonly/runtimeFeedsHelper.d.ts +1 -1
- package/dist/handlers/system/readonly/runtimeFeedsHelper.d.ts.map +1 -1
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js +11 -0
- package/dist/lib/handlers/groups/HighLevelHandlersGroup.js.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +15 -0
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
- package/dist/lib/legacyTableRead.d.ts.map +1 -1
- package/dist/lib/legacyTableRead.js +19 -9
- package/dist/lib/legacyTableRead.js.map +1 -1
- package/dist/lib/smartFormContent.d.ts +277 -0
- package/dist/lib/smartFormContent.d.ts.map +1 -0
- package/dist/lib/smartFormContent.js +1130 -0
- package/dist/lib/smartFormContent.js.map +1 -0
- package/dist/lib/smartFormLayout.d.ts +83 -0
- package/dist/lib/smartFormLayout.d.ts.map +1 -0
- package/dist/lib/smartFormLayout.js +236 -0
- package/dist/lib/smartFormLayout.js.map +1 -0
- package/dist/lib/smartFormRender.d.ts +17 -0
- package/dist/lib/smartFormRender.d.ts.map +1 -0
- package/dist/lib/smartFormRender.js +112 -0
- package/dist/lib/smartFormRender.js.map +1 -0
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS.md +1039 -204
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +2 -1
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +470 -85
- package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +955 -78
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +271 -60
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +299 -60
- package/package.json +19 -19
|
@@ -5,20 +5,25 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
5
5
|
Tools available on legacy SAP systems (BASIS < 7.50) connected via RFC.
|
|
6
6
|
Legacy systems support a subset of tools — primarily Class, Interface, View, Program, Function Group/Module, Package (read/update/delete), Include, Unit Test, and common utilities.
|
|
7
7
|
|
|
8
|
-
- Total tools:
|
|
9
|
-
- Read-Only:
|
|
10
|
-
- High-Level:
|
|
11
|
-
- Low-Level:
|
|
8
|
+
- Total tools: 168
|
|
9
|
+
- Read-Only: 25
|
|
10
|
+
- High-Level: 71
|
|
11
|
+
- Low-Level: 72
|
|
12
12
|
|
|
13
13
|
## Navigation
|
|
14
14
|
|
|
15
15
|
- [Read-Only Group](#read-only-group)
|
|
16
16
|
- [Class](#read-only-class)
|
|
17
17
|
- [ReadClass](#readclass-read-only-class)
|
|
18
|
+
- [Enhancement](#read-only-enhancement)
|
|
19
|
+
- [GetBadiImplementations](#getbadiimplementations-read-only-enhancement)
|
|
18
20
|
- [Function Group](#read-only-function-group)
|
|
19
21
|
- [ReadFunctionGroup](#readfunctiongroup-read-only-function-group)
|
|
20
22
|
- [Function Module](#read-only-function-module)
|
|
21
23
|
- [ReadFunctionModule](#readfunctionmodule-read-only-function-module)
|
|
24
|
+
- [Gui Status](#read-only-gui-status)
|
|
25
|
+
- [GetGuiStatusList](#getguistatuslist-read-only-gui-status)
|
|
26
|
+
- [ReadGuiStatus](#readguistatus-read-only-gui-status)
|
|
22
27
|
- [Include](#read-only-include)
|
|
23
28
|
- [GetInclude](#getinclude-read-only-include)
|
|
24
29
|
- [GetIncludesList](#getincludeslist-read-only-include)
|
|
@@ -30,6 +35,19 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
30
35
|
- [Program](#read-only-program)
|
|
31
36
|
- [GetProgFullCode](#getprogfullcode-read-only-program)
|
|
32
37
|
- [ReadProgram](#readprogram-read-only-program)
|
|
38
|
+
- [Screen](#read-only-screen)
|
|
39
|
+
- [GetScreensList](#getscreenslist-read-only-screen)
|
|
40
|
+
- [ReadScreen](#readscreen-read-only-screen)
|
|
41
|
+
- [System](#read-only-system)
|
|
42
|
+
- [GetInactiveObjects](#getinactiveobjects-read-only-system)
|
|
43
|
+
- [GetJobUsage](#getjobusage-read-only-system)
|
|
44
|
+
- [GetSmartFormContent](#getsmartformcontent-read-only-system)
|
|
45
|
+
- [GetSmartFormLayout](#getsmartformlayout-read-only-system)
|
|
46
|
+
- [GetTcodeUsage](#gettcodeusage-read-only-system)
|
|
47
|
+
- [GetUsageSnippets](#getusagesnippets-read-only-system)
|
|
48
|
+
- [GetWhereUsed](#getwhereused-read-only-system)
|
|
49
|
+
- [ReloadProfile](#reloadprofile-read-only-system)
|
|
50
|
+
- [RenderSmartForm](#rendersmartform-read-only-system)
|
|
33
51
|
- [View](#read-only-view)
|
|
34
52
|
- [ReadView](#readview-read-only-view)
|
|
35
53
|
- [High-Level Group](#high-level-group)
|
|
@@ -50,6 +68,8 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
50
68
|
- [UpdateLocalMacros](#updatelocalmacros-high-level-class)
|
|
51
69
|
- [UpdateLocalTestClass](#updatelocaltestclass-high-level-class)
|
|
52
70
|
- [UpdateLocalTypes](#updatelocaltypes-high-level-class)
|
|
71
|
+
- [Common](#high-level-common)
|
|
72
|
+
- [ActivateObjects](#activateobjects-high-level-common)
|
|
53
73
|
- [Function](#high-level-function)
|
|
54
74
|
- [CreateFunctionGroup](#createfunctiongroup-high-level-function)
|
|
55
75
|
- [CreateFunctionModule](#createfunctionmodule-high-level-function)
|
|
@@ -61,6 +81,16 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
61
81
|
- [Function Module](#high-level-function-module)
|
|
62
82
|
- [DeleteFunctionModule](#deletefunctionmodule-high-level-function-module)
|
|
63
83
|
- [GetFunctionModule](#getfunctionmodule-high-level-function-module)
|
|
84
|
+
- [Gui Status](#high-level-gui-status)
|
|
85
|
+
- [CreateGuiStatus](#createguistatus-high-level-gui-status)
|
|
86
|
+
- [DeleteGuiStatus](#deleteguistatus-high-level-gui-status)
|
|
87
|
+
- [GetGuiStatus](#getguistatus-high-level-gui-status)
|
|
88
|
+
- [PatchGuiStatus](#patchguistatus-high-level-gui-status)
|
|
89
|
+
- [UpdateGuiStatus](#updateguistatus-high-level-gui-status)
|
|
90
|
+
- [Include](#high-level-include)
|
|
91
|
+
- [CreateInclude](#createinclude-high-level-include)
|
|
92
|
+
- [DeleteInclude](#deleteinclude-high-level-include)
|
|
93
|
+
- [UpdateInclude](#updateinclude-high-level-include)
|
|
64
94
|
- [Interface](#high-level-interface)
|
|
65
95
|
- [CreateInterface](#createinterface-high-level-interface)
|
|
66
96
|
- [DeleteInterface](#deleteinterface-high-level-interface)
|
|
@@ -73,6 +103,21 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
73
103
|
- [DeleteProgram](#deleteprogram-high-level-program)
|
|
74
104
|
- [GetProgram](#getprogram-high-level-program)
|
|
75
105
|
- [UpdateProgram](#updateprogram-high-level-program)
|
|
106
|
+
- [Screen](#high-level-screen)
|
|
107
|
+
- [CreateScreen](#createscreen-high-level-screen)
|
|
108
|
+
- [DeleteScreen](#deletescreen-high-level-screen)
|
|
109
|
+
- [GetScreen](#getscreen-high-level-screen)
|
|
110
|
+
- [UpdateScreen](#updatescreen-high-level-screen)
|
|
111
|
+
- [Smartform](#high-level-smartform)
|
|
112
|
+
- [CreateSmartForm](#createsmartform-high-level-smartform)
|
|
113
|
+
- [DeleteSmartForm](#deletesmartform-high-level-smartform)
|
|
114
|
+
- [Text Element](#high-level-text-element)
|
|
115
|
+
- [CreateTextElement](#createtextelement-high-level-text-element)
|
|
116
|
+
- [DeleteTextElement](#deletetextelement-high-level-text-element)
|
|
117
|
+
- [GetTextElement](#gettextelement-high-level-text-element)
|
|
118
|
+
- [ReadTextElementsBulk](#readtextelementsbulk-high-level-text-element)
|
|
119
|
+
- [UpdateTextElement](#updatetextelement-high-level-text-element)
|
|
120
|
+
- [WriteTextElementsBulk](#writetextelementsbulk-high-level-text-element)
|
|
76
121
|
- [Unit Test](#high-level-unit-test)
|
|
77
122
|
- [CreateCdsUnitTest](#createcdsunittest-high-level-unit-test)
|
|
78
123
|
- [CreateUnitTest](#createunittest-high-level-unit-test)
|
|
@@ -127,6 +172,13 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
127
172
|
- [UpdateFunctionModuleLow](#updatefunctionmodulelow-low-level-function)
|
|
128
173
|
- [ValidateFunctionGroupLow](#validatefunctiongrouplow-low-level-function)
|
|
129
174
|
- [ValidateFunctionModuleLow](#validatefunctionmodulelow-low-level-function)
|
|
175
|
+
- [Gui Status](#low-level-gui-status)
|
|
176
|
+
- [ActivateGuiStatusLow](#activateguistatuslow-low-level-gui-status)
|
|
177
|
+
- [CreateGuiStatusLow](#createguistatuslow-low-level-gui-status)
|
|
178
|
+
- [DeleteGuiStatusLow](#deleteguistatuslow-low-level-gui-status)
|
|
179
|
+
- [LockGuiStatusLow](#lockguistatuslow-low-level-gui-status)
|
|
180
|
+
- [UnlockGuiStatusLow](#unlockguistatuslow-low-level-gui-status)
|
|
181
|
+
- [UpdateGuiStatusLow](#updateguistatuslow-low-level-gui-status)
|
|
130
182
|
- [Interface](#low-level-interface)
|
|
131
183
|
- [ActivateInterfaceLow](#activateinterfacelow-low-level-interface)
|
|
132
184
|
- [CheckInterfaceLow](#checkinterfacelow-low-level-interface)
|
|
@@ -151,6 +203,13 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
151
203
|
- [UnlockProgramLow](#unlockprogramlow-low-level-program)
|
|
152
204
|
- [UpdateProgramLow](#updateprogramlow-low-level-program)
|
|
153
205
|
- [ValidateProgramLow](#validateprogramlow-low-level-program)
|
|
206
|
+
- [Screen](#low-level-screen)
|
|
207
|
+
- [ActivateScreenLow](#activatescreenlow-low-level-screen)
|
|
208
|
+
- [CreateScreenLow](#createscreenlow-low-level-screen)
|
|
209
|
+
- [DeleteScreenLow](#deletescreenlow-low-level-screen)
|
|
210
|
+
- [LockScreenLow](#lockscreenlow-low-level-screen)
|
|
211
|
+
- [UnlockScreenLow](#unlockscreenlow-low-level-screen)
|
|
212
|
+
- [UpdateScreenLow](#updatescreenlow-low-level-screen)
|
|
154
213
|
- [View](#low-level-view)
|
|
155
214
|
- [ActivateViewLow](#activateviewlow-low-level-view)
|
|
156
215
|
- [CheckViewLow](#checkviewlow-low-level-view)
|
|
@@ -179,7 +238,26 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
179
238
|
|
|
180
239
|
**Parameters:**
|
|
181
240
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
182
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
241
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
<a id="read-only-enhancement"></a>
|
|
246
|
+
### Read-Only / Enhancement
|
|
247
|
+
|
|
248
|
+
<a id="getbadiimplementations-read-only-enhancement"></a>
|
|
249
|
+
#### GetBadiImplementations (Read-Only / Enhancement)
|
|
250
|
+
**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'.
|
|
251
|
+
|
|
252
|
+
**Source:** `src/handlers/enhancement/readonly/handleGetBadiImplementations.ts`
|
|
253
|
+
|
|
254
|
+
**Available in:** `onprem`, `legacy`
|
|
255
|
+
|
|
256
|
+
**Parameters:**
|
|
257
|
+
- `active_only` (boolean, optional (default: true)) - Restrict to active implementations only. Default: true.
|
|
258
|
+
- `badi_definition` (string, required) - BAdI definition name (e.g., ME_PROCESS_PO_CUST). Will be uppercased.
|
|
259
|
+
- `customer_only` (boolean, optional (default: true)) - Restrict to Z*/Y* implementations. Default: true. Set false to include SAP-shipped implementations.
|
|
260
|
+
- `include_methods` (boolean, optional (default: true)) - Include the list of redefined method names per implementation (from SXC_EXIT). Default: true.
|
|
183
261
|
|
|
184
262
|
---
|
|
185
263
|
|
|
@@ -196,7 +274,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
196
274
|
|
|
197
275
|
**Parameters:**
|
|
198
276
|
- `function_group_name` (string, required) - Function group name (e.g., Z_MY_FG).
|
|
199
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
277
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
200
278
|
|
|
201
279
|
---
|
|
202
280
|
|
|
@@ -214,7 +292,36 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
214
292
|
**Parameters:**
|
|
215
293
|
- `function_group_name` (string, required) - Function group name containing the function module (e.g., Z_MY_FG).
|
|
216
294
|
- `function_module_name` (string, required) - Function module name (e.g., Z_MY_FM).
|
|
217
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
295
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
<a id="read-only-gui-status"></a>
|
|
300
|
+
### Read-Only / Gui Status
|
|
301
|
+
|
|
302
|
+
<a id="getguistatuslist-read-only-gui-status"></a>
|
|
303
|
+
#### GetGuiStatusList (Read-Only / Gui Status)
|
|
304
|
+
**Description:** [read-only] List all GUI statuses belonging to an ABAP program.
|
|
305
|
+
|
|
306
|
+
**Source:** `src/handlers/gui_status/readonly/handleGetGuiStatusList.ts`
|
|
307
|
+
|
|
308
|
+
**Available in:** `onprem`, `legacy`
|
|
309
|
+
|
|
310
|
+
**Parameters:**
|
|
311
|
+
- `program_name` (string, required) - Program name (e.g., SAPMV45A).
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
<a id="readguistatus-read-only-gui-status"></a>
|
|
316
|
+
#### ReadGuiStatus (Read-Only / Gui Status)
|
|
317
|
+
**Description:** [read-only] Read ABAP GUI Status definition (statuses, function codes, menus, toolbars, titles) for a program.
|
|
318
|
+
|
|
319
|
+
**Source:** `src/handlers/gui_status/readonly/handleReadGuiStatus.ts`
|
|
320
|
+
|
|
321
|
+
**Available in:** `onprem`, `legacy`
|
|
322
|
+
|
|
323
|
+
**Parameters:**
|
|
324
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
218
325
|
|
|
219
326
|
---
|
|
220
327
|
|
|
@@ -243,10 +350,10 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
243
350
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
244
351
|
|
|
245
352
|
**Parameters:**
|
|
246
|
-
- `detailed` (boolean, optional (default: false)) -
|
|
353
|
+
- `detailed` (boolean, optional (default: false)) - If true, returns structured JSON with metadata and raw XML.
|
|
247
354
|
- `object_name` (string, required) - Name of the ABAP program or include
|
|
248
|
-
- `object_type` (string, required) -
|
|
249
|
-
- `timeout` (number, optional) -
|
|
355
|
+
- `object_type` (string, required) - ADT object type (e.g. PROG/P, PROG/I, FUGR, CLAS/OC)
|
|
356
|
+
- `timeout` (number, optional) - Timeout in ms for each ADT request.
|
|
250
357
|
|
|
251
358
|
---
|
|
252
359
|
|
|
@@ -263,7 +370,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
263
370
|
|
|
264
371
|
**Parameters:**
|
|
265
372
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_MY_INTERFACE).
|
|
266
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
373
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
267
374
|
|
|
268
375
|
---
|
|
269
376
|
|
|
@@ -293,7 +400,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
293
400
|
|
|
294
401
|
**Parameters:**
|
|
295
402
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
296
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
403
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
297
404
|
|
|
298
405
|
---
|
|
299
406
|
|
|
@@ -302,15 +409,16 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
302
409
|
|
|
303
410
|
<a id="getprogfullcode-read-only-program"></a>
|
|
304
411
|
#### GetProgFullCode (Read-Only / Program)
|
|
305
|
-
**Description:** [read-only] Returns the full code for a program or function group, including all includes, in tree traversal order.
|
|
412
|
+
**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.
|
|
306
413
|
|
|
307
414
|
**Source:** `src/handlers/program/readonly/handleGetProgFullCode.ts`
|
|
308
415
|
|
|
309
416
|
**Available in:** `onprem`, `legacy`
|
|
310
417
|
|
|
311
418
|
**Parameters:**
|
|
312
|
-
- `name` (string, required) -
|
|
313
|
-
- `
|
|
419
|
+
- `name` (string, required) - Technical name of the program or function group (e.g., '/CBY/MM_INVENTORY')
|
|
420
|
+
- `output` (string, optional (default: inline)) -
|
|
421
|
+
- `type` (string, required) - 'PROG/P' for program or 'FUGR' for function group
|
|
314
422
|
|
|
315
423
|
---
|
|
316
424
|
|
|
@@ -324,7 +432,186 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
324
432
|
|
|
325
433
|
**Parameters:**
|
|
326
434
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
327
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
435
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
436
|
+
|
|
437
|
+
---
|
|
438
|
+
|
|
439
|
+
<a id="read-only-screen"></a>
|
|
440
|
+
### Read-Only / Screen
|
|
441
|
+
|
|
442
|
+
<a id="getscreenslist-read-only-screen"></a>
|
|
443
|
+
#### GetScreensList (Read-Only / Screen)
|
|
444
|
+
**Description:** [read-only] List all screens (dynpros) belonging to an ABAP program.
|
|
445
|
+
|
|
446
|
+
**Source:** `src/handlers/screen/readonly/handleGetScreensList.ts`
|
|
447
|
+
|
|
448
|
+
**Available in:** `onprem`, `legacy`
|
|
449
|
+
|
|
450
|
+
**Parameters:**
|
|
451
|
+
- `program_name` (string, required) - Program name (e.g., SAPMV45A).
|
|
452
|
+
|
|
453
|
+
---
|
|
454
|
+
|
|
455
|
+
<a id="readscreen-read-only-screen"></a>
|
|
456
|
+
#### ReadScreen (Read-Only / Screen)
|
|
457
|
+
**Description:** [read-only] Read ABAP Screen (Dynpro) flow logic source code, fields, and metadata.
|
|
458
|
+
|
|
459
|
+
**Source:** `src/handlers/screen/readonly/handleReadScreen.ts`
|
|
460
|
+
|
|
461
|
+
**Available in:** `onprem`, `legacy`
|
|
462
|
+
|
|
463
|
+
**Parameters:**
|
|
464
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
465
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
466
|
+
|
|
467
|
+
---
|
|
468
|
+
|
|
469
|
+
<a id="read-only-system"></a>
|
|
470
|
+
### Read-Only / System
|
|
471
|
+
|
|
472
|
+
<a id="getinactiveobjects-read-only-system"></a>
|
|
473
|
+
#### GetInactiveObjects (Read-Only / System)
|
|
474
|
+
**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.
|
|
475
|
+
|
|
476
|
+
**Source:** `src/handlers/system/readonly/handleGetInactiveObjects.ts`
|
|
477
|
+
|
|
478
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
479
|
+
|
|
480
|
+
**Parameters:**
|
|
481
|
+
- None
|
|
482
|
+
|
|
483
|
+
---
|
|
484
|
+
|
|
485
|
+
<a id="getjobusage-read-only-system"></a>
|
|
486
|
+
#### GetJobUsage (Read-Only / System)
|
|
487
|
+
**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).
|
|
488
|
+
|
|
489
|
+
**Source:** `src/handlers/system/readonly/handleGetJobUsage.ts`
|
|
490
|
+
|
|
491
|
+
**Available in:** `onprem`, `legacy`
|
|
492
|
+
|
|
493
|
+
**Parameters:**
|
|
494
|
+
- `months` (number, optional (default: 12)) - Months back including the current one (1-36). Default: 12.
|
|
495
|
+
- `programs` (array, required) - ABAP program names to check (e.g. ["ZMY_REPORT"]).
|
|
496
|
+
|
|
497
|
+
---
|
|
498
|
+
|
|
499
|
+
<a id="getsmartformcontent-read-only-system"></a>
|
|
500
|
+
#### GetSmartFormContent (Read-Only / System)
|
|
501
|
+
**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.
|
|
502
|
+
|
|
503
|
+
**Source:** `src/handlers/system/readonly/handleGetSmartFormContent.ts`
|
|
504
|
+
|
|
505
|
+
**Available in:** `onprem`, `legacy`
|
|
506
|
+
|
|
507
|
+
**Parameters:**
|
|
508
|
+
- `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.
|
|
509
|
+
- `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
|
|
510
|
+
- `include_graphics` (boolean, optional) - Fetch SE78 graphics with a fixed key as BMP files. Default true.
|
|
511
|
+
- `include_styles` (boolean, optional) - Fetch the SmartStyles (form default + text node styles) as CSS. Default true.
|
|
512
|
+
- `include_texts` (boolean, optional) - Fetch include texts (SO10) with a fixed key. Default true.
|
|
513
|
+
- `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.
|
|
514
|
+
- `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.
|
|
515
|
+
- `values` (object, optional) - Sample values for &symbols& in graphic keys (e.g. {"IM_SIGN": "ZSIGN"}): graphics named by a variable are then fetched too.
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
519
|
+
<a id="getsmartformlayout-read-only-system"></a>
|
|
520
|
+
#### GetSmartFormLayout (Read-Only / System)
|
|
521
|
+
**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.
|
|
522
|
+
|
|
523
|
+
**Source:** `src/handlers/system/readonly/handleGetSmartFormLayout.ts`
|
|
524
|
+
|
|
525
|
+
**Available in:** `onprem`, `legacy`
|
|
526
|
+
|
|
527
|
+
**Parameters:**
|
|
528
|
+
- `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
|
|
529
|
+
- `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.
|
|
530
|
+
|
|
531
|
+
---
|
|
532
|
+
|
|
533
|
+
<a id="gettcodeusage-read-only-system"></a>
|
|
534
|
+
#### GetTcodeUsage (Read-Only / System)
|
|
535
|
+
**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).
|
|
536
|
+
|
|
537
|
+
**Source:** `src/handlers/system/readonly/handleGetTcodeUsage.ts`
|
|
538
|
+
|
|
539
|
+
**Available in:** `onprem`, `legacy`
|
|
540
|
+
|
|
541
|
+
**Parameters:**
|
|
542
|
+
- `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.
|
|
543
|
+
- `months` (number, optional (default: 12)) - Months back including the current one (1-36). Default: 12.
|
|
544
|
+
- `tcodes` (array, required) - Transaction codes to check (e.g. ["VA01","ZMY_TCODE"]).
|
|
545
|
+
|
|
546
|
+
---
|
|
547
|
+
|
|
548
|
+
<a id="getusagesnippets-read-only-system"></a>
|
|
549
|
+
#### GetUsageSnippets (Read-Only / System)
|
|
550
|
+
**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.
|
|
551
|
+
|
|
552
|
+
**Source:** `src/handlers/system/readonly/handleGetUsageSnippets.ts`
|
|
553
|
+
|
|
554
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
555
|
+
|
|
556
|
+
**Parameters:**
|
|
557
|
+
- `customer_only` (boolean, optional (default: false)) - With object_name: only customer referencing objects (Z / Y name, or package Z* / Y* / $*). Default: false.
|
|
558
|
+
- `include_context` (boolean, optional (default: false)) - Include the multi-line context SAP returns per hit (description). Default: false.
|
|
559
|
+
- `max_objects` (number, optional) - Cap on referencing objects whose snippets are fetched. Default: ${DEFAULT_MAX_OBJECTS}. truncated=true when more were available.
|
|
560
|
+
- `object_identifiers` (array, optional) - object_identifier values from GetWhereUsed references[]. Takes precedence over object_name / object_type.
|
|
561
|
+
- `object_name` (string, optional) - Object to search (used when object_identifiers is not given).
|
|
562
|
+
- `object_type` (string, optional) - Object type for object_name: ${SUPPORTED_WHERE_USED_TYPES}
|
|
563
|
+
- `package` (string, optional) - With object_name: package filter on the referencing objects (exact, or prefix with trailing *).
|
|
564
|
+
- `timeout_ms` (number, optional) - Optional request timeout in ms per SAP request (the where-used search and each snippet batch).
|
|
565
|
+
|
|
566
|
+
---
|
|
567
|
+
|
|
568
|
+
<a id="getwhereused-read-only-system"></a>
|
|
569
|
+
#### GetWhereUsed (Read-Only / System)
|
|
570
|
+
**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.
|
|
571
|
+
|
|
572
|
+
**Source:** `src/handlers/system/readonly/handleGetWhereUsed.ts`
|
|
573
|
+
|
|
574
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
575
|
+
|
|
576
|
+
**Parameters:**
|
|
577
|
+
- `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.
|
|
578
|
+
- `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).
|
|
579
|
+
- `max_results` (number, optional) - Optional cap on references[] after filtering. Omit or 0 = no cap. truncated=true when more were found.
|
|
580
|
+
- `object_name` (string, required) - Name of the ABAP object
|
|
581
|
+
- `object_type` (string, required) - Type of the ABAP object: ${SUPPORTED_WHERE_USED_TYPES}
|
|
582
|
+
- `package` (string, optional) - Optional package filter on references[].package_name: exact name, or prefix with a trailing * (e.g. ZSD*).
|
|
583
|
+
- `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.
|
|
584
|
+
|
|
585
|
+
---
|
|
586
|
+
|
|
587
|
+
<a id="reloadprofile-read-only-system"></a>
|
|
588
|
+
#### ReloadProfile (Read-Only / System)
|
|
589
|
+
**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.
|
|
590
|
+
|
|
591
|
+
**Source:** `src/handlers/system/readonly/handleReloadProfile.ts`
|
|
592
|
+
|
|
593
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
594
|
+
|
|
595
|
+
**Parameters:**
|
|
596
|
+
- None
|
|
597
|
+
|
|
598
|
+
---
|
|
599
|
+
|
|
600
|
+
<a id="rendersmartform-read-only-system"></a>
|
|
601
|
+
#### RenderSmartForm (Read-Only / System)
|
|
602
|
+
**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.
|
|
603
|
+
|
|
604
|
+
**Source:** `src/handlers/system/readonly/handleRenderSmartForm.ts`
|
|
605
|
+
|
|
606
|
+
**Available in:** `onprem`, `legacy`
|
|
607
|
+
|
|
608
|
+
**Parameters:**
|
|
609
|
+
- `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.
|
|
610
|
+
- `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.
|
|
611
|
+
- `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
|
|
612
|
+
- `language` (string, optional) - Output language: 1-char SAP key or 2-letter ISO code. Default: logon language.
|
|
613
|
+
- `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.
|
|
614
|
+
- `values_file` (string, optional) - Path of a JSON file with the same object as `values` (for large interfaces). Ignored when `values` is given.
|
|
328
615
|
|
|
329
616
|
---
|
|
330
617
|
|
|
@@ -340,7 +627,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
340
627
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
341
628
|
|
|
342
629
|
**Parameters:**
|
|
343
|
-
- `version` (string, optional (default: active)) - Version to read:
|
|
630
|
+
- `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
|
|
344
631
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
345
632
|
|
|
346
633
|
---
|
|
@@ -367,7 +654,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
367
654
|
- `final` (boolean, optional) - Mark class as final. Default: false
|
|
368
655
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP).
|
|
369
656
|
- `superclass` (string, optional) - Optional superclass name.
|
|
370
|
-
- `transport_request` (string, optional) - Transport request
|
|
657
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
371
658
|
|
|
372
659
|
---
|
|
373
660
|
|
|
@@ -381,7 +668,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
381
668
|
|
|
382
669
|
**Parameters:**
|
|
383
670
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
384
|
-
- `transport_request` (string, optional) - Transport request
|
|
671
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
385
672
|
|
|
386
673
|
---
|
|
387
674
|
|
|
@@ -455,7 +742,8 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
455
742
|
|
|
456
743
|
**Parameters:**
|
|
457
744
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
458
|
-
- `
|
|
745
|
+
- `output` (string, optional (default: inline)) -
|
|
746
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
459
747
|
|
|
460
748
|
---
|
|
461
749
|
|
|
@@ -469,7 +757,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
469
757
|
|
|
470
758
|
**Parameters:**
|
|
471
759
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
472
|
-
- `version` (string, optional (default: active)) -
|
|
760
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
473
761
|
|
|
474
762
|
---
|
|
475
763
|
|
|
@@ -483,7 +771,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
483
771
|
|
|
484
772
|
**Parameters:**
|
|
485
773
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
486
|
-
- `version` (string, optional (default: active)) -
|
|
774
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
487
775
|
|
|
488
776
|
---
|
|
489
777
|
|
|
@@ -497,7 +785,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
497
785
|
|
|
498
786
|
**Parameters:**
|
|
499
787
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
500
|
-
- `version` (string, optional (default: active)) -
|
|
788
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
501
789
|
|
|
502
790
|
---
|
|
503
791
|
|
|
@@ -511,7 +799,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
511
799
|
|
|
512
800
|
**Parameters:**
|
|
513
801
|
- `class_name` (string, required) - Parent class name (e.g., ZCL_MY_CLASS).
|
|
514
|
-
- `version` (string, optional (default: active)) -
|
|
802
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
515
803
|
|
|
516
804
|
---
|
|
517
805
|
|
|
@@ -527,7 +815,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
527
815
|
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
528
816
|
- `class_name` (string, required) - Class name (e.g., ZCL_TEST_CLASS_001).
|
|
529
817
|
- `source_code` (string, required) - Complete ABAP class source code.
|
|
530
|
-
- `transport_request` (string, optional) - Transport request
|
|
818
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
531
819
|
|
|
532
820
|
---
|
|
533
821
|
|
|
@@ -595,6 +883,24 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
595
883
|
|
|
596
884
|
---
|
|
597
885
|
|
|
886
|
+
<a id="high-level-common"></a>
|
|
887
|
+
### High-Level / Common
|
|
888
|
+
|
|
889
|
+
<a id="activateobjects-high-level-common"></a>
|
|
890
|
+
#### ActivateObjects (High-Level / Common)
|
|
891
|
+
**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.
|
|
892
|
+
|
|
893
|
+
**Source:** `src/handlers/common/high/handleActivateObjects.ts`
|
|
894
|
+
|
|
895
|
+
**Available in:** `onprem`, `cloud`, `legacy`
|
|
896
|
+
|
|
897
|
+
**Parameters:**
|
|
898
|
+
- `objects` (array, required) - Objects to activate in one batch. Supply either explicit uri, or name+type (and parent_name for FUGR/FF, FUGR/I).
|
|
899
|
+
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default true.
|
|
900
|
+
- `run_timeout_ms` (number, optional) - Max time to wait for the activation run to finish (runs endpoint only). Default 120000.
|
|
901
|
+
|
|
902
|
+
---
|
|
903
|
+
|
|
598
904
|
<a id="high-level-function"></a>
|
|
599
905
|
### High-Level / Function
|
|
600
906
|
|
|
@@ -611,7 +917,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
611
917
|
- `description` (string, optional) - Function group description. If not provided, function_group_name will be used.
|
|
612
918
|
- `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).
|
|
613
919
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
614
|
-
- `transport_request` (string, optional) - Transport request
|
|
920
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
615
921
|
|
|
616
922
|
---
|
|
617
923
|
|
|
@@ -627,13 +933,13 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
627
933
|
- `description` (string, optional) - Optional description for the function module
|
|
628
934
|
- `function_group_name` (string, required) - Parent function group name (e.g., ZTEST_FG_001)
|
|
629
935
|
- `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).
|
|
630
|
-
- `transport_request` (string, optional) - Transport request
|
|
936
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
631
937
|
|
|
632
938
|
---
|
|
633
939
|
|
|
634
940
|
<a id="updatefunctiongroup-high-level-function"></a>
|
|
635
941
|
#### UpdateFunctionGroup (High-Level / Function)
|
|
636
|
-
**Description:** Update metadata (description) of an existing ABAP function group. Function groups are containers for function modules and don
|
|
942
|
+
**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.
|
|
637
943
|
|
|
638
944
|
**Source:** `src/handlers/function/high/handleUpdateFunctionGroup.ts`
|
|
639
945
|
|
|
@@ -642,7 +948,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
642
948
|
**Parameters:**
|
|
643
949
|
- `description` (string, required) - New description for the function group.
|
|
644
950
|
- `function_group_name` (string, required) - Function group name (e.g., ZTEST_FG_001). Must exist in the system.
|
|
645
|
-
- `transport_request` (string, optional) - Transport request
|
|
951
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
646
952
|
|
|
647
953
|
---
|
|
648
954
|
|
|
@@ -658,8 +964,8 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
658
964
|
- `activate` (boolean, optional) - Activate function module after source update. Default: false. Set to true to activate immediately.
|
|
659
965
|
- `function_group_name` (string, required) - Function group name containing the function module (e.g., ZOK_FG_MCP01).
|
|
660
966
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FM_MCP01). Function module must already exist.
|
|
661
|
-
- `source_code` (string, required) - Complete ABAP function module source code. Must include FUNCTION statement with parameters and ENDFUNCTION. Example
|
|
662
|
-
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable function modules.
|
|
967
|
+
- `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.
|
|
968
|
+
- `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".
|
|
663
969
|
|
|
664
970
|
---
|
|
665
971
|
|
|
@@ -676,7 +982,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
676
982
|
|
|
677
983
|
**Parameters:**
|
|
678
984
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP).
|
|
679
|
-
- `transport_request` (string, optional) - Transport request
|
|
985
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
680
986
|
|
|
681
987
|
---
|
|
682
988
|
|
|
@@ -690,7 +996,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
690
996
|
|
|
691
997
|
**Parameters:**
|
|
692
998
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP).
|
|
693
|
-
- `version` (string, optional (default: active)) -
|
|
999
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
694
1000
|
|
|
695
1001
|
---
|
|
696
1002
|
|
|
@@ -708,7 +1014,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
708
1014
|
**Parameters:**
|
|
709
1015
|
- `function_group_name` (string, required) - FunctionGroup name containing the function module (e.g., Z_MY_FUNCTIONGROUP).
|
|
710
1016
|
- `function_module_name` (string, required) - FunctionModule name (e.g., Z_MY_FUNCTIONMODULE).
|
|
711
|
-
- `transport_request` (string, optional) - Transport request
|
|
1017
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
712
1018
|
|
|
713
1019
|
---
|
|
714
1020
|
|
|
@@ -723,7 +1029,149 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
723
1029
|
**Parameters:**
|
|
724
1030
|
- `function_group_name` (string, required) - FunctionGroup name containing the function module (e.g., Z_MY_FUNCTIONGROUP).
|
|
725
1031
|
- `function_module_name` (string, required) - FunctionModule name (e.g., Z_MY_FUNCTIONMODULE).
|
|
726
|
-
- `
|
|
1032
|
+
- `output` (string, optional (default: inline)) -
|
|
1033
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1034
|
+
|
|
1035
|
+
---
|
|
1036
|
+
|
|
1037
|
+
<a id="high-level-gui-status"></a>
|
|
1038
|
+
### High-Level / Gui Status
|
|
1039
|
+
|
|
1040
|
+
<a id="createguistatus-high-level-gui-status"></a>
|
|
1041
|
+
#### CreateGuiStatus (High-Level / Gui Status)
|
|
1042
|
+
**Description:** Create a new ABAP GUI Status on an existing program. Optionally activates after creation.
|
|
1043
|
+
|
|
1044
|
+
**Source:** `src/handlers/gui_status/high/handleCreateGuiStatus.ts`
|
|
1045
|
+
|
|
1046
|
+
**Available in:** `onprem`, `legacy`
|
|
1047
|
+
|
|
1048
|
+
**Parameters:**
|
|
1049
|
+
- `activate` (boolean, optional) - Activate after creation. Default: false.
|
|
1050
|
+
- `description` (string, optional) - GUI Status description.
|
|
1051
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
1052
|
+
- `status_name` (string, required) - GUI Status name to create (e.g., MAIN_STATUS).
|
|
1053
|
+
- `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".
|
|
1054
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1055
|
+
|
|
1056
|
+
---
|
|
1057
|
+
|
|
1058
|
+
<a id="deleteguistatus-high-level-gui-status"></a>
|
|
1059
|
+
#### DeleteGuiStatus (High-Level / Gui Status)
|
|
1060
|
+
**Description:** Delete an ABAP GUI Status from a program. Handles lock/unlock automatically.
|
|
1061
|
+
|
|
1062
|
+
**Source:** `src/handlers/gui_status/high/handleDeleteGuiStatus.ts`
|
|
1063
|
+
|
|
1064
|
+
**Available in:** `onprem`, `legacy`
|
|
1065
|
+
|
|
1066
|
+
**Parameters:**
|
|
1067
|
+
- `program_name` (string, required) - Parent program name.
|
|
1068
|
+
- `status_name` (string, required) - GUI Status name to delete.
|
|
1069
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1070
|
+
|
|
1071
|
+
---
|
|
1072
|
+
|
|
1073
|
+
<a id="getguistatus-high-level-gui-status"></a>
|
|
1074
|
+
#### GetGuiStatus (High-Level / Gui Status)
|
|
1075
|
+
**Description:** Get ABAP GUI Status definition including statuses, function codes, menus, toolbars, and titles.
|
|
1076
|
+
|
|
1077
|
+
**Source:** `src/handlers/gui_status/high/handleGetGuiStatus.ts`
|
|
1078
|
+
|
|
1079
|
+
**Available in:** `onprem`, `legacy`
|
|
1080
|
+
|
|
1081
|
+
**Parameters:**
|
|
1082
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
1083
|
+
- `status_name` (string, optional) - Optional: filter to a specific GUI Status name. If omitted, returns all statuses.
|
|
1084
|
+
|
|
1085
|
+
---
|
|
1086
|
+
|
|
1087
|
+
<a id="patchguistatus-high-level-gui-status"></a>
|
|
1088
|
+
#### PatchGuiStatus (High-Level / Gui Status)
|
|
1089
|
+
**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.
|
|
1090
|
+
|
|
1091
|
+
**Source:** `src/handlers/gui_status/high/handlePatchGuiStatus.ts`
|
|
1092
|
+
|
|
1093
|
+
**Available in:** `onprem`, `legacy`
|
|
1094
|
+
|
|
1095
|
+
**Parameters:**
|
|
1096
|
+
- `activate` (boolean, optional) - Activate after patch. Default: false.
|
|
1097
|
+
- `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.
|
|
1098
|
+
- `program_name` (string, required) - Parent program name.
|
|
1099
|
+
- `skip_validation` (boolean, optional) - Skip client-side validation of the merged result. Default: false.
|
|
1100
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1101
|
+
|
|
1102
|
+
---
|
|
1103
|
+
|
|
1104
|
+
<a id="updateguistatus-high-level-gui-status"></a>
|
|
1105
|
+
#### UpdateGuiStatus (High-Level / Gui Status)
|
|
1106
|
+
**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.
|
|
1107
|
+
|
|
1108
|
+
**Source:** `src/handlers/gui_status/high/handleUpdateGuiStatus.ts`
|
|
1109
|
+
|
|
1110
|
+
**Available in:** `onprem`, `legacy`
|
|
1111
|
+
|
|
1112
|
+
**Parameters:**
|
|
1113
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1114
|
+
- `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.
|
|
1115
|
+
- `program_name` (string, required) - Parent program name.
|
|
1116
|
+
- `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.
|
|
1117
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1118
|
+
|
|
1119
|
+
---
|
|
1120
|
+
|
|
1121
|
+
<a id="high-level-include"></a>
|
|
1122
|
+
### High-Level / Include
|
|
1123
|
+
|
|
1124
|
+
<a id="createinclude-high-level-include"></a>
|
|
1125
|
+
#### CreateInclude (High-Level / Include)
|
|
1126
|
+
**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.
|
|
1127
|
+
|
|
1128
|
+
**Source:** `src/handlers/include/high/handleCreateInclude.ts`
|
|
1129
|
+
|
|
1130
|
+
**Available in:** `onprem`, `legacy`
|
|
1131
|
+
|
|
1132
|
+
**Parameters:**
|
|
1133
|
+
- `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.
|
|
1134
|
+
- `description` (string, optional) - Include description (max 60 chars). If not provided, include_name will be used.
|
|
1135
|
+
- `include_name` (string, required) - Include program name (e.g., ZPAEK_TEST_INC01). Must follow SAP naming conventions (start with Z or Y).
|
|
1136
|
+
- `insert_into_main` (boolean, optional) - Auto-insert `INCLUDE <name>.` statement into the main program source. Default: true. Set false to skip main-program modification.
|
|
1137
|
+
- `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.
|
|
1138
|
+
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects).
|
|
1139
|
+
- `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.
|
|
1140
|
+
- `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).
|
|
1141
|
+
- `transport_request` (string, optional) - Transport request number (e.g., S4HK904224). Required for transportable packages. Optional for local ($TMP) objects.
|
|
1142
|
+
|
|
1143
|
+
---
|
|
1144
|
+
|
|
1145
|
+
<a id="deleteinclude-high-level-include"></a>
|
|
1146
|
+
#### DeleteInclude (High-Level / Include)
|
|
1147
|
+
**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.
|
|
1148
|
+
|
|
1149
|
+
**Source:** `src/handlers/include/high/handleDeleteInclude.ts`
|
|
1150
|
+
|
|
1151
|
+
**Available in:** `onprem`, `legacy`
|
|
1152
|
+
|
|
1153
|
+
**Parameters:**
|
|
1154
|
+
- `include_name` (string, required) - Include program name to delete.
|
|
1155
|
+
- `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).
|
|
1156
|
+
- `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.
|
|
1157
|
+
- `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.
|
|
1158
|
+
|
|
1159
|
+
---
|
|
1160
|
+
|
|
1161
|
+
<a id="updateinclude-high-level-include"></a>
|
|
1162
|
+
#### UpdateInclude (High-Level / Include)
|
|
1163
|
+
**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.
|
|
1164
|
+
|
|
1165
|
+
**Source:** `src/handlers/include/high/handleUpdateInclude.ts`
|
|
1166
|
+
|
|
1167
|
+
**Available in:** `onprem`, `legacy`
|
|
1168
|
+
|
|
1169
|
+
**Parameters:**
|
|
1170
|
+
- `activate` (boolean, optional) - Activate include after source update. Default: false. Set to true to activate immediately.
|
|
1171
|
+
- `include_name` (string, required) - Include program name. Must already exist as Type I include in SAP.
|
|
1172
|
+
- `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.
|
|
1173
|
+
- `source_code` (string, required) - Complete ABAP include source code. Do NOT include a REPORT statement — include programs start directly with code or comments.
|
|
1174
|
+
- `transport_request` (string, optional) - Transport request number. Required for transportable packages.
|
|
727
1175
|
|
|
728
1176
|
---
|
|
729
1177
|
|
|
@@ -742,7 +1190,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
742
1190
|
- `description` (string, optional) - Interface description. If not provided, interface_name will be used.
|
|
743
1191
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
|
|
744
1192
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
745
|
-
- `transport_request` (string, optional) - Transport request
|
|
1193
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
746
1194
|
|
|
747
1195
|
---
|
|
748
1196
|
|
|
@@ -756,7 +1204,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
756
1204
|
|
|
757
1205
|
**Parameters:**
|
|
758
1206
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
759
|
-
- `transport_request` (string, optional) - Transport request
|
|
1207
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
760
1208
|
|
|
761
1209
|
---
|
|
762
1210
|
|
|
@@ -770,7 +1218,8 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
770
1218
|
|
|
771
1219
|
**Parameters:**
|
|
772
1220
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_INTERFACE).
|
|
773
|
-
- `
|
|
1221
|
+
- `output` (string, optional (default: inline)) -
|
|
1222
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
774
1223
|
|
|
775
1224
|
---
|
|
776
1225
|
|
|
@@ -786,7 +1235,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
786
1235
|
- `activate` (boolean, optional) - Activate interface after update. Default: true.
|
|
787
1236
|
- `interface_name` (string, required) - Interface name (e.g., ZIF_MY_INTERFACE). Must exist in the system.
|
|
788
1237
|
- `source_code` (string, required) - Complete ABAP interface source code with INTERFACE...ENDINTERFACE section.
|
|
789
|
-
- `transport_request` (string, optional) - Transport request
|
|
1238
|
+
- `transport_request` (string, optional) - Transport request. Optional if the object is local or already in one.
|
|
790
1239
|
|
|
791
1240
|
---
|
|
792
1241
|
|
|
@@ -803,7 +1252,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
803
1252
|
|
|
804
1253
|
**Parameters:**
|
|
805
1254
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PACKAGE).
|
|
806
|
-
- `version` (string, optional (default: active)) -
|
|
1255
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
807
1256
|
|
|
808
1257
|
---
|
|
809
1258
|
|
|
@@ -819,12 +1268,12 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
819
1268
|
**Available in:** `onprem`, `legacy`
|
|
820
1269
|
|
|
821
1270
|
**Parameters:**
|
|
822
|
-
- `application` (string, optional) - Application area (e.g.,
|
|
1271
|
+
- `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
|
|
823
1272
|
- `description` (string, optional) - Program description. If not provided, program_name will be used.
|
|
824
1273
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
825
1274
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y).
|
|
826
|
-
- `program_type` (string, optional) - Program type:
|
|
827
|
-
- `transport_request` (string, optional) - Transport request
|
|
1275
|
+
- `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
|
|
1276
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
828
1277
|
|
|
829
1278
|
---
|
|
830
1279
|
|
|
@@ -838,7 +1287,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
838
1287
|
|
|
839
1288
|
**Parameters:**
|
|
840
1289
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
841
|
-
- `transport_request` (string, optional) - Transport request
|
|
1290
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
842
1291
|
|
|
843
1292
|
---
|
|
844
1293
|
|
|
@@ -851,8 +1300,9 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
851
1300
|
**Available in:** `onprem`, `legacy`
|
|
852
1301
|
|
|
853
1302
|
**Parameters:**
|
|
1303
|
+
- `output` (string, optional (default: inline)) -
|
|
854
1304
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
855
|
-
- `version` (string, optional (default: active)) -
|
|
1305
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
856
1306
|
|
|
857
1307
|
---
|
|
858
1308
|
|
|
@@ -868,7 +1318,216 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
868
1318
|
- `activate` (boolean, optional) - Activate program after source update. Default: false. Set to true to activate immediately, or use ActivateObject for batch activation.
|
|
869
1319
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Program must already exist.
|
|
870
1320
|
- `source_code` (string, required) - Complete ABAP program source code.
|
|
871
|
-
- `transport_request` (string, optional) - Transport request
|
|
1321
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1322
|
+
|
|
1323
|
+
---
|
|
1324
|
+
|
|
1325
|
+
<a id="high-level-screen"></a>
|
|
1326
|
+
### High-Level / Screen
|
|
1327
|
+
|
|
1328
|
+
<a id="createscreen-high-level-screen"></a>
|
|
1329
|
+
#### CreateScreen (High-Level / Screen)
|
|
1330
|
+
**Description:** Create a new ABAP Screen (Dynpro) on an existing program. Optionally activates.
|
|
1331
|
+
|
|
1332
|
+
**Source:** `src/handlers/screen/high/handleCreateScreen.ts`
|
|
1333
|
+
|
|
1334
|
+
**Available in:** `onprem`, `legacy`
|
|
1335
|
+
|
|
1336
|
+
**Parameters:**
|
|
1337
|
+
- `activate` (boolean, optional) - Activate after creation. Default: false.
|
|
1338
|
+
- `description` (string, optional) - Screen description.
|
|
1339
|
+
- `dynpro_data` (string, optional) - Full screen definition as JSON. If omitted, creates minimal screen.
|
|
1340
|
+
- `program_name` (string, required) - Parent program name.
|
|
1341
|
+
- `screen_number` (string, required) - Screen number to create (e.g., 0100).
|
|
1342
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1343
|
+
|
|
1344
|
+
---
|
|
1345
|
+
|
|
1346
|
+
<a id="deletescreen-high-level-screen"></a>
|
|
1347
|
+
#### DeleteScreen (High-Level / Screen)
|
|
1348
|
+
**Description:** Delete an ABAP Screen (Dynpro) from a program. Handles lock/unlock automatically.
|
|
1349
|
+
|
|
1350
|
+
**Source:** `src/handlers/screen/high/handleDeleteScreen.ts`
|
|
1351
|
+
|
|
1352
|
+
**Available in:** `onprem`, `legacy`
|
|
1353
|
+
|
|
1354
|
+
**Parameters:**
|
|
1355
|
+
- `program_name` (string, required) - Parent program name.
|
|
1356
|
+
- `screen_number` (string, required) - Screen number to delete.
|
|
1357
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1358
|
+
|
|
1359
|
+
---
|
|
1360
|
+
|
|
1361
|
+
<a id="getscreen-high-level-screen"></a>
|
|
1362
|
+
#### GetScreen (High-Level / Screen)
|
|
1363
|
+
**Description:** Get ABAP Screen (Dynpro) definition including metadata, fields, and flow logic source code.
|
|
1364
|
+
|
|
1365
|
+
**Source:** `src/handlers/screen/high/handleGetScreen.ts`
|
|
1366
|
+
|
|
1367
|
+
**Available in:** `onprem`, `legacy`
|
|
1368
|
+
|
|
1369
|
+
**Parameters:**
|
|
1370
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
1371
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
1372
|
+
|
|
1373
|
+
---
|
|
1374
|
+
|
|
1375
|
+
<a id="updatescreen-high-level-screen"></a>
|
|
1376
|
+
#### UpdateScreen (High-Level / Screen)
|
|
1377
|
+
**Description:** Update an ABAP Screen (Dynpro) definition. Provide full screen data as JSON. Handles lock/unlock automatically.
|
|
1378
|
+
|
|
1379
|
+
**Source:** `src/handlers/screen/high/handleUpdateScreen.ts`
|
|
1380
|
+
|
|
1381
|
+
**Available in:** `onprem`, `legacy`
|
|
1382
|
+
|
|
1383
|
+
**Parameters:**
|
|
1384
|
+
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1385
|
+
- `dynpro_data` (string, required) - Complete screen definition as JSON (from GetScreen/ReadScreen).
|
|
1386
|
+
- `program_name` (string, required) - Parent program name.
|
|
1387
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
1388
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1389
|
+
|
|
1390
|
+
---
|
|
1391
|
+
|
|
1392
|
+
<a id="high-level-smartform"></a>
|
|
1393
|
+
### High-Level / Smartform
|
|
1394
|
+
|
|
1395
|
+
<a id="createsmartform-high-level-smartform"></a>
|
|
1396
|
+
#### CreateSmartForm (High-Level / Smartform)
|
|
1397
|
+
**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.
|
|
1398
|
+
|
|
1399
|
+
**Source:** `src/handlers/smartform/high/handleCreateSmartForm.ts`
|
|
1400
|
+
|
|
1401
|
+
**Available in:** `onprem`, `legacy`
|
|
1402
|
+
|
|
1403
|
+
**Parameters:**
|
|
1404
|
+
- `activate` (boolean, optional) - Check and store active. Default true; false stores the form inactive without a check.
|
|
1405
|
+
- `form_name` (string, required) - Target SmartForm name, Z* or Y* (e.g. "ZMY_FORM").
|
|
1406
|
+
- `overwrite` (boolean, optional) - Replace the form when it exists. Default false (an existing form is refused).
|
|
1407
|
+
- `package_name` (string, optional) - Package. Default $TMP; any other package needs transport_request.
|
|
1408
|
+
- `transport_request` (string, optional) - Transport request the form is recorded in.
|
|
1409
|
+
- `xml_file` (string, required) - Path of the Form Builder XML file (UTF-8).
|
|
1410
|
+
|
|
1411
|
+
---
|
|
1412
|
+
|
|
1413
|
+
<a id="deletesmartform-high-level-smartform"></a>
|
|
1414
|
+
#### DeleteSmartForm (High-Level / Smartform)
|
|
1415
|
+
**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.
|
|
1416
|
+
|
|
1417
|
+
**Source:** `src/handlers/smartform/high/handleDeleteSmartForm.ts`
|
|
1418
|
+
|
|
1419
|
+
**Available in:** `onprem`, `legacy`
|
|
1420
|
+
|
|
1421
|
+
**Parameters:**
|
|
1422
|
+
- `confirm` (boolean, optional) - true = really delete. Default false (dry run).
|
|
1423
|
+
- `form_name` (string, required) - SmartForm name, Z* or Y*.
|
|
1424
|
+
|
|
1425
|
+
---
|
|
1426
|
+
|
|
1427
|
+
<a id="high-level-text-element"></a>
|
|
1428
|
+
### High-Level / Text Element
|
|
1429
|
+
|
|
1430
|
+
<a id="createtextelement-high-level-text-element"></a>
|
|
1431
|
+
#### CreateTextElement (High-Level / Text Element)
|
|
1432
|
+
**Description:** Add a text element (text symbol, selection text, program title, or list heading) to an ABAP program. Optionally activates after write.
|
|
1433
|
+
|
|
1434
|
+
**Source:** `src/handlers/text_element/high/handleCreateTextElement.ts`
|
|
1435
|
+
|
|
1436
|
+
**Available in:** `onprem`, `legacy`
|
|
1437
|
+
|
|
1438
|
+
**Parameters:**
|
|
1439
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
1440
|
+
- `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).
|
|
1441
|
+
- `language` (string, optional) - Language key (1-char). Defaults to SAP logon language.
|
|
1442
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
1443
|
+
- `text` (string, required) - Text content (max ${MAX_ENTRY_LEN} characters).
|
|
1444
|
+
- `text_type` (string, required) - "I"=text symbol (TEXT-xxx), "S"=selection text, "R"=program title, "H"=list heading.
|
|
1445
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1446
|
+
|
|
1447
|
+
---
|
|
1448
|
+
|
|
1449
|
+
<a id="deletetextelement-high-level-text-element"></a>
|
|
1450
|
+
#### DeleteTextElement (High-Level / Text Element)
|
|
1451
|
+
**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.
|
|
1452
|
+
|
|
1453
|
+
**Source:** `src/handlers/text_element/high/handleDeleteTextElement.ts`
|
|
1454
|
+
|
|
1455
|
+
**Available in:** `onprem`, `legacy`
|
|
1456
|
+
|
|
1457
|
+
**Parameters:**
|
|
1458
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
1459
|
+
- `key` (string, optional) - Row key, or "*" to delete every row of the given text_type.
|
|
1460
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
1461
|
+
- `program_name` (string, required) - Parent program name.
|
|
1462
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H", or "*" to wipe every row in the language.
|
|
1463
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1464
|
+
|
|
1465
|
+
---
|
|
1466
|
+
|
|
1467
|
+
<a id="gettextelement-high-level-text-element"></a>
|
|
1468
|
+
#### GetTextElement (High-Level / Text Element)
|
|
1469
|
+
**Description:** Read ABAP program text pool (text symbols, selection texts, title, headings). Optionally filter by text_type / key.
|
|
1470
|
+
|
|
1471
|
+
**Source:** `src/handlers/text_element/high/handleGetTextElement.ts`
|
|
1472
|
+
|
|
1473
|
+
**Available in:** `onprem`, `legacy`
|
|
1474
|
+
|
|
1475
|
+
**Parameters:**
|
|
1476
|
+
- `key` (string, optional) - Optional: filter by row key (e.g., "001" for text symbol TEXT-001, or a parameter name for selection text).
|
|
1477
|
+
- `language` (string, optional) - Language key (1-char, e.g., "E", "D", "K"). Defaults to the SAP logon language.
|
|
1478
|
+
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
1479
|
+
- `text_type` (string, optional) - Filter by ID: "I"=text symbol, "S"=selection text, "R"=program title, "H"=list heading.
|
|
1480
|
+
|
|
1481
|
+
---
|
|
1482
|
+
|
|
1483
|
+
<a id="readtextelementsbulk-high-level-text-element"></a>
|
|
1484
|
+
#### ReadTextElementsBulk (High-Level / Text Element)
|
|
1485
|
+
**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.
|
|
1486
|
+
|
|
1487
|
+
**Source:** `src/handlers/text_element/high/handleReadTextElementsBulk.ts`
|
|
1488
|
+
|
|
1489
|
+
**Available in:** `onprem`, `legacy`
|
|
1490
|
+
|
|
1491
|
+
**Parameters:**
|
|
1492
|
+
- `language` (string, optional) - 1-char language. Defaults to SAP logon language.
|
|
1493
|
+
- `program_name` (string, required) - Program name.
|
|
1494
|
+
|
|
1495
|
+
---
|
|
1496
|
+
|
|
1497
|
+
<a id="updatetextelement-high-level-text-element"></a>
|
|
1498
|
+
#### UpdateTextElement (High-Level / Text Element)
|
|
1499
|
+
**Description:** Update an existing text element in an ABAP program text pool. Handles lock/unlock automatically.
|
|
1500
|
+
|
|
1501
|
+
**Source:** `src/handlers/text_element/high/handleUpdateTextElement.ts`
|
|
1502
|
+
|
|
1503
|
+
**Available in:** `onprem`, `legacy`
|
|
1504
|
+
|
|
1505
|
+
**Parameters:**
|
|
1506
|
+
- `activate` (boolean, optional) - Activate the parent program after write. Default: false.
|
|
1507
|
+
- `key` (string, optional) - Row key. Required except for "R" (single program title).
|
|
1508
|
+
- `language` (string, optional) - Language key. Defaults to SAP logon language.
|
|
1509
|
+
- `program_name` (string, required) - Parent program name.
|
|
1510
|
+
- `text` (string, required) - New text content (max ${MAX_ENTRY_LEN} characters).
|
|
1511
|
+
- `text_type` (string, required) - "I"|"S"|"R"|"H" — see GetTextElement.
|
|
1512
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
1513
|
+
|
|
1514
|
+
---
|
|
1515
|
+
|
|
1516
|
+
<a id="writetextelementsbulk-high-level-text-element"></a>
|
|
1517
|
+
#### WriteTextElementsBulk (High-Level / Text Element)
|
|
1518
|
+
**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.
|
|
1519
|
+
|
|
1520
|
+
**Source:** `src/handlers/text_element/high/handleWriteTextElementsBulk.ts`
|
|
1521
|
+
|
|
1522
|
+
**Available in:** `onprem`, `legacy`
|
|
1523
|
+
|
|
1524
|
+
**Parameters:**
|
|
1525
|
+
- `activate` (boolean, optional) - false (default) — stage as INACTIVE (program activation promotes). true — write ACTIVE immediately.
|
|
1526
|
+
- `language` (string, optional) - 1-char language key (e.g. "K" for Korean). Defaults to SAP logon language.
|
|
1527
|
+
- `program_name` (string, required) - Parent program name.
|
|
1528
|
+
- `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).
|
|
1529
|
+
- `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".
|
|
1530
|
+
- `transport_request` (string, optional) - Transport request number (informational).
|
|
872
1531
|
|
|
873
1532
|
---
|
|
874
1533
|
|
|
@@ -888,7 +1547,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
888
1547
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
889
1548
|
- `description` (string, optional) - Optional description for the global test class.
|
|
890
1549
|
- `package_name` (string, required) - Package name (e.g., ZOK_TEST_PKG_01, $TMP).
|
|
891
|
-
- `transport_request` (string, optional) - Transport request
|
|
1550
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
892
1551
|
|
|
893
1552
|
---
|
|
894
1553
|
|
|
@@ -920,7 +1579,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
920
1579
|
|
|
921
1580
|
**Parameters:**
|
|
922
1581
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
923
|
-
- `transport_request` (string, optional) - Transport request
|
|
1582
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
924
1583
|
|
|
925
1584
|
---
|
|
926
1585
|
|
|
@@ -1023,7 +1682,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1023
1682
|
|
|
1024
1683
|
<a id="rununittest-high-level-unit-test"></a>
|
|
1025
1684
|
#### RunUnitTest (High-Level / Unit Test)
|
|
1026
|
-
**Description:** Start an ABAP Unit test run for provided
|
|
1685
|
+
**Description:** Start an ABAP Unit test run for provided test definitions. Returns run_id for status/result queries.
|
|
1027
1686
|
|
|
1028
1687
|
**Source:** `src/handlers/unit_test/high/handleRunUnitTest.ts`
|
|
1029
1688
|
|
|
@@ -1050,7 +1709,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1050
1709
|
**Parameters:**
|
|
1051
1710
|
- `class_name` (string, required) - Global test class name (e.g., ZCL_CDS_TEST).
|
|
1052
1711
|
- `test_class_source` (string, required) - Updated local test class ABAP source code.
|
|
1053
|
-
- `transport_request` (string, optional) - Transport request
|
|
1712
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1054
1713
|
|
|
1055
1714
|
---
|
|
1056
1715
|
|
|
@@ -1081,7 +1740,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1081
1740
|
**Parameters:**
|
|
1082
1741
|
- `description` (string, optional) - Optional description (defaults to view_name).
|
|
1083
1742
|
- `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
|
|
1084
|
-
- `transport_request` (string, optional) - Transport request
|
|
1743
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1085
1744
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
|
|
1086
1745
|
|
|
1087
1746
|
---
|
|
@@ -1095,7 +1754,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1095
1754
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1096
1755
|
|
|
1097
1756
|
**Parameters:**
|
|
1098
|
-
- `transport_request` (string, optional) - Transport request
|
|
1757
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1099
1758
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1100
1759
|
|
|
1101
1760
|
---
|
|
@@ -1109,7 +1768,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1109
1768
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1110
1769
|
|
|
1111
1770
|
**Parameters:**
|
|
1112
|
-
- `version` (string, optional (default: active)) -
|
|
1771
|
+
- `version` (string, optional (default: active)) - "active" (default) or "inactive" (saved, not yet activated).
|
|
1113
1772
|
- `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
|
|
1114
1773
|
|
|
1115
1774
|
---
|
|
@@ -1125,7 +1784,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1125
1784
|
**Parameters:**
|
|
1126
1785
|
- `activate` (boolean, optional) - Activate after update. Default: false.
|
|
1127
1786
|
- `ddl_source` (string, required) - Complete DDL source code.
|
|
1128
|
-
- `transport_request` (string, optional) - Transport request
|
|
1787
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1129
1788
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002).
|
|
1130
1789
|
|
|
1131
1790
|
---
|
|
@@ -1180,7 +1839,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1180
1839
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1181
1840
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1182
1841
|
- `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.
|
|
1183
|
-
- `version` (string, optional) - Version to check:
|
|
1842
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
1184
1843
|
|
|
1185
1844
|
---
|
|
1186
1845
|
|
|
@@ -1201,8 +1860,9 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1201
1860
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
1202
1861
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1203
1862
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1863
|
+
- `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.
|
|
1204
1864
|
- `superclass` (string, optional) - Superclass name (optional).
|
|
1205
|
-
- `transport_request` (string, optional) - Transport request
|
|
1865
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1206
1866
|
|
|
1207
1867
|
---
|
|
1208
1868
|
|
|
@@ -1216,7 +1876,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1216
1876
|
|
|
1217
1877
|
**Parameters:**
|
|
1218
1878
|
- `class_name` (string, required) - Class name (e.g., ZCL_MY_CLASS).
|
|
1219
|
-
- `transport_request` (string, optional) - Transport request
|
|
1879
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1220
1880
|
|
|
1221
1881
|
---
|
|
1222
1882
|
|
|
@@ -1229,7 +1889,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1229
1889
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1230
1890
|
|
|
1231
1891
|
**Parameters:**
|
|
1232
|
-
- `format` (string, optional) - Preferred response format. Defaults to
|
|
1892
|
+
- `format` (string, optional) - Preferred response format. Defaults to 'abapunit'.
|
|
1233
1893
|
- `run_id` (string, required) - Run identifier returned by RunClassUnitTestsLow.
|
|
1234
1894
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1235
1895
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
@@ -1342,6 +2002,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1342
2002
|
**Parameters:**
|
|
1343
2003
|
- `class_name` (string, required) - Class name (e.g., ZCL_TEST_CLASS_001). Class must already exist.
|
|
1344
2004
|
- `lock_handle` (string, required) - Lock handle from LockClass operation. Required for update operation.
|
|
2005
|
+
- `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.
|
|
1345
2006
|
- `source_code` (string, required) - Complete ABAP class source code including CLASS DEFINITION and IMPLEMENTATION sections.
|
|
1346
2007
|
|
|
1347
2008
|
---
|
|
@@ -1359,6 +2020,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1359
2020
|
- `lock_handle` (string, required) - Test classes lock handle from LockClassTestClassesLow.
|
|
1360
2021
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1361
2022
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2023
|
+
- `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.
|
|
1362
2024
|
- `test_class_source` (string, required) - Complete ABAP Unit test class source code.
|
|
1363
2025
|
|
|
1364
2026
|
---
|
|
@@ -1393,7 +2055,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1393
2055
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
1394
2056
|
|
|
1395
2057
|
**Parameters:**
|
|
1396
|
-
- `objects` (array, required) - Array of objects to activate. Each object must have
|
|
2058
|
+
- `objects` (array, required) - Array of objects to activate. Each object must have 'name' and 'type'. URI is optional.
|
|
1397
2059
|
- `preaudit` (boolean, optional) - Request pre-audit before activation. Default: true
|
|
1398
2060
|
|
|
1399
2061
|
---
|
|
@@ -1460,7 +2122,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1460
2122
|
- `function_module_name` (string, required) - Function module name (e.g., Z_TEST_FM)
|
|
1461
2123
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1462
2124
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1463
|
-
- `version` (string, optional) - Version to check:
|
|
2125
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active
|
|
1464
2126
|
|
|
1465
2127
|
---
|
|
1466
2128
|
|
|
@@ -1478,7 +2140,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1478
2140
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
1479
2141
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1480
2142
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1481
|
-
- `transport_request` (string, optional) - Transport request
|
|
2143
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1482
2144
|
|
|
1483
2145
|
---
|
|
1484
2146
|
|
|
@@ -1497,7 +2159,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1497
2159
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
1498
2160
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1499
2161
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1500
|
-
- `transport_request` (string, optional) - Transport request
|
|
2162
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1501
2163
|
|
|
1502
2164
|
---
|
|
1503
2165
|
|
|
@@ -1511,7 +2173,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1511
2173
|
|
|
1512
2174
|
**Parameters:**
|
|
1513
2175
|
- `function_group_name` (string, required) - FunctionGroup name (e.g., Z_MY_PROGRAM).
|
|
1514
|
-
- `transport_request` (string, optional) - Transport request
|
|
2176
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1515
2177
|
|
|
1516
2178
|
---
|
|
1517
2179
|
|
|
@@ -1526,7 +2188,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1526
2188
|
**Parameters:**
|
|
1527
2189
|
- `function_group_name` (string, required) - Function group name (e.g., ZFG_MY_GROUP).
|
|
1528
2190
|
- `function_module_name` (string, required) - Function module name (e.g., Z_MY_FUNCTION).
|
|
1529
|
-
- `transport_request` (string, optional) - Transport request
|
|
2191
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1530
2192
|
|
|
1531
2193
|
---
|
|
1532
2194
|
|
|
@@ -1608,6 +2270,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1608
2270
|
- `lock_handle` (string, required) - Lock handle from LockFunctionModule. Required for update operation.
|
|
1609
2271
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1610
2272
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2273
|
+
- `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.
|
|
1611
2274
|
- `source_code` (string, required) - Complete ABAP function module source code.
|
|
1612
2275
|
- `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects locked in a request.
|
|
1613
2276
|
|
|
@@ -1647,6 +2310,111 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1647
2310
|
|
|
1648
2311
|
---
|
|
1649
2312
|
|
|
2313
|
+
<a id="low-level-gui-status"></a>
|
|
2314
|
+
### Low-Level / Gui Status
|
|
2315
|
+
|
|
2316
|
+
<a id="activateguistatuslow-low-level-gui-status"></a>
|
|
2317
|
+
#### ActivateGuiStatusLow (Low-Level / Gui Status)
|
|
2318
|
+
**Description:** [low-level] Activate an ABAP program to make GUI Status changes active.
|
|
2319
|
+
|
|
2320
|
+
**Source:** `src/handlers/gui_status/low/handleActivateGuiStatus.ts`
|
|
2321
|
+
|
|
2322
|
+
**Available in:** `onprem`, `legacy`
|
|
2323
|
+
|
|
2324
|
+
**Parameters:**
|
|
2325
|
+
- `program_name` (string, required) - Parent program name.
|
|
2326
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2327
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2328
|
+
|
|
2329
|
+
---
|
|
2330
|
+
|
|
2331
|
+
<a id="createguistatuslow-low-level-gui-status"></a>
|
|
2332
|
+
#### CreateGuiStatusLow (Low-Level / Gui Status)
|
|
2333
|
+
**Description:** [low-level] Create a new ABAP GUI Status on an existing program.
|
|
2334
|
+
|
|
2335
|
+
**Source:** `src/handlers/gui_status/low/handleCreateGuiStatus.ts`
|
|
2336
|
+
|
|
2337
|
+
**Available in:** `onprem`, `legacy`
|
|
2338
|
+
|
|
2339
|
+
**Parameters:**
|
|
2340
|
+
- `description` (string, optional) - GUI Status description.
|
|
2341
|
+
- `program_name` (string, required) - Parent program name (e.g., Z_MY_PROGRAM).
|
|
2342
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2343
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2344
|
+
- `status_name` (string, required) - GUI Status name to create (e.g., MAIN_STATUS).
|
|
2345
|
+
- `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".
|
|
2346
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2347
|
+
|
|
2348
|
+
---
|
|
2349
|
+
|
|
2350
|
+
<a id="deleteguistatuslow-low-level-gui-status"></a>
|
|
2351
|
+
#### DeleteGuiStatusLow (Low-Level / Gui Status)
|
|
2352
|
+
**Description:** [low-level] Delete an ABAP GUI Status from a program.
|
|
2353
|
+
|
|
2354
|
+
**Source:** `src/handlers/gui_status/low/handleDeleteGuiStatus.ts`
|
|
2355
|
+
|
|
2356
|
+
**Available in:** `onprem`, `legacy`
|
|
2357
|
+
|
|
2358
|
+
**Parameters:**
|
|
2359
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
2360
|
+
- `program_name` (string, required) - Parent program name.
|
|
2361
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2362
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2363
|
+
- `status_name` (string, required) - GUI Status name to delete. Use "*" to delete all.
|
|
2364
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2365
|
+
|
|
2366
|
+
---
|
|
2367
|
+
|
|
2368
|
+
<a id="lockguistatuslow-low-level-gui-status"></a>
|
|
2369
|
+
#### LockGuiStatusLow (Low-Level / Gui Status)
|
|
2370
|
+
**Description:** [low-level] Lock a program for GUI Status modification. Returns lock handle for subsequent update/unlock operations.
|
|
2371
|
+
|
|
2372
|
+
**Source:** `src/handlers/gui_status/low/handleLockGuiStatus.ts`
|
|
2373
|
+
|
|
2374
|
+
**Available in:** `onprem`, `legacy`
|
|
2375
|
+
|
|
2376
|
+
**Parameters:**
|
|
2377
|
+
- `program_name` (string, required) - Parent program name (e.g., SAPMV45A).
|
|
2378
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2379
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2380
|
+
- `status_name` (string, optional) - GUI Status name (for reference only).
|
|
2381
|
+
|
|
2382
|
+
---
|
|
2383
|
+
|
|
2384
|
+
<a id="unlockguistatuslow-low-level-gui-status"></a>
|
|
2385
|
+
#### UnlockGuiStatusLow (Low-Level / Gui Status)
|
|
2386
|
+
**Description:** [low-level] Unlock a program after GUI Status modification. Requires lock handle from LockGuiStatusLow.
|
|
2387
|
+
|
|
2388
|
+
**Source:** `src/handlers/gui_status/low/handleUnlockGuiStatus.ts`
|
|
2389
|
+
|
|
2390
|
+
**Available in:** `onprem`, `legacy`
|
|
2391
|
+
|
|
2392
|
+
**Parameters:**
|
|
2393
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
2394
|
+
- `program_name` (string, required) - Parent program name.
|
|
2395
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2396
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2397
|
+
|
|
2398
|
+
---
|
|
2399
|
+
|
|
2400
|
+
<a id="updateguistatuslow-low-level-gui-status"></a>
|
|
2401
|
+
#### UpdateGuiStatusLow (Low-Level / Gui Status)
|
|
2402
|
+
**Description:** [low-level] Update an ABAP GUI Status definition. Provide full CUA data (from ReadGuiStatus) with modifications.
|
|
2403
|
+
|
|
2404
|
+
**Source:** `src/handlers/gui_status/low/handleUpdateGuiStatus.ts`
|
|
2405
|
+
|
|
2406
|
+
**Available in:** `onprem`, `legacy`
|
|
2407
|
+
|
|
2408
|
+
**Parameters:**
|
|
2409
|
+
- `cua_data` (string, required) - Complete CUA data as JSON string (from ReadGuiStatus/GetGuiStatus). Modify and pass back.
|
|
2410
|
+
- `lock_handle` (string, required) - Lock handle from LockGuiStatusLow.
|
|
2411
|
+
- `program_name` (string, required) - Parent program name.
|
|
2412
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2413
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2414
|
+
- `transport_request` (string, optional) - Transport request number.
|
|
2415
|
+
|
|
2416
|
+
---
|
|
2417
|
+
|
|
1650
2418
|
<a id="low-level-interface"></a>
|
|
1651
2419
|
### Low-Level / Interface
|
|
1652
2420
|
|
|
@@ -1694,7 +2462,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1694
2462
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
1695
2463
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1696
2464
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1697
|
-
- `transport_request` (string, optional) - Transport request
|
|
2465
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1698
2466
|
|
|
1699
2467
|
---
|
|
1700
2468
|
|
|
@@ -1708,7 +2476,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1708
2476
|
|
|
1709
2477
|
**Parameters:**
|
|
1710
2478
|
- `interface_name` (string, required) - Interface name (e.g., Z_MY_PROGRAM).
|
|
1711
|
-
- `transport_request` (string, optional) - Transport request
|
|
2479
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1712
2480
|
|
|
1713
2481
|
---
|
|
1714
2482
|
|
|
@@ -1808,7 +2576,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1808
2576
|
- `connection_config` (object, optional) - Optional SAP connection config to create a fresh connection for deletion. Useful when the existing connection config is unavailable.
|
|
1809
2577
|
- `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.
|
|
1810
2578
|
- `package_name` (string, required) - Package name (e.g., Z_MY_PROGRAM).
|
|
1811
|
-
- `transport_request` (string, optional) - Transport request
|
|
2579
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1812
2580
|
|
|
1813
2581
|
---
|
|
1814
2582
|
|
|
@@ -1905,14 +2673,15 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1905
2673
|
**Available in:** `onprem`, `legacy`
|
|
1906
2674
|
|
|
1907
2675
|
**Parameters:**
|
|
1908
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
2676
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
1909
2677
|
- `description` (string, required) - Program description.
|
|
1910
2678
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
1911
2679
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
1912
|
-
- `program_type` (string, optional) - Program type:
|
|
2680
|
+
- `program_type` (string, optional) - Program type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
1913
2681
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1914
2682
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
1915
|
-
- `
|
|
2683
|
+
- `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.
|
|
2684
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
1916
2685
|
|
|
1917
2686
|
---
|
|
1918
2687
|
|
|
@@ -1926,7 +2695,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1926
2695
|
|
|
1927
2696
|
**Parameters:**
|
|
1928
2697
|
- `program_name` (string, required) - Program name (e.g., Z_MY_PROGRAM).
|
|
1929
|
-
- `transport_request` (string, optional) - Transport request
|
|
2698
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
1930
2699
|
|
|
1931
2700
|
---
|
|
1932
2701
|
|
|
@@ -1974,6 +2743,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1974
2743
|
- `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM). Program must already exist.
|
|
1975
2744
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
1976
2745
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2746
|
+
- `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.
|
|
1977
2747
|
- `source_code` (string, required) - Complete ABAP program source code.
|
|
1978
2748
|
|
|
1979
2749
|
---
|
|
@@ -1995,6 +2765,111 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
1995
2765
|
|
|
1996
2766
|
---
|
|
1997
2767
|
|
|
2768
|
+
<a id="low-level-screen"></a>
|
|
2769
|
+
### Low-Level / Screen
|
|
2770
|
+
|
|
2771
|
+
<a id="activatescreenlow-low-level-screen"></a>
|
|
2772
|
+
#### ActivateScreenLow (Low-Level / Screen)
|
|
2773
|
+
**Description:** [low-level] Activate an ABAP program to make Screen changes active.
|
|
2774
|
+
|
|
2775
|
+
**Source:** `src/handlers/screen/low/handleActivateScreen.ts`
|
|
2776
|
+
|
|
2777
|
+
**Available in:** `onprem`, `legacy`
|
|
2778
|
+
|
|
2779
|
+
**Parameters:**
|
|
2780
|
+
- `program_name` (string, required) - Parent program name.
|
|
2781
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2782
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2783
|
+
|
|
2784
|
+
---
|
|
2785
|
+
|
|
2786
|
+
<a id="createscreenlow-low-level-screen"></a>
|
|
2787
|
+
#### CreateScreenLow (Low-Level / Screen)
|
|
2788
|
+
**Description:** [low-level] Create a new ABAP Screen (Dynpro) on an existing program.
|
|
2789
|
+
|
|
2790
|
+
**Source:** `src/handlers/screen/low/handleCreateScreen.ts`
|
|
2791
|
+
|
|
2792
|
+
**Available in:** `onprem`, `legacy`
|
|
2793
|
+
|
|
2794
|
+
**Parameters:**
|
|
2795
|
+
- `description` (string, optional) - Screen description.
|
|
2796
|
+
- `dynpro_data` (string, optional) - Full screen definition as JSON (header, containers, fields_to_containers, flow_logic). If omitted, creates a minimal empty screen.
|
|
2797
|
+
- `program_name` (string, required) - Parent program name.
|
|
2798
|
+
- `screen_number` (string, required) - Screen number to create (e.g., 0100).
|
|
2799
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2800
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2801
|
+
- `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.
|
|
2802
|
+
|
|
2803
|
+
---
|
|
2804
|
+
|
|
2805
|
+
<a id="deletescreenlow-low-level-screen"></a>
|
|
2806
|
+
#### DeleteScreenLow (Low-Level / Screen)
|
|
2807
|
+
**Description:** [low-level] Delete an ABAP Screen (Dynpro) from a program.
|
|
2808
|
+
|
|
2809
|
+
**Source:** `src/handlers/screen/low/handleDeleteScreen.ts`
|
|
2810
|
+
|
|
2811
|
+
**Available in:** `onprem`, `legacy`
|
|
2812
|
+
|
|
2813
|
+
**Parameters:**
|
|
2814
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
2815
|
+
- `program_name` (string, required) - Parent program name.
|
|
2816
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
2817
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2818
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2819
|
+
|
|
2820
|
+
---
|
|
2821
|
+
|
|
2822
|
+
<a id="lockscreenlow-low-level-screen"></a>
|
|
2823
|
+
#### LockScreenLow (Low-Level / Screen)
|
|
2824
|
+
**Description:** [low-level] Lock a program for Screen modification. Returns lock handle for subsequent operations.
|
|
2825
|
+
|
|
2826
|
+
**Source:** `src/handlers/screen/low/handleLockScreen.ts`
|
|
2827
|
+
|
|
2828
|
+
**Available in:** `onprem`, `legacy`
|
|
2829
|
+
|
|
2830
|
+
**Parameters:**
|
|
2831
|
+
- `program_name` (string, required) - Parent program name.
|
|
2832
|
+
- `screen_number` (string, optional) - Screen number (for reference).
|
|
2833
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2834
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2835
|
+
|
|
2836
|
+
---
|
|
2837
|
+
|
|
2838
|
+
<a id="unlockscreenlow-low-level-screen"></a>
|
|
2839
|
+
#### UnlockScreenLow (Low-Level / Screen)
|
|
2840
|
+
**Description:** [low-level] Unlock a program after Screen modification.
|
|
2841
|
+
|
|
2842
|
+
**Source:** `src/handlers/screen/low/handleUnlockScreen.ts`
|
|
2843
|
+
|
|
2844
|
+
**Available in:** `onprem`, `legacy`
|
|
2845
|
+
|
|
2846
|
+
**Parameters:**
|
|
2847
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
2848
|
+
- `program_name` (string, required) - Parent program name.
|
|
2849
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2850
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2851
|
+
|
|
2852
|
+
---
|
|
2853
|
+
|
|
2854
|
+
<a id="updatescreenlow-low-level-screen"></a>
|
|
2855
|
+
#### UpdateScreenLow (Low-Level / Screen)
|
|
2856
|
+
**Description:** [low-level] Update an ABAP Screen (Dynpro) definition. Provide full screen data as JSON.
|
|
2857
|
+
|
|
2858
|
+
**Source:** `src/handlers/screen/low/handleUpdateScreen.ts`
|
|
2859
|
+
|
|
2860
|
+
**Available in:** `onprem`, `legacy`
|
|
2861
|
+
|
|
2862
|
+
**Parameters:**
|
|
2863
|
+
- `dynpro_data` (string, required) - Complete screen definition as JSON (header, containers, fields_to_containers, flow_logic).
|
|
2864
|
+
- `lock_handle` (string, required) - Lock handle from LockScreenLow.
|
|
2865
|
+
- `program_name` (string, required) - Parent program name.
|
|
2866
|
+
- `screen_number` (string, required) - Screen number (e.g., 0100).
|
|
2867
|
+
- `session_id` (string, optional) - Session ID from GetSession.
|
|
2868
|
+
- `session_state` (object, optional) - Session state from GetSession.
|
|
2869
|
+
- `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.
|
|
2870
|
+
|
|
2871
|
+
---
|
|
2872
|
+
|
|
1998
2873
|
<a id="low-level-view"></a>
|
|
1999
2874
|
### Low-Level / View
|
|
2000
2875
|
|
|
@@ -2025,7 +2900,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2025
2900
|
- `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.
|
|
2026
2901
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2027
2902
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2028
|
-
- `version` (string, optional) - Version to check:
|
|
2903
|
+
- `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
|
|
2029
2904
|
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
2030
2905
|
|
|
2031
2906
|
---
|
|
@@ -2039,14 +2914,15 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2039
2914
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2040
2915
|
|
|
2041
2916
|
**Parameters:**
|
|
2042
|
-
- `application` (string, optional (default: *').)) - Application area (optional, default:
|
|
2917
|
+
- `application` (string, optional (default: *').)) - Application area (optional, default: '*').
|
|
2043
2918
|
- `description` (string, required) - View description.
|
|
2044
2919
|
- `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
|
|
2045
2920
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2046
2921
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2047
|
-
- `
|
|
2922
|
+
- `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.
|
|
2923
|
+
- `transport_request` (string, optional) - Transport request. Required for transportable packages.
|
|
2048
2924
|
- `view_name` (string, required) - View name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
|
|
2049
|
-
- `view_type` (string, optional) - View type:
|
|
2925
|
+
- `view_type` (string, optional) - View type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
|
|
2050
2926
|
|
|
2051
2927
|
---
|
|
2052
2928
|
|
|
@@ -2059,7 +2935,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2059
2935
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2060
2936
|
|
|
2061
2937
|
**Parameters:**
|
|
2062
|
-
- `transport_request` (string, optional) - Transport request
|
|
2938
|
+
- `transport_request` (string, optional) - Transport request. Required unless the object is local ($TMP).
|
|
2063
2939
|
- `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
|
|
2064
2940
|
|
|
2065
2941
|
---
|
|
@@ -2104,10 +2980,11 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2104
2980
|
**Available in:** `onprem`, `cloud`, `legacy`
|
|
2105
2981
|
|
|
2106
2982
|
**Parameters:**
|
|
2107
|
-
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain
|
|
2983
|
+
- `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
|
|
2108
2984
|
- `lock_handle` (string, required) - Lock handle from LockObject. Required for update operation.
|
|
2109
2985
|
- `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
|
|
2110
2986
|
- `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
|
|
2987
|
+
- `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.
|
|
2111
2988
|
- `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002). View must already exist.
|
|
2112
2989
|
|
|
2113
2990
|
---
|
|
@@ -2129,4 +3006,4 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
|
|
|
2129
3006
|
|
|
2130
3007
|
---
|
|
2131
3008
|
|
|
2132
|
-
*Last updated: 2026-
|
|
3009
|
+
*Last updated: 2026-10-19*
|