@abaplint/core 2.113.115 → 2.113.117

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.
@@ -3514,6 +3514,15 @@ declare interface InfoAlias {
3514
3514
  component: string;
3515
3515
  }
3516
3516
 
3517
+ declare class InfoArea extends AbstractObject {
3518
+ getType(): string;
3519
+ getAllowedNaming(): {
3520
+ maxLength: number;
3521
+ allowNamespace: boolean;
3522
+ };
3523
+ getDescription(): string | undefined;
3524
+ }
3525
+
3517
3526
  declare interface InfoAttribute {
3518
3527
  name: string;
3519
3528
  identifier: Identifier;
@@ -4874,6 +4883,7 @@ declare namespace Objects {
4874
4883
  ABAPQueryQuery,
4875
4884
  ActivationVariant,
4876
4885
  APIReleaseState,
4886
+ ApplicationDescriptorsFiori,
4877
4887
  ApplicationJobCatalogEntry,
4878
4888
  ApplicationJobTemplate,
4879
4889
  ApplicationLogObject,
@@ -4882,11 +4892,11 @@ declare namespace Objects {
4882
4892
  ATCCheckObject,
4883
4893
  ATCCheckVariant,
4884
4894
  AuthorizationCheckField,
4885
- ApplicationDescriptorsFiori,
4886
4895
  AuthorizationGroup,
4887
4896
  AuthorizationObjectClass,
4888
4897
  AuthorizationObjectExtension,
4889
4898
  AuthorizationObject,
4899
+ BADIDefinition,
4890
4900
  BehaviorDefinition,
4891
4901
  BRFPlusSystemApplication,
4892
4902
  BSPApplication,
@@ -4900,8 +4910,6 @@ declare namespace Objects {
4900
4910
  BusinessObjectType,
4901
4911
  ParsedMetadataExtension,
4902
4912
  CDSMetadataExtension,
4903
- BADIDefinition,
4904
- EntityType,
4905
4913
  CDSType,
4906
4914
  ChangeDocument,
4907
4915
  ChapterOfBookStructure,
@@ -4931,6 +4939,7 @@ declare namespace Objects {
4931
4939
  EnhancementImplementation,
4932
4940
  IBadiDefinition,
4933
4941
  EnhancementSpot,
4942
+ EntityType,
4934
4943
  EventBinding,
4935
4944
  EventConsumer,
4936
4945
  ExtensionIndex,
@@ -4943,7 +4952,6 @@ declare namespace Objects {
4943
4952
  GatewayModel,
4944
4953
  GatewayProject,
4945
4954
  GatewayServiceGroupsMetadata,
4946
- WebReportingTemplate,
4947
4955
  GatewayService,
4948
4956
  GatewayVocabularyAnnotation,
4949
4957
  GeneralHierarchyStorageExtrensionName,
@@ -4959,6 +4967,7 @@ declare namespace Objects {
4959
4967
  IdocExtension,
4960
4968
  Idoc,
4961
4969
  InboundService,
4970
+ InfoArea,
4962
4971
  InfoObject,
4963
4972
  Interface,
4964
4973
  LockObject,
@@ -5033,7 +5042,8 @@ declare namespace Objects {
5033
5042
  WebDynproApplication,
5034
5043
  WebDynproComponentConfiguration,
5035
5044
  WebDynproComponent,
5036
- WebMIME
5045
+ WebMIME,
5046
+ WebReportingTemplate
5037
5047
  }
5038
5048
  }
5039
5049
  export { Objects }
@@ -5,7 +5,7 @@ const combi_1 = require("../combi");
5
5
  const _1 = require(".");
6
6
  class SQLHints extends combi_1.Expression {
7
7
  getRunnable() {
8
- const type = (0, combi_1.altPrio)("ORACLE", "ADABAS", "AS400", "DB2", "HDB", "MSSQLNT", "SYBASE", "DB6");
8
+ const type = (0, combi_1.altPrio)("ORACLE", "ADABAS", "AS400", "DB2", "HDB", "MSSQLNT", "SYBASE", "DB6", "INFORMIX");
9
9
  const ret = (0, combi_1.seq)("%_HINTS", (0, combi_1.plus)((0, combi_1.seq)(type, (0, combi_1.alt)(_1.Constant, _1.FieldSub))));
10
10
  return ret;
11
11
  }
@@ -27,7 +27,8 @@ class StringTemplateFormatting extends combi_1.Expression {
27
27
  const decimals = (0, combi_1.seq)("DECIMALS =", _1.Source);
28
28
  const alpha = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("ALPHA =", alphaOptions));
29
29
  const xsd = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("XSD =", zeroXSDOptions));
30
- const formatting = (0, combi_1.altPrio)((0, combi_1.seq)("TIME =", dateTimeOptions), (0, combi_1.seq)("DATE =", dateTimeOptions), (0, combi_1.seq)("CASE =", caseOptions), (0, combi_1.seq)("EXPONENT", _1.Source), (0, combi_1.seq)("ZERO =", zeroXSDOptions), xsd, (0, combi_1.seq)("STYLE =", styleOptions), (0, combi_1.seq)("CURRENCY =", _1.Source), (0, combi_1.seq)("COUNTRY =", _1.Source), (0, combi_1.per)(sign, number, decimals, width, pad, alpha, align), (0, combi_1.per)(timezone, timestamp));
30
+ const country = (0, combi_1.seq)("COUNTRY =", _1.Source);
31
+ const formatting = (0, combi_1.altPrio)((0, combi_1.seq)("TIME =", dateTimeOptions), (0, combi_1.seq)("DATE =", dateTimeOptions), (0, combi_1.seq)("CASE =", caseOptions), (0, combi_1.seq)("EXPONENT", _1.Source), (0, combi_1.seq)("ZERO =", zeroXSDOptions), xsd, (0, combi_1.seq)("STYLE =", styleOptions), (0, combi_1.seq)("CURRENCY =", _1.Source), (0, combi_1.per)(sign, number, decimals, width, pad, alpha, align, country), (0, combi_1.per)(timezone, timestamp));
31
32
  return formatting;
32
33
  }
33
34
  }
@@ -5,7 +5,7 @@ const combi_1 = require("../combi");
5
5
  const tokens_1 = require("../../1_lexer/tokens");
6
6
  class TableBody extends combi_1.Expression {
7
7
  getRunnable() {
8
- const ret = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.BracketLeft), (0, combi_1.tok)(tokens_1.BracketRightW));
8
+ const ret = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.BracketLeft), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.BracketRightW), (0, combi_1.tok)(tokens_1.BracketRight)));
9
9
  return ret;
10
10
  }
11
11
  }
@@ -6,9 +6,9 @@ const expressions_1 = require("../expressions");
6
6
  class Add {
7
7
  getMatcher() {
8
8
  const to = (0, combi_1.seq)("TO", expressions_1.Target);
9
- const accordingTo = (0, combi_1.seq)("ACCORDING TO", expressions_1.FieldSub);
10
- const giving = (0, combi_1.seq)("GIVING", expressions_1.FieldSub, (0, combi_1.opt)(accordingTo));
11
- const then = (0, combi_1.seq)("THEN", expressions_1.FieldSub, "UNTIL", expressions_1.FieldSub, (0, combi_1.alt)(giving, to));
9
+ const accordingTo = (0, combi_1.seq)("ACCORDING TO", expressions_1.Source);
10
+ const giving = (0, combi_1.seq)("GIVING", expressions_1.Source);
11
+ const then = (0, combi_1.seq)("THEN", expressions_1.Source, "UNTIL", expressions_1.Source, (0, combi_1.opt)((0, combi_1.per)(giving, accordingTo)), (0, combi_1.opt)(to));
12
12
  const ret = (0, combi_1.seq)("ADD", expressions_1.Source, (0, combi_1.altPrio)(to, then));
13
13
  return ret;
14
14
  }
@@ -5,7 +5,12 @@ const combi_1 = require("../combi");
5
5
  const simple_source2_1 = require("../expressions/simple_source2");
6
6
  class DynproLoop {
7
7
  getMatcher() {
8
- return (0, combi_1.seq)("LOOP AT", simple_source2_1.SimpleSource2, "WITH CONTROL", simple_source2_1.SimpleSource2, "CURSOR", simple_source2_1.SimpleSource2);
8
+ const into = (0, combi_1.seq)("INTO", simple_source2_1.SimpleSource2);
9
+ const cursor = (0, combi_1.seq)("CURSOR", simple_source2_1.SimpleSource2);
10
+ const withControl = (0, combi_1.seq)("WITH CONTROL", simple_source2_1.SimpleSource2);
11
+ const from = (0, combi_1.seq)("FROM", simple_source2_1.SimpleSource2);
12
+ const to = (0, combi_1.seq)("TO", simple_source2_1.SimpleSource2);
13
+ return (0, combi_1.seq)("LOOP AT", simple_source2_1.SimpleSource2, (0, combi_1.per)(into, withControl, cursor, from, to));
9
14
  }
10
15
  }
11
16
  exports.DynproLoop = DynproLoop;
@@ -9,7 +9,8 @@ class Field {
9
9
  getMatcher() {
10
10
  const module = (0, combi_1.seq)("MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("ON INPUT", "ON REQUEST", "ON CHAIN-REQUEST")));
11
11
  const values = (0, combi_1.seq)("VALUES", (0, combi_1.tok)(tokens_1.WParenLeft), "BETWEEN", expressions_1.Constant, "AND", expressions_1.Constant, (0, combi_1.tok)(tokens_1.ParenRightW));
12
- const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldChain, (0, combi_1.opt)((0, combi_1.alt)(module, values)));
12
+ const wit = (0, combi_1.seq)("WITH", expressions_1.FieldChain);
13
+ const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldChain, (0, combi_1.opt)((0, combi_1.altPrio)(module, values, wit)));
13
14
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
14
15
  }
15
16
  }
@@ -16,7 +16,8 @@ class Import {
16
16
  const table = (0, combi_1.seq)("INTERNAL TABLE", expressions_1.Source);
17
17
  const shared = (0, combi_1.seq)((0, combi_1.alt)("SHARED MEMORY", "SHARED BUFFER"), cluster, (0, combi_1.per)(dto, client, id));
18
18
  const database = (0, combi_1.seq)("DATABASE", cluster, (0, combi_1.per)(dto, client, id, using));
19
- const source = (0, combi_1.alt)(buffer, memory, database, table, shared);
19
+ const logfile = (0, combi_1.seq)("LOGFILE ID", expressions_1.Source);
20
+ const source = (0, combi_1.alt)(buffer, memory, database, table, shared, logfile);
20
21
  const to = (0, combi_1.plus)((0, combi_1.seq)(expressions_1.ComponentChainSimple, (0, combi_1.alt)("TO", "INTO"), expressions_1.Target));
21
22
  const toeq = (0, combi_1.plus)((0, combi_1.seq)((0, combi_1.alt)(expressions_1.ComponentChainSimple, expressions_1.FieldSymbol), "=", expressions_1.Target));
22
23
  const target = (0, combi_1.alt)(toeq, to, expressions_1.Dynamic, (0, combi_1.plus)(expressions_1.Target));
@@ -9,7 +9,7 @@ class Parameter {
9
9
  const para = (0, combi_1.altPrio)("PARAMETER", "PARAMETERS");
10
10
  const def = (0, combi_1.seq)("DEFAULT", (0, combi_1.altPrio)(expressions_1.Constant, expressions_1.FieldChain));
11
11
  const radio = (0, combi_1.seq)("RADIOBUTTON GROUP", expressions_1.RadioGroupName);
12
- const type = (0, combi_1.seq)((0, combi_1.altPrio)("TYPE", "LIKE"), (0, combi_1.altPrio)(expressions_1.TypeName, expressions_1.Dynamic));
12
+ const type = (0, combi_1.seq)((0, combi_1.altPrio)("TYPE", "LIKE"), (0, combi_1.altPrio)(expressions_1.TypeName, expressions_1.Dynamic), (0, combi_1.optPrio)(expressions_1.FieldOffset), (0, combi_1.optPrio)(expressions_1.FieldLength));
13
13
  const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.SimpleSource1);
14
14
  const listbox = (0, combi_1.str)("AS LISTBOX");
15
15
  const cmd = (0, combi_1.seq)("USER-COMMAND", (0, combi_1.regex)(/^[\w\?\/]+$/));
@@ -7,7 +7,7 @@ const version_1 = require("../../../version");
7
7
  class Ranges {
8
8
  getMatcher() {
9
9
  const occurs = (0, combi_1.seq)("OCCURS", expressions_1.Source);
10
- const ret = (0, combi_1.seq)("RANGES", expressions_1.SimpleName, "FOR", expressions_1.SimpleFieldChain2, (0, combi_1.opt)(occurs));
10
+ const ret = (0, combi_1.seq)("RANGES", expressions_1.SimpleName, "FOR", expressions_1.SimpleFieldChain2, (0, combi_1.optPrio)(occurs), (0, combi_1.optPrio)(expressions_1.FieldLength));
11
11
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
12
12
  }
13
13
  }
@@ -6,7 +6,7 @@ const expressions_1 = require("../expressions");
6
6
  const version_1 = require("../../../version");
7
7
  class SetProperty {
8
8
  getMatcher() {
9
- const ret = (0, combi_1.seq)("SET PROPERTY OF", expressions_1.Source, (0, combi_1.alt)(expressions_1.Constant, expressions_1.Field), "=", expressions_1.Source, (0, combi_1.optPrio)("NO FLUSH"), (0, combi_1.opt)(expressions_1.OLEExporting));
9
+ const ret = (0, combi_1.seq)("SET PROPERTY OF", expressions_1.Source, (0, combi_1.alt)(expressions_1.Constant, expressions_1.Field), "=", expressions_1.Source, (0, combi_1.optPrio)("NO FLUSH"), (0, combi_1.opt)(expressions_1.OLEExporting), (0, combi_1.opt)("QUEUEONLY"));
10
10
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
11
11
  }
12
12
  }
@@ -7,7 +7,7 @@ class Static {
7
7
  getMatcher() {
8
8
  const p = (0, combi_1.opt)((0, combi_1.per)(Expressions.Type, Expressions.Value, Expressions.Length, Expressions.Decimals));
9
9
  const type = (0, combi_1.seq)((0, combi_1.opt)(Expressions.ConstantFieldLength), p);
10
- const ret = (0, combi_1.seq)((0, combi_1.alt)("STATIC", "STATICS"), Expressions.DefinitionName, (0, combi_1.alt)(type, Expressions.TypeTable));
10
+ const ret = (0, combi_1.seq)((0, combi_1.alt)("STATIC", "STATICS"), Expressions.DefinitionName, (0, combi_1.optPrio)(Expressions.ConstantFieldLength), (0, combi_1.alt)(type, Expressions.TypeTable));
11
11
  return ret;
12
12
  }
13
13
  }
@@ -27,11 +27,13 @@ class Submit {
27
27
  const newList = (0, combi_1.seq)("NEW LIST IDENTIFICATION", expressions_1.Source);
28
28
  const layout = (0, combi_1.seq)("LAYOUT", expressions_1.Source);
29
29
  const cover = (0, combi_1.seq)("SAP COVER PAGE", expressions_1.Source);
30
+ const copies = (0, combi_1.seq)("COPIES", expressions_1.Source);
31
+ const datasetExpiration = (0, combi_1.seq)("DATASET EXPIRATION", expressions_1.Source);
30
32
  const keep = (0, combi_1.seq)("KEEP IN SPOOL", expressions_1.Source);
31
33
  const imm = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
32
34
  const dest = (0, combi_1.seq)("DESTINATION", expressions_1.Source);
33
35
  const language = (0, combi_1.seq)("LANGUAGE", expressions_1.Source);
34
- const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
36
+ const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, copies, datasetExpiration, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
35
37
  const ret = (0, combi_1.seq)("SUBMIT", prog, (0, combi_1.opt)(perm));
36
38
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
37
39
  }
@@ -18,6 +18,7 @@ __exportStar(require("./abap_query_functional_area"), exports);
18
18
  __exportStar(require("./abap_query_query"), exports);
19
19
  __exportStar(require("./activation_variant"), exports);
20
20
  __exportStar(require("./api_release_state"), exports);
21
+ __exportStar(require("./application_descriptors_fiori"), exports);
21
22
  __exportStar(require("./application_job_catalog_entry"), exports);
22
23
  __exportStar(require("./application_job_template"), exports);
23
24
  __exportStar(require("./application_log_object"), exports);
@@ -26,11 +27,11 @@ __exportStar(require("./atc_check_category"), exports);
26
27
  __exportStar(require("./atc_check_object"), exports);
27
28
  __exportStar(require("./atc_check_variant"), exports);
28
29
  __exportStar(require("./authorization_check_field"), exports);
29
- __exportStar(require("./application_descriptors_fiori"), exports);
30
30
  __exportStar(require("./authorization_group"), exports);
31
31
  __exportStar(require("./authorization_object_class"), exports);
32
32
  __exportStar(require("./authorization_object_extension"), exports);
33
33
  __exportStar(require("./authorization_object"), exports);
34
+ __exportStar(require("./badi_definition"), exports);
34
35
  __exportStar(require("./behavior_definition"), exports);
35
36
  __exportStar(require("./brf_plus_system_application"), exports);
36
37
  __exportStar(require("./bsp_application"), exports);
@@ -43,8 +44,6 @@ __exportStar(require("./business_function_set_assignment"), exports);
43
44
  __exportStar(require("./business_object_model"), exports);
44
45
  __exportStar(require("./business_object_type"), exports);
45
46
  __exportStar(require("./cds_metadata_extension"), exports);
46
- __exportStar(require("./badi_definition"), exports);
47
- __exportStar(require("./entity_type"), exports);
48
47
  __exportStar(require("./cds_type"), exports);
49
48
  __exportStar(require("./change_document"), exports);
50
49
  __exportStar(require("./chapter_of_book_structure"), exports);
@@ -70,6 +69,7 @@ __exportStar(require("./ecatt_test_data_container"), exports);
70
69
  __exportStar(require("./ecatt_test_script"), exports);
71
70
  __exportStar(require("./enhancement_implementation"), exports);
72
71
  __exportStar(require("./enhancement_spot"), exports);
72
+ __exportStar(require("./entity_type"), exports);
73
73
  __exportStar(require("./event_binding"), exports);
74
74
  __exportStar(require("./event_binding"), exports);
75
75
  __exportStar(require("./event_consumer"), exports);
@@ -83,7 +83,6 @@ __exportStar(require("./gateway_model_metadata"), exports);
83
83
  __exportStar(require("./gateway_model"), exports);
84
84
  __exportStar(require("./gateway_project"), exports);
85
85
  __exportStar(require("./gateway_service_groups_metadata"), exports);
86
- __exportStar(require("./web_reporting_template"), exports);
87
86
  __exportStar(require("./gateway_service"), exports);
88
87
  __exportStar(require("./gateway_vocabulary_annotation"), exports);
89
88
  __exportStar(require("./general_hierarchy_storage_extrension_name"), exports);
@@ -99,6 +98,7 @@ __exportStar(require("./icf_service"), exports);
99
98
  __exportStar(require("./idoc_extension"), exports);
100
99
  __exportStar(require("./idoc"), exports);
101
100
  __exportStar(require("./inbound_service"), exports);
101
+ __exportStar(require("./info_area"), exports);
102
102
  __exportStar(require("./info_object"), exports);
103
103
  __exportStar(require("./interface"), exports);
104
104
  __exportStar(require("./lock_object"), exports);
@@ -172,4 +172,5 @@ __exportStar(require("./web_dynpro_application"), exports);
172
172
  __exportStar(require("./web_dynpro_component_configuration"), exports);
173
173
  __exportStar(require("./web_dynpro_component"), exports);
174
174
  __exportStar(require("./web_mime"), exports);
175
+ __exportStar(require("./web_reporting_template"), exports);
175
176
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfoArea = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class InfoArea extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "AREA";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 30,
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.InfoArea = InfoArea;
21
+ //# sourceMappingURL=info_area.js.map
@@ -4,7 +4,7 @@ exports.WebReportingTemplate = void 0;
4
4
  const _abstract_object_1 = require("./_abstract_object");
5
5
  class WebReportingTemplate extends _abstract_object_1.AbstractObject {
6
6
  getType() {
7
- return "UENO";
7
+ return "W3HT";
8
8
  }
9
9
  getAllowedNaming() {
10
10
  return {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.115";
70
+ return "2.113.117";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
@@ -118,7 +118,7 @@ class IncludeGraph {
118
118
  }
119
119
  }
120
120
  else if (found.include === false) {
121
- const issue = issue_1.Issue.atStatement(f, s, "Not possible to INCLUDE a main program", new check_include_1.CheckInclude().getMetadata().key, severity_1.Severity.Error);
121
+ const issue = issue_1.Issue.atStatement(f, s, "Not possible to INCLUDE a main program, " + name, new check_include_1.CheckInclude().getMetadata().key, severity_1.Severity.Error);
122
122
  this.issues.push(issue);
123
123
  }
124
124
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.115",
3
+ "version": "2.113.117",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",