@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.
- package/CHANGELOG.md +295 -0
- package/README.md +309 -21
- 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/IAdtTableSettings.d.ts +232 -32
- package/dist/adt/IAdtTableSettings.d.ts.map +1 -1
- package/dist/adt/IAdtTableSettings.js +12 -4
- 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 +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,9 @@ 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
|
|
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".
|
|
16
|
+
- Since 30.1.0 a settings write is typed by the system kind: on the cloud it requires `isWritableByAMDP` (a cloud write without it reset it to `false`, measured; 30.0.0 refused it on a write), on premise it refuses it (nothing maps it there, Code). `IAdtTableSettingsPatchable.patchMetadata` reads, overlays `ITableSettingsChangesOf<V>` and writes the whole document with `If-Match` (decision 51). What it breaks is in the CHANGELOG. See "A table's technical settings".
|
|
17
|
+
- Since 29.0.0 `ITableSettings.translation` is an `ITableTranslation`, the `ts:translation` element's four attributes, where 28.0.0 had a string: a `ts:translation` element written with an attribute missing is refused (400 `00/001`), and an absent element is accepted (both measured on both systems). See "Migrating to 29.0.0".
|
|
16
18
|
- 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
19
|
- 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".
|
|
18
20
|
- Since 25.2.0 `update` and `updateMetadata` take `IAdtUpdateOptions`: `IAdtOperationOptions` with `ifMatch`, the ETag a read answered, sent as `If-Match` so the system refuses a write over a changed document (`412`). Additions only.
|
|
@@ -484,6 +486,141 @@ error or a result built for 27.2.0 still conforms.
|
|
|
484
486
|
`src/__typechecks__/sessionError.ts` and `src/__typechecks__/sessionLost.ts`
|
|
485
487
|
hold these shapes.
|
|
486
488
|
|
|
489
|
+
## Text elements (30.0.0)
|
|
490
|
+
|
|
491
|
+
The text elements of a program, a class or a function group — text symbols,
|
|
492
|
+
selection texts, list and column headings — are a resource of their own,
|
|
493
|
+
`/sap/bc/adt/textelements/{programs|classes|functiongroups}/{name}`, one
|
|
494
|
+
sub-resource per part (`…/source/symbols`, `…/source/selections`,
|
|
495
|
+
`…/source/headings`), each with its media type
|
|
496
|
+
`application/vnd.sap.adt.textelements.{part}.v1` (with that `Accept` SAP
|
|
497
|
+
answers the part's text; with `*/*`, and with `{part media type}, text/plain,
|
|
498
|
+
*/*`, it answered an HTML page, measured on premise), and under their own lock — lock class `TEXT`, taken on the text
|
|
499
|
+
elements' address, which the program's or the class's lock does not cover. So
|
|
500
|
+
they are not part of `IProgramConfig` or `IClassConfig`, and the tables list
|
|
501
|
+
them as the API `textElements` (kind `text_elements`): `PROG/PX` under
|
|
502
|
+
`/sap/bc/adt/textelements/programs` and `CLAS/OCX` under
|
|
503
|
+
`/sap/bc/adt/textelements/classes`, with `read`, `update`, `lock` and `unlock`,
|
|
504
|
+
on S/4HANA and ABAP cloud. SAP_BASIS 7.40's discovery has no such collection,
|
|
505
|
+
and its table has no entry. Read and written on premise and on the cloud,
|
|
506
|
+
2026-11-19, for a program and a class.
|
|
507
|
+
|
|
508
|
+
- **What discovery lists** (S/4HANA 2025 and ABAP cloud alike; SAP_BASIS
|
|
509
|
+
7.40 none): three collections — `/sap/bc/adt/textelements/programs`,
|
|
510
|
+
`…/classes`, `…/functiongroups` — each accepting
|
|
511
|
+
`application/vnd.sap.adt.textelements.v1+xml` (the properties document) and
|
|
512
|
+
with no templates. No other kind (interface, function module, include) has
|
|
513
|
+
one. The parts and their media types are not in discovery: they are links
|
|
514
|
+
of the properties document.
|
|
515
|
+
- **Which parts an object has.** A class has text symbols only; a program and
|
|
516
|
+
a function group have all three (SAP's handler, `CL_SEDX_ADT_RES_TEXTELEMENT`).
|
|
517
|
+
`ITextElementsPartConfig` and `ITextElementsUpdateConfig` hold this: a class
|
|
518
|
+
with another part does not compile.
|
|
519
|
+
- **Read** with `IAdtTextElementsReadable`: `read(config, version?)`, the
|
|
520
|
+
object and its part. `version` is every value SAP's handler maps
|
|
521
|
+
(`get_wb_version`), measured on premise for a program's selection texts:
|
|
522
|
+
- absent, `inactive` and `workingArea` answer the working area — the
|
|
523
|
+
inactive version when there is one, else the active one;
|
|
524
|
+
- `active` answers the last activated version: before the first activation
|
|
525
|
+
only the screen fields' `?...` placeholders, after a change the text as
|
|
526
|
+
activated.
|
|
527
|
+
SAP reads the value case-insensitively, and an unknown or empty value
|
|
528
|
+
answers the working area (measured on premise). On the cloud every value is
|
|
529
|
+
accepted and none distinguished (no inactive version existed, measured
|
|
530
|
+
read-only). The answer is the part's text, CR LF between lines (measured on
|
|
531
|
+
premise and on the cloud):
|
|
532
|
+
- symbols: `@MaxLength:20`, then `001=Text`, one empty line between symbols;
|
|
533
|
+
- selections: every parameter and select option of the program, sorted by
|
|
534
|
+
name, the name upper case and padded to eight (`P_TEST =Text`), an empty
|
|
535
|
+
line between two entries; a field with no text yet `?...`; a text taken
|
|
536
|
+
from the dictionary after its own `@DDICReference` line, answered as the
|
|
537
|
+
field's label (`ISelectionText.ddicReference`, required). A write takes
|
|
538
|
+
the name padded or not; a text over `SELECTION_TEXT_MAX_LENGTH` (30)
|
|
539
|
+
characters refuses the whole write (`406`, `SEDX_ADT/110`); and a text
|
|
540
|
+
sent with `@DDICReference` is replaced by the label (all measured);
|
|
541
|
+
- headings: `listHeader=…`, an empty line, `columnHeader_1=…` to
|
|
542
|
+
`columnHeader_4=…` — all five, an empty one as `columnHeader_4=`; a write
|
|
543
|
+
deletes a heading sent empty or left out (measured).
|
|
544
|
+
The keys, measured and in SAP's handlers, are constants for a caller (the
|
|
545
|
+
contract checks none): `TEXT_SYMBOL_KEY_MAX_LENGTH` (3 accepted, `0#1` and
|
|
546
|
+
`AB1` included; 4 refused `406` `SEDX_ADT/106`; shorter not measured), `SELECTION_TEXT_NAME_MAX_LENGTH` (8; `406`
|
|
547
|
+
`SEDX_ADT/102`; an unknown name is stored, not checked against the screen),
|
|
548
|
+
`TEXT_HEADING_KEYS` / `TextHeadingKey` (any other key `406`
|
|
549
|
+
`SEDX_ADT/101`).
|
|
550
|
+
`TextElementsDocument` is the parsed shape a reading strategy answers.
|
|
551
|
+
- **Write** with `IAdtTextElementsUpdatable`: its `update` takes
|
|
552
|
+
`ITextElementsUpdateConfig` — the object, the part and the part's **whole**
|
|
553
|
+
list — and builds the body from it (decision 50); the options refuse a
|
|
554
|
+
`source` and require the `lockHandle`. **An entry the list leaves out is
|
|
555
|
+
deleted**: create, change and delete are the same write. An empty list
|
|
556
|
+
deletes the part's every entry.
|
|
557
|
+
- **The original language only.** SAP reads and writes the texts in the
|
|
558
|
+
object's original language whatever the logon language (a write under
|
|
559
|
+
`sap-language` RU on premise and DE on the cloud landed in the original EN,
|
|
560
|
+
measured). There is no language here, and no translation.
|
|
561
|
+
- **The sequence is the caller's:**
|
|
562
|
+
1. `lock` the object's text elements (`IAdtLockable<ITextElementsConfig,
|
|
563
|
+
'objectKind' | 'objectName'>`, stateful);
|
|
564
|
+
2. `read` the part under the lock — what it holds now;
|
|
565
|
+
3. change the list;
|
|
566
|
+
4. `update` with the lock handle (and `transportRequest` as `corrNr`);
|
|
567
|
+
5. `unlock`, on every path;
|
|
568
|
+
6. activate the object **and** its text elements in one activation request,
|
|
569
|
+
through the typed `activateObjects` (`IAdtObjectActivation`) or
|
|
570
|
+
`activateObjectsGroup` (`IAdtTypedGroupLifecycle`) of the variant: the
|
|
571
|
+
object's reference and the text elements' —
|
|
572
|
+
```ts
|
|
573
|
+
// on premise: a program
|
|
574
|
+
const refs: IAdtGroupActivationReference<'onprem'>[] = [
|
|
575
|
+
{ name: 'ZPROG', type: 'PROG/P', uri: '/sap/bc/adt/programs/programs/zprog' },
|
|
576
|
+
{ name: 'ZPROG', type: 'PROG/PX', uri: '/sap/bc/adt/textelements/programs/zprog' },
|
|
577
|
+
];
|
|
578
|
+
// on the cloud: a class — { type: 'CLAS/OC', … } and
|
|
579
|
+
// { type: 'CLAS/OCX', uri: '/sap/bc/adt/textelements/classes/zcl_x' }
|
|
580
|
+
```
|
|
581
|
+
`PROG/PX` and `CLAS/OCX` are utility codes with `groupActivation` on
|
|
582
|
+
premise and on the cloud (as `DEVC/K` is), not an `activate` of the
|
|
583
|
+
`textElements` API. Naming the object alone ran no activation for the
|
|
584
|
+
text elements (measured on premise for a program and on the cloud for a
|
|
585
|
+
class; each other pairing is unmeasured, `measured: false`). A function
|
|
586
|
+
group's text elements go as `PROG/PX` with
|
|
587
|
+
`/sap/bc/adt/textelements/functiongroups/{group}` (measured on premise).
|
|
588
|
+
- **Where-used**, per code (measured read-only, 2026-11-19; SAP's handler
|
|
589
|
+
`CL_RIS_ADT_RES_REFERENCES` refuses no type, and answers `200` with no
|
|
590
|
+
result and "Where-Used List is not supported for &1" where it serves none,
|
|
591
|
+
Code):
|
|
592
|
+
- `PROG/PX`: served on premise and on the cloud —
|
|
593
|
+
`/sap/bc/adt/textelements/programs/{name}` resolves to `PROG/PX` (on
|
|
594
|
+
premise the scope offers `PROG/P` and `PROG/PS`; on the cloud, measured
|
|
595
|
+
for the delivered `RSPARAM`). A function group's text elements resolve
|
|
596
|
+
to `PROG/PX` too (`/sap/bc/adt/textelements/functiongroups/{group}`), so
|
|
597
|
+
they are found through it; `FUGR/PX` is no where-used type.
|
|
598
|
+
- A `PROG/PX` where-used names its `container`, `'program'` or
|
|
599
|
+
`'functionGroup'` (required; no other code takes one), and the address is
|
|
600
|
+
derived from it: `/sap/bc/adt/textelements/programs/{name}` or
|
|
601
|
+
`…/functiongroups/{name}`.
|
|
602
|
+
- `CLAS/OCX`: not served on the on-premise and cloud systems measured
|
|
603
|
+
("Where-Used List is not supported for Text Element: Class."; the answer
|
|
604
|
+
depends on the system's RIS metadata, Code), so no where-used parameter
|
|
605
|
+
takes it.
|
|
606
|
+
- A part's address (`…/source/symbols`) is not served.
|
|
607
|
+
- **On the cloud** the lock answers `MODIFICATION_SUPPORT=NoModification`, and
|
|
608
|
+
the write is accepted and saved all the same (measured).
|
|
609
|
+
- **A function group** (measured on premise, 2026-11-19): its text elements
|
|
610
|
+
are at `/sap/bc/adt/textelements/functiongroups/{group}`, the plain group
|
|
611
|
+
name (`…/sapl{group}` answers 404; the earlier 404 on `sutl` was a group
|
|
612
|
+
that does not exist). The properties document names them `FUGR/PX`; after
|
|
613
|
+
a write the inactive list holds the group (`FUGR/F`) and its text elements
|
|
614
|
+
as `PROG/PX`, named `SAPL{GROUP}`; one activation naming the group's URI
|
|
615
|
+
and the text elements' URI, each with `adtcore:name="{GROUP}"`, activates
|
|
616
|
+
both. No release's `typestructure` lists `FUGR/PX`, so it is no code of
|
|
617
|
+
the tables: the contract reads, locks and writes a function group's text
|
|
618
|
+
elements by kind and name, and types them `PROG/PX` under their own URI —
|
|
619
|
+
`{ name: 'ZFG', type: 'PROG/PX', uri:
|
|
620
|
+
'/sap/bc/adt/textelements/functiongroups/zfg' }`, beside `FUGR/F` or alone,
|
|
621
|
+
activates them (measured on premise; the name may be `{GROUP}` or
|
|
622
|
+
`SAPL{GROUP}`, the URI decides).
|
|
623
|
+
|
|
487
624
|
## A table's technical settings (28.0.0)
|
|
488
625
|
|
|
489
626
|
A database table's technical settings — data class, size category,
|
|
@@ -501,20 +638,60 @@ does not serve the collection, and its table has no entry.
|
|
|
501
638
|
table, so a read right after the create answers them (`version="new"`).
|
|
502
639
|
- **Write** with `IAdtTableSettingsUpdatable`: its `updateMetadata` takes
|
|
503
640
|
`ITableSettingsUpdateConfig` — the table's name, its `description` (SAP
|
|
504
|
-
refuses a write without one, SWB_TOOL 019, measured on premise
|
|
641
|
+
refuses a write without one, SWB_TOOL 019, measured on premise and on the
|
|
642
|
+
cloud) and
|
|
505
643
|
`ITableSettings` — and builds the body from it (decision 49); the options
|
|
506
644
|
refuse a `source` and require the `lockHandle`.
|
|
507
645
|
- **An update replaces every setting: read, change, write back.** SAP writes
|
|
508
646
|
the whole DD09L row from the document and resets a field it leaves out, so
|
|
509
|
-
every field the document carries is required
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
647
|
+
every field the document carries is required (`CL_TABT_WB_PERSIST->move_adt_to_ddv`,
|
|
648
|
+
Code on both systems; a field left out read back reset, measured on both,
|
|
649
|
+
2026-11-19). `translation` is the `ts:translation` element's four attributes
|
|
650
|
+
(`ITableTranslation`: `value`, `isVisible`, `isEditable`, `granularity`,
|
|
651
|
+
since 29.0.0), written back as read. SAP's transformation reads the element
|
|
652
|
+
inside a `tt:cond` (Code): absent, the PUT is accepted (200); present, it
|
|
653
|
+
needs all four — `<ts:translation ts:value=""/>` and `<ts:translation/>`
|
|
654
|
+
were refused 400 `00/001` with an `XML_PATH` property (measured on both).
|
|
655
|
+
The contract keeps the element required. SAP stores `value` alone
|
|
656
|
+
(`move_adt_to_ddv` writes `uebersetz` from `translation-value` only, Code
|
|
657
|
+
on both); the other three are computed on a read. `buffering.areaKeyFields`
|
|
658
|
+
(`SCHFELDANZ`) is written only when the resulting type is `G` (Code on
|
|
659
|
+
both): after a type change away from `G`, and whenever the resulting type
|
|
660
|
+
is not `G`, the count is not kept.
|
|
661
|
+
- **`isWritableByAMDP`, per system kind (since 30.1.0).** The cloud's
|
|
662
|
+
`move_adt_to_ddv` writes `allowed_for_amdp_write` from the document (Code,
|
|
663
|
+
cloud), and a cloud PUT without the element reset it to `false` (measured).
|
|
664
|
+
30.0.0 refused it on a write, so every cloud write through the contract
|
|
665
|
+
reset it. Now the write is typed by the variant: `ITableSettingsOf<'cloud'>`
|
|
666
|
+
**requires** it, `ITableSettingsOf<'onprem'>` **refuses** it (neither the
|
|
667
|
+
on-premise transformation nor its `move_adt_to_ddv` maps it, Code), and
|
|
668
|
+
`ITableSettingsUpdateConfig<V>` / `IAdtTableSettingsUpdatable<T, V>` take
|
|
669
|
+
the variant (default: a value of either kind). A cloud read
|
|
670
|
+
(`ITableSettingsReadOf<'cloud'>`) is written back as it is.
|
|
671
|
+
- **Patch** with `IAdtTableSettingsPatchable<T, V>` (since 30.1.0, decision
|
|
672
|
+
51): `patchMetadata` takes the table and `ITableSettingsChangesOf<V>` — at
|
|
673
|
+
least one setting; `buffering` field by field, with `areaKeyFields` only
|
|
674
|
+
beside type `G` or with the type kept — and then refused before any PUT
|
|
675
|
+
when the type read is not `G`; `translation` by its `value`, the one
|
|
676
|
+
attribute SAP stores; `isWritableByAMDP` on the cloud only — and, under the
|
|
677
|
+
caller's `lockHandle`, reads the working area with its ETag, overlays the
|
|
678
|
+
changes, and writes the whole document with `If-Match`. Every setting not
|
|
679
|
+
named keeps the value read — with one exception: when the resulting
|
|
680
|
+
buffering type is not `G` (a type-only change from `G` to `P`, say), SAP
|
|
681
|
+
clears the area-key count, since it writes `SCHFELDANZ` only for `G`
|
|
682
|
+
(`move_adt_to_ddv`, Code on both). The patch does not block that change:
|
|
683
|
+
the count means nothing for the other types. Its headers name the media type alone
|
|
684
|
+
(`IAdtTableSettingsPatchHeaders`): the implementation sends the PUT's
|
|
685
|
+
`Content-Type` without a charset (`headers.accept` is the literal
|
|
686
|
+
`TABLE_SETTINGS_MEDIA_TYPE`), so no caller's charset reaches the guarded
|
|
687
|
+
write.
|
|
688
|
+
- **What the types cannot see.** The per-kind rules are TypeScript's
|
|
689
|
+
structural checks. A caller who widens the variant (a cloud writer used as
|
|
690
|
+
`IAdtTableSettingsUpdatable<T>`, a generic forwarding the default) or
|
|
691
|
+
carries extra keys through a variable, a union or a spread passes values
|
|
692
|
+
the rules would refuse as literals. A shipped implementation writes only
|
|
693
|
+
what SAP persists, and `patchMetadata` is the safe path: it writes back
|
|
694
|
+
what it read.
|
|
518
695
|
- **The sequence is the caller's, and its order keeps a concurrent edit:**
|
|
519
696
|
1. `lock` (stateful) — the settings' own lock;
|
|
520
697
|
2. `readMetadata` under the lock — what the settings are now, after any edit
|
|
@@ -523,18 +700,31 @@ does not serve the collection, and its table has no entry.
|
|
|
523
700
|
4. `updateMetadata` with the lock handle (and `transportRequest` as
|
|
524
701
|
`corrNr`), passing the read's ETag as `ifMatch`
|
|
525
702
|
(`IAdtTableSettingsUpdateOptions` keeps it from `IAdtUpdateOptions`), so
|
|
526
|
-
the system
|
|
527
|
-
|
|
528
|
-
|
|
703
|
+
the system can refuse a write over a changed document (`412`). Measured on
|
|
704
|
+
both, with a fresh ETag: `If-Match` and no charset → `200`; the same with
|
|
705
|
+
`; charset=utf-8` → `412` `SADT_RESOURCE/043`; a charset and no
|
|
706
|
+
`If-Match` → `200`. A stale ETag was never measured here;
|
|
529
707
|
5. `unlock`, on every path;
|
|
530
708
|
6. then activate the **table**. Activating `TABL/DT` activated the
|
|
531
709
|
settings, measured on premise and on the cloud; activating `TABL/DTT`
|
|
532
710
|
alone was never measured, and the contract offers no activation of the
|
|
533
|
-
settings.
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
711
|
+
settings. **Judge the activation by its messages, not by
|
|
712
|
+
`activationExecuted` alone.** A PUT of the data class `ZZNOP` (five
|
|
713
|
+
characters, no such class) was answered `200` and stored; activating the
|
|
714
|
+
table then answered `activationExecuted="true"`
|
|
715
|
+
`generationExecuted="false"` with type-`E` messages, and the table and
|
|
716
|
+
its settings stayed inactive (measured on both). On premise: "Activation
|
|
717
|
+
was cancelled." and "Value in field Data Class (value ZZNOP not
|
|
718
|
+
permitted)"; on the cloud: "Value in field Data Class; value ZZNOP not
|
|
719
|
+
permitted" (`DT(609)`). `ZZNOPE` (six characters) was refused by the PUT
|
|
720
|
+
itself, 400 `00/001` at deserialisation, `XML_PATH …dataClassCategory(1)`
|
|
721
|
+
— the field's length (measured on both).
|
|
722
|
+
|
|
723
|
+
The codes are strings, since a system may define its own: a PUT of the
|
|
724
|
+
customer data class `USER` was accepted and read back (measured on both). The
|
|
725
|
+
value help lists the standard classes only (`CL_TABT_DATA_CLASS_VH`, `ddclass =
|
|
726
|
+
'STD'`, Code). The known values are constants for discovery, not limits:
|
|
727
|
+
`TABLE_DATA_CLASSES` — the data class value help's six on
|
|
538
728
|
S/4HANA 2025 (`APPL0`, `APPL1`, `APPL2`, `DDIM`, `DFACT`, `DODS`), measured;
|
|
539
729
|
`TABLE_SIZE_CATEGORIES` (`'0'`–`'9'`), `TABLE_BUFFERING_ALLOWED` (`N`, `X`,
|
|
540
730
|
`A`) and `TABLE_BUFFERING_TYPES` (`P`, `G`, `X`) — SAP's standard domain
|
|
@@ -553,14 +743,112 @@ with no spread to leave the key out. An absent field and an `undefined` one
|
|
|
553
743
|
mean the same. The CHANGELOG lists each type;
|
|
554
744
|
`src/__typechecks__/explicitUndefined.ts` holds the shapes.
|
|
555
745
|
|
|
746
|
+
## Migrating to 30.0.0
|
|
747
|
+
|
|
748
|
+
- **Every union that widens**, found by a compile-time probe of each export
|
|
749
|
+
of 29.0.0 against 30.0.0 (every variant `onprem`, `cloud`, `basis740` and
|
|
750
|
+
`'onprem' | 'cloud'`; every operation). No union of `basis740` widened; its
|
|
751
|
+
where-used parameters tighten as every variant's do (below).
|
|
752
|
+
- The API names: `AdtApiName`, `keyof AdtApiTable<R>`, `AdtApi<V>`, and
|
|
753
|
+
`AdtApiWith<V, Op>` / `AdtApiWithIn<T, Op>` for `Op` among `read`,
|
|
754
|
+
`update`, `lock`, `unlock` — gain `textElements`; and with `AdtApiName`
|
|
755
|
+
every `parent` that names an API: `IAdtCodeFacts<R>['parent']`,
|
|
756
|
+
`IAdtCodelessApiEntry<R>['parent']`, and so `AdtApiEntry<R>['parent']`
|
|
757
|
+
(`IAdtCodedApiEntry<R>`'s codes carry it).
|
|
758
|
+
- The codes: `AdtTypeCode`, `AdtTypeCodeOf<V>`, `AdtCodeOf<V>`,
|
|
759
|
+
`AdtCodeOfIn<Tables, V>`, and `AdtTypeCodeWith<V, Op>`, `AdtCodeWith<V, Op>`,
|
|
760
|
+
`AdtCodeWithIn<Tables, V, Op>` for the same four operations — gain
|
|
761
|
+
`'PROG/PX'` and `'CLAS/OCX'`; `CodesOfMain<'PROG'>` gains `'PROG/PX'` and
|
|
762
|
+
`CodesOfMain<'CLAS'>` gains `'CLAS/OCX'`.
|
|
763
|
+
- The kinds: `AdtObjectKind` gains `'text_elements'`.
|
|
764
|
+
- The utility codes: `AdtUtilityCode` gains both codes, and
|
|
765
|
+
`AdtUtilityCodeWith<V, 'groupActivation'>` gains them through the utility
|
|
766
|
+
tables (`IAdtUtilityCodeTables`); so do `AdtGroupActivationCode<V>` and
|
|
767
|
+
`IAdtGroupActivationReference<V>['type']` — what `activateObjects` and the
|
|
768
|
+
typed `activateObjectsGroup` take.
|
|
769
|
+
- Where-used, per code as measured: `AdtWhereUsedCode<V>`, so
|
|
770
|
+
`IAdtWhereUsedParamsOf<V>['object_type']` and
|
|
771
|
+
`IAdtWhereUsedScopeParamsOf<V>['object_type']`, gain `'PROG/PX'` on
|
|
772
|
+
`onprem`, `cloud` and the default `'onprem' | 'cloud'`, as the untyped
|
|
773
|
+
`IGetWhereUsedParams['object_type']` and
|
|
774
|
+
`IGetWhereUsedScopeParams['object_type']` do. `CLAS/OCX` is in none of
|
|
775
|
+
them: the systems measured serve no where-used for it.
|
|
776
|
+
- **`PROG/PX` names its container in a where-used.** `IGetWhereUsedParams`
|
|
777
|
+
and `IGetWhereUsedScopeParams` (and so `IAdtWhereUsedParamsOf<V>` /
|
|
778
|
+
`IAdtWhereUsedScopeParamsOf<V>`) are type aliases now, not interfaces:
|
|
779
|
+
with `object_type: 'PROG/PX'` they require `container: 'program' |
|
|
780
|
+
'functionGroup'` (`TextElementsWhereUsedContainer`), which decides the
|
|
781
|
+
address (`/sap/bc/adt/textelements/programs/{name}` or
|
|
782
|
+
`…/functiongroups/{name}`), and every other code refuses a `container`.
|
|
783
|
+
What a consumer does:
|
|
784
|
+
- a literal with another code compiles as before;
|
|
785
|
+
- a value whose `object_type` is a variable of the whole union (it may be
|
|
786
|
+
`PROG/PX`) needs the `container` when it is `PROG/PX` — narrow the code
|
|
787
|
+
first, or build the `PROG/PX` case apart;
|
|
788
|
+
- `interface X extends IGetWhereUsedParams` (the default, a union) no
|
|
789
|
+
longer compiles (`TS2312`), nor does a generic
|
|
790
|
+
`interface X<C extends …> extends IGetWhereUsedParams<C>` (the type is
|
|
791
|
+
a conditional over `C`): use a type alias with `&`
|
|
792
|
+
(`type X<C extends …> = IGetWhereUsedParams<C> & { … }`), or extend a
|
|
793
|
+
single code's params (`IGetWhereUsedParams<'PROG/P'>` still does);
|
|
794
|
+
- a builder typed by the union — `(code: AdtWhereUsedCode<V>):
|
|
795
|
+
IAdtWhereUsedParamsOf<V> => ({ object_name, object_type: code })`,
|
|
796
|
+
generic in `V` or for one variant — no longer compiles (`TS2322`): the
|
|
797
|
+
code may be `PROG/PX`, which needs its `container`. Generic in `V`,
|
|
798
|
+
exclude it from the input (`code: Exclude<AdtWhereUsedCode<V>,
|
|
799
|
+
'PROG/PX'>`) — branching on `code === 'PROG/PX'` still fails there
|
|
800
|
+
(`TS2322`), since the code stays generic. For one variant the branch
|
|
801
|
+
compiles too (`code === 'PROG/PX' ? { …, container } : { … }`);
|
|
802
|
+
- a value of another code that carries a `container` of its own — say
|
|
803
|
+
`{ object_type: 'PROG/P', container: string }` built for a consumer's
|
|
804
|
+
own use — no longer passes as where-used parameters, on every variant
|
|
805
|
+
`basis740` included (whose where-used has no `PROG/PX` at all): drop
|
|
806
|
+
the field before passing it (`const { container, ...params } = value`);
|
|
807
|
+
- `object_type` and `container` are `readonly`, like the text elements'
|
|
808
|
+
`objectKind` and `part`: code that assigns them on a built value builds
|
|
809
|
+
a new one instead (`{ ...params, object_type: … }`, the container
|
|
810
|
+
stated with it).
|
|
811
|
+
- **An explicit type argument that no longer fits.** `IGetWhereUsedParams`
|
|
812
|
+
and `IGetWhereUsedScopeParams` constrain `C` to every code but
|
|
813
|
+
`CLAS/OCX`, so `IGetWhereUsedParams<AdtTypeCode>` and
|
|
814
|
+
`IGetWhereUsedScopeParams<AdtTypeCode>` (or with `| AdtGroupOnlyCode`)
|
|
815
|
+
stop compiling with `TS2344`: `AdtTypeCode` now holds `CLAS/OCX`. Drop
|
|
816
|
+
the argument and use the default (every code where-used is asked of),
|
|
817
|
+
use the variant's `IAdtWhereUsedParamsOf<V>` /
|
|
818
|
+
`IAdtWhereUsedScopeParamsOf<V>`, or pass
|
|
819
|
+
`Exclude<AdtTypeCode, 'CLAS/OCX'>`. These two are the only exported
|
|
820
|
+
generics where a type argument valid on 29.0.0 is refused on 30.0.0 —
|
|
821
|
+
found by instantiating every exported generic with its 29.0.0
|
|
822
|
+
constraints under 30.0.0's names (generics whose constraint names a
|
|
823
|
+
sibling parameter, such as `AdtCodeOfIn<Tables, V>`, take the caller's
|
|
824
|
+
own tables and were not instantiated).
|
|
825
|
+
- References and answers: `IObjectReference['type']` (default
|
|
826
|
+
`AdtTypeCode`), `IAdtCodedReference<AdtTypeCode>['type']` and
|
|
827
|
+
`IAdtCodedReference<AdtCodeOf<V>>['type']`, and the known-code branch of
|
|
828
|
+
`IAdtAnsweredObject['type']` gain both codes.
|
|
829
|
+
- The tables themselves: `IAdtTypeTables` (a `textElements` entry on
|
|
830
|
+
`onprem` and `cloud`) and `IAdtUtilityCodeTables` (two codes on each).
|
|
831
|
+
- **What a consumer does.** A map keyed by any of these
|
|
832
|
+
(`{ [C in AdtTypeCode]: … }`, `Record<AdtObjectKind, …>`, …) adds the new
|
|
833
|
+
keys; a `switch` that relies on exhaustiveness over one (a `never` check in
|
|
834
|
+
its `default`) adds the cases — `textElements` / `'text_elements'` for an
|
|
835
|
+
API or a kind, `'PROG/PX'` and `'CLAS/OCX'` for a code, which is a program's
|
|
836
|
+
or a class's text elements, addressed under `/sap/bc/adt/textelements/…`.
|
|
837
|
+
A consumer that maps a code to an address or a reader handles them, or
|
|
838
|
+
refuses them, there. A consumer reading an `IAdtAnsweredObject` gets
|
|
839
|
+
either code as `type`, typed, where 29.0.0 carried it as `unknownType`, the
|
|
840
|
+
text as it came. Nothing that only passes values through changes.
|
|
841
|
+
The main types (`AdtMainType`) are unchanged: `PROG` and `CLAS` were there.
|
|
842
|
+
|
|
556
843
|
## Migrating to 29.0.0
|
|
557
844
|
|
|
558
845
|
- **`translation` is an object.** `ITableSettings.translation` (and so
|
|
559
846
|
`ITableSettingsRead.translation` and `ITableSettingsUpdateConfig.settings.translation`)
|
|
560
847
|
is `ITableTranslation` — `{ value, isVisible, isEditable, granularity }` —
|
|
561
848
|
where it was the `ts:value` string. A settings write built from 28.0.0 sent
|
|
562
|
-
`ts:value` alone and SAP refused it
|
|
563
|
-
attribute …isVisible"
|
|
849
|
+
`ts:value` alone and SAP refused it, 400 `00/001` — on premise "The system
|
|
850
|
+
expected the attribute '{…}isVisible'", on the cloud "The attribute
|
|
851
|
+
'{…}isVisible' was expected" (measured, 2026-11-19).
|
|
564
852
|
Pass all four as read: `translation: { value: '', isVisible: false,
|
|
565
853
|
isEditable: false, granularity: '2' }` is what the systems read answered.
|
|
566
854
|
|
|
@@ -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;AAEzB;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB
|
|
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;AAEzB;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAE,CAAC,SAAS,MAAM,MAAM,IAAI;KACvD,CAAC,IAAI,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,GACxE,CAAC,GACD,KAAK;CACV,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;AAE7B,wEAAwE;AACxE,MAAM,MAAM,aAAa,CACvB,MAAM,EACN,CAAC,SAAS,MAAM,MAAM,EACtB,EAAE,SAAS,YAAY,IACrB;KACD,CAAC,IAAI,kBAAkB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;QACpD,sBAAsB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;KACtC,GACG,CAAC,GACD,KAAK;CACV,CAAC,kBAAkB,CAAC,MAAM,EAAE,CAAC,EAAE,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',
|
|
@@ -48,8 +48,13 @@ export type AdtUtilityCodeTable<R extends string> = {
|
|
|
48
48
|
/**
|
|
49
49
|
* On **S/4HANA 2025**: `VIEW/DV`, a DDIC database view, which group
|
|
50
50
|
* activation, group deletion and where-used address under
|
|
51
|
-
* `/sap/bc/adt/ddic/views` and no API serves;
|
|
52
|
-
* activation, which the API table lists no `activate` for — sent, unmeasured
|
|
51
|
+
* `/sap/bc/adt/ddic/views` and no API serves; `DEVC/K` in a group
|
|
52
|
+
* activation, which the API table lists no `activate` for — sent, unmeasured;
|
|
53
|
+
* and the text elements, `PROG/PX` and `CLAS/OCX`, in a group activation
|
|
54
|
+
* beside their program or class (`textElements` lists no `activate`): a write
|
|
55
|
+
* lands inactive, and one activation naming the object and
|
|
56
|
+
* `/sap/bc/adt/textelements/{programs|classes}/{name}` activates both —
|
|
57
|
+
* measured on premise for a program (`PROG/PX`), not for a class here.
|
|
53
58
|
*/
|
|
54
59
|
export declare const ADT_UTILITY_CODES_ONPREM: {
|
|
55
60
|
readonly 'VIEW/DV': {
|
|
@@ -63,8 +68,22 @@ export declare const ADT_UTILITY_CODES_ONPREM: {
|
|
|
63
68
|
readonly measured: false;
|
|
64
69
|
readonly evidence: "system-description-s4-2025--07-typestructure";
|
|
65
70
|
};
|
|
71
|
+
readonly 'PROG/PX': {
|
|
72
|
+
readonly operations: readonly ["groupActivation"];
|
|
73
|
+
readonly measured: true;
|
|
74
|
+
readonly evidence: "system-description-s4-2025--07-typestructure";
|
|
75
|
+
};
|
|
76
|
+
readonly 'CLAS/OCX': {
|
|
77
|
+
readonly operations: readonly ["groupActivation"];
|
|
78
|
+
readonly measured: false;
|
|
79
|
+
readonly evidence: "system-description-s4-2025--07-typestructure";
|
|
80
|
+
};
|
|
66
81
|
};
|
|
67
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* On **ABAP cloud**: the same as {@link ADT_UTILITY_CODES_ONPREM}; the text
|
|
84
|
+
* elements' activation measured here for a class (`CLAS/OCX`), not for a
|
|
85
|
+
* program.
|
|
86
|
+
*/
|
|
68
87
|
export declare const ADT_UTILITY_CODES_CLOUD: {
|
|
69
88
|
readonly 'VIEW/DV': {
|
|
70
89
|
readonly operations: readonly ["groupActivation", "groupDeletion", "whereUsed"];
|
|
@@ -77,6 +96,16 @@ export declare const ADT_UTILITY_CODES_CLOUD: {
|
|
|
77
96
|
readonly measured: false;
|
|
78
97
|
readonly evidence: "system-description-abap-cloud--07-typestructure";
|
|
79
98
|
};
|
|
99
|
+
readonly 'PROG/PX': {
|
|
100
|
+
readonly operations: readonly ["groupActivation"];
|
|
101
|
+
readonly measured: false;
|
|
102
|
+
readonly evidence: "system-description-abap-cloud--07-typestructure";
|
|
103
|
+
};
|
|
104
|
+
readonly 'CLAS/OCX': {
|
|
105
|
+
readonly operations: readonly ["groupActivation"];
|
|
106
|
+
readonly measured: true;
|
|
107
|
+
readonly evidence: "system-description-abap-cloud--07-typestructure";
|
|
108
|
+
};
|
|
80
109
|
};
|
|
81
110
|
/**
|
|
82
111
|
* On **SAP_BASIS 7.40 SP04**: `VIEW/DV` as on the newer releases, and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtUtilityCodes.d.ts","sourceRoot":"","sources":["../../src/adt/AdtUtilityCodes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,uEAAuE;AACvE,MAAM,MAAM,mBAAmB;AAC7B,6BAA6B;AAC3B,iBAAiB;AACnB,2BAA2B;GACzB,eAAe;AACjB,0CAA0C;GACxC,WAAW;AACb,2BAA2B;GACzB,eAAe,CAAC;AAEpB,gDAAgD;AAChD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM;IACpD,mDAAmD;IACnD,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,mBA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