@mcp-abap-adt/core 7.2.0 → 8.0.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 (133) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/handlers/common/low/handleCheckObject.d.ts +1 -1
  3. package/dist/handlers/common/low/handleCheckObject.js +5 -5
  4. package/dist/handlers/common/low/handleCheckObject.js.map +1 -1
  5. package/dist/handlers/common/low/handleDeleteObject.d.ts +1 -1
  6. package/dist/handlers/common/low/handleDeleteObject.js +4 -4
  7. package/dist/handlers/common/low/handleDeleteObject.js.map +1 -1
  8. package/dist/handlers/common/low/handleLockObject.d.ts +1 -1
  9. package/dist/handlers/common/low/handleLockObject.js +4 -4
  10. package/dist/handlers/common/low/handleLockObject.js.map +1 -1
  11. package/dist/handlers/common/low/handleUnlockObject.d.ts +1 -1
  12. package/dist/handlers/common/low/handleUnlockObject.js +4 -4
  13. package/dist/handlers/common/low/handleUnlockObject.js.map +1 -1
  14. package/dist/handlers/common/low/handleValidateObject.d.ts +2 -2
  15. package/dist/handlers/common/low/handleValidateObject.js +6 -6
  16. package/dist/handlers/common/low/handleValidateObject.js.map +1 -1
  17. package/dist/handlers/compact/high/compactLifecycleUtils.d.ts +1 -1
  18. package/dist/handlers/compact/high/compactLifecycleUtils.d.ts.map +1 -1
  19. package/dist/handlers/compact/high/compactLifecycleUtils.js +1 -1
  20. package/dist/handlers/compact/high/compactLifecycleUtils.js.map +1 -1
  21. package/dist/handlers/compact/high/compactMatrix.js +1 -1
  22. package/dist/handlers/compact/high/compactMatrix.js.map +1 -1
  23. package/dist/handlers/compact/high/compactObjectTypes.d.ts +1 -1
  24. package/dist/handlers/compact/high/compactObjectTypes.d.ts.map +1 -1
  25. package/dist/handlers/compact/high/compactObjectTypes.js +1 -1
  26. package/dist/handlers/compact/high/compactObjectTypes.js.map +1 -1
  27. package/dist/handlers/compact/high/compactRouter.js +9 -9
  28. package/dist/handlers/compact/high/compactRouter.js.map +1 -1
  29. package/dist/handlers/compact/high/compactSchemas.d.ts +20 -4
  30. package/dist/handlers/compact/high/compactSchemas.d.ts.map +1 -1
  31. package/dist/handlers/compact/high/compactSchemas.js +19 -3
  32. package/dist/handlers/compact/high/compactSchemas.js.map +1 -1
  33. package/dist/handlers/compact/high/handleHandlerCheckRun.d.ts +1 -1
  34. package/dist/handlers/compact/high/handleHandlerCheckRun.js +1 -1
  35. package/dist/handlers/compact/high/handleHandlerCheckRun.js.map +1 -1
  36. package/dist/handlers/compact/high/handleHandlerCreate.d.ts +5 -1
  37. package/dist/handlers/compact/high/handleHandlerCreate.d.ts.map +1 -1
  38. package/dist/handlers/compact/high/handleHandlerCreate.js +1 -1
  39. package/dist/handlers/compact/high/handleHandlerCreate.js.map +1 -1
  40. package/dist/handlers/compact/high/handleHandlerDelete.d.ts +5 -1
  41. package/dist/handlers/compact/high/handleHandlerDelete.d.ts.map +1 -1
  42. package/dist/handlers/compact/high/handleHandlerDelete.js +1 -1
  43. package/dist/handlers/compact/high/handleHandlerDelete.js.map +1 -1
  44. package/dist/handlers/compact/high/handleHandlerGet.d.ts +3 -3
  45. package/dist/handlers/compact/high/handleHandlerGet.js +1 -1
  46. package/dist/handlers/compact/high/handleHandlerGet.js.map +1 -1
  47. package/dist/handlers/compact/high/handleHandlerLock.d.ts +1 -1
  48. package/dist/handlers/compact/high/handleHandlerLock.js +1 -1
  49. package/dist/handlers/compact/high/handleHandlerLock.js.map +1 -1
  50. package/dist/handlers/compact/high/handleHandlerUnlock.d.ts +1 -1
  51. package/dist/handlers/compact/high/handleHandlerUnlock.js +1 -1
  52. package/dist/handlers/compact/high/handleHandlerUnlock.js.map +1 -1
  53. package/dist/handlers/compact/high/handleHandlerUpdate.d.ts +9 -1
  54. package/dist/handlers/compact/high/handleHandlerUpdate.d.ts.map +1 -1
  55. package/dist/handlers/compact/high/handleHandlerUpdate.js +1 -1
  56. package/dist/handlers/compact/high/handleHandlerUpdate.js.map +1 -1
  57. package/dist/handlers/compact/high/handleHandlerValidate.d.ts +3 -3
  58. package/dist/handlers/compact/high/handleHandlerValidate.js +1 -1
  59. package/dist/handlers/compact/high/handleHandlerValidate.js.map +1 -1
  60. package/dist/handlers/ddl/high/handleCheckDdl.d.ts +37 -0
  61. package/dist/handlers/ddl/high/handleCheckDdl.d.ts.map +1 -0
  62. package/dist/handlers/ddl/high/handleCheckDdl.js +35 -0
  63. package/dist/handlers/ddl/high/handleCheckDdl.js.map +1 -0
  64. package/dist/handlers/ddl/high/handleCreateDdl.d.ts +42 -0
  65. package/dist/handlers/ddl/high/handleCreateDdl.d.ts.map +1 -0
  66. package/dist/handlers/ddl/high/handleCreateDdl.js +99 -0
  67. package/dist/handlers/ddl/high/handleCreateDdl.js.map +1 -0
  68. package/dist/handlers/ddl/high/handleDeleteDdl.d.ts +44 -0
  69. package/dist/handlers/ddl/high/handleDeleteDdl.d.ts.map +1 -0
  70. package/dist/handlers/ddl/high/handleDeleteDdl.js +107 -0
  71. package/dist/handlers/ddl/high/handleDeleteDdl.js.map +1 -0
  72. package/dist/handlers/ddl/high/handleGetDdl.d.ts +46 -0
  73. package/dist/handlers/ddl/high/handleGetDdl.d.ts.map +1 -0
  74. package/dist/handlers/ddl/high/handleGetDdl.js +90 -0
  75. package/dist/handlers/ddl/high/handleGetDdl.js.map +1 -0
  76. package/dist/handlers/ddl/high/handleUpdateDdl.d.ts +41 -0
  77. package/dist/handlers/ddl/high/handleUpdateDdl.d.ts.map +1 -0
  78. package/dist/handlers/ddl/high/handleUpdateDdl.js +219 -0
  79. package/dist/handlers/ddl/high/handleUpdateDdl.js.map +1 -0
  80. package/dist/handlers/ddl/low/handleActivateDdl.d.ts +64 -0
  81. package/dist/handlers/ddl/low/handleActivateDdl.d.ts.map +1 -0
  82. package/dist/handlers/ddl/low/handleActivateDdl.js +133 -0
  83. package/dist/handlers/ddl/low/handleActivateDdl.js.map +1 -0
  84. package/dist/handlers/ddl/low/handleCheckDdl.d.ts +75 -0
  85. package/dist/handlers/ddl/low/handleCheckDdl.d.ts.map +1 -0
  86. package/dist/handlers/ddl/low/handleCheckDdl.js +141 -0
  87. package/dist/handlers/ddl/low/handleCheckDdl.js.map +1 -0
  88. package/dist/handlers/ddl/low/handleCreateDdl.d.ts +83 -0
  89. package/dist/handlers/ddl/low/handleCreateDdl.d.ts.map +1 -0
  90. package/dist/handlers/ddl/low/handleCreateDdl.js +141 -0
  91. package/dist/handlers/ddl/low/handleCreateDdl.js.map +1 -0
  92. package/dist/handlers/ddl/low/handleDeleteDdl.d.ts +44 -0
  93. package/dist/handlers/ddl/low/handleDeleteDdl.d.ts.map +1 -0
  94. package/dist/handlers/ddl/low/handleDeleteDdl.js +107 -0
  95. package/dist/handlers/ddl/low/handleDeleteDdl.js.map +1 -0
  96. package/dist/handlers/ddl/low/handleLockDdl.d.ts +64 -0
  97. package/dist/handlers/ddl/low/handleLockDdl.d.ts.map +1 -0
  98. package/dist/handlers/ddl/low/handleLockDdl.js +120 -0
  99. package/dist/handlers/ddl/low/handleLockDdl.js.map +1 -0
  100. package/dist/handlers/ddl/low/handleUnlockDdl.d.ts +69 -0
  101. package/dist/handlers/ddl/low/handleUnlockDdl.d.ts.map +1 -0
  102. package/dist/handlers/ddl/low/handleUnlockDdl.js +125 -0
  103. package/dist/handlers/ddl/low/handleUnlockDdl.js.map +1 -0
  104. package/dist/handlers/ddl/low/handleUpdateDdl.d.ts +74 -0
  105. package/dist/handlers/ddl/low/handleUpdateDdl.d.ts.map +1 -0
  106. package/dist/handlers/ddl/low/handleUpdateDdl.js +129 -0
  107. package/dist/handlers/ddl/low/handleUpdateDdl.js.map +1 -0
  108. package/dist/handlers/ddl/low/handleValidateDdl.d.ts +74 -0
  109. package/dist/handlers/ddl/low/handleValidateDdl.d.ts.map +1 -0
  110. package/dist/handlers/ddl/low/handleValidateDdl.js +133 -0
  111. package/dist/handlers/ddl/low/handleValidateDdl.js.map +1 -0
  112. package/dist/handlers/ddl/readonly/handleReadDdl.d.ts +33 -0
  113. package/dist/handlers/ddl/readonly/handleReadDdl.d.ts.map +1 -0
  114. package/dist/handlers/ddl/readonly/handleReadDdl.js +85 -0
  115. package/dist/handlers/ddl/readonly/handleReadDdl.js.map +1 -0
  116. package/dist/handlers/structure/readonly/handleGetStructuresList.d.ts +5 -4
  117. package/dist/handlers/structure/readonly/handleGetStructuresList.d.ts.map +1 -1
  118. package/dist/handlers/structure/readonly/handleGetStructuresList.js +27 -25
  119. package/dist/handlers/structure/readonly/handleGetStructuresList.js.map +1 -1
  120. package/dist/lib/handlers/groups/HighLevelHandlersGroup.js +20 -20
  121. package/dist/lib/handlers/groups/HighLevelHandlersGroup.js.map +1 -1
  122. package/dist/lib/handlers/groups/LowLevelHandlersGroup.js +35 -35
  123. package/dist/lib/handlers/groups/LowLevelHandlersGroup.js.map +1 -1
  124. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +3 -3
  125. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
  126. package/docs/development/roadmaps/TEST_LOGGING_ROADMAP.md +2 -2
  127. package/docs/user-guide/AVAILABLE_TOOLS.md +234 -231
  128. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +16 -12
  129. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +89 -85
  130. package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +256 -253
  131. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +129 -130
  132. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +18 -18
  133. package/package.json +2 -2
@@ -53,6 +53,15 @@ Generated from code in `src/handlers/**` (not from docs).
53
53
  - [UnlockDataElementLow](#unlockdataelementlow-low-level-data-element)
54
54
  - [UpdateDataElementLow](#updatedataelementlow-low-level-data-element)
55
55
  - [ValidateDataElementLow](#validatedataelementlow-low-level-data-element)
56
+ - [Ddl](#low-level-ddl)
57
+ - [ActivateDdlLow](#activateddllow-low-level-ddl)
58
+ - [CheckDdlLow](#checkddllow-low-level-ddl)
59
+ - [CreateDdlLow](#createddllow-low-level-ddl)
60
+ - [DeleteDdlLow](#deleteddllow-low-level-ddl)
61
+ - [LockDdlLow](#lockddllow-low-level-ddl)
62
+ - [UnlockDdlLow](#unlockddllow-low-level-ddl)
63
+ - [UpdateDdlLow](#updateddllow-low-level-ddl)
64
+ - [ValidateDdlLow](#validateddllow-low-level-ddl)
56
65
  - [Ddlx](#low-level-ddlx)
57
66
  - [ActivateMetadataExtensionLow](#activatemetadataextensionlow-low-level-ddlx)
58
67
  - [CheckMetadataExtensionLow](#checkmetadataextensionlow-low-level-ddlx)
@@ -141,15 +150,6 @@ Generated from code in `src/handlers/**` (not from docs).
141
150
  - [ValidateTableLow](#validatetablelow-low-level-table)
142
151
  - [Transport](#low-level-transport)
143
152
  - [CreateTransportLow](#createtransportlow-low-level-transport)
144
- - [View](#low-level-view)
145
- - [ActivateViewLow](#activateviewlow-low-level-view)
146
- - [CheckViewLow](#checkviewlow-low-level-view)
147
- - [CreateViewLow](#createviewlow-low-level-view)
148
- - [DeleteViewLow](#deleteviewlow-low-level-view)
149
- - [LockViewLow](#lockviewlow-low-level-view)
150
- - [UnlockViewLow](#unlockviewlow-low-level-view)
151
- - [UpdateViewLow](#updateviewlow-low-level-view)
152
- - [ValidateViewLow](#validateviewlow-low-level-view)
153
153
 
154
154
  ---
155
155
 
@@ -582,7 +582,7 @@ Generated from code in `src/handlers/**` (not from docs).
582
582
  **Parameters:**
583
583
  - `function_group_name` (string, optional) - Required only for function_module type
584
584
  - `object_name` (string, required) - Object name (e.g., ZCL_MY_CLASS)
585
- - `object_type` (string, required) - Object type. Supported: class, program (onprem/legacy only), interface, function_group, function_module, table, structure, view, domain, data_element, behavior_definition, metadata_extension. Also accepts ADT codes (clas/oc, prog/p, intf/oi, fugr/f, fugr/ff, tabl/dt, ttyp/st, ddls/df, doma/dm, dtel/de, bdef/bd, ddlx/ex).
585
+ - `object_type` (string, required) - Object type. Supported: class, program (onprem/legacy only), interface, function_group, function_module, table, structure, ddl, domain, data_element, behavior_definition, metadata_extension. Also accepts ADT codes (clas/oc, prog/p, intf/oi, fugr/f, fugr/ff, tabl/dt, ttyp/st, ddls/df, doma/dm, dtel/de, bdef/bd, ddlx/ex).
586
586
  - `transport_request` (string, optional) - Transport request number
587
587
 
588
588
  ---
@@ -628,7 +628,7 @@ Generated from code in `src/handlers/**` (not from docs).
628
628
  - `description` (string, optional) - Optional description for validation
629
629
  - `implementation_type` (string, optional) - Implementation type: 'Managed', 'Unmanaged', or 'External' (required for behavior_definition validation)
630
630
  - `object_name` (string, required) - Object name to validate (e.g., ZCL_MY_CLASS, Z_MY_PROGRAM, ZIF_MY_INTERFACE)
631
- - `object_type` (string, required) - Object type: 'class', 'program', 'interface', 'function_group', 'table', 'structure', 'view', 'domain', 'data_element', 'package', 'behavior_definition', 'behavior_implementation', 'metadata_extension'
631
+ - `object_type` (string, required) - Object type: 'class', 'program', 'interface', 'function_group', 'table', 'structure', 'ddl', 'domain', 'data_element', 'package', 'behavior_definition', 'behavior_implementation', 'metadata_extension'
632
632
  - `package_name` (string, optional) - Optional package name for validation
633
633
  - `root_entity` (string, optional) - Root entity name (required for behavior_definition validation)
634
634
  - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
@@ -755,6 +755,123 @@ Generated from code in `src/handlers/**` (not from docs).
755
755
 
756
756
  ---
757
757
 
758
+ <a id="low-level-ddl"></a>
759
+ ### Low-Level / Ddl
760
+
761
+ <a id="activateddllow-low-level-ddl"></a>
762
+ #### ActivateDdlLow (Low-Level / Ddl)
763
+ **Description:** Operation: Activate, Create, Update. Subject: DDL source. Will be useful for activating, creating, or updating a DDL source. [low-level] Activate an ABAP DDL source (CDS view). Returns activation status and any warnings/errors. Can use session_id and session_state from GetSession to maintain the same session.
764
+
765
+ **Source:** `src/handlers/ddl/low/handleActivateDdl.ts`
766
+
767
+ **Parameters:**
768
+ - `ddl_name` (string, required) - DDL source name (e.g., ZVW_MY_VIEW).
769
+ - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
770
+ - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
771
+
772
+ ---
773
+
774
+ <a id="checkddllow-low-level-ddl"></a>
775
+ #### CheckDdlLow (Low-Level / Ddl)
776
+ **Description:** [low-level] Perform syntax check on an ABAP DDL source. Returns syntax errors, warnings, and messages. Can use session_id and session_state from GetSession to maintain the same session. If ddl_source is provided, validates new/unsaved code (will be base64 encoded in request).
777
+
778
+ **Source:** `src/handlers/ddl/low/handleCheckDdl.ts`
779
+
780
+ **Parameters:**
781
+ - `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
782
+ - `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.
783
+ - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
784
+ - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
785
+ - `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
786
+
787
+ ---
788
+
789
+ <a id="createddllow-low-level-ddl"></a>
790
+ #### CreateDdlLow (Low-Level / Ddl)
791
+ **Description:** [low-level] Create a new ABAP DDL source. - use CreateDdl (high-level) for full workflow with validation, lock, update, check, unlock, and activate.
792
+
793
+ **Source:** `src/handlers/ddl/low/handleCreateDdl.ts`
794
+
795
+ **Parameters:**
796
+ - `application` (string, optional (default: *').)) - Application area (optional, default: '*').
797
+ - `ddl_name` (string, required) - DDL source name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
798
+ - `description` (string, required) - DDL source description.
799
+ - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
800
+ - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
801
+ - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
802
+ - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
803
+
804
+ ---
805
+
806
+ <a id="deleteddllow-low-level-ddl"></a>
807
+ #### DeleteDdlLow (Low-Level / Ddl)
808
+ **Description:** [low-level] Delete a DDL source from the SAP system via ADT deletion API. Transport request optional for $TMP objects.
809
+
810
+ **Source:** `src/handlers/ddl/low/handleDeleteDdl.ts`
811
+
812
+ **Parameters:**
813
+ - `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
814
+ - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
815
+
816
+ ---
817
+
818
+ <a id="lockddllow-low-level-ddl"></a>
819
+ #### LockDdlLow (Low-Level / Ddl)
820
+ **Description:** [low-level] Lock a DDL source for modification. Returns lock handle that must be used in subsequent update/unlock operations with the same session_id.
821
+
822
+ **Source:** `src/handlers/ddl/low/handleLockDdl.ts`
823
+
824
+ **Parameters:**
825
+ - `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
826
+ - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
827
+ - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
828
+
829
+ ---
830
+
831
+ <a id="unlockddllow-low-level-ddl"></a>
832
+ #### UnlockDdlLow (Low-Level / Ddl)
833
+ **Description:** [low-level] Unlock an ABAP DDL source after modification. Must use the same session_id and lock_handle from LockDdlLow operation.
834
+
835
+ **Source:** `src/handlers/ddl/low/handleUnlockDdl.ts`
836
+
837
+ **Parameters:**
838
+ - `ddl_name` (string, required) - DDL source name (e.g., Z_MY_PROGRAM).
839
+ - `lock_handle` (string, required) - Lock handle from LockDdlLow operation.
840
+ - `session_id` (string, required) - Session ID from LockDdlLow operation. Must be the same as used in LockDdlLow.
841
+ - `session_state` (object, optional) - Session state from LockDdlLow (cookies, csrf_token, cookie_store). Required if session_id is provided.
842
+
843
+ ---
844
+
845
+ <a id="updateddllow-low-level-ddl"></a>
846
+ #### UpdateDdlLow (Low-Level / Ddl)
847
+ **Description:** [low-level] Update DDL source code of an existing CDS View or Classic View. Requires lock handle from LockDdlLow. - use UpdateDdl (high-level) for full workflow with lock/unlock/activate.
848
+
849
+ **Source:** `src/handlers/ddl/low/handleUpdateDdl.ts`
850
+
851
+ **Parameters:**
852
+ - `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002). DDL source must already exist.
853
+ - `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
854
+ - `lock_handle` (string, required) - Lock handle from LockDdlLow. Required for update operation.
855
+ - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
856
+ - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
857
+
858
+ ---
859
+
860
+ <a id="validateddllow-low-level-ddl"></a>
861
+ #### ValidateDdlLow (Low-Level / Ddl)
862
+ **Description:** [low-level] Validate an ABAP DDL source name before creation. Checks if the name is valid and available. Returns validation result with success status and message. Can use session_id and session_state from GetSession to maintain the same session.
863
+
864
+ **Source:** `src/handlers/ddl/low/handleValidateDdl.ts`
865
+
866
+ **Parameters:**
867
+ - `ddl_name` (string, required) - DDL source name to validate (e.g., Z_MY_PROGRAM).
868
+ - `description` (string, required) - DDL source description. Required for validation.
869
+ - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation.
870
+ - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
871
+ - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
872
+
873
+ ---
874
+
758
875
  <a id="low-level-ddlx"></a>
759
876
  ### Low-Level / Ddlx
760
877
 
@@ -1874,122 +1991,4 @@ Generated from code in `src/handlers/**` (not from docs).
1874
1991
 
1875
1992
  ---
1876
1993
 
1877
- <a id="low-level-view"></a>
1878
- ### Low-Level / View
1879
-
1880
- <a id="activateviewlow-low-level-view"></a>
1881
- #### ActivateViewLow (Low-Level / View)
1882
- **Description:** Operation: Activate, Create, Update. Subject: View. Will be useful for activating, creating, or updating view. [low-level] Activate an ABAP view (CDS view). Returns activation status and any warnings/errors. Can use session_id and session_state from GetSession to maintain the same session.
1883
-
1884
- **Source:** `src/handlers/view/low/handleActivateView.ts`
1885
-
1886
- **Parameters:**
1887
- - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
1888
- - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
1889
- - `view_name` (string, required) - View name (e.g., ZVW_MY_VIEW).
1890
-
1891
- ---
1892
-
1893
- <a id="checkviewlow-low-level-view"></a>
1894
- #### CheckViewLow (Low-Level / View)
1895
- **Description:** [low-level] Perform syntax check on an ABAP view. Returns syntax errors, warnings, and messages. Can use session_id and session_state from GetSession to maintain the same session. If ddl_source is provided, validates new/unsaved code (will be base64 encoded in request).
1896
-
1897
- **Source:** `src/handlers/view/low/handleCheckView.ts`
1898
-
1899
- **Parameters:**
1900
- - `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.
1901
- - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
1902
- - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
1903
- - `version` (string, optional) - Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: inactive
1904
- - `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
1905
-
1906
- ---
1907
-
1908
- <a id="createviewlow-low-level-view"></a>
1909
- #### CreateViewLow (Low-Level / View)
1910
- **Description:** [low-level] Create a new ABAP view. - use CreateView (high-level) for full workflow with validation, lock, update, check, unlock, and activate.
1911
-
1912
- **Source:** `src/handlers/view/low/handleCreateView.ts`
1913
-
1914
- **Parameters:**
1915
- - `application` (string, optional (default: *').)) - Application area (optional, default: '*').
1916
- - `description` (string, required) - View description.
1917
- - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects).
1918
- - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
1919
- - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
1920
- - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
1921
- - `view_name` (string, required) - View name (e.g., Z_TEST_PROGRAM). Must follow SAP naming conventions.
1922
- - `view_type` (string, optional) - View type: 'executable', 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool' (optional).
1923
-
1924
- ---
1925
-
1926
- <a id="deleteviewlow-low-level-view"></a>
1927
- #### DeleteViewLow (Low-Level / View)
1928
- **Description:** [low-level] Delete an ABAP view from the SAP system via ADT deletion API. Transport request optional for $TMP objects.
1929
-
1930
- **Source:** `src/handlers/view/low/handleDeleteView.ts`
1931
-
1932
- **Parameters:**
1933
- - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable objects. Optional for local objects ($TMP).
1934
- - `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
1935
-
1936
- ---
1937
-
1938
- <a id="lockviewlow-low-level-view"></a>
1939
- #### LockViewLow (Low-Level / View)
1940
- **Description:** [low-level] Lock an ABAP view for modification. Returns lock handle that must be used in subsequent update/unlock operations with the same session_id.
1941
-
1942
- **Source:** `src/handlers/view/low/handleLockView.ts`
1943
-
1944
- **Parameters:**
1945
- - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
1946
- - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
1947
- - `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
1948
-
1949
- ---
1950
-
1951
- <a id="unlockviewlow-low-level-view"></a>
1952
- #### UnlockViewLow (Low-Level / View)
1953
- **Description:** [low-level] Unlock an ABAP view after modification. Must use the same session_id and lock_handle from LockView operation.
1954
-
1955
- **Source:** `src/handlers/view/low/handleUnlockView.ts`
1956
-
1957
- **Parameters:**
1958
- - `lock_handle` (string, required) - Lock handle from LockView operation.
1959
- - `session_id` (string, required) - Session ID from LockView operation. Must be the same as used in LockView.
1960
- - `session_state` (object, optional) - Session state from LockView (cookies, csrf_token, cookie_store). Required if session_id is provided.
1961
- - `view_name` (string, required) - View name (e.g., Z_MY_PROGRAM).
1962
-
1963
- ---
1964
-
1965
- <a id="updateviewlow-low-level-view"></a>
1966
- #### UpdateViewLow (Low-Level / View)
1967
- **Description:** [low-level] Update DDL source code of an existing CDS View or Classic View. Requires lock handle from LockObject. - use UpdateView (high-level) for full workflow with lock/unlock/activate.
1968
-
1969
- **Source:** `src/handlers/view/low/handleUpdateView.ts`
1970
-
1971
- **Parameters:**
1972
- - `ddl_source` (string, required) - Complete DDL source code. CDS: include @AbapCatalog.sqlViewName and other annotations. Classic: plain 'define view' statement.
1973
- - `lock_handle` (string, required) - Lock handle from LockObject. Required for update operation.
1974
- - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
1975
- - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
1976
- - `view_name` (string, required) - View name (e.g., ZOK_R_TEST_0002). View must already exist.
1977
-
1978
- ---
1979
-
1980
- <a id="validateviewlow-low-level-view"></a>
1981
- #### ValidateViewLow (Low-Level / View)
1982
- **Description:** [low-level] Validate an ABAP view name before creation. Checks if the name is valid and available. Returns validation result with success status and message. Can use session_id and session_state from GetSession to maintain the same session.
1983
-
1984
- **Source:** `src/handlers/view/low/handleValidateView.ts`
1985
-
1986
- **Parameters:**
1987
- - `description` (string, required) - View description. Required for validation.
1988
- - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation.
1989
- - `session_id` (string, optional) - Session ID from GetSession. If not provided, a new session will be created.
1990
- - `session_state` (object, optional) - Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
1991
- - `view_name` (string, required) - View name to validate (e.g., Z_MY_PROGRAM).
1992
-
1993
- ---
1994
-
1995
- *Last updated: 2026-06-20*
1994
+ *Last updated: 2026-06-25*
@@ -16,6 +16,8 @@ Generated from code in `src/handlers/**` (not from docs).
16
16
  - [ReadClass](#readclass-read-only-class)
17
17
  - [Data Element](#read-only-data-element)
18
18
  - [ReadDataElement](#readdataelement-read-only-data-element)
19
+ - [Ddl](#read-only-ddl)
20
+ - [ReadDdl](#readddl-read-only-ddl)
19
21
  - [Domain](#read-only-domain)
20
22
  - [ReadDomain](#readdomain-read-only-domain)
21
23
  - [Enhancement](#read-only-enhancement)
@@ -87,8 +89,6 @@ Generated from code in `src/handlers/**` (not from docs).
87
89
  - [Transport](#read-only-transport)
88
90
  - [GetTransport](#gettransport-read-only-transport)
89
91
  - [ListTransports](#listtransports-read-only-transport)
90
- - [View](#read-only-view)
91
- - [ReadView](#readview-read-only-view)
92
92
 
93
93
  ---
94
94
 
@@ -155,6 +155,21 @@ Generated from code in `src/handlers/**` (not from docs).
155
155
 
156
156
  ---
157
157
 
158
+ <a id="read-only-ddl"></a>
159
+ ### Read-Only / Ddl
160
+
161
+ <a id="readddl-read-only-ddl"></a>
162
+ #### ReadDdl (Read-Only / Ddl)
163
+ **Description:** Operation: Read, Create, Update. Subject: DDL source. Will be useful for reading, creating, or updating a DDL source. [read-only] Read ABAP CDS view source code and metadata. Answers: "show CDS view source", "display view definition", "view CDS X", "get CDS code". Returns source code, package, responsible, description.
164
+
165
+ **Source:** `src/handlers/ddl/readonly/handleReadDdl.ts`
166
+
167
+ **Parameters:**
168
+ - `ddl_name` (string, required) - DDL source name (e.g., Z_MY_VIEW).
169
+ - `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
170
+
171
+ ---
172
+
158
173
  <a id="read-only-domain"></a>
159
174
  ### Read-Only / Domain
160
175
 
@@ -942,19 +957,4 @@ Generated from code in `src/handlers/**` (not from docs).
942
957
 
943
958
  ---
944
959
 
945
- <a id="read-only-view"></a>
946
- ### Read-Only / View
947
-
948
- <a id="readview-read-only-view"></a>
949
- #### ReadView (Read-Only / View)
950
- **Description:** Operation: Read, Create, Update. Subject: View. Will be useful for reading, creating, or updating view. [read-only] Read ABAP CDS view source code and metadata. Answers: "show CDS view source", "display view definition", "view CDS X", "get CDS code". Returns source code, package, responsible, description.
951
-
952
- **Source:** `src/handlers/view/readonly/handleReadView.ts`
953
-
954
- **Parameters:**
955
- - `version` (string, optional (default: active)) - Version to read: "active" (default) or "inactive".
956
- - `view_name` (string, required) - View name (e.g., Z_MY_VIEW).
957
-
958
- ---
959
-
960
- *Last updated: 2026-06-20*
960
+ *Last updated: 2026-06-25*
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/core",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt",
4
- "version": "7.2.0",
4
+ "version": "8.0.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -137,7 +137,7 @@
137
137
  "yaml": "^2.8.1"
138
138
  },
139
139
  "dependencies": {
140
- "@mcp-abap-adt/adt-clients": "^5.8.0",
140
+ "@mcp-abap-adt/adt-clients": "^6.0.0",
141
141
  "@mcp-abap-adt/auth-broker": "^1.0.5",
142
142
  "@mcp-abap-adt/auth-providers": "^1.0.5",
143
143
  "@mcp-abap-adt/auth-stores": "^1.0.4",