@abaplint/core 2.113.132 → 2.113.134

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.
@@ -652,6 +652,15 @@ declare class BusinessCatalogAppAssignment extends AbstractObject {
652
652
  getDescription(): string | undefined;
653
653
  }
654
654
 
655
+ declare class BusinessConfigurationMaintenanceObject extends AbstractObject {
656
+ getType(): string;
657
+ getAllowedNaming(): {
658
+ maxLength: number;
659
+ allowNamespace: boolean;
660
+ };
661
+ getDescription(): string | undefined;
662
+ }
663
+
655
664
  declare class BusinessConfigurationSet extends AbstractObject {
656
665
  getType(): string;
657
666
  getAllowedNaming(): {
@@ -1146,6 +1155,7 @@ declare class ClassDefinition_3 extends Identifier implements IClassDefinition {
1146
1155
  isAbstract(): boolean;
1147
1156
  isSharedMemory(): boolean;
1148
1157
  private findSuper;
1158
+ private checkMethodNameLength;
1149
1159
  private checkMethodsFromSuperClasses;
1150
1160
  private findFriends;
1151
1161
  private addReference;
@@ -1520,6 +1530,15 @@ export declare class CurrentScope {
1520
1530
  pop(end: Position): SpaghettiScope;
1521
1531
  }
1522
1532
 
1533
+ declare class CustomDataBrowserObject extends AbstractObject {
1534
+ getType(): string;
1535
+ getAllowedNaming(): {
1536
+ maxLength: number;
1537
+ allowNamespace: boolean;
1538
+ };
1539
+ getDescription(): string | undefined;
1540
+ }
1541
+
1523
1542
  declare class CustomerEnhancementProject extends AbstractObject {
1524
1543
  getType(): string;
1525
1544
  getAllowedNaming(): {
@@ -2852,6 +2871,15 @@ declare class GatewayModelMetadata extends AbstractObject {
2852
2871
  getDescription(): string | undefined;
2853
2872
  }
2854
2873
 
2874
+ declare class GatewayODataGroupAndAssignment extends AbstractObject {
2875
+ getType(): string;
2876
+ getAllowedNaming(): {
2877
+ maxLength: number;
2878
+ allowNamespace: boolean;
2879
+ };
2880
+ getDescription(): string | undefined;
2881
+ }
2882
+
2855
2883
  declare class GatewayProject extends AbstractObject {
2856
2884
  getType(): string;
2857
2885
  getAllowedNaming(): {
@@ -3770,6 +3798,7 @@ declare class InterfaceDefinition extends Identifier implements IInterfaceDefini
3770
3798
  isLocal(): boolean;
3771
3799
  isGlobal(): boolean;
3772
3800
  getMethodDefinitions(): IMethodDefinitions;
3801
+ private checkMethodNameLength;
3773
3802
  private checkInterfacesExists;
3774
3803
  private parse;
3775
3804
  }
@@ -4139,6 +4168,15 @@ declare class KernelId extends Expression {
4139
4168
  getRunnable(): IStatementRunnable;
4140
4169
  }
4141
4170
 
4171
+ declare class KnowledgeTransferDocument extends AbstractObject {
4172
+ getType(): string;
4173
+ getAllowedNaming(): {
4174
+ maxLength: number;
4175
+ allowNamespace: boolean;
4176
+ };
4177
+ getDescription(): string | undefined;
4178
+ }
4179
+
4142
4180
  declare class Language extends Expression {
4143
4181
  getRunnable(): IStatementRunnable;
4144
4182
  }
@@ -4917,6 +4955,7 @@ declare namespace Objects {
4917
4955
  BusinessAddInImplementation,
4918
4956
  BusinessCatalogAppAssignment,
4919
4957
  BusinessCatalog,
4958
+ BusinessConfigurationMaintenanceObject,
4920
4959
  BusinessConfigurationSet,
4921
4960
  BusinessFunctionAssignment,
4922
4961
  BusinessFunctionSetAssignment,
@@ -4935,6 +4974,7 @@ declare namespace Objects {
4935
4974
  CompositeEnhancementImplementation,
4936
4975
  CompositeEnhancementSpot,
4937
4976
  ConceptsOfPackage,
4977
+ CustomDataBrowserObject,
4938
4978
  CustomerEnhancementProject,
4939
4979
  CustomizingAttributes,
4940
4980
  CustomizingImgActivity,
@@ -4964,6 +5004,7 @@ declare namespace Objects {
4964
5004
  FunctionGroup,
4965
5005
  GatewayModelMetadata,
4966
5006
  GatewayModel,
5007
+ GatewayODataGroupAndAssignment,
4967
5008
  GatewayProject,
4968
5009
  GatewayServiceGroupsMetadata,
4969
5010
  GatewayService,
@@ -4984,6 +5025,7 @@ declare namespace Objects {
4984
5025
  InfoArea,
4985
5026
  InfoObject,
4986
5027
  Interface,
5028
+ KnowledgeTransferDocument,
4987
5029
  LockObject,
4988
5030
  MaintenanceAndTransportObject,
4989
5031
  MessageClass,
@@ -11,7 +11,8 @@ class CorrespondingBody extends combi_1.Expression {
11
11
  const mapping = (0, combi_1.seq)("MAPPING", (0, combi_1.plus)((0, combi_1.seq)(_1.ComponentName, "=", component_chain_1.ComponentChain)));
12
12
  const baseParen = (0, combi_1.seq)("BASE", (0, combi_1.tok)(tokens_1.WParenLeftW), _1.Source, (0, combi_1.tok)(tokens_1.WParenRightW));
13
13
  const discarding = (0, combi_1.ver)(version_1.Version.v751, "DISCARDING DUPLICATES");
14
- return (0, combi_1.seq)((0, combi_1.optPrio)("DEEP"), (0, combi_1.optPrio)(baseParen), _1.Source, (0, combi_1.optPrio)(discarding), (0, combi_1.optPrio)(mapping), (0, combi_1.optPrio)("CHANGING CONTROL"), (0, combi_1.optPrio)((0, combi_1.seq)("EXCEPT", (0, combi_1.alt)((0, combi_1.plus)(_1.Field), "*"))));
14
+ return (0, combi_1.seq)((0, combi_1.optPrio)("DEEP"), (0, combi_1.optPrio)(baseParen), _1.Source, (0, combi_1.optPrio)(discarding), (0, combi_1.optPrio)(mapping), (0, combi_1.optPrio)("CHANGING CONTROL"), (0, combi_1.optPrio)((0, combi_1.seq)("MAPPING FROM ENTITY", (0, combi_1.optPrio)("USING CONTROL"))), // todo, version something?
15
+ (0, combi_1.optPrio)((0, combi_1.seq)("EXCEPT", (0, combi_1.alt)((0, combi_1.plus)(_1.Field), "*"))));
15
16
  }
16
17
  }
17
18
  exports.CorrespondingBody = CorrespondingBody;
@@ -8,7 +8,7 @@ const integer_1 = require("./integer");
8
8
  const sql_function_input_1 = require("./sql_function_input");
9
9
  class SQLFunction extends combi_1.Expression {
10
10
  getRunnable() {
11
- const castTypes = (0, combi_1.altPrio)((0, combi_1.seq)("CHAR", (0, combi_1.optPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), integer_1.Integer, (0, combi_1.tok)(tokens_1.WParenRightW)))), (0, combi_1.seq)("DEC", (0, combi_1.tok)(tokens_1.ParenLeftW), integer_1.Integer, ",", integer_1.Integer, (0, combi_1.tok)(tokens_1.WParenRightW)), (0, combi_1.seq)("NUMC", (0, combi_1.optPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), integer_1.Integer, (0, combi_1.tok)(tokens_1.WParenRightW)))), "FLTP", "INT2", "INT8");
11
+ const castTypes = (0, combi_1.altPrio)((0, combi_1.seq)("CHAR", (0, combi_1.optPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), integer_1.Integer, (0, combi_1.tok)(tokens_1.WParenRightW)))), (0, combi_1.seq)("DEC", (0, combi_1.tok)(tokens_1.ParenLeftW), integer_1.Integer, ",", integer_1.Integer, (0, combi_1.tok)(tokens_1.WParenRightW)), (0, combi_1.seq)("NUMC", (0, combi_1.optPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), integer_1.Integer, (0, combi_1.tok)(tokens_1.WParenRightW)))), "FLTP", "INT2", "INT4", "INT8");
12
12
  const commaParam = (0, combi_1.seq)(",", sql_function_input_1.SQLFunctionInput);
13
13
  // note: the function names are not keywords, they are usually in lower case
14
14
  const abs = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.regex)(/^abs$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, (0, combi_1.tok)(tokens_1.WParenRightW)));
@@ -10,15 +10,17 @@ class TypeStructure extends combi_1.Expression {
10
10
  const create = (0, combi_1.seq)("CREATE", (0, combi_1.alt)(_1.NamespaceSimpleName, _1.EntityAssociation));
11
11
  const update = (0, combi_1.seq)("UPDATE", (0, combi_1.alt)(_1.NamespaceSimpleName, _1.EntityAssociation));
12
12
  const readResult = (0, combi_1.seq)("READ RESULT", (0, combi_1.alt)(_1.NamespaceSimpleName, _1.EntityAssociation));
13
+ const readLink = (0, combi_1.seq)("READ LINK", _1.EntityAssociation);
13
14
  const action = (0, combi_1.seq)("ACTION IMPORT", _1.Source);
14
15
  const permissionsRequest = (0, combi_1.seq)("PERMISSIONS REQUEST", _1.NamespaceSimpleName);
15
16
  const evt = (0, combi_1.seq)("EVENT", _1.EventName);
16
17
  const failedEarly = (0, combi_1.seq)("FAILED EARLY", _1.NamespaceSimpleName);
17
18
  const mappedEarly = (0, combi_1.seq)("MAPPED EARLY", _1.NamespaceSimpleName);
18
19
  const reportedEarly = (0, combi_1.seq)("REPORTED EARLY", _1.NamespaceSimpleName);
19
- const structure = (0, combi_1.seq)("STRUCTURE FOR", (0, combi_1.altPrio)(hier, evt, create, update, action, permissionsRequest, readResult));
20
+ const structure = (0, combi_1.seq)("STRUCTURE FOR", (0, combi_1.altPrio)(hier, evt, create, update, action, permissionsRequest, readLink, readResult));
20
21
  const response = (0, combi_1.seq)("RESPONSE FOR", (0, combi_1.altPrio)(failedEarly, mappedEarly, reportedEarly));
21
- return (0, combi_1.seq)("TYPE", (0, combi_1.altPrio)(structure, response));
22
+ const request = (0, combi_1.seq)("REQUEST FOR CHANGE", _1.NamespaceSimpleName);
23
+ return (0, combi_1.seq)("TYPE", (0, combi_1.altPrio)(structure, response, request));
22
24
  }
23
25
  }
24
26
  exports.TypeStructure = TypeStructure;
@@ -9,7 +9,7 @@ class CommitEntities {
9
9
  const failed = (0, combi_1.seq)("FAILED", expressions_1.Target);
10
10
  const reported = (0, combi_1.seq)("REPORTED", expressions_1.Target);
11
11
  const responses = (0, combi_1.seq)("RESPONSES", failed, reported);
12
- const s = (0, combi_1.seq)("COMMIT ENTITIES", (0, combi_1.optPrio)("IN SIMULATION MODE"), (0, combi_1.opt)(responses), (0, combi_1.opt)((0, combi_1.seq)("RESPONSE OF", expressions_1.NamespaceSimpleName, failed, reported)));
12
+ const s = (0, combi_1.seq)("COMMIT ENTITIES", (0, combi_1.optPrio)("IN SIMULATION MODE"), (0, combi_1.opt)(responses), (0, combi_1.opt)((0, combi_1.seq)("RESPONSE OF", expressions_1.NamespaceSimpleName, (0, combi_1.per)(failed, reported))));
13
13
  return (0, combi_1.ver)(version_1.Version.v754, s);
14
14
  }
15
15
  }
@@ -9,20 +9,18 @@ class MethodDef {
9
9
  const def = (0, combi_1.ver)(version_1.Version.v740sp08, (0, combi_1.seq)("DEFAULT", (0, combi_1.altPrio)("FAIL", "IGNORE")));
10
10
  const parameters = (0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.altPrio)("FINAL", def, expressions_1.Abstract)), (0, combi_1.optPrio)(expressions_1.MethodDefImporting), (0, combi_1.optPrio)(expressions_1.MethodDefExporting), (0, combi_1.optPrio)(expressions_1.MethodDefChanging), (0, combi_1.optPrio)(expressions_1.MethodDefReturning), (0, combi_1.optPrio)((0, combi_1.altPrio)(expressions_1.MethodDefRaising, expressions_1.MethodDefExceptions)));
11
11
  const testing = (0, combi_1.seq)((0, combi_1.optPrio)(expressions_1.Abstract), "FOR TESTING", (0, combi_1.optPrio)((0, combi_1.altPrio)(expressions_1.MethodDefRaising, expressions_1.MethodDefExceptions)));
12
- // todo, this is only from version something
13
- const tableFunction = (0, combi_1.seq)("TABLE FUNCTION", expressions_1.NamespaceSimpleName);
14
- // todo, this is only from version something
15
- const ddl = "DDL OBJECT OPTIONS CDS SESSION CLIENT REQUIRED";
16
12
  const result = (0, combi_1.seq)("RESULT", expressions_1.MethodParamName);
17
13
  const link = (0, combi_1.seq)("LINK", expressions_1.MethodParamName);
18
14
  const full = (0, combi_1.seq)("FULL", expressions_1.MethodParamName);
19
15
  const modify = (0, combi_1.alt)((0, combi_1.seq)("FOR ACTION", expressions_1.TypeName, (0, combi_1.optPrio)(result)), (0, combi_1.seq)("FOR CREATE", (0, combi_1.alt)(expressions_1.TypeName, expressions_1.EntityAssociation)), (0, combi_1.seq)("FOR DELETE", expressions_1.TypeName), (0, combi_1.seq)("FOR UPDATE", expressions_1.TypeName));
20
16
  const forRead = (0, combi_1.seq)("FOR READ", (0, combi_1.alt)(expressions_1.TypeName, expressions_1.EntityAssociation), (0, combi_1.optPrio)(full), result, (0, combi_1.optPrio)(link));
21
17
  const forfunction = (0, combi_1.seq)("FOR FUNCTION", expressions_1.TypeName, result);
22
- const behavior = (0, combi_1.altPrio)((0, combi_1.seq)("VALIDATE ON SAVE IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("MODIFY IMPORTING", expressions_1.MethodParamName, modify), (0, combi_1.seq)("READ IMPORTING", expressions_1.MethodParamName, (0, combi_1.altPrio)(forRead, forfunction)), (0, combi_1.seq)("FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.NamespaceSimpleName, "FOR", expressions_1.NamespaceSimpleName, result), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR CREATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR UPDATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR DELETE", expressions_1.TypeName), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR READ", expressions_1.TypeName, result), (0, combi_1.seq)((0, combi_1.alt)("BEHAVIOR", "LOCK"), "IMPORTING", expressions_1.MethodParamName, "FOR LOCK", expressions_1.TypeName), (0, combi_1.seq)("DETERMINE", (0, combi_1.alt)("ON MODIFY", "ON SAVE"), "IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("GLOBAL AUTHORIZATION IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE AUTHORIZATION IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result));
18
+ const behavior = (0, combi_1.altPrio)("DDL OBJECT OPTIONS CDS SESSION CLIENT REQUIRED", // todo, this is only from version something
19
+ (0, combi_1.seq)("TABLE FUNCTION", expressions_1.NamespaceSimpleName), // todo, this is only from version something
20
+ (0, combi_1.seq)("VALIDATE ON SAVE IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("MODIFY IMPORTING", (0, combi_1.plus)((0, combi_1.seq)(expressions_1.MethodParamName, modify))), (0, combi_1.seq)("PRECHECK IMPORTING", expressions_1.MethodParamName, modify), (0, combi_1.seq)("READ IMPORTING", expressions_1.MethodParamName, (0, combi_1.altPrio)(forRead, forfunction)), (0, combi_1.seq)("FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.NamespaceSimpleName, "FOR", expressions_1.NamespaceSimpleName, result), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR CREATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR UPDATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR DELETE", expressions_1.TypeName), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR READ", expressions_1.TypeName, result), (0, combi_1.seq)((0, combi_1.alt)("BEHAVIOR", "LOCK"), "IMPORTING", expressions_1.MethodParamName, "FOR LOCK", expressions_1.TypeName), (0, combi_1.seq)("DETERMINE", (0, combi_1.alt)("ON MODIFY", "ON SAVE"), "IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("GLOBAL AUTHORIZATION IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("GLOBAL FEATURES IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE AUTHORIZATION IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result));
23
21
  // todo, this is only from version something
24
22
  const amdp = (0, combi_1.seq)("AMDP OPTIONS", (0, combi_1.optPrio)("READ-ONLY"), "CDS SESSION CLIENT CURRENT", (0, combi_1.optPrio)(expressions_1.MethodDefImporting), (0, combi_1.optPrio)(expressions_1.MethodDefExporting), (0, combi_1.optPrio)(expressions_1.MethodDefRaising));
25
- const ret = (0, combi_1.seq)((0, combi_1.altPrio)("CLASS-METHODS", "METHODS"), expressions_1.MethodName, (0, combi_1.alt)((0, combi_1.seq)((0, combi_1.optPrio)(expressions_1.Abstract), (0, combi_1.optPrio)(def), expressions_1.EventHandler), parameters, testing, (0, combi_1.seq)("FOR", (0, combi_1.alt)(tableFunction, ddl, behavior)), amdp, "NOT AT END OF MODE", (0, combi_1.optPrio)(expressions_1.Redefinition)));
23
+ const ret = (0, combi_1.seq)((0, combi_1.altPrio)("CLASS-METHODS", "METHODS"), expressions_1.MethodName, (0, combi_1.alt)((0, combi_1.seq)((0, combi_1.optPrio)(expressions_1.Abstract), (0, combi_1.optPrio)(def), expressions_1.EventHandler), parameters, testing, (0, combi_1.seq)("FOR", behavior), amdp, "NOT AT END OF MODE", (0, combi_1.optPrio)(expressions_1.Redefinition)));
26
24
  return ret;
27
25
  }
28
26
  }
@@ -9,14 +9,15 @@ class ModifyEntities {
9
9
  const withh = (0, combi_1.seq)("WITH", expressions_1.Source);
10
10
  const fieldsWith = (0, combi_1.seq)("FIELDS (", (0, combi_1.plus)(expressions_1.SimpleName), ")", withh);
11
11
  const by = (0, combi_1.seq)("BY", expressions_1.AssociationName);
12
- const operation = (0, combi_1.alt)((0, combi_1.seq)("UPDATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("CREATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("UPDATE", fieldsWith), (0, combi_1.seq)("DELETE FROM", expressions_1.Source), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), "FROM", expressions_1.Source), (0, combi_1.seq)("EXECUTE", expressions_1.SimpleName, "FROM", expressions_1.Source), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), (0, combi_1.optPrio)("AUTO FILL CID"), (0, combi_1.altPrio)(withh, fieldsWith)));
12
+ const relating = (0, combi_1.seq)("RELATING TO", expressions_1.NamespaceSimpleName, "BY", expressions_1.NamespaceSimpleName);
13
+ const operation = (0, combi_1.alt)((0, combi_1.seq)("UPDATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("CREATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("UPDATE", fieldsWith), (0, combi_1.seq)("DELETE FROM", expressions_1.Source), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), "FROM", expressions_1.Source, (0, combi_1.opt)(relating)), (0, combi_1.seq)("EXECUTE", expressions_1.SimpleName, "FROM", expressions_1.Source), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), (0, combi_1.optPrio)("AUTO FILL CID"), (0, combi_1.altPrio)(withh, fieldsWith)));
13
14
  const failed = (0, combi_1.seq)("FAILED", expressions_1.Target);
14
15
  const result = (0, combi_1.seq)("RESULT", expressions_1.Target);
15
16
  const mapped = (0, combi_1.seq)("MAPPED", expressions_1.Target);
16
17
  const reported = (0, combi_1.seq)("REPORTED", expressions_1.Target);
17
18
  const from = (0, combi_1.seq)("FROM", expressions_1.Source);
18
19
  const execute = (0, combi_1.seq)("EXECUTE", expressions_1.NamespaceSimpleName);
19
- const entities = (0, combi_1.seq)("ENTITIES OF", expressions_1.NamespaceSimpleName, (0, combi_1.opt)("IN LOCAL MODE"), (0, combi_1.plusPrio)((0, combi_1.seq)("ENTITY", expressions_1.SimpleName, (0, combi_1.plus)(operation))), (0, combi_1.optPrio)((0, combi_1.per)(failed, result, mapped, reported)));
20
+ const entities = (0, combi_1.seq)((0, combi_1.optPrio)("AUGMENTING"), "ENTITIES OF", expressions_1.NamespaceSimpleName, (0, combi_1.opt)("IN LOCAL MODE"), (0, combi_1.plusPrio)((0, combi_1.seq)("ENTITY", expressions_1.SimpleName, (0, combi_1.plus)(operation))), (0, combi_1.optPrio)((0, combi_1.per)(failed, result, mapped, reported)));
20
21
  const entity = (0, combi_1.seq)("ENTITY", expressions_1.NamespaceSimpleName, execute, from, mapped, failed, reported);
21
22
  return (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("MODIFY", (0, combi_1.alt)(entities, entity)));
22
23
  }
@@ -47,6 +47,7 @@ class ClassDefinition extends _identifier_1.Identifier {
47
47
  this.abstract = (def === null || def === void 0 ? void 0 : def.findDirectTokenByText("ABSTRACT")) !== undefined;
48
48
  // perform checks after everything has been initialized
49
49
  this.checkMethodsFromSuperClasses(input.scope);
50
+ this.checkMethodNameLength();
50
51
  }
51
52
  getFriends() {
52
53
  return this.friends;
@@ -99,6 +100,14 @@ class ClassDefinition extends _identifier_1.Identifier {
99
100
  const name = token === null || token === void 0 ? void 0 : token.getStr();
100
101
  return name;
101
102
  }
103
+ checkMethodNameLength() {
104
+ for (const m of this.methodDefs.getAll()) {
105
+ if (m.getName().length > 30 && m.getName().includes("~") === false) {
106
+ const message = `Method name "${m.getName()}" is too long, maximum length is 30 characters`;
107
+ throw new Error(message);
108
+ }
109
+ }
110
+ }
102
111
  checkMethodsFromSuperClasses(scope) {
103
112
  var _a;
104
113
  let sup = this.getSuperClass();
@@ -26,6 +26,8 @@ class InterfaceDefinition extends _identifier_1.Identifier {
26
26
  input.scope.push(_scope_type_1.ScopeType.Interface, name.getStr(), node.getFirstToken().getStart(), input.filename);
27
27
  this.parse(input, node);
28
28
  input.scope.pop(node.getLastToken().getEnd());
29
+ // perform checks after everything has been initialized
30
+ this.checkMethodNameLength();
29
31
  }
30
32
  getSuperClass() {
31
33
  return undefined;
@@ -55,6 +57,14 @@ class InterfaceDefinition extends _identifier_1.Identifier {
55
57
  return this.methodDefinitions;
56
58
  }
57
59
  /////////////////
60
+ checkMethodNameLength() {
61
+ for (const m of this.methodDefinitions.getAll()) {
62
+ if (m.getName().length > 30) {
63
+ const message = `Method name "${m.getName()}" is too long, maximum length is 30 characters`;
64
+ throw new Error(message);
65
+ }
66
+ }
67
+ }
58
68
  checkInterfacesExists(input, node) {
59
69
  var _a;
60
70
  for (const i of node.findAllStatements(Statements.InterfaceDef)) {
@@ -8,7 +8,8 @@ const cds_type_1 = require("./cds_type");
8
8
  class CDSDefineCustom extends combi_1.Expression {
9
9
  getRunnable() {
10
10
  const field = (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), (0, combi_1.opt)((0, combi_1.str)("KEY")), cds_name_1.CDSName, ":", cds_type_1.CDSType, ";");
11
- return (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), (0, combi_1.str)("DEFINE"), (0, combi_1.opt)((0, combi_1.str)("ROOT")), (0, combi_1.str)("CUSTOM ENTITY"), cds_name_1.CDSName, (0, combi_1.str)("{"), (0, combi_1.plus)(field), (0, combi_1.str)("}"), (0, combi_1.opt)(";"));
11
+ const composition = (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), cds_name_1.CDSName, ":", _1.CDSComposition, ";");
12
+ return (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), (0, combi_1.str)("DEFINE"), (0, combi_1.opt)((0, combi_1.str)("ROOT")), (0, combi_1.str)("CUSTOM ENTITY"), cds_name_1.CDSName, (0, combi_1.str)("{"), (0, combi_1.plus)((0, combi_1.alt)(field, composition)), (0, combi_1.str)("}"), (0, combi_1.opt)(";"));
12
13
  }
13
14
  }
14
15
  exports.CDSDefineCustom = CDSDefineCustom;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BusinessConfigurationMaintenanceObject = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class BusinessConfigurationMaintenanceObject extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "SMBC";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 60, // todo
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.BusinessConfigurationMaintenanceObject = BusinessConfigurationMaintenanceObject;
21
+ //# sourceMappingURL=business_configuration_maintenance_object.js.map
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomDataBrowserObject = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class CustomDataBrowserObject extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "CDBO";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 32,
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.CustomDataBrowserObject = CustomDataBrowserObject;
21
+ //# sourceMappingURL=custom_data_browser_object.js.map
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GatewayODataGroupAndAssignment = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class GatewayODataGroupAndAssignment extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "G4BA";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 32,
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.GatewayODataGroupAndAssignment = GatewayODataGroupAndAssignment;
21
+ //# sourceMappingURL=gateway_odata_group_and_assignment.js.map
@@ -38,6 +38,7 @@ __exportStar(require("./bsp_application"), exports);
38
38
  __exportStar(require("./business_add_in_implementation"), exports);
39
39
  __exportStar(require("./business_catalog_app_assignment"), exports);
40
40
  __exportStar(require("./business_catalog"), exports);
41
+ __exportStar(require("./business_configuration_maintenance_object"), exports);
41
42
  __exportStar(require("./business_configuration_set"), exports);
42
43
  __exportStar(require("./business_function_assignment"), exports);
43
44
  __exportStar(require("./business_function_set_assignment"), exports);
@@ -54,6 +55,7 @@ __exportStar(require("./communication_scenario"), exports);
54
55
  __exportStar(require("./composite_enhancement_implementation"), exports);
55
56
  __exportStar(require("./composite_enhancement_spot"), exports);
56
57
  __exportStar(require("./concepts_of_package"), exports);
58
+ __exportStar(require("./custom_data_browser_object"), exports);
57
59
  __exportStar(require("./customer_enhancement_project"), exports);
58
60
  __exportStar(require("./customizing_attributes"), exports);
59
61
  __exportStar(require("./customizing_img_activity"), exports);
@@ -81,6 +83,7 @@ __exportStar(require("./format_type"), exports);
81
83
  __exportStar(require("./function_group"), exports);
82
84
  __exportStar(require("./gateway_model_metadata"), exports);
83
85
  __exportStar(require("./gateway_model"), exports);
86
+ __exportStar(require("./gateway_odata_group_and_assignment"), exports);
84
87
  __exportStar(require("./gateway_project"), exports);
85
88
  __exportStar(require("./gateway_service_groups_metadata"), exports);
86
89
  __exportStar(require("./gateway_service"), exports);
@@ -101,6 +104,7 @@ __exportStar(require("./inbound_service"), exports);
101
104
  __exportStar(require("./info_area"), exports);
102
105
  __exportStar(require("./info_object"), exports);
103
106
  __exportStar(require("./interface"), exports);
107
+ __exportStar(require("./knowledge_transfer_document"), exports);
104
108
  __exportStar(require("./lock_object"), exports);
105
109
  __exportStar(require("./maintenance_and_transport_object"), exports);
106
110
  __exportStar(require("./message_class"), exports);
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KnowledgeTransferDocument = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class KnowledgeTransferDocument extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "SKTD";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 60, // todo
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.KnowledgeTransferDocument = KnowledgeTransferDocument;
21
+ //# sourceMappingURL=knowledge_transfer_document.js.map
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.132";
70
+ return "2.113.134";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.132",
3
+ "version": "2.113.134",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -53,9 +53,9 @@
53
53
  "@microsoft/api-extractor": "^7.52.8",
54
54
  "@types/chai": "^4.3.20",
55
55
  "@types/mocha": "^10.0.10",
56
- "@types/node": "^24.0.4",
56
+ "@types/node": "^24.0.8",
57
57
  "chai": "^4.5.0",
58
- "eslint": "^9.29.0",
58
+ "eslint": "^9.30.0",
59
59
  "mocha": "^11.7.1",
60
60
  "c8": "^10.1.3",
61
61
  "source-map-support": "^0.5.21",