@babamba2/abap-mcp-adt-powerup 4.8.14 → 4.13.0

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.
Files changed (253) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/README.md +2 -2
  3. package/dist/handlers/adobeform/high/handleCreateAdobeFormFromSmartForm.d.ts +50 -0
  4. package/dist/handlers/adobeform/high/handleCreateAdobeFormFromSmartForm.d.ts.map +1 -0
  5. package/dist/handlers/adobeform/high/handleCreateAdobeFormFromSmartForm.js +58 -0
  6. package/dist/handlers/adobeform/high/handleCreateAdobeFormFromSmartForm.js.map +1 -0
  7. package/dist/handlers/business/handleBusinessActions.d.ts +134 -0
  8. package/dist/handlers/business/handleBusinessActions.d.ts.map +1 -0
  9. package/dist/handlers/business/handleBusinessActions.js +186 -0
  10. package/dist/handlers/business/handleBusinessActions.js.map +1 -0
  11. package/dist/handlers/data_element/high/handleCreateDataElement.d.ts.map +1 -1
  12. package/dist/handlers/data_element/high/handleCreateDataElement.js +2 -2
  13. package/dist/handlers/data_element/high/handleCreateDataElement.js.map +1 -1
  14. package/dist/handlers/data_element/high/handleDeleteDataElement.d.ts.map +1 -1
  15. package/dist/handlers/data_element/high/handleDeleteDataElement.js +2 -2
  16. package/dist/handlers/data_element/high/handleDeleteDataElement.js.map +1 -1
  17. package/dist/handlers/data_element/high/handleGetDataElement.js +1 -1
  18. package/dist/handlers/data_element/high/handleGetDataElement.js.map +1 -1
  19. package/dist/handlers/data_element/high/handleUpdateDataElement.d.ts.map +1 -1
  20. package/dist/handlers/data_element/high/handleUpdateDataElement.js +2 -2
  21. package/dist/handlers/data_element/high/handleUpdateDataElement.js.map +1 -1
  22. package/dist/handlers/domain/high/handleCreateDomain.d.ts.map +1 -1
  23. package/dist/handlers/domain/high/handleCreateDomain.js +2 -2
  24. package/dist/handlers/domain/high/handleCreateDomain.js.map +1 -1
  25. package/dist/handlers/domain/high/handleDeleteDomain.d.ts.map +1 -1
  26. package/dist/handlers/domain/high/handleDeleteDomain.js +2 -2
  27. package/dist/handlers/domain/high/handleDeleteDomain.js.map +1 -1
  28. package/dist/handlers/domain/high/handleGetDomain.js +1 -1
  29. package/dist/handlers/domain/high/handleGetDomain.js.map +1 -1
  30. package/dist/handlers/domain/high/handleUpdateDomain.d.ts.map +1 -1
  31. package/dist/handlers/domain/high/handleUpdateDomain.js +2 -2
  32. package/dist/handlers/domain/high/handleUpdateDomain.js.map +1 -1
  33. package/dist/handlers/enhancement/readonly/handleGetBadiImplementations.js +1 -1
  34. package/dist/handlers/enhancement/readonly/handleGetBadiImplementations.js.map +1 -1
  35. package/dist/handlers/interface/high/handleUpdateInterface.d.ts.map +1 -1
  36. package/dist/handlers/interface/high/handleUpdateInterface.js +5 -3
  37. package/dist/handlers/interface/high/handleUpdateInterface.js.map +1 -1
  38. package/dist/handlers/program/readonly/handleGetProgFullCode.d.ts.map +1 -1
  39. package/dist/handlers/program/readonly/handleGetProgFullCode.js +37 -3
  40. package/dist/handlers/program/readonly/handleGetProgFullCode.js.map +1 -1
  41. package/dist/handlers/program/readonly/handleReadProgram.d.ts +1 -1
  42. package/dist/handlers/program/readonly/handleReadProgram.d.ts.map +1 -1
  43. package/dist/handlers/program/readonly/handleReadProgram.js +32 -1
  44. package/dist/handlers/program/readonly/handleReadProgram.js.map +1 -1
  45. package/dist/handlers/search/readonly/handleSearchObject.d.ts +20 -0
  46. package/dist/handlers/search/readonly/handleSearchObject.d.ts.map +1 -1
  47. package/dist/handlers/search/readonly/handleSearchObject.js +115 -0
  48. package/dist/handlers/search/readonly/handleSearchObject.js.map +1 -1
  49. package/dist/handlers/structure/high/handleCreateStructure.d.ts +23 -0
  50. package/dist/handlers/structure/high/handleCreateStructure.d.ts.map +1 -1
  51. package/dist/handlers/structure/high/handleCreateStructure.js +168 -0
  52. package/dist/handlers/structure/high/handleCreateStructure.js.map +1 -1
  53. package/dist/handlers/structure/high/handleDeleteStructure.d.ts.map +1 -1
  54. package/dist/handlers/structure/high/handleDeleteStructure.js +25 -1
  55. package/dist/handlers/structure/high/handleDeleteStructure.js.map +1 -1
  56. package/dist/handlers/structure/high/handleGetStructure.js +1 -1
  57. package/dist/handlers/structure/high/handleGetStructure.js.map +1 -1
  58. package/dist/handlers/system/readonly/handleGetAdobeFormContent.d.ts +53 -0
  59. package/dist/handlers/system/readonly/handleGetAdobeFormContent.d.ts.map +1 -0
  60. package/dist/handlers/system/readonly/handleGetAdobeFormContent.js +67 -0
  61. package/dist/handlers/system/readonly/handleGetAdobeFormContent.js.map +1 -0
  62. package/dist/handlers/system/readonly/handleGetAreaMenu.d.ts +80 -0
  63. package/dist/handlers/system/readonly/handleGetAreaMenu.d.ts.map +1 -0
  64. package/dist/handlers/system/readonly/handleGetAreaMenu.js +383 -0
  65. package/dist/handlers/system/readonly/handleGetAreaMenu.js.map +1 -0
  66. package/dist/handlers/system/readonly/handleGetJobUsage.js +1 -1
  67. package/dist/handlers/system/readonly/handleGetJobUsage.js.map +1 -1
  68. package/dist/handlers/system/readonly/handleGetSqlQuery.d.ts +12 -0
  69. package/dist/handlers/system/readonly/handleGetSqlQuery.d.ts.map +1 -1
  70. package/dist/handlers/system/readonly/handleGetSqlQuery.js +75 -2
  71. package/dist/handlers/system/readonly/handleGetSqlQuery.js.map +1 -1
  72. package/dist/handlers/system/readonly/handleGetTcodeUsage.js +1 -1
  73. package/dist/handlers/system/readonly/handleGetTcodeUsage.js.map +1 -1
  74. package/dist/handlers/system/readonly/handleReloadProfile.d.ts.map +1 -1
  75. package/dist/handlers/system/readonly/handleReloadProfile.js +5 -0
  76. package/dist/handlers/system/readonly/handleReloadProfile.js.map +1 -1
  77. package/dist/handlers/system/readonly/handleRenderAdobeForm.d.ts +58 -0
  78. package/dist/handlers/system/readonly/handleRenderAdobeForm.d.ts.map +1 -0
  79. package/dist/handlers/system/readonly/handleRenderAdobeForm.js +71 -0
  80. package/dist/handlers/system/readonly/handleRenderAdobeForm.js.map +1 -0
  81. package/dist/handlers/system/readonly/handleRenderSmartForm.d.ts +1 -1
  82. package/dist/handlers/system/readonly/handleRenderSmartForm.d.ts.map +1 -1
  83. package/dist/handlers/system/readonly/handleRenderSmartForm.js +3 -36
  84. package/dist/handlers/system/readonly/handleRenderSmartForm.js.map +1 -1
  85. package/dist/handlers/system/readonly/handleRuntimeAnalyzeDump.d.ts.map +1 -1
  86. package/dist/handlers/system/readonly/handleRuntimeAnalyzeDump.js +2 -3
  87. package/dist/handlers/system/readonly/handleRuntimeAnalyzeDump.js.map +1 -1
  88. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.d.ts.map +1 -1
  89. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js +2 -3
  90. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js.map +1 -1
  91. package/dist/handlers/system/readonly/handleRuntimeListDumps.d.ts +30 -1
  92. package/dist/handlers/system/readonly/handleRuntimeListDumps.d.ts.map +1 -1
  93. package/dist/handlers/system/readonly/handleRuntimeListDumps.js +127 -2
  94. package/dist/handlers/system/readonly/handleRuntimeListDumps.js.map +1 -1
  95. package/dist/handlers/system/readonly/handleRuntimeListFeeds.d.ts.map +1 -1
  96. package/dist/handlers/system/readonly/handleRuntimeListFeeds.js +10 -0
  97. package/dist/handlers/system/readonly/handleRuntimeListFeeds.js.map +1 -1
  98. package/dist/handlers/table/high/handleCreateTable.d.ts +85 -2
  99. package/dist/handlers/table/high/handleCreateTable.d.ts.map +1 -1
  100. package/dist/handlers/table/high/handleCreateTable.js +78 -15
  101. package/dist/handlers/table/high/handleCreateTable.js.map +1 -1
  102. package/dist/handlers/table/high/handleCreateTableEcc.d.ts +46 -0
  103. package/dist/handlers/table/high/handleCreateTableEcc.d.ts.map +1 -0
  104. package/dist/handlers/table/high/handleCreateTableEcc.js +180 -0
  105. package/dist/handlers/table/high/handleCreateTableEcc.js.map +1 -0
  106. package/dist/handlers/table/high/handleDeleteTable.d.ts.map +1 -1
  107. package/dist/handlers/table/high/handleDeleteTable.js +2 -2
  108. package/dist/handlers/table/high/handleDeleteTable.js.map +1 -1
  109. package/dist/handlers/table/high/handleGetTable.js +1 -1
  110. package/dist/handlers/table/high/handleGetTable.js.map +1 -1
  111. package/dist/handlers/table/readonly/handleGetRemoteTableContents.d.ts +48 -0
  112. package/dist/handlers/table/readonly/handleGetRemoteTableContents.d.ts.map +1 -0
  113. package/dist/handlers/table/readonly/handleGetRemoteTableContents.js +272 -0
  114. package/dist/handlers/table/readonly/handleGetRemoteTableContents.js.map +1 -0
  115. package/dist/handlers/table_type/high/handleCreateTableType.d.ts +106 -0
  116. package/dist/handlers/table_type/high/handleCreateTableType.d.ts.map +1 -0
  117. package/dist/handlers/table_type/high/handleCreateTableType.js +251 -0
  118. package/dist/handlers/table_type/high/handleCreateTableType.js.map +1 -0
  119. package/dist/handlers/table_type/high/handleDeleteTableType.d.ts +37 -0
  120. package/dist/handlers/table_type/high/handleDeleteTableType.d.ts.map +1 -0
  121. package/dist/handlers/table_type/high/handleDeleteTableType.js +62 -0
  122. package/dist/handlers/table_type/high/handleDeleteTableType.js.map +1 -0
  123. package/dist/handlers/text_element/high/handleReadTextElementsBulk.d.ts +12 -0
  124. package/dist/handlers/text_element/high/handleReadTextElementsBulk.d.ts.map +1 -1
  125. package/dist/handlers/text_element/high/handleReadTextElementsBulk.js +16 -1
  126. package/dist/handlers/text_element/high/handleReadTextElementsBulk.js.map +1 -1
  127. package/dist/handlers/text_element/high/handleWriteTextElementsBulk.d.ts +22 -7
  128. package/dist/handlers/text_element/high/handleWriteTextElementsBulk.d.ts.map +1 -1
  129. package/dist/handlers/text_element/high/handleWriteTextElementsBulk.js +37 -14
  130. package/dist/handlers/text_element/high/handleWriteTextElementsBulk.js.map +1 -1
  131. package/dist/lib/adobeForm.d.ts +115 -0
  132. package/dist/lib/adobeForm.d.ts.map +1 -0
  133. package/dist/lib/adobeForm.js +315 -0
  134. package/dist/lib/adobeForm.js.map +1 -0
  135. package/dist/lib/bizRfc.d.ts +35 -0
  136. package/dist/lib/bizRfc.d.ts.map +1 -0
  137. package/dist/lib/bizRfc.js +115 -0
  138. package/dist/lib/bizRfc.js.map +1 -0
  139. package/dist/lib/config/ArgumentsParser.d.ts +0 -1
  140. package/dist/lib/config/ArgumentsParser.d.ts.map +1 -1
  141. package/dist/lib/config/ArgumentsParser.js +5 -3
  142. package/dist/lib/config/ArgumentsParser.js.map +1 -1
  143. package/dist/lib/config/IServerConfig.d.ts +0 -2
  144. package/dist/lib/config/IServerConfig.d.ts.map +1 -1
  145. package/dist/lib/config/ServerConfigManager.d.ts.map +1 -1
  146. package/dist/lib/config/ServerConfigManager.js +0 -8
  147. package/dist/lib/config/ServerConfigManager.js.map +1 -1
  148. package/dist/lib/config.d.ts.map +1 -1
  149. package/dist/lib/config.js +2 -5
  150. package/dist/lib/config.js.map +1 -1
  151. package/dist/lib/connectionType.d.ts +14 -0
  152. package/dist/lib/connectionType.d.ts.map +1 -0
  153. package/dist/lib/connectionType.js +21 -0
  154. package/dist/lib/connectionType.js.map +1 -0
  155. package/dist/lib/handlers/groups/HighLevelHandlersGroup.d.ts.map +1 -1
  156. package/dist/lib/handlers/groups/HighLevelHandlersGroup.js +15 -0
  157. package/dist/lib/handlers/groups/HighLevelHandlersGroup.js.map +1 -1
  158. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.d.ts.map +1 -1
  159. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +20 -0
  160. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
  161. package/dist/lib/handlers/groups/SystemHandlersGroup.d.ts.map +1 -1
  162. package/dist/lib/handlers/groups/SystemHandlersGroup.js +18 -0
  163. package/dist/lib/handlers/groups/SystemHandlersGroup.js.map +1 -1
  164. package/dist/lib/handlers/interfaces.d.ts +17 -0
  165. package/dist/lib/handlers/interfaces.d.ts.map +1 -1
  166. package/dist/lib/handlers/interfaces.js +16 -0
  167. package/dist/lib/handlers/interfaces.js.map +1 -1
  168. package/dist/lib/legacyDumps.d.ts +95 -0
  169. package/dist/lib/legacyDumps.d.ts.map +1 -0
  170. package/dist/lib/legacyDumps.js +183 -0
  171. package/dist/lib/legacyDumps.js.map +1 -0
  172. package/dist/lib/legacyTableRead.js +2 -2
  173. package/dist/lib/legacyTableRead.js.map +1 -1
  174. package/dist/lib/ncoRfc.d.ts +46 -0
  175. package/dist/lib/ncoRfc.d.ts.map +1 -0
  176. package/dist/lib/ncoRfc.js +175 -0
  177. package/dist/lib/ncoRfc.js.map +1 -0
  178. package/dist/lib/odataRfc.d.ts +9 -2
  179. package/dist/lib/odataRfc.d.ts.map +1 -1
  180. package/dist/lib/odataRfc.js +10 -1
  181. package/dist/lib/odataRfc.js.map +1 -1
  182. package/dist/lib/policy/tableBlocklist.d.ts +5 -1
  183. package/dist/lib/policy/tableBlocklist.d.ts.map +1 -1
  184. package/dist/lib/policy/tableBlocklist.js +53 -4
  185. package/dist/lib/policy/tableBlocklist.js.map +1 -1
  186. package/dist/lib/profile.d.ts.map +1 -1
  187. package/dist/lib/profile.js +19 -2
  188. package/dist/lib/profile.js.map +1 -1
  189. package/dist/lib/readonlyGuard.d.ts +3 -0
  190. package/dist/lib/readonlyGuard.d.ts.map +1 -1
  191. package/dist/lib/readonlyGuard.js +20 -0
  192. package/dist/lib/readonlyGuard.js.map +1 -1
  193. package/dist/lib/removedTransports.d.ts +17 -0
  194. package/dist/lib/removedTransports.d.ts.map +1 -0
  195. package/dist/lib/removedTransports.js +45 -0
  196. package/dist/lib/removedTransports.js.map +1 -0
  197. package/dist/lib/rfcBackend.d.ts +17 -15
  198. package/dist/lib/rfcBackend.d.ts.map +1 -1
  199. package/dist/lib/rfcBackend.js +49 -41
  200. package/dist/lib/rfcBackend.js.map +1 -1
  201. package/dist/lib/sapLanguage.d.ts +7 -0
  202. package/dist/lib/sapLanguage.d.ts.map +1 -0
  203. package/dist/lib/sapLanguage.js +58 -0
  204. package/dist/lib/sapLanguage.js.map +1 -0
  205. package/dist/lib/smartFormContent.d.ts +6 -0
  206. package/dist/lib/smartFormContent.d.ts.map +1 -1
  207. package/dist/lib/smartFormContent.js +19 -2
  208. package/dist/lib/smartFormContent.js.map +1 -1
  209. package/dist/lib/soapRfc.d.ts.map +1 -1
  210. package/dist/lib/soapRfc.js +3 -0
  211. package/dist/lib/soapRfc.js.map +1 -1
  212. package/dist/lib/sourceOutput.d.ts +14 -0
  213. package/dist/lib/sourceOutput.d.ts.map +1 -1
  214. package/dist/lib/sourceOutput.js +103 -3
  215. package/dist/lib/sourceOutput.js.map +1 -1
  216. package/dist/lib/utils.d.ts +0 -5
  217. package/dist/lib/utils.d.ts.map +1 -1
  218. package/dist/lib/utils.js +17 -6
  219. package/dist/lib/utils.js.map +1 -1
  220. package/dist/lib/valuesFile.d.ts +6 -0
  221. package/dist/lib/valuesFile.d.ts.map +1 -0
  222. package/dist/lib/valuesFile.js +127 -0
  223. package/dist/lib/valuesFile.js.map +1 -0
  224. package/dist/server/BaseMcpServer.d.ts.map +1 -1
  225. package/dist/server/BaseMcpServer.js +13 -9
  226. package/dist/server/BaseMcpServer.js.map +1 -1
  227. package/dist/server/launcher.js +12 -14
  228. package/dist/server/launcher.js.map +1 -1
  229. package/docs/configuration/YAML_CONFIG.md +0 -17
  230. package/docs/development/roadmaps/TRANSPORT_CRUD_ISSUE_11.md +2 -0
  231. package/docs/roadmaps/LEGACY_SUPPORT.md +2 -0
  232. package/docs/user-guide/AVAILABLE_TOOLS.md +138 -10
  233. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +1 -1
  234. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +71 -5
  235. package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +64 -8
  236. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
  237. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +67 -5
  238. package/docs/user-guide/CLI_OPTIONS.md +1 -40
  239. package/package.json +3 -4
  240. package/dist/lib/gatewayRfc.d.ts +0 -47
  241. package/dist/lib/gatewayRfc.d.ts.map +0 -1
  242. package/dist/lib/gatewayRfc.js +0 -138
  243. package/dist/lib/gatewayRfc.js.map +0 -1
  244. package/dist/lib/nativeRfc.d.ts +0 -39
  245. package/dist/lib/nativeRfc.d.ts.map +0 -1
  246. package/dist/lib/nativeRfc.js +0 -165
  247. package/dist/lib/nativeRfc.js.map +0 -1
  248. package/dist/lib/zrfcProxy.d.ts +0 -59
  249. package/dist/lib/zrfcProxy.d.ts.map +0 -1
  250. package/dist/lib/zrfcProxy.js +0 -252
  251. package/dist/lib/zrfcProxy.js.map +0 -1
  252. package/docs/installation/RFC_SETUP.md +0 -101
  253. package/docs/installation/ZRFC_SETUP.md +0 -162
@@ -5,9 +5,9 @@ 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: 168
9
- - Read-Only: 25
10
- - High-Level: 71
8
+ - Total tools: 171
9
+ - Read-Only: 27
10
+ - High-Level: 72
11
11
  - Low-Level: 72
12
12
 
13
13
  ## Navigation
@@ -39,6 +39,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
39
39
  - [GetScreensList](#getscreenslist-read-only-screen)
40
40
  - [ReadScreen](#readscreen-read-only-screen)
41
41
  - [System](#read-only-system)
42
+ - [GetAdobeFormContent](#getadobeformcontent-read-only-system)
42
43
  - [GetInactiveObjects](#getinactiveobjects-read-only-system)
43
44
  - [GetJobUsage](#getjobusage-read-only-system)
44
45
  - [GetSmartFormContent](#getsmartformcontent-read-only-system)
@@ -47,10 +48,13 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
47
48
  - [GetUsageSnippets](#getusagesnippets-read-only-system)
48
49
  - [GetWhereUsed](#getwhereused-read-only-system)
49
50
  - [ReloadProfile](#reloadprofile-read-only-system)
51
+ - [RenderAdobeForm](#renderadobeform-read-only-system)
50
52
  - [RenderSmartForm](#rendersmartform-read-only-system)
51
53
  - [View](#read-only-view)
52
54
  - [ReadView](#readview-read-only-view)
53
55
  - [High-Level Group](#high-level-group)
56
+ - [Adobeform](#high-level-adobeform)
57
+ - [CreateAdobeFormFromSmartForm](#createadobeformfromsmartform-high-level-adobeform)
54
58
  - [Class](#high-level-class)
55
59
  - [CreateClass](#createclass-high-level-class)
56
60
  - [DeleteClass](#deleteclass-high-level-class)
@@ -424,7 +428,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
424
428
 
425
429
  <a id="readprogram-read-only-program"></a>
426
430
  #### ReadProgram (Read-Only / Program)
427
- **Description:** [read-only] Read ABAP program source code and metadata (package, responsible, description, etc.).
431
+ **Description:** [read-only] Read ABAP program or include source code and metadata (package, responsible, description, etc.). The result carries object_type PROG/P or PROG/I; an unknown name returns an error.
428
432
 
429
433
  **Source:** `src/handlers/program/readonly/handleReadProgram.ts`
430
434
 
@@ -469,6 +473,22 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
469
473
  <a id="read-only-system"></a>
470
474
  ### Read-Only / System
471
475
 
476
+ <a id="getadobeformcontent-read-only-system"></a>
477
+ #### GetAdobeFormContent (Read-Only / System)
478
+ **Description:** [read-only] Read an Adobe form (transaction SFP) for a preview: the header (interface, form type, layout technology), the whole form as XML (SFP download format: context tree, texts, layout), the layout alone as XDP / XFA template and the form interface as XML — written as files under the MCP output directory (adobe/<form>/: <form>.form.json, <form>.form.xml, <form>.layout.xdp, <interface>.interface.xml) — and counts from the XDP (page areas, subforms, fields, draws, data bindings, scripts). Active version. Needs the ZMCP_FP_CONTENT FM and the FP_CONTENT dispatcher action (development clients only).
479
+
480
+ **Source:** `src/handlers/system/readonly/handleGetAdobeFormContent.ts`
481
+
482
+ **Available in:** `onprem`, `legacy`
483
+
484
+ **Parameters:**
485
+ - `form_name` (string, required) - Adobe form name (e.g. "FP_TEST_00").
486
+ - `include_check` (boolean, optional) - Also run SAP's own form check (what SFP's Check shows: errors / warnings with message id and text) on the inactive version if there is one, else the active one; read-only, nothing is saved, activated or corrected. Written as <form>.check.json. Default false.
487
+ - `include_interface` (boolean, optional) - Also read the form interface XML. Default true.
488
+ - `language` (string, optional) - Text language: 1-char SAP key or 2-letter ISO code. Default: logon language.
489
+
490
+ ---
491
+
472
492
  <a id="getinactiveobjects-read-only-system"></a>
473
493
  #### GetInactiveObjects (Read-Only / System)
474
494
  **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.
@@ -597,6 +617,23 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
597
617
 
598
618
  ---
599
619
 
620
+ <a id="renderadobeform-read-only-system"></a>
621
+ #### RenderAdobeForm (Read-Only / System)
622
+ **Description:** [runs the form, no output] The PDF of an active Adobe form (SFP) as ADS produces it, for given interface values: calls the generated function module with FP_JOB_OPEN GETPDF (no dialog, no print, no spool) and writes the PDF under the MCP output directory (adobe/<form>/<form>.sap.pdf). The form's own context coding runs as in a real print and may read the database — pass invented sample values only. Needs the ZMCP_FP_CONTENT FM, the FP_RENDER dispatcher action and a working ADS connection (development clients only).
623
+
624
+ **Source:** `src/handlers/system/readonly/handleRenderAdobeForm.ts`
625
+
626
+ **Available in:** `onprem`, `legacy`
627
+
628
+ **Parameters:**
629
+ - `form_name` (string, required) - Adobe form name (e.g. "FP_TEST_00").
630
+ - `get_xml` (boolean, optional) - Also return the data XML the form hands ADS (adobe/<form>/<form>.sap.data.xml) — for checking a preview value by value. Default false.
631
+ - `language` (string, optional) - Output language: 1-char SAP key or 2-letter ISO code. Default: logon language.
632
+ - `values` (object, optional) - Interface parameter → value, in internal format: structures as objects with the ABAP component names, table types as arrays, dates "2026-10-16", times "14:00:00", amounts and quantities as numbers. Parameters left out are passed initial.
633
+ - `values_file` (string, optional) - Path of a JSON file with the same content as values (for large tables): a .json file inside the MCP output directory or the profile work folder, at most 1 MB.
634
+
635
+ ---
636
+
600
637
  <a id="rendersmartform-read-only-system"></a>
601
638
  #### RenderSmartForm (Read-Only / System)
602
639
  **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.
@@ -611,7 +648,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
611
648
  - `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
612
649
  - `language` (string, optional) - Output language: 1-char SAP key or 2-letter ISO code. Default: logon language.
613
650
  - `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.
651
+ - `values_file` (string, optional) - Path of a JSON file with the same object as `values` (for large interfaces): a .json file inside the MCP output directory or the profile work folder, at most 1 MB. Ignored when `values` is given.
615
652
 
616
653
  ---
617
654
 
@@ -635,6 +672,25 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
635
672
  <a id="high-level-group"></a>
636
673
  ## High-Level Group
637
674
 
675
+ <a id="high-level-adobeform"></a>
676
+ ### High-Level / Adobeform
677
+
678
+ <a id="createadobeformfromsmartform-high-level-adobeform"></a>
679
+ #### CreateAdobeFormFromSmartForm (High-Level / Adobeform)
680
+ **Description:** [writes, DEV only] Migrate a SAP-delivered SmartForm into a NEW Adobe form and interface with SAP's own migration (CL_SSF_MIGRATION steps, all options except 'alternative: true branch' and 'text placeholder'), in package $TMP, activated. Target names must match ZSC4SAP_AFM_* and must not exist — nothing is overwritten or deleted. Returns SAP's migration log, the options used and what was saved / activated; `complete` is true only when both objects are active (otherwise `message` says what is not). When SAP's migration raises, the tool fails and its error names the objects left behind (delete them only with the user's approval). Needs the ZMCP_FP_MIGRATE FM and the FP_MIGRATE dispatcher action.
681
+
682
+ **Source:** `src/handlers/adobeform/high/handleCreateAdobeFormFromSmartForm.ts`
683
+
684
+ **Available in:** `onprem`, `legacy`
685
+
686
+ **Parameters:**
687
+ - `form_name` (string, required) - New Adobe form name, ZSC4SAP_AFM_* (≤ 30).
688
+ - `interface_name` (string, required) - New form interface name, ZSC4SAP_AFM_* (≤ 30).
689
+ - `sender_country` (string, optional) - Optional country key (T005, e.g. "DE") set as sender country on address nodes that have none — the Adobe check requires one, SmartForms did not. Without it nothing is changed and the check reports the address nodes.
690
+ - `source` (string, required) - SAP SmartForm to migrate (e.g. "SF_EXAMPLE_01"); customer forms are refused.
691
+
692
+ ---
693
+
638
694
  <a id="high-level-class"></a>
639
695
  ### High-Level / Class
640
696
 
@@ -1517,14 +1573,14 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
1517
1573
 
1518
1574
  <a id="writetextelementsbulk-high-level-text-element"></a>
1519
1575
  #### WriteTextElementsBulk (High-Level / Text Element)
1520
- **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.
1576
+ **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=true (default) the pool is written ACTIVE immediately. activate=false only stages the pool INACTIVE and does not register it in the inactive worklist, so a later program activation does NOT promote it — avoid it unless you activate the text pool yourself. Set replace_existing=false to merge into the current pool instead of replacing it.
1521
1577
 
1522
1578
  **Source:** `src/handlers/text_element/high/handleWriteTextElementsBulk.ts`
1523
1579
 
1524
1580
  **Available in:** `onprem`, `legacy`
1525
1581
 
1526
1582
  **Parameters:**
1527
- - `activate` (boolean, optional) - false (default) — stage as INACTIVE (program activation promotes). true — write ACTIVE immediately.
1583
+ - `activate` (boolean, optional) - true (default) — write ACTIVE immediately. false — stage as INACTIVE only; the pool is NOT added to the inactive worklist, so ActivateObjects on the program does not promote it.
1528
1584
  - `language` (string, optional) - 1-char language key (e.g. "K" for Korean). Defaults to SAP logon language.
1529
1585
  - `program_name` (string, required) - Parent program name.
1530
1586
  - `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).
@@ -3008,4 +3064,4 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
3008
3064
 
3009
3065
  ---
3010
3066
 
3011
- *Last updated: 2026-10-28*
3067
+ *Last updated: 2026-11-17*
@@ -2167,4 +2167,4 @@ Generated from code in `src/handlers/**` (not from docs).
2167
2167
 
2168
2168
  ---
2169
2169
 
2170
- *Last updated: 2026-10-28*
2170
+ *Last updated: 2026-11-17*
@@ -3,7 +3,7 @@
3
3
  Generated from code in `src/handlers/**` (not from docs).
4
4
 
5
5
  - Level: Read-Only
6
- - Total tools: 67
6
+ - Total tools: 71
7
7
 
8
8
  ## Navigation
9
9
 
@@ -61,7 +61,9 @@ Generated from code in `src/handlers/**` (not from docs).
61
61
  - [GetAbapAST](#getabapast-read-only-system)
62
62
  - [GetAbapSemanticAnalysis](#getabapsemanticanalysis-read-only-system)
63
63
  - [GetAbapSystemSymbols](#getabapsystemsymbols-read-only-system)
64
+ - [GetAdobeFormContent](#getadobeformcontent-read-only-system)
64
65
  - [GetAdtTypes](#getadttypes-read-only-system)
66
+ - [GetAreaMenu](#getareamenu-read-only-system)
65
67
  - [GetInactiveObjects](#getinactiveobjects-read-only-system)
66
68
  - [GetJobUsage](#getjobusage-read-only-system)
67
69
  - [GetObjectInfo](#getobjectinfo-read-only-system)
@@ -77,6 +79,7 @@ Generated from code in `src/handlers/**` (not from docs).
77
79
  - [GetUsageSnippets](#getusagesnippets-read-only-system)
78
80
  - [GetWhereUsed](#getwhereused-read-only-system)
79
81
  - [ReloadProfile](#reloadprofile-read-only-system)
82
+ - [RenderAdobeForm](#renderadobeform-read-only-system)
80
83
  - [RenderSmartForm](#rendersmartform-read-only-system)
81
84
  - [RuntimeAnalyzeDump](#runtimeanalyzedump-read-only-system)
82
85
  - [RuntimeAnalyzeProfilerTrace](#runtimeanalyzeprofilertrace-read-only-system)
@@ -91,6 +94,7 @@ Generated from code in `src/handlers/**` (not from docs).
91
94
  - [RuntimeRunClassWithProfiling](#runtimerunclasswithprofiling-read-only-system)
92
95
  - [RuntimeRunProgramWithProfiling](#runtimerunprogramwithprofiling-read-only-system)
93
96
  - [Table](#read-only-table)
97
+ - [GetRemoteTableContents](#getremotetablecontents-read-only-table)
94
98
  - [GetTableContents](#gettablecontents-read-only-table)
95
99
  - [ReadTable](#readtable-read-only-table)
96
100
  - [Transport](#read-only-transport)
@@ -389,7 +393,7 @@ Generated from code in `src/handlers/**` (not from docs).
389
393
 
390
394
  <a id="readprogram-read-only-program"></a>
391
395
  #### ReadProgram (Read-Only / Program)
392
- **Description:** [read-only] Read ABAP program source code and metadata (package, responsible, description, etc.).
396
+ **Description:** [read-only] Read ABAP program or include source code and metadata (package, responsible, description, etc.). The result carries object_type PROG/P or PROG/I; an unknown name returns an error.
393
397
 
394
398
  **Source:** `src/handlers/program/readonly/handleReadProgram.ts`
395
399
 
@@ -566,6 +570,20 @@ Generated from code in `src/handlers/**` (not from docs).
566
570
 
567
571
  ---
568
572
 
573
+ <a id="getadobeformcontent-read-only-system"></a>
574
+ #### GetAdobeFormContent (Read-Only / System)
575
+ **Description:** [read-only] Read an Adobe form (transaction SFP) for a preview: the header (interface, form type, layout technology), the whole form as XML (SFP download format: context tree, texts, layout), the layout alone as XDP / XFA template and the form interface as XML — written as files under the MCP output directory (adobe/<form>/: <form>.form.json, <form>.form.xml, <form>.layout.xdp, <interface>.interface.xml) — and counts from the XDP (page areas, subforms, fields, draws, data bindings, scripts). Active version. Needs the ZMCP_FP_CONTENT FM and the FP_CONTENT dispatcher action (development clients only).
576
+
577
+ **Source:** `src/handlers/system/readonly/handleGetAdobeFormContent.ts`
578
+
579
+ **Parameters:**
580
+ - `form_name` (string, required) - Adobe form name (e.g. "FP_TEST_00").
581
+ - `include_check` (boolean, optional) - Also run SAP's own form check (what SFP's Check shows: errors / warnings with message id and text) on the inactive version if there is one, else the active one; read-only, nothing is saved, activated or corrected. Written as <form>.check.json. Default false.
582
+ - `include_interface` (boolean, optional) - Also read the form interface XML. Default true.
583
+ - `language` (string, optional) - Text language: 1-char SAP key or 2-letter ISO code. Default: logon language.
584
+
585
+ ---
586
+
569
587
  <a id="getadttypes-read-only-system"></a>
570
588
  #### GetAdtTypes (Read-Only / System)
571
589
  **Description:** [read-only] Retrieve all valid ADT object types (CLAS, TABL, PROG, DEVC, FUGR, INTF, DDLS, DTEL, DOMA, SRVD, SRVB, BDEF, DDLX, etc.) or validate a specific type name.
@@ -577,6 +595,21 @@ Generated from code in `src/handlers/**` (not from docs).
577
595
 
578
596
  ---
579
597
 
598
+ <a id="getareamenu-read-only-system"></a>
599
+ #### GetAreaMenu (Read-Only / System)
600
+ **Description:** [read-only] Read an SE43 area menu (e.g. a customer menu ZXX00) as a flat list: every t-code with its folder path, plus the folders and the links to other area menus. Links to customer menus (Z / Y / namespace) are followed by default. Pass menu_pattern (e.g. "Z*") instead of menu to list the area menus.
601
+
602
+ **Source:** `src/handlers/system/readonly/handleGetAreaMenu.ts`
603
+
604
+ **Parameters:**
605
+ - `follow_links` (string, optional (default: customer)) - Linked area menus: "customer" follows Z / Y / namespace menus only (default), "all" also SAP menus, "none" lists the links only.
606
+ - `language` (string, optional) - SAP one-character language key for texts (e.g. E, 3). Default: the menu master language. Falls back to the master language, then E.
607
+ - `menu` (string, optional) - Area menu name (SE43), e.g. ZXX00.
608
+ - `menu_pattern` (string, optional) - List area menus instead: name pattern with * (e.g. "Z*"). Returns name, master language, last change.
609
+ - `output` (string, optional (default: inline)) - "file" writes the full result as JSON under the MCP output dir (areamenu/<menu>-<time>.json) and returns the path and counts only. Prefer it for large menus.
610
+
611
+ ---
612
+
580
613
  <a id="getinactiveobjects-read-only-system"></a>
581
614
  #### GetInactiveObjects (Read-Only / System)
582
615
  **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.
@@ -688,6 +721,7 @@ Generated from code in `src/handlers/**` (not from docs).
688
721
 
689
722
  **Parameters:**
690
723
  - `acknowledge_risk` (boolean, optional (default: false)) - Set to true ONLY after the user has explicitly authorized row extraction from an 'ask'-tier protected table. The approval is logged to stderr for audit. Has no effect on 'deny'-tier tables.
724
+ - `output` (string, optional (default: inline)) - "inline" (default) returns the rows. "file" writes the rows as JSON under the MCP output dir (sql/<table>-<time>.json) and returns only the path, row count, column names and the truncated flag. Prefer "file" for large result sets.
691
725
  - `row_number` (number, optional (default: 100)) - Maximum number of rows to return
692
726
  - `sql_query` (string, required) - SQL query to execute
693
727
 
@@ -776,6 +810,21 @@ Generated from code in `src/handlers/**` (not from docs).
776
810
 
777
811
  ---
778
812
 
813
+ <a id="renderadobeform-read-only-system"></a>
814
+ #### RenderAdobeForm (Read-Only / System)
815
+ **Description:** [runs the form, no output] The PDF of an active Adobe form (SFP) as ADS produces it, for given interface values: calls the generated function module with FP_JOB_OPEN GETPDF (no dialog, no print, no spool) and writes the PDF under the MCP output directory (adobe/<form>/<form>.sap.pdf). The form's own context coding runs as in a real print and may read the database — pass invented sample values only. Needs the ZMCP_FP_CONTENT FM, the FP_RENDER dispatcher action and a working ADS connection (development clients only).
816
+
817
+ **Source:** `src/handlers/system/readonly/handleRenderAdobeForm.ts`
818
+
819
+ **Parameters:**
820
+ - `form_name` (string, required) - Adobe form name (e.g. "FP_TEST_00").
821
+ - `get_xml` (boolean, optional) - Also return the data XML the form hands ADS (adobe/<form>/<form>.sap.data.xml) — for checking a preview value by value. Default false.
822
+ - `language` (string, optional) - Output language: 1-char SAP key or 2-letter ISO code. Default: logon language.
823
+ - `values` (object, optional) - Interface parameter → value, in internal format: structures as objects with the ABAP component names, table types as arrays, dates "2026-10-16", times "14:00:00", amounts and quantities as numbers. Parameters left out are passed initial.
824
+ - `values_file` (string, optional) - Path of a JSON file with the same content as values (for large tables): a .json file inside the MCP output directory or the profile work folder, at most 1 MB.
825
+
826
+ ---
827
+
779
828
  <a id="rendersmartform-read-only-system"></a>
780
829
  #### RenderSmartForm (Read-Only / System)
781
830
  **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.
@@ -788,7 +837,7 @@ Generated from code in `src/handlers/**` (not from docs).
788
837
  - `form_name` (string, required) - SmartForm name (e.g. "ZMY_FORM").
789
838
  - `language` (string, optional) - Output language: 1-char SAP key or 2-letter ISO code. Default: logon language.
790
839
  - `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.
791
- - `values_file` (string, optional) - Path of a JSON file with the same object as `values` (for large interfaces). Ignored when `values` is given.
840
+ - `values_file` (string, optional) - Path of a JSON file with the same object as `values` (for large interfaces): a .json file inside the MCP output directory or the profile work folder, at most 1 MB. Ignored when `values` is given.
792
841
 
793
842
  ---
794
843
 
@@ -891,11 +940,13 @@ Generated from code in `src/handlers/**` (not from docs).
891
940
 
892
941
  <a id="runtimelistdumps-read-only-system"></a>
893
942
  #### RuntimeListDumps (Read-Only / System)
894
- **Description:** [runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload. Each entry's HTML summary (~13 KB per dump) is omitted unless include_summary=true — use RuntimeGetDumpById / RuntimeAnalyzeDump for one dump's details.
943
+ **Description:** [runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload. On ECC the ADT feed only covers the last 24 hours: pass date_from / date_to for older dumps — they come back under `st22` (SNAP headers via ZMCP_ADT_DISPATCH DUMP_LIST) with a dump_id for RuntimeGetDumpById. Each entry's HTML summary (~13 KB per dump) is omitted unless include_summary=true — use RuntimeGetDumpById / RuntimeAnalyzeDump for one dump's details.
895
944
 
896
945
  **Source:** `src/handlers/system/readonly/handleRuntimeListDumps.ts`
897
946
 
898
947
  **Parameters:**
948
+ - `date_from` (string, optional) - Start date (YYYYMMDD or YYYY-MM-DD). The ADT feed is followed back page by page (its `next` cursor) until it reaches this day — `paging.reached` says whether an entry older than this day was seen, `paging.oldest` the oldest day read (max 20 pages). On ECC a date older than 24 hours (or an empty feed) also adds the ST22 list for date_from..date_to under `st22`.
949
+ - `date_to` (string, optional) - End date (YYYYMMDD or YYYY-MM-DD). Default: today.
899
950
  - `include_summary` (boolean, optional) - Keep each entry's HTML summary (atom:summary). Default false — it is ~96% of the payload and duplicates what RuntimeGetDumpById returns.
900
951
  - `inlinecount` (string, optional) - Include total count metadata.
901
952
  - `orderby` (string, optional) - ADT order by expression.
@@ -998,6 +1049,17 @@ Generated from code in `src/handlers/**` (not from docs).
998
1049
  <a id="read-only-table"></a>
999
1050
  ### Read-Only / Table
1000
1051
 
1052
+ <a id="getremotetablecontents-read-only-table"></a>
1053
+ #### GetRemoteTableContents (Read-Only / Table)
1054
+ **Description:** [read-only; needs the REMOTE_READ action in ZMCP_ADT_DISPATCH] Read rows of one table in another
1055
+
1056
+ **Source:** `src/handlers/table/readonly/handleGetRemoteTableContents.ts`
1057
+
1058
+ **Parameters:**
1059
+ - None
1060
+
1061
+ ---
1062
+
1001
1063
  <a id="gettablecontents-read-only-table"></a>
1002
1064
  #### GetTableContents (Read-Only / Table)
1003
1065
  **Description:** [read-only] Retrieve contents (data preview) of an ABAP database table or CDS view, like SE16. Compact by default: column names only, empty cell values left out of each row, 20 rows. Use fields to keep only some columns and include_metadata for column types/descriptions.
@@ -1065,4 +1127,4 @@ Generated from code in `src/handlers/**` (not from docs).
1065
1127
 
1066
1128
  ---
1067
1129
 
1068
- *Last updated: 2026-10-28*
1130
+ *Last updated: 2026-11-17*
@@ -130,25 +130,7 @@ mcp-abap-adt --transport=sse
130
130
 
131
131
  ## SAP Connection Type
132
132
 
133
- **--connection-type=\<type\>**
134
-
135
- SAP connection transport layer. Determines how the server communicates with the SAP system.
136
-
137
- Valid values:
138
- - `http` - HTTP/HTTPS (default, for modern on-premise and cloud systems)
139
- - `rfc` - RFC via SAP NW RFC SDK (for legacy systems with BASIS < 7.50)
140
-
141
- ```bash
142
- # Default HTTP connection (modern systems)
143
- mcp-abap-adt --env-path=.env
144
-
145
- # RFC connection (legacy systems)
146
- mcp-abap-adt --connection-type=rfc --env-path=legacy.env
147
- ```
148
-
149
- **Note:** RFC requires the SAP NW RFC SDK installed and configured. See [RFC Setup Guide](../installation/RFC_SETUP.md) for prerequisites.
150
-
151
- The same option can be set via environment variable `SAP_CONNECTION_TYPE=rfc` in `.env` file. CLI flag takes precedence.
133
+ The server connects over HTTP/HTTPS by default. `SAP_CONNECTION_TYPE=nco` (Windows, SAP .NET Connector 3.x) sends the ADT requests over RFC (`SADT_REST_RFC_ENDPOINT`) instead; `SAP_NCO_ASHOST` / `SAP_NCO_SYSNR` / `SAP_NCO_LANG` override the host and system number derived from `SAP_URL` (port 80XX → XX). `--connection-type=rfc` and `SAP_CONNECTION_TYPE=rfc` (ADT over node-rfc + SAP NW RFC SDK) were removed in 4.10.0; the server refuses to start when either is set.
152
134
 
153
135
  ## Auth-Broker Options
154
136
 
@@ -418,7 +400,6 @@ These are typically set in `.env` file:
418
400
  - `SAP_AUTH_TYPE` - Authentication type: `basic` or `jwt` (default: basic)
419
401
  - `SAP_USERNAME` - SAP username (for basic auth)
420
402
  - `SAP_PASSWORD` - SAP password (for basic auth)
421
- - `SAP_CONNECTION_TYPE` - Connection transport: `http` (default) or `rfc` (legacy systems)
422
403
  - `SAP_LANGUAGE` - SAP language (optional, e.g., EN, DE)
423
404
 
424
405
  **JWT/OAuth2 Authentication:**
@@ -496,26 +477,6 @@ EOF
496
477
  mcp-abap-adt
497
478
  ```
498
479
 
499
- ### Legacy System Setup (RFC)
500
-
501
- ```bash
502
- # Create legacy environment
503
- cat > legacy.env << EOF
504
- SAP_URL=https://legacy.sap.company.com
505
- SAP_CLIENT=100
506
- SAP_AUTH_TYPE=basic
507
- SAP_USERNAME=developer
508
- SAP_PASSWORD=dev-password
509
- SAP_CONNECTION_TYPE=rfc
510
- EOF
511
-
512
- # Run with RFC connection
513
- mcp-abap-adt --env-path=legacy.env
514
-
515
- # Or use CLI flag instead of env var
516
- mcp-abap-adt --connection-type=rfc --env-path=.env
517
- ```
518
-
519
480
  ### Production Setup
520
481
 
521
482
  ```bash
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@babamba2/abap-mcp-adt-powerup",
3
3
  "mcpName": "io.github.babamba2/abap-mcp-adt-powerup",
4
- "version": "4.8.14",
4
+ "version": "4.13.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -141,7 +141,7 @@
141
141
  "@babamba2/mcp-abap-adt-header-validator": "^0.1.8",
142
142
  "@babamba2/mcp-abap-adt-interfaces": "^5.0.0",
143
143
  "@babamba2/mcp-abap-adt-logger": "^0.1.4",
144
- "@babamba2/mcp-abap-connection": "^1.5.3",
144
+ "@babamba2/mcp-abap-connection": "^1.6.0",
145
145
  "@modelcontextprotocol/sdk": "^1.32.1",
146
146
  "axios": "^1.20.0",
147
147
  "fast-xml-parser": "^5.11.2",
@@ -152,8 +152,7 @@
152
152
  "zod": "^4.6.7"
153
153
  },
154
154
  "optionalDependencies": {
155
- "@napi-rs/keyring": "^1.1.0",
156
- "node-rfc": "^3.3.1"
155
+ "@napi-rs/keyring": "^1.1.0"
157
156
  },
158
157
  "engines": {
159
158
  "node": ">=20.0.0",
@@ -1,47 +0,0 @@
1
- /**
2
- * Gateway RFC backend — calls a remote HTTPS middleware that owns the
3
- * NW RFC SDK + node-rfc stack on behalf of many MCP clients.
4
- *
5
- * Architecture:
6
- * MCP client ──HTTPS/JSON──▶ RFC Gateway (Node + node-rfc) ──RFC──▶ SAP
7
- *
8
- * This backend keeps developer laptops free of the NW RFC SDK / MSVC
9
- * build tools / S-user downloads. All of that lives on the gateway.
10
- *
11
- * Contract-compatible with soapRfc.ts and nativeRfc.ts — same
12
- * DispatchResult / TextpoolResult shapes. Handlers only import from
13
- * ./rfcBackend, never directly from here.
14
- *
15
- * Environment variables (populated from .sc4sap/sap.env):
16
- * SAP_RFC_GATEWAY_URL — e.g. https://rfc-gw.company.com:8443 (required)
17
- * SAP_RFC_GATEWAY_TOKEN — Bearer token for gateway ACL (optional but recommended)
18
- * SAP_RFC_GATEWAY_TLS_VERIFY — "0" to allow self-signed certs (optional, default "1")
19
- *
20
- * SAP credentials are forwarded per-request via X-SAP-* headers using
21
- * the same SAP_USERNAME / SAP_PASSWORD / SAP_CLIENT values the ADT
22
- * HTTPS backend already consumes. Each developer therefore stays
23
- * identified on the SAP side (audit trail preserved).
24
- *
25
- * Gateway contract:
26
- * POST /rfc/dispatch body { action, params } → { result, subrc, message }
27
- * POST /rfc/textpool body { action, program, language,
28
- * textpool_json } → { result, subrc, message }
29
- * GET /health → { status: "ok", ... }
30
- */
31
- import type { IAbapConnection } from '@babamba2/mcp-abap-adt-interfaces';
32
- import type { DispatchResult, TextpoolResult } from './soapRfc';
33
- /**
34
- * Call ZMCP_ADT_DISPATCH via the gateway. `connection` is accepted for
35
- * signature parity but ignored — the gateway URL and SAP creds come
36
- * from process.env.
37
- */
38
- export declare function callDispatch(_connection: IAbapConnection, action: string, params: Record<string, any>): Promise<DispatchResult>;
39
- /**
40
- * Call ZMCP_ADT_TEXTPOOL via the gateway.
41
- */
42
- export declare function callTextpool(_connection: IAbapConnection, action: 'READ' | 'WRITE' | 'WRITE_INACTIVE', params: {
43
- program: string;
44
- language?: string;
45
- textpool_json?: string;
46
- }): Promise<TextpoolResult>;
47
- //# sourceMappingURL=gatewayRfc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gatewayRfc.d.ts","sourceRoot":"","sources":["../../src/lib/gatewayRfc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAuFhE;;;;GAIG;AACH,wBAAsB,YAAY,CAChC,WAAW,EAAE,eAAe,EAC5B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAC1B,OAAO,CAAC,cAAc,CAAC,CAWzB;AAED;;GAEG;AACH,wBAAsB,YAAY,CAChC,WAAW,EAAE,eAAe,EAC5B,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,gBAAgB,EAC3C,MAAM,EAAE;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GACA,OAAO,CAAC,cAAc,CAAC,CAgBzB"}
@@ -1,138 +0,0 @@
1
- "use strict";
2
- /**
3
- * Gateway RFC backend — calls a remote HTTPS middleware that owns the
4
- * NW RFC SDK + node-rfc stack on behalf of many MCP clients.
5
- *
6
- * Architecture:
7
- * MCP client ──HTTPS/JSON──▶ RFC Gateway (Node + node-rfc) ──RFC──▶ SAP
8
- *
9
- * This backend keeps developer laptops free of the NW RFC SDK / MSVC
10
- * build tools / S-user downloads. All of that lives on the gateway.
11
- *
12
- * Contract-compatible with soapRfc.ts and nativeRfc.ts — same
13
- * DispatchResult / TextpoolResult shapes. Handlers only import from
14
- * ./rfcBackend, never directly from here.
15
- *
16
- * Environment variables (populated from .sc4sap/sap.env):
17
- * SAP_RFC_GATEWAY_URL — e.g. https://rfc-gw.company.com:8443 (required)
18
- * SAP_RFC_GATEWAY_TOKEN — Bearer token for gateway ACL (optional but recommended)
19
- * SAP_RFC_GATEWAY_TLS_VERIFY — "0" to allow self-signed certs (optional, default "1")
20
- *
21
- * SAP credentials are forwarded per-request via X-SAP-* headers using
22
- * the same SAP_USERNAME / SAP_PASSWORD / SAP_CLIENT values the ADT
23
- * HTTPS backend already consumes. Each developer therefore stays
24
- * identified on the SAP side (audit trail preserved).
25
- *
26
- * Gateway contract:
27
- * POST /rfc/dispatch body { action, params } → { result, subrc, message }
28
- * POST /rfc/textpool body { action, program, language,
29
- * textpool_json } → { result, subrc, message }
30
- * GET /health → { status: "ok", ... }
31
- */
32
- Object.defineProperty(exports, "__esModule", { value: true });
33
- exports.callDispatch = callDispatch;
34
- exports.callTextpool = callTextpool;
35
- const DEFAULT_TIMEOUT_MS = 60_000;
36
- function required(key) {
37
- const v = process.env[key];
38
- if (!v) {
39
- throw new Error(`${key} is required for SAP_RFC_BACKEND=gateway but not set in sap.env`);
40
- }
41
- return v;
42
- }
43
- function normaliseBaseUrl(raw) {
44
- return raw.replace(/\/+$/, '');
45
- }
46
- function buildSapHeaders() {
47
- const headers = {
48
- 'Content-Type': 'application/json',
49
- Accept: 'application/json',
50
- };
51
- const token = process.env.SAP_RFC_GATEWAY_TOKEN;
52
- if (token)
53
- headers.Authorization = `Bearer ${token}`;
54
- // Credential passthrough — gateway uses these to open a per-user RFC
55
- // session so the SAP audit log shows the real developer, not a
56
- // service account.
57
- if (process.env.SAP_USERNAME)
58
- headers['X-SAP-User'] = process.env.SAP_USERNAME;
59
- if (process.env.SAP_PASSWORD)
60
- headers['X-SAP-Password'] = process.env.SAP_PASSWORD;
61
- if (process.env.SAP_CLIENT)
62
- headers['X-SAP-Client'] = process.env.SAP_CLIENT;
63
- if (process.env.SAP_LANGUAGE)
64
- headers['X-SAP-Language'] = process.env.SAP_LANGUAGE;
65
- return headers;
66
- }
67
- async function postJson(path, body) {
68
- const base = normaliseBaseUrl(required('SAP_RFC_GATEWAY_URL'));
69
- const url = `${base}${path}`;
70
- // TLS verification toggle — gateway on internal LAN with self-signed
71
- // cert is a common setup. The flag is applied via NODE_TLS_REJECT_UNAUTHORIZED
72
- // which Node's fetch() honours. We do not touch the process-wide value;
73
- // the user sets it themselves in sap.env if needed.
74
- const controller = new AbortController();
75
- const timer = setTimeout(() => controller.abort(), DEFAULT_TIMEOUT_MS);
76
- let res;
77
- try {
78
- res = await fetch(url, {
79
- method: 'POST',
80
- headers: buildSapHeaders(),
81
- body: JSON.stringify(body),
82
- signal: controller.signal,
83
- });
84
- }
85
- catch (e) {
86
- const msg = e.message;
87
- throw new Error(`RFC Gateway request failed (POST ${url}): ${msg}. ` +
88
- `Check SAP_RFC_GATEWAY_URL is reachable and TLS is trusted ` +
89
- `(set SAP_RFC_GATEWAY_TLS_VERIFY=0 for self-signed, dev only).`);
90
- }
91
- finally {
92
- clearTimeout(timer);
93
- }
94
- if (!res.ok) {
95
- const text = await res.text().catch(() => '');
96
- throw new Error(`RFC Gateway returned HTTP ${res.status} (POST ${url}): ${text.substring(0, 256)}`);
97
- }
98
- try {
99
- return await res.json();
100
- }
101
- catch (e) {
102
- throw new Error(`RFC Gateway returned non-JSON response (POST ${url}): ${e.message}`);
103
- }
104
- }
105
- /**
106
- * Call ZMCP_ADT_DISPATCH via the gateway. `connection` is accepted for
107
- * signature parity but ignored — the gateway URL and SAP creds come
108
- * from process.env.
109
- */
110
- async function callDispatch(_connection, action, params) {
111
- const body = await postJson('/rfc/dispatch', { action, params });
112
- const subrc = Number(body.subrc ?? 0);
113
- const message = String(body.message ?? '');
114
- const result = body.result ?? {};
115
- if (subrc !== 0) {
116
- throw new Error(`ZMCP_ADT_DISPATCH error (action=${action}, subrc=${subrc}): ${message}`);
117
- }
118
- return { result, subrc, message };
119
- }
120
- /**
121
- * Call ZMCP_ADT_TEXTPOOL via the gateway.
122
- */
123
- async function callTextpool(_connection, action, params) {
124
- const body = await postJson('/rfc/textpool', {
125
- action,
126
- program: params.program,
127
- language: params.language ?? '',
128
- textpool_json: params.textpool_json ?? '',
129
- });
130
- const subrc = Number(body.subrc ?? 0);
131
- const message = String(body.message ?? '');
132
- const result = body.result ?? [];
133
- if (subrc !== 0) {
134
- throw new Error(`ZMCP_ADT_TEXTPOOL error (action=${action}, subrc=${subrc}): ${message}`);
135
- }
136
- return { result, subrc, message };
137
- }
138
- //# sourceMappingURL=gatewayRfc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gatewayRfc.js","sourceRoot":"","sources":["../../src/lib/gatewayRfc.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;;AA+FH,oCAeC;AAKD,oCAwBC;AAtID,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAElC,SAAS,QAAQ,CAAC,GAAW;IAC3B,MAAM,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,IAAI,CAAC,CAAC,EAAE,CAAC;QACP,MAAM,IAAI,KAAK,CACb,GAAG,GAAG,iEAAiE,CACxE,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,GAAW;IACnC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AACjC,CAAC;AAED,SAAS,eAAe;IACtB,MAAM,OAAO,GAA2B;QACtC,cAAc,EAAE,kBAAkB;QAClC,MAAM,EAAE,kBAAkB;KAC3B,CAAC;IAEF,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;IAChD,IAAI,KAAK;QAAE,OAAO,CAAC,aAAa,GAAG,UAAU,KAAK,EAAE,CAAC;IAErD,qEAAqE;IACrE,+DAA+D;IAC/D,mBAAmB;IACnB,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY;QAC1B,OAAO,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;IACnD,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY;QAC1B,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;IACvD,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU;QAAE,OAAO,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;IAC7E,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY;QAC1B,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;IAEvD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,KAAK,UAAU,QAAQ,CAAC,IAAY,EAAE,IAAyB;IAC7D,MAAM,IAAI,GAAG,gBAAgB,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC/D,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,EAAE,CAAC;IAE7B,qEAAqE;IACrE,+EAA+E;IAC/E,wEAAwE;IACxE,oDAAoD;IACpD,MAAM,UAAU,GAAG,IAAI,eAAe,EAAE,CAAC;IACzC,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,kBAAkB,CAAC,CAAC;IAEvE,IAAI,GAAa,CAAC;IAClB,IAAI,CAAC;QACH,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;YACrB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,eAAe,EAAE;YAC1B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;YAC1B,MAAM,EAAE,UAAU,CAAC,MAAM;SAC1B,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,GAAG,GAAI,CAAW,CAAC,OAAO,CAAC;QACjC,MAAM,IAAI,KAAK,CACb,oCAAoC,GAAG,MAAM,GAAG,IAAI;YAClD,4DAA4D;YAC5D,+DAA+D,CAClE,CAAC;IACJ,CAAC;YAAS,CAAC;QACT,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;QACZ,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;QAC9C,MAAM,IAAI,KAAK,CACb,6BAA6B,GAAG,CAAC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CACnF,CAAC;IACJ,CAAC;IAED,IAAI,CAAC;QACH,OAAO,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CACb,gDAAgD,GAAG,MAAO,CAAW,CAAC,OAAO,EAAE,CAChF,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,YAAY,CAChC,WAA4B,EAC5B,MAAc,EACd,MAA2B;IAE3B,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,eAAe,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;IAC3C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;IACjC,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CACb,mCAAmC,MAAM,WAAW,KAAK,MAAM,OAAO,EAAE,CACzE,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AACpC,CAAC;AAED;;GAEG;AACI,KAAK,UAAU,YAAY,CAChC,WAA4B,EAC5B,MAA2C,EAC3C,MAIC;IAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,eAAe,EAAE;QAC3C,MAAM;QACN,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,EAAE;QAC/B,aAAa,EAAE,MAAM,CAAC,aAAa,IAAI,EAAE;KAC1C,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;IAC3C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;IACjC,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CACb,mCAAmC,MAAM,WAAW,KAAK,MAAM,OAAO,EAAE,CACzE,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AACpC,CAAC"}
@@ -1,39 +0,0 @@
1
- /**
2
- * Native RFC backend — calls RFC-enabled Function Modules via SAP NW RFC SDK.
3
- *
4
- * Parallel to soapRfc.ts. Exposes the same public contract
5
- * (DispatchResult, TextpoolResult) so handlers can swap backends by
6
- * importing from ./rfcBackend instead of ./soapRfc.
7
- *
8
- * Connection parameters come from process.env (populated from .sc4sap/sap.env):
9
- * SAP_RFC_ASHOST, SAP_RFC_SYSNR, SAP_RFC_CLIENT,
10
- * SAP_RFC_USER, SAP_RFC_PASSWD, SAP_RFC_LANG,
11
- * SAP_RFC_MSHOST, SAP_RFC_SYSID, SAP_RFC_GROUP,
12
- * SAP_RFC_SNC_QOP, SAP_RFC_SNC_MYNAME, SAP_RFC_SNC_PARTNERNAME, SAP_RFC_SNC_LIB
13
- *
14
- * Requires: SAP NW RFC SDK 7.50+ installed on the host AND the
15
- * `node-rfc` optional dependency. If either is missing, the first call
16
- * throws a descriptive error; MCP boot does not crash because the
17
- * module is loaded lazily inside `getPool()`.
18
- */
19
- import type { IAbapConnection } from '@babamba2/mcp-abap-adt-interfaces';
20
- import type { DispatchResult, TextpoolResult } from './soapRfc';
21
- /**
22
- * Call ZMCP_ADT_DISPATCH via native RFC.
23
- *
24
- * `connection` is accepted for signature parity with soapRfc.callDispatch
25
- * but ignored — RFC credentials are sourced from process.env so the
26
- * pool remains stable across invocations.
27
- */
28
- export declare function callDispatch(_connection: IAbapConnection, action: string, params: Record<string, any>): Promise<DispatchResult>;
29
- /**
30
- * Call ZMCP_ADT_TEXTPOOL via native RFC. Same semantics as
31
- * soapRfc.callTextpool — WRITE fully replaces the language pool,
32
- * so caller must fetch → modify → write back.
33
- */
34
- export declare function callTextpool(_connection: IAbapConnection, action: 'READ' | 'WRITE' | 'WRITE_INACTIVE', params: {
35
- program: string;
36
- language?: string;
37
- textpool_json?: string;
38
- }): Promise<TextpoolResult>;
39
- //# sourceMappingURL=nativeRfc.d.ts.map