@mcp-abap-adt/interfaces-adt 29.0.0 → 30.1.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.
@@ -21,8 +21,13 @@ exports.ADT_UTILITY_CODES_BASIS_740 = exports.ADT_UTILITY_CODES_CLOUD = exports.
21
21
  /**
22
22
  * On **S/4HANA 2025**: `VIEW/DV`, a DDIC database view, which group
23
23
  * activation, group deletion and where-used address under
24
- * `/sap/bc/adt/ddic/views` and no API serves; and `DEVC/K` in a group
25
- * activation, which the API table lists no `activate` for — sent, unmeasured.
24
+ * `/sap/bc/adt/ddic/views` and no API serves; `DEVC/K` in a group
25
+ * activation, which the API table lists no `activate` for — sent, unmeasured;
26
+ * and the text elements, `PROG/PX` and `CLAS/OCX`, in a group activation
27
+ * beside their program or class (`textElements` lists no `activate`): a write
28
+ * lands inactive, and one activation naming the object and
29
+ * `/sap/bc/adt/textelements/{programs|classes}/{name}` activates both —
30
+ * measured on premise for a program (`PROG/PX`), not for a class here.
26
31
  */
27
32
  exports.ADT_UTILITY_CODES_ONPREM = {
28
33
  'VIEW/DV': {
@@ -36,8 +41,22 @@ exports.ADT_UTILITY_CODES_ONPREM = {
36
41
  measured: false,
37
42
  evidence: 'system-description-s4-2025--07-typestructure',
38
43
  },
44
+ 'PROG/PX': {
45
+ operations: ['groupActivation'],
46
+ measured: true,
47
+ evidence: 'system-description-s4-2025--07-typestructure',
48
+ },
49
+ 'CLAS/OCX': {
50
+ operations: ['groupActivation'],
51
+ measured: false,
52
+ evidence: 'system-description-s4-2025--07-typestructure',
53
+ },
39
54
  };
40
- /** On **ABAP cloud**: the same as {@link ADT_UTILITY_CODES_ONPREM}. */
55
+ /**
56
+ * On **ABAP cloud**: the same as {@link ADT_UTILITY_CODES_ONPREM}; the text
57
+ * elements' activation measured here for a class (`CLAS/OCX`), not for a
58
+ * program.
59
+ */
41
60
  exports.ADT_UTILITY_CODES_CLOUD = {
42
61
  'VIEW/DV': {
43
62
  operations: ['groupActivation', 'groupDeletion', 'whereUsed'],
@@ -50,6 +69,16 @@ exports.ADT_UTILITY_CODES_CLOUD = {
50
69
  measured: false,
51
70
  evidence: 'system-description-abap-cloud--07-typestructure',
52
71
  },
72
+ 'PROG/PX': {
73
+ operations: ['groupActivation'],
74
+ measured: false,
75
+ evidence: 'system-description-abap-cloud--07-typestructure',
76
+ },
77
+ 'CLAS/OCX': {
78
+ operations: ['groupActivation'],
79
+ measured: true,
80
+ evidence: 'system-description-abap-cloud--07-typestructure',
81
+ },
53
82
  };
54
83
  /**
55
84
  * On **SAP_BASIS 7.40 SP04**: `VIEW/DV` as on the newer releases, and
@@ -4,6 +4,7 @@
4
4
  import type { AdtSearchType, AdtSearchTypeOf } from './AdtSearchTypes';
5
5
  import type { AdtCodeOf, AdtCodeWith, AdtModernVariant, AdtParentedTypeCode, AdtTypeCode, AdtVariant } from './AdtTypeTables';
6
6
  import type { AdtGroupOnlyCode, AdtUtilityCodeWith } from './AdtUtilityCodes';
7
+ import type { TextElementsWhereUsedContainer } from './IAdtTextElements';
7
8
  /**
8
9
  * An object as an answer named it: its type code when the tables know it, the
9
10
  * code as it came when they do not.
@@ -119,18 +120,79 @@ export interface IGetDiscoveryParams {
119
120
  timeout?: number;
120
121
  }
121
122
  /**
122
- * Where-used scope parameters (Step 1: get available object types)
123
+ * The text elements' codes where-used does not serve, per variant — measured
124
+ * 2026-11-19, read-only. SAP's handler (`CL_RIS_ADT_RES_REFERENCES`) resolves
125
+ * any URI and refuses no type: for a type the RIS metadata names no
126
+ * referencing types for, it answers `200` with no result and "Where-Used List
127
+ * is not supported for &1" (Code). So:
128
+ *
129
+ * - `CLAS/OCX`: not served on the on-premise and cloud systems measured —
130
+ * "Where-Used List is not supported for Text Element: Class." The answer
131
+ * depends on the system's RIS metadata (Code), so another system could
132
+ * differ;
133
+ * - `PROG/PX`: served on premise and on the cloud —
134
+ * `/sap/bc/adt/textelements/programs/{name}` resolves to `PROG/PX` (on
135
+ * premise the scope offers `PROG/P` and `PROG/PS`; on the cloud, for the
136
+ * delivered `RSPARAM` and `%SCPRCPROF`, 200 with `globalType="PROG/PX"`);
137
+ * a function group's text elements resolve to `PROG/PX` too (measured on
138
+ * premise), so they are found through it.
123
139
  */
124
- export interface IGetWhereUsedScopeParams<C extends AdtTypeCode | AdtGroupOnlyCode = AdtTypeCode> {
125
- object_name: string;
126
- object_type: C;
140
+ interface ITextElementsWhereUsedRefused {
141
+ readonly onprem: 'CLAS/OCX';
142
+ readonly cloud: 'CLAS/OCX';
143
+ readonly basis740: never;
127
144
  }
145
+ /** The codes of {@link ITextElementsWhereUsedRefused} on any variant of `V`. */
146
+ type TextElementsWhereUsedRefused<V extends AdtVariant> = {
147
+ [W in V]: ITextElementsWhereUsedRefused[W];
148
+ }[V];
149
+ /**
150
+ * The codes an untyped where-used parameter may name: every code but
151
+ * `CLAS/OCX`, which the on-premise and cloud systems measured did not serve
152
+ * (the answer depends on the system's RIS metadata; see
153
+ * {@link ITextElementsWhereUsedRefused}).
154
+ */
155
+ type WhereUsedTypeCode = Exclude<AdtTypeCode, 'CLAS/OCX'>;
128
156
  /**
129
- * Where-used parameters (Step 2: execute search)
157
+ * Which object a `PROG/PX` where-used names, and so its address: `PROG/PX` is
158
+ * the text elements of a program (`/sap/bc/adt/textelements/programs/{name}`)
159
+ * and of a function group (`/sap/bc/adt/textelements/functiongroups/{name}`) —
160
+ * both resolve to `PROG/PX` and both are served (measured on premise; a
161
+ * program's on the cloud too). The table keeps one collection per code, so
162
+ * the parameter says which.
163
+ *
164
+ * `object_type` and `container` are `readonly`: they are the discriminant
165
+ * and the address it decides, and a built value is not re-coded.
166
+ *
167
+ * Required with `PROG/PX`, refused with any other code: a one-member union
168
+ * per code would split past TypeScript's 25 combinations, so it is one
169
+ * object over all of `C` joined with "is `PROG/PX` with a container, or
170
+ * another code without one", as {@link IAdtCodedReference} is.
130
171
  */
131
- export interface IGetWhereUsedParams<C extends AdtTypeCode | AdtGroupOnlyCode = AdtTypeCode> {
172
+ type WhereUsedContainer<C> = [Extract<C, 'PROG/PX'>] extends [never] ? {
173
+ readonly container?: never;
174
+ } : {
175
+ readonly object_type: 'PROG/PX';
176
+ readonly container: TextElementsWhereUsedContainer;
177
+ } | {
178
+ readonly object_type: Exclude<C, 'PROG/PX'>;
179
+ readonly container?: never;
180
+ };
181
+ /**
182
+ * Where-used scope parameters (Step 1: get available object types).
183
+ * `PROG/PX` names its `container` (required); no other code takes one.
184
+ */
185
+ export type IGetWhereUsedScopeParams<C extends WhereUsedTypeCode | AdtGroupOnlyCode = WhereUsedTypeCode> = {
132
186
  object_name: string;
133
- object_type: C;
187
+ readonly object_type: C;
188
+ } & WhereUsedContainer<C>;
189
+ /**
190
+ * Where-used parameters (Step 2: execute search). `PROG/PX` names its
191
+ * `container` (required); no other code takes one.
192
+ */
193
+ export type IGetWhereUsedParams<C extends WhereUsedTypeCode | AdtGroupOnlyCode = WhereUsedTypeCode> = {
194
+ object_name: string;
195
+ readonly object_type: C;
134
196
  /**
135
197
  * Optional: scope XML from getWhereUsedScope() with user-modified selections.
136
198
  * When omitted, the search runs unscoped (SAP's default scope) — getWhereUsed()
@@ -138,7 +200,7 @@ export interface IGetWhereUsedParams<C extends AdtTypeCode | AdtGroupOnlyCode =
138
200
  * /usageReferences/scope sub-resource.
139
201
  */
140
202
  scopeXml?: string;
141
- }
203
+ } & WhereUsedContainer<C>;
142
204
  /**
143
205
  * Virtual folders preselection entry
144
206
  */
@@ -172,11 +234,13 @@ export type AdtGroupDeletionCheckCode<V extends AdtVariant = AdtModernVariant> =
172
234
  export type AdtGroupDeletionCode<V extends AdtVariant = AdtModernVariant> = Exclude<AdtCodeWith<V, 'delete'>, 'MSAG/NN'> | AdtUtilityCodeWith<V, 'groupDeletion'>;
173
235
  /**
174
236
  * The codes where-used is asked of: every code of `V` but a function include,
175
- * whose group the where-used request has no field for, and a message class
176
- * message, which has no address of its own; and the utility codes listing
177
- * `whereUsed` (`VIEW/DV`).
237
+ * whose group the where-used request has no field for, a message class
238
+ * message, which has no address of its own, and the text elements' codes
239
+ * the systems measured did not serve there
240
+ * ({@link ITextElementsWhereUsedRefused}: `CLAS/OCX`); and the utility codes
241
+ * listing `whereUsed` (`VIEW/DV`).
178
242
  */
179
- export type AdtWhereUsedCode<V extends AdtVariant = AdtModernVariant> = Exclude<AdtCodeOf<V>, 'FUGR/I' | 'MSAG/NN'> | AdtUtilityCodeWith<V, 'whereUsed'>;
243
+ export type AdtWhereUsedCode<V extends AdtVariant = AdtModernVariant> = Exclude<AdtCodeOf<V>, 'FUGR/I' | 'MSAG/NN' | TextElementsWhereUsedRefused<V>> | AdtUtilityCodeWith<V, 'whereUsed'>;
180
244
  /**
181
245
  * A reference to one of the codes `C`, with `parentName` required for each
182
246
  * code that has a parent API (`FUGR/FF`, `FUGR/I`) and optional for the rest.
@@ -205,4 +269,5 @@ export type IAdtGroupDeletionReference<V extends AdtVariant = AdtModernVariant>
205
269
  export type IAdtWhereUsedParamsOf<V extends AdtVariant = AdtModernVariant> = IGetWhereUsedParams<AdtWhereUsedCode<V>>;
206
270
  /** What the where-used scope is given on variant `V`. */
207
271
  export type IAdtWhereUsedScopeParamsOf<V extends AdtVariant = AdtModernVariant> = IGetWhereUsedScopeParams<AdtWhereUsedCode<V>>;
272
+ export {};
208
273
  //# sourceMappingURL=IAdtShared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtShared.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtShared.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EACV,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,UAAU,EACX,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE9E;;;;;;;;;;GA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AAC,SAAS,UAAU,GAAG,gBAAgB,IACrC,kBAAkB,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;AAElD,sEAAsE;AACtE,MAAM,MAAM,+BAA+B,CACzC,CAAC,SAAS,UAAU,GAAG,gBAAgB,IACrC,kBAAkB,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC;AAErD,sEAAsE;AACtE,MAAM,MAAM,0BAA0B,CACpC,CAAC,SAAS,UAAU,GAAG,gBAAgB,IACrC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhD,+CAA+C;AAC/C,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,UAAU,GAAG,gBAAgB,IACvE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3C,yDAAyD;AACzD,MAAM,MAAM,0BAA0B,CACpC,CAAC,SAAS,UAAU,GAAG,gBAAgB,IACrC,wBAAwB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -18,12 +18,16 @@
18
18
  * delete and no activation of their own here.
19
19
  *
20
20
  * **An update replaces every setting: read, change, write back.** SAP writes
21
- * every field of DD09L from the document it is given (`CL_TABT_WB_PERSIST`,
22
- * `DDIF_TABT_PUT`); a field the document leaves out is reset to its initial
23
- * value. So {@link ITableSettings} requires every field the document carries.
21
+ * every field of DD09L from the document it is given
22
+ * (`CL_TABT_WB_PERSIST->move_adt_to_ddv`, then `DDIF_TABT_PUT`; Code on both
23
+ * systems, measured on both, 2026-11-19); a field the document leaves out is
24
+ * reset to its initial value. So {@link ITableSettings} requires every field
25
+ * the document carries, and {@link IAdtTableSettingsPatchable} reads,
26
+ * overlays and writes the whole document.
24
27
  *
25
28
  * Types and constants only.
26
29
  */
30
+ import type { AdtModernVariant } from './AdtTypeTables';
27
31
  import type { IAdtHeaders } from './IAdtContentTypes';
28
32
  import type { IAdtUpdateOptions, IAnalyse } from './IAdtObject';
29
33
  import type { IAdtError, IAdtResponse, IResultStrategy } from './IAdtResponse';
@@ -84,7 +88,11 @@ export interface ITableBuffering {
84
88
  readonly type: string;
85
89
  /**
86
90
  * The number of key fields of a generic area (`SCHFELDANZ`); a count, so a
87
- * number. SAP writes it only with type `G`; a read answers `0` otherwise.
91
+ * number. SAP writes it only with type `G`
92
+ * (`CL_TABT_WB_PERSIST->move_adt_to_ddv`: `IF e_dd09l_wa-pufferung = 'G'.
93
+ * e_dd09l_wa-schfeldanz = …`, Code on both systems); with any other type the
94
+ * field is not written, so it stays initial (`0`) — a write that changes
95
+ * the type away from `G` drops it.
88
96
  */
89
97
  readonly areaKeyFields: number;
90
98
  }
@@ -93,6 +101,12 @@ export interface ITableBuffering {
93
101
  * `SDDIC_ADT_TTAB` writes them. Read on premise and on the cloud
94
102
  * (2026-11-19): `ts:value=""`, `ts:isVisible="false"`, `ts:isEditable="false"`,
95
103
  * `ts:granularity="2"`.
104
+ *
105
+ * **SAP stores `value` alone.** `move_adt_to_ddv` writes `uebersetz` from
106
+ * `translation-value` and nothing from the other three (Code, both systems);
107
+ * a read computes them (`move_ddv_to_adt`, `get_translation_granularity`).
108
+ * A write still sends all four, as read: a present element without one is
109
+ * refused (see {@link ITableSettings.translation}).
96
110
  */
97
111
  export interface ITableTranslation {
98
112
  /** `ts:value`: `UEBERSETZ`; `''` on the systems read. */
@@ -118,10 +132,7 @@ export interface ITableTranslation {
118
132
  * required: a caller reads the settings, changes what it means to change, and
119
133
  * writes the whole set back. This library chooses no value for the caller.
120
134
  *
121
- * Not here: `isWritableByAMDP`, returned by the cloud and not written by this
122
- * contract (unmeasured; the on-premise transformation does not define it) —
123
- * it is on {@link ITableSettingsRead}; and `supportsLoggingAssessment`, which
124
- * SAP computes on every read.
135
+ * Not here: `supportsLoggingAssessment`, which SAP computes on every read.
125
136
  */
126
137
  export interface ITableSettings {
127
138
  /**
@@ -139,31 +150,70 @@ export interface ITableSettings {
139
150
  /** `LOAD_UNIT`; `''` on the systems read. */
140
151
  readonly loadUnit: string;
141
152
  /**
142
- * `ts:translation`: its four attributes, every one of them required on a
143
- * write (SAP refuses a PUT without `ts:isVisible`, 400 `00/001`, measured on
144
- * premise and on the cloud). Write them back as read.
153
+ * `ts:translation`: its four attributes, written back as read.
154
+ *
155
+ * SAP's transformation reads the element inside a `tt:cond`, its four
156
+ * attributes required there (Code: `SDDIC_ADT_TTAB`, on premise and on the
157
+ * cloud). Measured on both (2026-11-19): a PUT with the element absent is
158
+ * accepted (200), one with all four attributes is accepted, and one with
159
+ * the element present but an attribute missing is refused, 400 `00/001`
160
+ * with the transformation's words and an `XML_PATH` property
161
+ * (`CL_ADT_REST_ST_HANDLER->deserialize`, Code). The contract keeps the
162
+ * element required, so a write always carries the four attributes read.
145
163
  */
146
164
  readonly translation: ITableTranslation;
147
165
  /** `PROTOKOLL`: log data changes. */
148
166
  readonly loggingEnabled: boolean;
149
167
  }
150
168
  /**
151
- * The settings as a read answers them: every field a write carries, and what
152
- * only a read returns. The shape a reading strategy that parses the document
153
- * answers; the shipped default answers the document as it arrived.
169
+ * What each system kind adds to the settings a write carries: the cloud's
170
+ * `ts:isWritableByAMDP` (DD09L `ALLOWED_FOR_AMDP_WRITE`).
154
171
  *
155
- * Writing it back takes {@link ITableSettings}: drop what only a read returns
156
- * first (`const { isWritableByAMDP, ...settings } = read`), since the write
157
- * refuses it.
172
+ * - **cloud: required.** The cloud's `CL_TABT_WB_PERSIST->move_adt_to_ddv`
173
+ * writes `allowed_for_amdp_write` from the document, and its transformation
174
+ * reads the element inside a `tt:cond` (Code, cloud). Measured on the cloud
175
+ * (2026-11-19): written `true`, read back `true`; a later PUT without it,
176
+ * read back `false`. A write without it would reset it, so it does not
177
+ * compile.
178
+ * - **onprem: refused.** Neither the on-premise transformation nor its
179
+ * `move_adt_to_ddv` maps it (Code, on premise), and a read answers none.
180
+ */
181
+ export interface ITableSettingsByVariant {
182
+ readonly onprem: {
183
+ readonly isWritableByAMDP?: never;
184
+ };
185
+ readonly cloud: {
186
+ readonly isWritableByAMDP: boolean;
187
+ };
188
+ }
189
+ /**
190
+ * Every setting a write carries on variant `V`: {@link ITableSettings} and
191
+ * what the system kind adds ({@link ITableSettingsByVariant}). For a union of
192
+ * variants — the default — a value of either kind.
193
+ */
194
+ export type ITableSettingsOf<V extends AdtModernVariant = AdtModernVariant> = {
195
+ [W in V]: ITableSettings & ITableSettingsByVariant[W];
196
+ }[V];
197
+ /**
198
+ * The settings as a read answers them, on any system: every field a write
199
+ * carries, and the cloud's `isWritableByAMDP` where the read has it. The shape
200
+ * a reading strategy that parses the document answers; the shipped default
201
+ * answers the document as it arrived. A write takes a variant's own shape
202
+ * ({@link ITableSettingsReadOf}), so a cloud read written back carries the
203
+ * flag.
158
204
  */
159
205
  export interface ITableSettingsRead extends ITableSettings {
160
206
  /**
161
- * The cloud's `ts:isWritableByAMDP`. Returned by cloud; not written by this
162
- * contract (unmeasured). Absent on premise, whose transformation does not
163
- * define it.
207
+ * The cloud's `ts:isWritableByAMDP`: answered by a cloud read (Measured),
208
+ * absent on premise, whose transformation does not define it (Code).
164
209
  */
165
210
  readonly isWritableByAMDP?: boolean | undefined;
166
211
  }
212
+ /**
213
+ * The settings as a read answers them on variant `V` — the shape a write of
214
+ * `V` takes back as it is ({@link ITableSettingsOf}).
215
+ */
216
+ export type ITableSettingsReadOf<V extends AdtModernVariant = AdtModernVariant> = ITableSettingsOf<V>;
167
217
  /**
168
218
  * The settings of one table, named by the table: the identity every member
169
219
  * takes. `lock`, `unlock` and `readMetadata` read `tableName`;
@@ -178,20 +228,17 @@ export interface ITableSettingsConfig {
178
228
  *
179
229
  * `description` is required because SAP requires it: a write without
180
230
  * `adtcore:description` is refused, 400 "The description is missing"
181
- * (SWB_TOOL 019, measured on premise only; the cloud write was sent with a
182
- * description and never without one). It is the table's
231
+ * (SWB_TOOL 019, measured on premise and on the cloud). It is the table's
183
232
  * short text, which a read of the settings answers as `adtcore:description`;
184
233
  * SAP does not change it through this resource.
185
234
  */
186
- export interface ITableSettingsUpdateConfig extends ITableSettingsConfig {
235
+ export interface ITableSettingsUpdateConfig<V extends AdtModernVariant = AdtModernVariant> extends ITableSettingsConfig {
187
236
  description: string;
188
237
  /**
189
- * Every setting the write carries. `isWritableByAMDP` is refused, for a
190
- * variable as well as a literal: this contract does not write it.
238
+ * Every setting the write carries on `V`: on the cloud `isWritableByAMDP`
239
+ * among them (required), on premise without it (refused).
191
240
  */
192
- settings: ITableSettings & {
193
- readonly isWritableByAMDP?: never;
194
- };
241
+ settings: ITableSettingsOf<V>;
195
242
  }
196
243
  /**
197
244
  * The options of a settings write: those of every write, without a `source`
@@ -223,7 +270,7 @@ export type IAdtTableSettingsUpdateOptions<E extends IAdtError = IAdtError> = Om
223
270
  * unlocking after it on every path, and activating the table are the
224
271
  * caller's calls, in that order.
225
272
  */
226
- export interface IAdtTableSettingsUpdatable<TMetadataUpdated> {
273
+ export interface IAdtTableSettingsUpdatable<TMetadataUpdated, V extends AdtModernVariant = AdtModernVariant> {
227
274
  /**
228
275
  * Write the settings: the document built from `config`, under the lock the
229
276
  * caller passes as `options.lockHandle`.
@@ -231,20 +278,173 @@ export interface IAdtTableSettingsUpdatable<TMetadataUpdated> {
231
278
  * @returns whatever this implementation's reading makes of the answer —
232
279
  * SAP answers 200 with the inactive document
233
280
  */
234
- updateMetadata<E extends IAdtError>(config: ITableSettingsUpdateConfig, options: {
281
+ updateMetadata<E extends IAdtError>(config: ITableSettingsUpdateConfig<V>, options: {
235
282
  headers: IAdtHeaders;
236
283
  } & IAdtTableSettingsUpdateOptions<E> & {
237
284
  analyse: IAnalyse<E>;
238
285
  }): Promise<IAdtResponse<TMetadataUpdated, E>>;
239
- updateMetadata(config: ITableSettingsUpdateConfig, options: {
286
+ updateMetadata(config: ITableSettingsUpdateConfig<V>, options: {
240
287
  headers: IAdtHeaders;
241
288
  } & IAdtTableSettingsUpdateOptions): Promise<IAdtResponse<TMetadataUpdated>>;
242
289
  }
290
+ /** `T` with at least one of its keys present. */
291
+ type AtLeastOne<T> = {
292
+ [K in keyof T]-?: Required<Pick<T, K>> & Partial<Omit<T, K>>;
293
+ }[keyof T];
294
+ /**
295
+ * A buffering change: at least one field. SAP writes `SCHFELDANZ` only when
296
+ * the **resulting** type is `G` (`move_adt_to_ddv`: `IF e_dd09l_wa-pufferung =
297
+ * 'G'.`, Code on both systems): with any other resulting type the count is not
298
+ * kept. So `areaKeyFields` goes only with type `G`, or with no type (the type
299
+ * read is kept); `{ type: 'P', areaKeyFields: 1 }` and a `string` type that is
300
+ * not the literal `'G'` with it do not compile. With the type kept, the
301
+ * resulting type is the one read: `patchMetadata` refuses an `areaKeyFields`
302
+ * change whose resulting type (the read merged with the changes) is not `G`,
303
+ * before any PUT — a check on what SAP answered, not on the caller's types.
304
+ */
305
+ export type ITableBufferingChange = AtLeastOne<{
306
+ readonly allowed?: string;
307
+ readonly type: 'G';
308
+ readonly areaKeyFields?: number;
309
+ }> | AtLeastOne<{
310
+ readonly allowed?: string;
311
+ readonly type?: never;
312
+ readonly areaKeyFields?: number;
313
+ }> | AtLeastOne<{
314
+ readonly allowed?: string;
315
+ readonly type: string;
316
+ readonly areaKeyFields?: never;
317
+ }>;
318
+ /**
319
+ * A translation change: its `value` alone, the one attribute SAP stores
320
+ * (`move_adt_to_ddv`: `e_dd09l_wa-uebersetz = …-translation-value.`, Code on
321
+ * both systems). `isVisible`, `isEditable` and `granularity` are SAP's on a
322
+ * read; a patch writes them back as read.
323
+ */
324
+ export interface ITableTranslationChange {
325
+ readonly value: string;
326
+ }
327
+ /** The settings a patch may change on system kind `W`. */
328
+ type TableSettingsChangeFields<W extends AdtModernVariant> = {
329
+ readonly dataClassCategory?: string;
330
+ readonly sizeCategory?: string;
331
+ readonly buffering?: ITableBufferingChange;
332
+ readonly storageType?: string;
333
+ readonly sharingType?: string;
334
+ readonly loadUnit?: string;
335
+ readonly translation?: ITableTranslationChange;
336
+ readonly loggingEnabled?: boolean;
337
+ } & (W extends 'cloud' ? {
338
+ readonly isWritableByAMDP?: boolean;
339
+ } : {
340
+ readonly isWritableByAMDP?: never;
341
+ });
342
+ /**
343
+ * What a patch changes on variant `V`: at least one setting — `{}`,
344
+ * `{ buffering: {} }` and `{ translation: {} }` do not compile. Every setting
345
+ * not named keeps the value read, with one exception SAP makes: when the
346
+ * resulting buffering type is not `G`, SAP clears the area-key count (see
347
+ * {@link IAdtTableSettingsPatchable}). The fields are optional without
348
+ * `| undefined`: under `exactOptionalPropertyTypes` an explicit `undefined`
349
+ * does not compile; an implementation treats a field set to `undefined` by a
350
+ * caller without that flag as not named (the value read is kept).
351
+ * `isWritableByAMDP` on the cloud only.
352
+ */
353
+ export type ITableSettingsChangesOf<V extends AdtModernVariant = AdtModernVariant> = {
354
+ [W in V]: AtLeastOne<TableSettingsChangeFields<W>>;
355
+ }[V];
356
+ /** {@link ITableSettingsChangesOf} for any newer system. */
357
+ export type ITableSettingsChanges = ITableSettingsChangesOf;
358
+ /**
359
+ * What a patch takes: the table, and the settings to change. The description
360
+ * is the one read; every setting not named keeps the value read, except the
361
+ * area-key count when the resulting buffering type is not `G` (see
362
+ * {@link IAdtTableSettingsPatchable}).
363
+ */
364
+ export interface ITableSettingsPatchConfig<V extends AdtModernVariant = AdtModernVariant> extends ITableSettingsConfig {
365
+ changes: ITableSettingsChangesOf<V>;
366
+ }
367
+ /**
368
+ * The settings document's media type, without a charset — the v2 a read is
369
+ * answered with (a v1 `Accept` was answered `406`, measured on both).
370
+ */
371
+ export declare const TABLE_SETTINGS_MEDIA_TYPE = "application/vnd.sap.adt.table.settings.v2+xml";
372
+ /**
373
+ * The media type a patch reads and writes with: exactly
374
+ * {@link TABLE_SETTINGS_MEDIA_TYPE}, a literal, so a value with a charset does
375
+ * not compile. It is the read's `Accept`, and the guarded PUT's `Accept` and
376
+ * `Content-Type` — sent without a charset (with `; charset=utf-8` beside a
377
+ * fresh `If-Match` SAP answered `412` `SADT_RESOURCE/043`; without it `200`;
378
+ * measured on both).
379
+ */
380
+ export interface IAdtTableSettingsPatchHeaders {
381
+ readonly accept: typeof TABLE_SETTINGS_MEDIA_TYPE;
382
+ readonly contentType?: never;
383
+ }
384
+ /**
385
+ * The options of a patch: those of a write, with the lock handle required and
386
+ * neither a `source` nor an `ifMatch` — the patch sends the ETag it read.
387
+ */
388
+ export type IAdtTableSettingsPatchOptions<E extends IAdtError = IAdtError> = Omit<IAdtUpdateOptions<E>, 'source' | 'lockHandle' | 'ifMatch'> & {
389
+ source?: never;
390
+ ifMatch?: never;
391
+ lockHandle: string;
392
+ };
393
+ /**
394
+ * The settings can be patched: the named settings changed, every other one
395
+ * kept as it is — with one exception: when the resulting buffering type is
396
+ * not `G` (a type-only change from `G` to `P`, say), SAP clears the area-key
397
+ * count, since it writes `SCHFELDANZ` only for `G` (`move_adt_to_ddv`, Code
398
+ * on both systems). The patch does not block that change: the count means
399
+ * nothing for the other types.
400
+ *
401
+ * **Read, overlay, write the whole document.** SAP resets every setting a
402
+ * write leaves out (`CL_TABT_WB_PERSIST->move_adt_to_ddv`, Code on both
403
+ * systems; measured on both, 2026-11-19), so a patch cannot send the changes
404
+ * alone. Under the caller's lock it reads the settings' working area
405
+ * (`version: 'inactive'`) with its ETag, overlays `changes` on the settings
406
+ * read (`buffering` field by field, `translation` by its `value`), and writes
407
+ * the whole document back — the description read, on the cloud
408
+ * `isWritableByAMDP` as read unless changed — guarded by `If-Match` with the
409
+ * ETag read, its `Content-Type` without a charset
410
+ * ({@link IAdtTableSettingsPatchHeaders}). A read with no ETag is a refusal
411
+ * and nothing is written; a refused read or write is answered as SAP
412
+ * answered it; nothing is retried. Whether SAP refuses a stale ETag here is
413
+ * not measured.
414
+ *
415
+ * Two requests in one member: decision 51.
416
+ *
417
+ * **What the types cannot see.** The per-kind rules are TypeScript's
418
+ * structural checks: a caller who widens the variant (a cloud writer used as
419
+ * `IAdtTableSettingsUpdatable<T>`, a generic that forwards the default), or
420
+ * carries extra keys through a variable, a union or a spread, passes values
421
+ * the rules would refuse as literals. A shipped implementation writes only
422
+ * what SAP persists, and `patchMetadata` is the safe path: it writes back
423
+ * what it read.
424
+ */
425
+ export interface IAdtTableSettingsPatchable<TMetadataUpdated, V extends AdtModernVariant = AdtModernVariant> {
426
+ /**
427
+ * Patch the settings under the caller's lock (`options.lockHandle`).
428
+ *
429
+ * @returns whatever this implementation's reading makes of the write's
430
+ * answer — SAP answers 200 with the inactive document — or the
431
+ * read's failure, when the read failed
432
+ */
433
+ patchMetadata<E extends IAdtError>(config: ITableSettingsPatchConfig<V>, options: {
434
+ headers: IAdtTableSettingsPatchHeaders;
435
+ } & IAdtTableSettingsPatchOptions<E> & {
436
+ analyse: IAnalyse<E>;
437
+ }): Promise<IAdtResponse<TMetadataUpdated, E>>;
438
+ patchMetadata(config: ITableSettingsPatchConfig<V>, options: {
439
+ headers: IAdtTableSettingsPatchHeaders;
440
+ } & IAdtTableSettingsPatchOptions): Promise<IAdtResponse<TMetadataUpdated>>;
441
+ }
243
442
  /** One strategy per member of a table settings implementation. See `IClassResults`. */
244
443
  export interface ITableSettingsResults {
245
444
  /** The settings document a read answers. */
246
445
  readonly metadata: IResultStrategy<unknown>;
247
- /** What a write answers: the settings document, inactive. */
446
+ /** What a write, or a patch's write, answers: the settings document, inactive. */
248
447
  readonly metadataUpdated: IResultStrategy<unknown>;
249
448
  }
449
+ export {};
250
450
  //# sourceMappingURL=IAdtTableSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtTableSettings.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTableSettings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE/E;;;;;;;;GAQG;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AG;QACnC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;KACtB,GACF,OAAO,CAAC,YAAY,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9C,aAAa,CACX,MAAM,EAAE,yBAAyB,CAAC,CAAC,CAAC,EACpC,OAAO,EAAE;QACP,OAAO,EAAE,6BAA6B,CAAC;KACxC,GAAG,6BAA6B,GAChC,OAAO,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC;CAC5C;AAED,uFAAuF;AACvF,MAAM,WAAW,qBAAqB;IACpC,4CAA4C;IAC5C,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAC5C,kFAAkF;IAClF,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CACpD"}
@@ -19,14 +19,17 @@
19
19
  * delete and no activation of their own here.
20
20
  *
21
21
  * **An update replaces every setting: read, change, write back.** SAP writes
22
- * every field of DD09L from the document it is given (`CL_TABT_WB_PERSIST`,
23
- * `DDIF_TABT_PUT`); a field the document leaves out is reset to its initial
24
- * value. So {@link ITableSettings} requires every field the document carries.
22
+ * every field of DD09L from the document it is given
23
+ * (`CL_TABT_WB_PERSIST->move_adt_to_ddv`, then `DDIF_TABT_PUT`; Code on both
24
+ * systems, measured on both, 2026-11-19); a field the document leaves out is
25
+ * reset to its initial value. So {@link ITableSettings} requires every field
26
+ * the document carries, and {@link IAdtTableSettingsPatchable} reads,
27
+ * overlays and writes the whole document.
25
28
  *
26
29
  * Types and constants only.
27
30
  */
28
31
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.TABLE_BUFFERING_TYPES = exports.TABLE_BUFFERING_ALLOWED = exports.TABLE_SIZE_CATEGORIES = exports.TABLE_DATA_CLASSES = void 0;
32
+ exports.TABLE_SETTINGS_MEDIA_TYPE = exports.TABLE_BUFFERING_TYPES = exports.TABLE_BUFFERING_ALLOWED = exports.TABLE_SIZE_CATEGORIES = exports.TABLE_DATA_CLASSES = void 0;
30
33
  /**
31
34
  * The data classes (`TABART`) the value help lists on S/4HANA 2025
32
35
  * (`…/settings/dataClass/values`, measured 2026-11-19): master data,
@@ -83,3 +86,8 @@ exports.TABLE_BUFFERING_ALLOWED = ['N', 'X', 'A'];
83
86
  * For discovery, not a limit: {@link ITableBuffering.type} is a `string`.
84
87
  */
85
88
  exports.TABLE_BUFFERING_TYPES = ['P', 'G', 'X'];
89
+ /**
90
+ * The settings document's media type, without a charset — the v2 a read is
91
+ * answered with (a v1 `Accept` was answered `406`, measured on both).
92
+ */
93
+ exports.TABLE_SETTINGS_MEDIA_TYPE = 'application/vnd.sap.adt.table.settings.v2+xml';