@mcp-abap-adt/interfaces-adt 29.0.0 → 30.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.
- package/CHANGELOG.md +213 -0
- package/README.md +233 -0
- package/dist/adt/AdtTypeTables.d.ts +44 -0
- package/dist/adt/AdtTypeTables.d.ts.map +1 -1
- package/dist/adt/AdtTypeTables.js +44 -0
- package/dist/adt/AdtUtilityCodes.d.ts +32 -3
- package/dist/adt/AdtUtilityCodes.d.ts.map +1 -1
- package/dist/adt/AdtUtilityCodes.js +32 -3
- package/dist/adt/IAdtShared.d.ts +77 -12
- package/dist/adt/IAdtShared.d.ts.map +1 -1
- package/dist/adt/IAdtTextElements.d.ts +399 -0
- package/dist/adt/IAdtTextElements.d.ts.map +1 -0
- package/dist/adt/IAdtTextElements.js +134 -0
- package/dist/adt/IAdtTypeTable.d.ts +1 -1
- package/dist/adt/IAdtTypeTable.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,219 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [30.0.0] - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Breaking
|
|
13
|
+
|
|
14
|
+
- **`AdtApiName`, `AdtTypeCode`, `AdtObjectKind`, `CodesOfMain<'PROG'>`,
|
|
15
|
+
`CodesOfMain<'CLAS'>` and the unions derived from the on-premise and cloud
|
|
16
|
+
tables gain members** — `textElements`, `PROG/PX`, `CLAS/OCX` and
|
|
17
|
+
`text_elements` (below); and so do the utility, group activation and
|
|
18
|
+
where-used codes drawn from them (`AdtUtilityCode`,
|
|
19
|
+
`AdtGroupActivationCode`, `AdtWhereUsedCode`, …, listed under Migration).
|
|
20
|
+
A union that widens breaks an exhaustive map over it, so this is a major.
|
|
21
|
+
|
|
22
|
+
### Migration
|
|
23
|
+
|
|
24
|
+
- **Every union that widens**, found by a compile-time probe of each export
|
|
25
|
+
of 29.0.0 against 30.0.0 (every variant `onprem`, `cloud`, `basis740` and
|
|
26
|
+
`'onprem' | 'cloud'`; every operation). No union of `basis740` widened; its
|
|
27
|
+
where-used parameters tighten as every variant's do (below).
|
|
28
|
+
- The API names: `AdtApiName`, `keyof AdtApiTable<R>`, `AdtApi<V>`, and
|
|
29
|
+
`AdtApiWith<V, Op>` / `AdtApiWithIn<T, Op>` for `Op` among `read`,
|
|
30
|
+
`update`, `lock`, `unlock` — gain `textElements`; and with `AdtApiName`
|
|
31
|
+
every `parent` that names an API: `IAdtCodeFacts<R>['parent']`,
|
|
32
|
+
`IAdtCodelessApiEntry<R>['parent']`, and so `AdtApiEntry<R>['parent']`
|
|
33
|
+
(`IAdtCodedApiEntry<R>`'s codes carry it).
|
|
34
|
+
- The codes: `AdtTypeCode`, `AdtTypeCodeOf<V>`, `AdtCodeOf<V>`,
|
|
35
|
+
`AdtCodeOfIn<Tables, V>`, and `AdtTypeCodeWith<V, Op>`, `AdtCodeWith<V, Op>`,
|
|
36
|
+
`AdtCodeWithIn<Tables, V, Op>` for the same four operations — gain
|
|
37
|
+
`'PROG/PX'` and `'CLAS/OCX'`; `CodesOfMain<'PROG'>` gains `'PROG/PX'` and
|
|
38
|
+
`CodesOfMain<'CLAS'>` gains `'CLAS/OCX'`.
|
|
39
|
+
- The kinds: `AdtObjectKind` gains `'text_elements'`.
|
|
40
|
+
- The utility codes: `AdtUtilityCode` gains both codes, and
|
|
41
|
+
`AdtUtilityCodeWith<V, 'groupActivation'>` gains them through the utility
|
|
42
|
+
tables (`IAdtUtilityCodeTables`); so do `AdtGroupActivationCode<V>` and
|
|
43
|
+
`IAdtGroupActivationReference<V>['type']` — what `activateObjects` and the
|
|
44
|
+
typed `activateObjectsGroup` take.
|
|
45
|
+
- Where-used, per code as measured: `AdtWhereUsedCode<V>`, so
|
|
46
|
+
`IAdtWhereUsedParamsOf<V>['object_type']` and
|
|
47
|
+
`IAdtWhereUsedScopeParamsOf<V>['object_type']`, gain `'PROG/PX'` on
|
|
48
|
+
`onprem`, `cloud` and the default `'onprem' | 'cloud'`, as the untyped
|
|
49
|
+
`IGetWhereUsedParams['object_type']` and
|
|
50
|
+
`IGetWhereUsedScopeParams['object_type']` do. `CLAS/OCX` is in none of
|
|
51
|
+
them: the systems measured serve no where-used for it.
|
|
52
|
+
- **`PROG/PX` names its container in a where-used.** `IGetWhereUsedParams`
|
|
53
|
+
and `IGetWhereUsedScopeParams` (and so `IAdtWhereUsedParamsOf<V>` /
|
|
54
|
+
`IAdtWhereUsedScopeParamsOf<V>`) are type aliases now, not interfaces:
|
|
55
|
+
with `object_type: 'PROG/PX'` they require `container: 'program' |
|
|
56
|
+
'functionGroup'` (`TextElementsWhereUsedContainer`), which decides the
|
|
57
|
+
address (`/sap/bc/adt/textelements/programs/{name}` or
|
|
58
|
+
`…/functiongroups/{name}`), and every other code refuses a `container`.
|
|
59
|
+
What a consumer does:
|
|
60
|
+
- a literal with another code compiles as before;
|
|
61
|
+
- a value whose `object_type` is a variable of the whole union (it may be
|
|
62
|
+
`PROG/PX`) needs the `container` when it is `PROG/PX` — narrow the code
|
|
63
|
+
first, or build the `PROG/PX` case apart;
|
|
64
|
+
- `interface X extends IGetWhereUsedParams` (the default, a union) no
|
|
65
|
+
longer compiles (`TS2312`), nor does a generic
|
|
66
|
+
`interface X<C extends …> extends IGetWhereUsedParams<C>` (the type is
|
|
67
|
+
a conditional over `C`): use a type alias with `&`
|
|
68
|
+
(`type X<C extends …> = IGetWhereUsedParams<C> & { … }`), or extend a
|
|
69
|
+
single code's params (`IGetWhereUsedParams<'PROG/P'>` still does);
|
|
70
|
+
- a builder typed by the union — `(code: AdtWhereUsedCode<V>):
|
|
71
|
+
IAdtWhereUsedParamsOf<V> => ({ object_name, object_type: code })`,
|
|
72
|
+
generic in `V` or for one variant — no longer compiles (`TS2322`): the
|
|
73
|
+
code may be `PROG/PX`, which needs its `container`. Generic in `V`,
|
|
74
|
+
exclude it from the input (`code: Exclude<AdtWhereUsedCode<V>,
|
|
75
|
+
'PROG/PX'>`) — branching on `code === 'PROG/PX'` still fails there
|
|
76
|
+
(`TS2322`), since the code stays generic. For one variant the branch
|
|
77
|
+
compiles too (`code === 'PROG/PX' ? { …, container } : { … }`);
|
|
78
|
+
- a value of another code that carries a `container` of its own — say
|
|
79
|
+
`{ object_type: 'PROG/P', container: string }` built for a consumer's
|
|
80
|
+
own use — no longer passes as where-used parameters, on every variant
|
|
81
|
+
`basis740` included (whose where-used has no `PROG/PX` at all): drop
|
|
82
|
+
the field before passing it (`const { container, ...params } = value`);
|
|
83
|
+
- `object_type` and `container` are `readonly`, like the text elements'
|
|
84
|
+
`objectKind` and `part`: code that assigns them on a built value builds
|
|
85
|
+
a new one instead (`{ ...params, object_type: … }`, the container
|
|
86
|
+
stated with it).
|
|
87
|
+
- **An explicit type argument that no longer fits.** `IGetWhereUsedParams`
|
|
88
|
+
and `IGetWhereUsedScopeParams` constrain `C` to every code but
|
|
89
|
+
`CLAS/OCX`, so `IGetWhereUsedParams<AdtTypeCode>` and
|
|
90
|
+
`IGetWhereUsedScopeParams<AdtTypeCode>` (or with `| AdtGroupOnlyCode`)
|
|
91
|
+
stop compiling with `TS2344`: `AdtTypeCode` now holds `CLAS/OCX`. Drop
|
|
92
|
+
the argument and use the default (every code where-used is asked of),
|
|
93
|
+
use the variant's `IAdtWhereUsedParamsOf<V>` /
|
|
94
|
+
`IAdtWhereUsedScopeParamsOf<V>`, or pass
|
|
95
|
+
`Exclude<AdtTypeCode, 'CLAS/OCX'>`. These two are the only exported
|
|
96
|
+
generics where a type argument valid on 29.0.0 is refused on 30.0.0 —
|
|
97
|
+
found by instantiating every exported generic with its 29.0.0
|
|
98
|
+
constraints under 30.0.0's names (generics whose constraint names a
|
|
99
|
+
sibling parameter, such as `AdtCodeOfIn<Tables, V>`, take the caller's
|
|
100
|
+
own tables and were not instantiated).
|
|
101
|
+
- References and answers: `IObjectReference['type']` (default
|
|
102
|
+
`AdtTypeCode`), `IAdtCodedReference<AdtTypeCode>['type']` and
|
|
103
|
+
`IAdtCodedReference<AdtCodeOf<V>>['type']`, and the known-code branch of
|
|
104
|
+
`IAdtAnsweredObject['type']` gain both codes.
|
|
105
|
+
- The tables themselves: `IAdtTypeTables` (a `textElements` entry on
|
|
106
|
+
`onprem` and `cloud`) and `IAdtUtilityCodeTables` (two codes on each).
|
|
107
|
+
- **What a consumer does.** A map keyed by any of these
|
|
108
|
+
(`{ [C in AdtTypeCode]: … }`, `Record<AdtObjectKind, …>`, …) adds the new
|
|
109
|
+
keys; a `switch` that relies on exhaustiveness over one (a `never` check in
|
|
110
|
+
its `default`) adds the cases — `textElements` / `'text_elements'` for an
|
|
111
|
+
API or a kind, `'PROG/PX'` and `'CLAS/OCX'` for a code, which is a program's
|
|
112
|
+
or a class's text elements, addressed under `/sap/bc/adt/textelements/…`.
|
|
113
|
+
A consumer that maps a code to an address or a reader handles them, or
|
|
114
|
+
refuses them, there. A consumer reading an `IAdtAnsweredObject` gets
|
|
115
|
+
either code as `type`, typed, where 29.0.0 carried it as `unknownType`, the
|
|
116
|
+
text as it came. Nothing that only passes values through changes.
|
|
117
|
+
The main types (`AdtMainType`) are unchanged: `PROG` and `CLAS` were there.
|
|
118
|
+
|
|
119
|
+
### Added
|
|
120
|
+
|
|
121
|
+
- **Text elements, as a contract of their own**
|
|
122
|
+
(`src/adt/IAdtTextElements.ts`): the text symbols, selection texts and
|
|
123
|
+
list and column headings of a program, a class or a function group. SAP
|
|
124
|
+
keeps them at `/sap/bc/adt/textelements/{programs|classes|functiongroups}/{name}`,
|
|
125
|
+
one part per sub-resource (`…/source/{symbols|selections|headings}`, media
|
|
126
|
+
type `application/vnd.sap.adt.textelements.{part}.v1`), under their own
|
|
127
|
+
lock (class `TEXT`); read and written on premise and on the cloud,
|
|
128
|
+
2026-11-19, for a program and a class. They are not part of
|
|
129
|
+
`IProgramConfig` or `IClassConfig`.
|
|
130
|
+
- `TEXT_ELEMENTS_OBJECT_KINDS` (`program`, `class`, `functionGroup`) and
|
|
131
|
+
`TEXT_ELEMENTS_PARTS` (`symbols`, `selections`, `headings`), with
|
|
132
|
+
`TextElementsObjectKind` and `TextElementsPart`;
|
|
133
|
+
`ITextElementsPartsByKind` / `TextElementsPartOf<K>`: a class has text
|
|
134
|
+
symbols only (SAP's handler, Code).
|
|
135
|
+
- `ITextElementsConfig` (`objectKind`, `objectName`, `transportRequest?`):
|
|
136
|
+
what the lock takes, through `IAdtLockable` with both fields required.
|
|
137
|
+
- `ITextElementsPartConfig`: the object and a part it has — what a read
|
|
138
|
+
takes. `TextElementsReadVersion` is `AdtReadVersion` — `active`,
|
|
139
|
+
`inactive` or `workingArea`, every value SAP's handler maps (Eclipse
|
|
140
|
+
sends `workingArea`); absent, SAP's working area.
|
|
141
|
+
- The typed documents: `ITextSymbol` (`key`, `text`, `maxLength`),
|
|
142
|
+
`ISelectionText` (`name`, `text`), `ITextHeadings` (`listHeader`,
|
|
143
|
+
`columnHeader1`–`columnHeader4`, each required), and
|
|
144
|
+
`TextElementsDocument`, the part with its list.
|
|
145
|
+
- `ITextElementsUpdateConfig`: the object and one whole part. **A write
|
|
146
|
+
replaces the part**: an entry the list leaves out is deleted (measured),
|
|
147
|
+
so create, change and delete are one write.
|
|
148
|
+
- `IAdtTextElementsReadable<TSource>`: `read(config, version?, options?)`,
|
|
149
|
+
`IAdtTextElementsReadOptions` (`analyse`, `timeout`).
|
|
150
|
+
`IAdtTextElementsUpdatable<TUpdated>`: `update(config, options)`, one PUT,
|
|
151
|
+
its body built from the config (decision 50);
|
|
152
|
+
`IAdtTextElementsUpdateOptions` is `IAdtUpdateOptions` with `source?:
|
|
153
|
+
never` and `lockHandle` required, in both overloads.
|
|
154
|
+
- `ITextElementsResults`: `source` and `updated`.
|
|
155
|
+
- No activation member: a write lands inactive, and one activation request
|
|
156
|
+
naming the object and `/sap/bc/adt/textelements/{kind}/{name}` activates
|
|
157
|
+
both (measured); the object's reference alone does not. `PROG/PX` and
|
|
158
|
+
`CLAS/OCX` are in `ADT_UTILITY_CODES_ONPREM` and `ADT_UTILITY_CODES_CLOUD`
|
|
159
|
+
with `groupActivation` (as `DEVC/K` is), so the typed `activateObjects`
|
|
160
|
+
and `activateObjectsGroup` take the text elements' reference —
|
|
161
|
+
`{ name, type: 'PROG/PX', uri: '/sap/bc/adt/textelements/programs/{name}' }`
|
|
162
|
+
— beside the object's. Measured on premise for a program and on the cloud
|
|
163
|
+
for a class; each other pairing is `measured: false`.
|
|
164
|
+
- Where-used follows SAP, per code (measured read-only, 2026-11-19; Code:
|
|
165
|
+
`CL_RIS_ADT_RES_REFERENCES`, which refuses no type and answers `200` with
|
|
166
|
+
"Where-Used List is not supported for &1" and no result where it serves
|
|
167
|
+
none): `PROG/PX` is served on premise — the scope offers `PROG/P` and
|
|
168
|
+
`PROG/PS` — and on the cloud (a delivered program's, `RSPARAM`), and a
|
|
169
|
+
function group's text elements resolve to it; `CLAS/OCX` was not served
|
|
170
|
+
on the on-premise and cloud systems measured ("… not supported for Text
|
|
171
|
+
Element: Class."; the answer depends on the system's RIS metadata), so
|
|
172
|
+
`AdtWhereUsedCode` and the untyped where-used parameters leave it out.
|
|
173
|
+
All of them stay in the group activation.
|
|
174
|
+
- A `PROG/PX` where-used names its `container` (`'program'` or
|
|
175
|
+
`'functionGroup'`, `TextElementsWhereUsedContainer`, required), which
|
|
176
|
+
decides the address — a program's and a function group's text elements
|
|
177
|
+
are both `PROG/PX` and both served (measured), and the table keeps one
|
|
178
|
+
collection per code. No other code takes a `container`.
|
|
179
|
+
- A function group's text elements are typed `PROG/PX` under their own URI
|
|
180
|
+
(`/sap/bc/adt/textelements/functiongroups/{group}`): beside `FUGR/F`, or
|
|
181
|
+
alone, that reference activates them (measured on premise; the name may
|
|
182
|
+
be `{GROUP}` or `SAPL{GROUP}`, the URI decides). `FUGR/PX` — only the
|
|
183
|
+
properties document's `adtcore:type` — is no code of the tables.
|
|
184
|
+
- The key limits, measured on premise and in SAP's handlers, as constants
|
|
185
|
+
for a caller (no check here): `TEXT_SYMBOL_KEY_MAX_LENGTH` (3 accepted,
|
|
186
|
+
`0#1` and `AB1` included; 4 refused `406` `SEDX_ADT/106`; shorter not
|
|
187
|
+
measured),
|
|
188
|
+
`SELECTION_TEXT_NAME_MAX_LENGTH` (8; `406` `SEDX_ADT/102`), and the
|
|
189
|
+
closed heading keys `TEXT_HEADING_KEYS` / `TextHeadingKey` (any other
|
|
190
|
+
`406` `SEDX_ADT/101`). An unknown selection name is stored, not checked
|
|
191
|
+
against the selection screen (measured).
|
|
192
|
+
- Headings: a heading sent empty or left out is deleted, and a read lists
|
|
193
|
+
all five (measured). `?version=` is case-insensitive, and an unknown or
|
|
194
|
+
empty value answers the working area (measured on premise); on the cloud
|
|
195
|
+
every value is accepted and none distinguished (no inactive version
|
|
196
|
+
existed, measured read-only).
|
|
197
|
+
- `ITextElementsConfig`, `ITextElementsPartConfig` and
|
|
198
|
+
`ITextElementsUpdateConfig` keep `objectKind` (and `part`) `readonly`: a
|
|
199
|
+
built config cannot be re-kinded.
|
|
200
|
+
- `ISelectionText.ddicReference` (required): the `@DDICReference` line,
|
|
201
|
+
a text that is the dictionary field's label — SAP answers the label and
|
|
202
|
+
replaces any text a write sends (measured). `SELECTION_TEXT_MAX_LENGTH`
|
|
203
|
+
is 30: a longer text refuses the whole write, `406` `SEDX_ADT/110`
|
|
204
|
+
(measured); documented, not checked.
|
|
205
|
+
- `TextElementsReadVersion` is measured on premise: absent, `inactive` and
|
|
206
|
+
`workingArea` answer the working area, `active` the last activated
|
|
207
|
+
version.
|
|
208
|
+
`IAdtTextElementsReadOptions` refuses `source`, `lockHandle` and
|
|
209
|
+
`ifMatch` (`?: never`).
|
|
210
|
+
- The original language only: SAP ignores the logon language for these
|
|
211
|
+
(measured); there is no language field.
|
|
212
|
+
- **`textElements` in `ADT_TYPES_ONPREM` and `ADT_TYPES_CLOUD`**: kind
|
|
213
|
+
`text_elements`, collection `/sap/bc/adt/textelements`, codes `PROG/PX`
|
|
214
|
+
(collection `…/programs`) and `CLAS/OCX` (`…/classes`) — parent none and
|
|
215
|
+
names up to 30, as each `typestructure` lists them — with `read`, `update`,
|
|
216
|
+
`lock` and `unlock`. No function group code: no release's `typestructure`
|
|
217
|
+
lists one. A function group's text elements are measured on premise
|
|
218
|
+
(`…/functiongroups/{group}`, the plain name; the properties name them
|
|
219
|
+
`FUGR/PX`, the inactive list `PROG/PX` `SAPL{GROUP}`; the group's and the
|
|
220
|
+
text elements' URIs activate together). SAP_BASIS 7.40's discovery has no
|
|
221
|
+
`/textelements` collection, so `ADT_TYPES_BASIS_740` has no entry.
|
|
222
|
+
|
|
10
223
|
## [29.0.0] - 2026-11-19
|
|
11
224
|
|
|
12
225
|
### Breaking
|
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ ADT contracts: object operations, runtime analysis, execution, feeds and service
|
|
|
12
12
|
- Since 15.0.0 `skipCount` is gone from breakpoints (the server ignores it) and `clientId` pairs an answer row with its request. The CHANGELOG has the migration note.
|
|
13
13
|
- Since 15.1.0 the plain class and program run take `debuggee` (`IDebuggeeIds`): the terminal id and IDE id a terminal-mode listener catches the run by.
|
|
14
14
|
- Since 23.1.0 the ABAP Unit run registry: `ABAP_UNIT_RUN_TYPES`, every `osl:object type` value a run may name, what a run of it runs and on what evidence; `AbapUnitRunObjectType` (its keys), `AbapUnitRunTarget` (an object or a package) and the generic runner contract `IAbapUnitRunner`. Additions only. See "The ABAP Unit run registry".
|
|
15
|
+
- Since 30.0.0 the text elements of a program, a class or a function group — text symbols, selection texts, list and column headings — are their own contract (`/sap/bc/adt/textelements/…`, lock class `TEXT`): `IAdtTextElementsReadable` reads one part, `IAdtTextElementsUpdatable` writes one whole part from a typed document (`ITextSymbol`, `ISelectionText`, `ITextHeadings`), `ITextElementsResults`. The tables gain the API `textElements` (`PROG/PX`, `CLAS/OCX`, kind `text_elements`) on S/4HANA and ABAP cloud: a map over `AdtApiName`, `AdtTypeCode`, `AdtObjectKind`, `CodesOfMain<'PROG'>`, `CodesOfMain<'CLAS'>` or a union derived from the tables — the utility, group activation and where-used codes among them (`AdtUtilityCode`, `AdtGroupActivationCode`, `AdtWhereUsedCode`) — adds the members; the reason for the major. The typed `activateObjects` / `activateObjectsGroup` take the text elements' reference beside the object's. See "Text elements" and "Migrating to 30.0.0".
|
|
15
16
|
- Since 29.0.0 `ITableSettings.translation` is an `ITableTranslation`, the `ts:translation` element's four attributes, where 28.0.0 had a string: SAP refuses a write without `ts:isVisible` (400 `00/001`). See "Migrating to 29.0.0".
|
|
16
17
|
- Since 28.0.0 a table's technical settings (`TABL/DTT`, `tableSettings` in the on-premise and cloud tables) are their own contract: `ITableSettingsConfig`, `ITableSettingsUpdateConfig` with the full `ITableSettings`, the write atom `IAdtTableSettingsUpdatable` and `ITableSettingsResults`. A map over `AdtApiName`, `AdtTypeCode`, `AdtObjectKind`, `CodesOfMain<'TABL'>` or a union derived from the tables (`AdtApi<V>`, `AdtTypeCodeOf<V>`, `AdtApiWith<V, Op>`, …) adds the new member — the reason for the major. See "A table's technical settings" and "Migrating to 28.0.0".
|
|
17
18
|
- Since 27.0.0 `IUtilResults` requires `objectActivation`, the reading of the new atom `IAdtObjectActivation` (`activateObjects`, the synchronous `POST /activation` for several objects); `activate` takes `IAdtActivationOptions` (`preauditRequested`); and `IAnalyse` takes an optional third parameter, `IAdtAnalyseContext`. See "Activation" and "Migrating to 27.0.0".
|
|
@@ -484,6 +485,141 @@ error or a result built for 27.2.0 still conforms.
|
|
|
484
485
|
`src/__typechecks__/sessionError.ts` and `src/__typechecks__/sessionLost.ts`
|
|
485
486
|
hold these shapes.
|
|
486
487
|
|
|
488
|
+
## Text elements (30.0.0)
|
|
489
|
+
|
|
490
|
+
The text elements of a program, a class or a function group — text symbols,
|
|
491
|
+
selection texts, list and column headings — are a resource of their own,
|
|
492
|
+
`/sap/bc/adt/textelements/{programs|classes|functiongroups}/{name}`, one
|
|
493
|
+
sub-resource per part (`…/source/symbols`, `…/source/selections`,
|
|
494
|
+
`…/source/headings`), each with its media type
|
|
495
|
+
`application/vnd.sap.adt.textelements.{part}.v1` (with that `Accept` SAP
|
|
496
|
+
answers the part's text; with `*/*`, and with `{part media type}, text/plain,
|
|
497
|
+
*/*`, it answered an HTML page, measured on premise), and under their own lock — lock class `TEXT`, taken on the text
|
|
498
|
+
elements' address, which the program's or the class's lock does not cover. So
|
|
499
|
+
they are not part of `IProgramConfig` or `IClassConfig`, and the tables list
|
|
500
|
+
them as the API `textElements` (kind `text_elements`): `PROG/PX` under
|
|
501
|
+
`/sap/bc/adt/textelements/programs` and `CLAS/OCX` under
|
|
502
|
+
`/sap/bc/adt/textelements/classes`, with `read`, `update`, `lock` and `unlock`,
|
|
503
|
+
on S/4HANA and ABAP cloud. SAP_BASIS 7.40's discovery has no such collection,
|
|
504
|
+
and its table has no entry. Read and written on premise and on the cloud,
|
|
505
|
+
2026-11-19, for a program and a class.
|
|
506
|
+
|
|
507
|
+
- **What discovery lists** (S/4HANA 2025 and ABAP cloud alike; SAP_BASIS
|
|
508
|
+
7.40 none): three collections — `/sap/bc/adt/textelements/programs`,
|
|
509
|
+
`…/classes`, `…/functiongroups` — each accepting
|
|
510
|
+
`application/vnd.sap.adt.textelements.v1+xml` (the properties document) and
|
|
511
|
+
with no templates. No other kind (interface, function module, include) has
|
|
512
|
+
one. The parts and their media types are not in discovery: they are links
|
|
513
|
+
of the properties document.
|
|
514
|
+
- **Which parts an object has.** A class has text symbols only; a program and
|
|
515
|
+
a function group have all three (SAP's handler, `CL_SEDX_ADT_RES_TEXTELEMENT`).
|
|
516
|
+
`ITextElementsPartConfig` and `ITextElementsUpdateConfig` hold this: a class
|
|
517
|
+
with another part does not compile.
|
|
518
|
+
- **Read** with `IAdtTextElementsReadable`: `read(config, version?)`, the
|
|
519
|
+
object and its part. `version` is every value SAP's handler maps
|
|
520
|
+
(`get_wb_version`), measured on premise for a program's selection texts:
|
|
521
|
+
- absent, `inactive` and `workingArea` answer the working area — the
|
|
522
|
+
inactive version when there is one, else the active one;
|
|
523
|
+
- `active` answers the last activated version: before the first activation
|
|
524
|
+
only the screen fields' `?...` placeholders, after a change the text as
|
|
525
|
+
activated.
|
|
526
|
+
SAP reads the value case-insensitively, and an unknown or empty value
|
|
527
|
+
answers the working area (measured on premise). On the cloud every value is
|
|
528
|
+
accepted and none distinguished (no inactive version existed, measured
|
|
529
|
+
read-only). The answer is the part's text, CR LF between lines (measured on
|
|
530
|
+
premise and on the cloud):
|
|
531
|
+
- symbols: `@MaxLength:20`, then `001=Text`, one empty line between symbols;
|
|
532
|
+
- selections: every parameter and select option of the program, sorted by
|
|
533
|
+
name, the name upper case and padded to eight (`P_TEST =Text`), an empty
|
|
534
|
+
line between two entries; a field with no text yet `?...`; a text taken
|
|
535
|
+
from the dictionary after its own `@DDICReference` line, answered as the
|
|
536
|
+
field's label (`ISelectionText.ddicReference`, required). A write takes
|
|
537
|
+
the name padded or not; a text over `SELECTION_TEXT_MAX_LENGTH` (30)
|
|
538
|
+
characters refuses the whole write (`406`, `SEDX_ADT/110`); and a text
|
|
539
|
+
sent with `@DDICReference` is replaced by the label (all measured);
|
|
540
|
+
- headings: `listHeader=…`, an empty line, `columnHeader_1=…` to
|
|
541
|
+
`columnHeader_4=…` — all five, an empty one as `columnHeader_4=`; a write
|
|
542
|
+
deletes a heading sent empty or left out (measured).
|
|
543
|
+
The keys, measured and in SAP's handlers, are constants for a caller (the
|
|
544
|
+
contract checks none): `TEXT_SYMBOL_KEY_MAX_LENGTH` (3 accepted, `0#1` and
|
|
545
|
+
`AB1` included; 4 refused `406` `SEDX_ADT/106`; shorter not measured), `SELECTION_TEXT_NAME_MAX_LENGTH` (8; `406`
|
|
546
|
+
`SEDX_ADT/102`; an unknown name is stored, not checked against the screen),
|
|
547
|
+
`TEXT_HEADING_KEYS` / `TextHeadingKey` (any other key `406`
|
|
548
|
+
`SEDX_ADT/101`).
|
|
549
|
+
`TextElementsDocument` is the parsed shape a reading strategy answers.
|
|
550
|
+
- **Write** with `IAdtTextElementsUpdatable`: its `update` takes
|
|
551
|
+
`ITextElementsUpdateConfig` — the object, the part and the part's **whole**
|
|
552
|
+
list — and builds the body from it (decision 50); the options refuse a
|
|
553
|
+
`source` and require the `lockHandle`. **An entry the list leaves out is
|
|
554
|
+
deleted**: create, change and delete are the same write. An empty list
|
|
555
|
+
deletes the part's every entry.
|
|
556
|
+
- **The original language only.** SAP reads and writes the texts in the
|
|
557
|
+
object's original language whatever the logon language (a write under
|
|
558
|
+
`sap-language` RU on premise and DE on the cloud landed in the original EN,
|
|
559
|
+
measured). There is no language here, and no translation.
|
|
560
|
+
- **The sequence is the caller's:**
|
|
561
|
+
1. `lock` the object's text elements (`IAdtLockable<ITextElementsConfig,
|
|
562
|
+
'objectKind' | 'objectName'>`, stateful);
|
|
563
|
+
2. `read` the part under the lock — what it holds now;
|
|
564
|
+
3. change the list;
|
|
565
|
+
4. `update` with the lock handle (and `transportRequest` as `corrNr`);
|
|
566
|
+
5. `unlock`, on every path;
|
|
567
|
+
6. activate the object **and** its text elements in one activation request,
|
|
568
|
+
through the typed `activateObjects` (`IAdtObjectActivation`) or
|
|
569
|
+
`activateObjectsGroup` (`IAdtTypedGroupLifecycle`) of the variant: the
|
|
570
|
+
object's reference and the text elements' —
|
|
571
|
+
```ts
|
|
572
|
+
// on premise: a program
|
|
573
|
+
const refs: IAdtGroupActivationReference<'onprem'>[] = [
|
|
574
|
+
{ name: 'ZPROG', type: 'PROG/P', uri: '/sap/bc/adt/programs/programs/zprog' },
|
|
575
|
+
{ name: 'ZPROG', type: 'PROG/PX', uri: '/sap/bc/adt/textelements/programs/zprog' },
|
|
576
|
+
];
|
|
577
|
+
// on the cloud: a class — { type: 'CLAS/OC', … } and
|
|
578
|
+
// { type: 'CLAS/OCX', uri: '/sap/bc/adt/textelements/classes/zcl_x' }
|
|
579
|
+
```
|
|
580
|
+
`PROG/PX` and `CLAS/OCX` are utility codes with `groupActivation` on
|
|
581
|
+
premise and on the cloud (as `DEVC/K` is), not an `activate` of the
|
|
582
|
+
`textElements` API. Naming the object alone ran no activation for the
|
|
583
|
+
text elements (measured on premise for a program and on the cloud for a
|
|
584
|
+
class; each other pairing is unmeasured, `measured: false`). A function
|
|
585
|
+
group's text elements go as `PROG/PX` with
|
|
586
|
+
`/sap/bc/adt/textelements/functiongroups/{group}` (measured on premise).
|
|
587
|
+
- **Where-used**, per code (measured read-only, 2026-11-19; SAP's handler
|
|
588
|
+
`CL_RIS_ADT_RES_REFERENCES` refuses no type, and answers `200` with no
|
|
589
|
+
result and "Where-Used List is not supported for &1" where it serves none,
|
|
590
|
+
Code):
|
|
591
|
+
- `PROG/PX`: served on premise and on the cloud —
|
|
592
|
+
`/sap/bc/adt/textelements/programs/{name}` resolves to `PROG/PX` (on
|
|
593
|
+
premise the scope offers `PROG/P` and `PROG/PS`; on the cloud, measured
|
|
594
|
+
for the delivered `RSPARAM`). A function group's text elements resolve
|
|
595
|
+
to `PROG/PX` too (`/sap/bc/adt/textelements/functiongroups/{group}`), so
|
|
596
|
+
they are found through it; `FUGR/PX` is no where-used type.
|
|
597
|
+
- A `PROG/PX` where-used names its `container`, `'program'` or
|
|
598
|
+
`'functionGroup'` (required; no other code takes one), and the address is
|
|
599
|
+
derived from it: `/sap/bc/adt/textelements/programs/{name}` or
|
|
600
|
+
`…/functiongroups/{name}`.
|
|
601
|
+
- `CLAS/OCX`: not served on the on-premise and cloud systems measured
|
|
602
|
+
("Where-Used List is not supported for Text Element: Class."; the answer
|
|
603
|
+
depends on the system's RIS metadata, Code), so no where-used parameter
|
|
604
|
+
takes it.
|
|
605
|
+
- A part's address (`…/source/symbols`) is not served.
|
|
606
|
+
- **On the cloud** the lock answers `MODIFICATION_SUPPORT=NoModification`, and
|
|
607
|
+
the write is accepted and saved all the same (measured).
|
|
608
|
+
- **A function group** (measured on premise, 2026-11-19): its text elements
|
|
609
|
+
are at `/sap/bc/adt/textelements/functiongroups/{group}`, the plain group
|
|
610
|
+
name (`…/sapl{group}` answers 404; the earlier 404 on `sutl` was a group
|
|
611
|
+
that does not exist). The properties document names them `FUGR/PX`; after
|
|
612
|
+
a write the inactive list holds the group (`FUGR/F`) and its text elements
|
|
613
|
+
as `PROG/PX`, named `SAPL{GROUP}`; one activation naming the group's URI
|
|
614
|
+
and the text elements' URI, each with `adtcore:name="{GROUP}"`, activates
|
|
615
|
+
both. No release's `typestructure` lists `FUGR/PX`, so it is no code of
|
|
616
|
+
the tables: the contract reads, locks and writes a function group's text
|
|
617
|
+
elements by kind and name, and types them `PROG/PX` under their own URI —
|
|
618
|
+
`{ name: 'ZFG', type: 'PROG/PX', uri:
|
|
619
|
+
'/sap/bc/adt/textelements/functiongroups/zfg' }`, beside `FUGR/F` or alone,
|
|
620
|
+
activates them (measured on premise; the name may be `{GROUP}` or
|
|
621
|
+
`SAPL{GROUP}`, the URI decides).
|
|
622
|
+
|
|
487
623
|
## A table's technical settings (28.0.0)
|
|
488
624
|
|
|
489
625
|
A database table's technical settings — data class, size category,
|
|
@@ -553,6 +689,103 @@ with no spread to leave the key out. An absent field and an `undefined` one
|
|
|
553
689
|
mean the same. The CHANGELOG lists each type;
|
|
554
690
|
`src/__typechecks__/explicitUndefined.ts` holds the shapes.
|
|
555
691
|
|
|
692
|
+
## Migrating to 30.0.0
|
|
693
|
+
|
|
694
|
+
- **Every union that widens**, found by a compile-time probe of each export
|
|
695
|
+
of 29.0.0 against 30.0.0 (every variant `onprem`, `cloud`, `basis740` and
|
|
696
|
+
`'onprem' | 'cloud'`; every operation). No union of `basis740` widened; its
|
|
697
|
+
where-used parameters tighten as every variant's do (below).
|
|
698
|
+
- The API names: `AdtApiName`, `keyof AdtApiTable<R>`, `AdtApi<V>`, and
|
|
699
|
+
`AdtApiWith<V, Op>` / `AdtApiWithIn<T, Op>` for `Op` among `read`,
|
|
700
|
+
`update`, `lock`, `unlock` — gain `textElements`; and with `AdtApiName`
|
|
701
|
+
every `parent` that names an API: `IAdtCodeFacts<R>['parent']`,
|
|
702
|
+
`IAdtCodelessApiEntry<R>['parent']`, and so `AdtApiEntry<R>['parent']`
|
|
703
|
+
(`IAdtCodedApiEntry<R>`'s codes carry it).
|
|
704
|
+
- The codes: `AdtTypeCode`, `AdtTypeCodeOf<V>`, `AdtCodeOf<V>`,
|
|
705
|
+
`AdtCodeOfIn<Tables, V>`, and `AdtTypeCodeWith<V, Op>`, `AdtCodeWith<V, Op>`,
|
|
706
|
+
`AdtCodeWithIn<Tables, V, Op>` for the same four operations — gain
|
|
707
|
+
`'PROG/PX'` and `'CLAS/OCX'`; `CodesOfMain<'PROG'>` gains `'PROG/PX'` and
|
|
708
|
+
`CodesOfMain<'CLAS'>` gains `'CLAS/OCX'`.
|
|
709
|
+
- The kinds: `AdtObjectKind` gains `'text_elements'`.
|
|
710
|
+
- The utility codes: `AdtUtilityCode` gains both codes, and
|
|
711
|
+
`AdtUtilityCodeWith<V, 'groupActivation'>` gains them through the utility
|
|
712
|
+
tables (`IAdtUtilityCodeTables`); so do `AdtGroupActivationCode<V>` and
|
|
713
|
+
`IAdtGroupActivationReference<V>['type']` — what `activateObjects` and the
|
|
714
|
+
typed `activateObjectsGroup` take.
|
|
715
|
+
- Where-used, per code as measured: `AdtWhereUsedCode<V>`, so
|
|
716
|
+
`IAdtWhereUsedParamsOf<V>['object_type']` and
|
|
717
|
+
`IAdtWhereUsedScopeParamsOf<V>['object_type']`, gain `'PROG/PX'` on
|
|
718
|
+
`onprem`, `cloud` and the default `'onprem' | 'cloud'`, as the untyped
|
|
719
|
+
`IGetWhereUsedParams['object_type']` and
|
|
720
|
+
`IGetWhereUsedScopeParams['object_type']` do. `CLAS/OCX` is in none of
|
|
721
|
+
them: the systems measured serve no where-used for it.
|
|
722
|
+
- **`PROG/PX` names its container in a where-used.** `IGetWhereUsedParams`
|
|
723
|
+
and `IGetWhereUsedScopeParams` (and so `IAdtWhereUsedParamsOf<V>` /
|
|
724
|
+
`IAdtWhereUsedScopeParamsOf<V>`) are type aliases now, not interfaces:
|
|
725
|
+
with `object_type: 'PROG/PX'` they require `container: 'program' |
|
|
726
|
+
'functionGroup'` (`TextElementsWhereUsedContainer`), which decides the
|
|
727
|
+
address (`/sap/bc/adt/textelements/programs/{name}` or
|
|
728
|
+
`…/functiongroups/{name}`), and every other code refuses a `container`.
|
|
729
|
+
What a consumer does:
|
|
730
|
+
- a literal with another code compiles as before;
|
|
731
|
+
- a value whose `object_type` is a variable of the whole union (it may be
|
|
732
|
+
`PROG/PX`) needs the `container` when it is `PROG/PX` — narrow the code
|
|
733
|
+
first, or build the `PROG/PX` case apart;
|
|
734
|
+
- `interface X extends IGetWhereUsedParams` (the default, a union) no
|
|
735
|
+
longer compiles (`TS2312`), nor does a generic
|
|
736
|
+
`interface X<C extends …> extends IGetWhereUsedParams<C>` (the type is
|
|
737
|
+
a conditional over `C`): use a type alias with `&`
|
|
738
|
+
(`type X<C extends …> = IGetWhereUsedParams<C> & { … }`), or extend a
|
|
739
|
+
single code's params (`IGetWhereUsedParams<'PROG/P'>` still does);
|
|
740
|
+
- a builder typed by the union — `(code: AdtWhereUsedCode<V>):
|
|
741
|
+
IAdtWhereUsedParamsOf<V> => ({ object_name, object_type: code })`,
|
|
742
|
+
generic in `V` or for one variant — no longer compiles (`TS2322`): the
|
|
743
|
+
code may be `PROG/PX`, which needs its `container`. Generic in `V`,
|
|
744
|
+
exclude it from the input (`code: Exclude<AdtWhereUsedCode<V>,
|
|
745
|
+
'PROG/PX'>`) — branching on `code === 'PROG/PX'` still fails there
|
|
746
|
+
(`TS2322`), since the code stays generic. For one variant the branch
|
|
747
|
+
compiles too (`code === 'PROG/PX' ? { …, container } : { … }`);
|
|
748
|
+
- a value of another code that carries a `container` of its own — say
|
|
749
|
+
`{ object_type: 'PROG/P', container: string }` built for a consumer's
|
|
750
|
+
own use — no longer passes as where-used parameters, on every variant
|
|
751
|
+
`basis740` included (whose where-used has no `PROG/PX` at all): drop
|
|
752
|
+
the field before passing it (`const { container, ...params } = value`);
|
|
753
|
+
- `object_type` and `container` are `readonly`, like the text elements'
|
|
754
|
+
`objectKind` and `part`: code that assigns them on a built value builds
|
|
755
|
+
a new one instead (`{ ...params, object_type: … }`, the container
|
|
756
|
+
stated with it).
|
|
757
|
+
- **An explicit type argument that no longer fits.** `IGetWhereUsedParams`
|
|
758
|
+
and `IGetWhereUsedScopeParams` constrain `C` to every code but
|
|
759
|
+
`CLAS/OCX`, so `IGetWhereUsedParams<AdtTypeCode>` and
|
|
760
|
+
`IGetWhereUsedScopeParams<AdtTypeCode>` (or with `| AdtGroupOnlyCode`)
|
|
761
|
+
stop compiling with `TS2344`: `AdtTypeCode` now holds `CLAS/OCX`. Drop
|
|
762
|
+
the argument and use the default (every code where-used is asked of),
|
|
763
|
+
use the variant's `IAdtWhereUsedParamsOf<V>` /
|
|
764
|
+
`IAdtWhereUsedScopeParamsOf<V>`, or pass
|
|
765
|
+
`Exclude<AdtTypeCode, 'CLAS/OCX'>`. These two are the only exported
|
|
766
|
+
generics where a type argument valid on 29.0.0 is refused on 30.0.0 —
|
|
767
|
+
found by instantiating every exported generic with its 29.0.0
|
|
768
|
+
constraints under 30.0.0's names (generics whose constraint names a
|
|
769
|
+
sibling parameter, such as `AdtCodeOfIn<Tables, V>`, take the caller's
|
|
770
|
+
own tables and were not instantiated).
|
|
771
|
+
- References and answers: `IObjectReference['type']` (default
|
|
772
|
+
`AdtTypeCode`), `IAdtCodedReference<AdtTypeCode>['type']` and
|
|
773
|
+
`IAdtCodedReference<AdtCodeOf<V>>['type']`, and the known-code branch of
|
|
774
|
+
`IAdtAnsweredObject['type']` gain both codes.
|
|
775
|
+
- The tables themselves: `IAdtTypeTables` (a `textElements` entry on
|
|
776
|
+
`onprem` and `cloud`) and `IAdtUtilityCodeTables` (two codes on each).
|
|
777
|
+
- **What a consumer does.** A map keyed by any of these
|
|
778
|
+
(`{ [C in AdtTypeCode]: … }`, `Record<AdtObjectKind, …>`, …) adds the new
|
|
779
|
+
keys; a `switch` that relies on exhaustiveness over one (a `never` check in
|
|
780
|
+
its `default`) adds the cases — `textElements` / `'text_elements'` for an
|
|
781
|
+
API or a kind, `'PROG/PX'` and `'CLAS/OCX'` for a code, which is a program's
|
|
782
|
+
or a class's text elements, addressed under `/sap/bc/adt/textelements/…`.
|
|
783
|
+
A consumer that maps a code to an address or a reader handles them, or
|
|
784
|
+
refuses them, there. A consumer reading an `IAdtAnsweredObject` gets
|
|
785
|
+
either code as `type`, typed, where 29.0.0 carried it as `unknownType`, the
|
|
786
|
+
text as it came. Nothing that only passes values through changes.
|
|
787
|
+
The main types (`AdtMainType`) are unchanged: `PROG` and `CLAS` were there.
|
|
788
|
+
|
|
556
789
|
## Migrating to 29.0.0
|
|
557
790
|
|
|
558
791
|
- **`translation` is an object.** `ITableSettings.translation` (and so
|
|
@@ -170,6 +170,28 @@ export declare const ADT_TYPES_ONPREM: {
|
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
|
+
readonly textElements: {
|
|
174
|
+
readonly kind: "text_elements";
|
|
175
|
+
readonly collection: "/sap/bc/adt/textelements";
|
|
176
|
+
readonly codes: {
|
|
177
|
+
readonly 'PROG/PX': {
|
|
178
|
+
readonly main: "PROG";
|
|
179
|
+
readonly parent: null;
|
|
180
|
+
readonly nameMaxLength: 30;
|
|
181
|
+
readonly operations: readonly ["read", "update", "lock", "unlock"];
|
|
182
|
+
readonly evidence: "system-description-s4-2025--07-typestructure";
|
|
183
|
+
readonly collection: "/sap/bc/adt/textelements/programs";
|
|
184
|
+
};
|
|
185
|
+
readonly 'CLAS/OCX': {
|
|
186
|
+
readonly main: "CLAS";
|
|
187
|
+
readonly parent: null;
|
|
188
|
+
readonly nameMaxLength: 30;
|
|
189
|
+
readonly operations: readonly ["read", "update", "lock", "unlock"];
|
|
190
|
+
readonly evidence: "system-description-s4-2025--07-typestructure";
|
|
191
|
+
readonly collection: "/sap/bc/adt/textelements/classes";
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
173
195
|
readonly structure: {
|
|
174
196
|
readonly kind: "structure";
|
|
175
197
|
readonly collection: "/sap/bc/adt/ddic/structures";
|
|
@@ -640,6 +662,28 @@ export declare const ADT_TYPES_CLOUD: {
|
|
|
640
662
|
};
|
|
641
663
|
};
|
|
642
664
|
};
|
|
665
|
+
readonly textElements: {
|
|
666
|
+
readonly kind: "text_elements";
|
|
667
|
+
readonly collection: "/sap/bc/adt/textelements";
|
|
668
|
+
readonly codes: {
|
|
669
|
+
readonly 'PROG/PX': {
|
|
670
|
+
readonly main: "PROG";
|
|
671
|
+
readonly parent: null;
|
|
672
|
+
readonly nameMaxLength: 30;
|
|
673
|
+
readonly operations: readonly ["read", "update", "lock", "unlock"];
|
|
674
|
+
readonly evidence: "system-description-abap-cloud--07-typestructure";
|
|
675
|
+
readonly collection: "/sap/bc/adt/textelements/programs";
|
|
676
|
+
};
|
|
677
|
+
readonly 'CLAS/OCX': {
|
|
678
|
+
readonly main: "CLAS";
|
|
679
|
+
readonly parent: null;
|
|
680
|
+
readonly nameMaxLength: 30;
|
|
681
|
+
readonly operations: readonly ["read", "update", "lock", "unlock"];
|
|
682
|
+
readonly evidence: "system-description-abap-cloud--07-typestructure";
|
|
683
|
+
readonly collection: "/sap/bc/adt/textelements/classes";
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
};
|
|
643
687
|
readonly structure: {
|
|
644
688
|
readonly kind: "structure";
|
|
645
689
|
readonly collection: "/sap/bc/adt/ddic/structures";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtTypeTables.d.ts","sourceRoot":"","sources":["../../src/adt/AdtTypeTables.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EACV,UAAU,EAEV,eAAe,EACf,YAAY,EACZ,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;A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AAE,EAAE,CAAC,CAAC,CAAC;AAErC;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,UAAU,IAAI,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;AAE7E;;;GAGG;AACH,MAAM,MAAM,WAAW,CACrB,CAAC,SAAS,UAAU,EACpB,EAAE,SAAS,YAAY,IACrB,aAAa,CAAC,cAAc,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC"}
|
|
@@ -353,6 +353,28 @@ exports.ADT_TYPES_ONPREM = {
|
|
|
353
353
|
},
|
|
354
354
|
},
|
|
355
355
|
},
|
|
356
|
+
textElements: {
|
|
357
|
+
kind: 'text_elements',
|
|
358
|
+
collection: '/sap/bc/adt/textelements',
|
|
359
|
+
codes: {
|
|
360
|
+
'PROG/PX': {
|
|
361
|
+
main: 'PROG',
|
|
362
|
+
parent: null,
|
|
363
|
+
nameMaxLength: 30,
|
|
364
|
+
operations: ['read', 'update', 'lock', 'unlock'],
|
|
365
|
+
evidence: 'system-description-s4-2025--07-typestructure',
|
|
366
|
+
collection: '/sap/bc/adt/textelements/programs',
|
|
367
|
+
},
|
|
368
|
+
'CLAS/OCX': {
|
|
369
|
+
main: 'CLAS',
|
|
370
|
+
parent: null,
|
|
371
|
+
nameMaxLength: 30,
|
|
372
|
+
operations: ['read', 'update', 'lock', 'unlock'],
|
|
373
|
+
evidence: 'system-description-s4-2025--07-typestructure',
|
|
374
|
+
collection: '/sap/bc/adt/textelements/classes',
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
},
|
|
356
378
|
structure: {
|
|
357
379
|
kind: 'structure',
|
|
358
380
|
collection: '/sap/bc/adt/ddic/structures',
|
|
@@ -1343,6 +1365,28 @@ exports.ADT_TYPES_CLOUD = {
|
|
|
1343
1365
|
},
|
|
1344
1366
|
},
|
|
1345
1367
|
},
|
|
1368
|
+
textElements: {
|
|
1369
|
+
kind: 'text_elements',
|
|
1370
|
+
collection: '/sap/bc/adt/textelements',
|
|
1371
|
+
codes: {
|
|
1372
|
+
'PROG/PX': {
|
|
1373
|
+
main: 'PROG',
|
|
1374
|
+
parent: null,
|
|
1375
|
+
nameMaxLength: 30,
|
|
1376
|
+
operations: ['read', 'update', 'lock', 'unlock'],
|
|
1377
|
+
evidence: 'system-description-abap-cloud--07-typestructure',
|
|
1378
|
+
collection: '/sap/bc/adt/textelements/programs',
|
|
1379
|
+
},
|
|
1380
|
+
'CLAS/OCX': {
|
|
1381
|
+
main: 'CLAS',
|
|
1382
|
+
parent: null,
|
|
1383
|
+
nameMaxLength: 30,
|
|
1384
|
+
operations: ['read', 'update', 'lock', 'unlock'],
|
|
1385
|
+
evidence: 'system-description-abap-cloud--07-typestructure',
|
|
1386
|
+
collection: '/sap/bc/adt/textelements/classes',
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1389
|
+
},
|
|
1346
1390
|
structure: {
|
|
1347
1391
|
kind: 'structure',
|
|
1348
1392
|
collection: '/sap/bc/adt/ddic/structures',
|