@abaplint/core 2.120.98 → 2.120.99

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.
@@ -8459,6 +8459,9 @@ declare class View extends AbstractObject {
8459
8459
  TABNAME: string;
8460
8460
  FIELDNAME: string;
8461
8461
  KEYFLAG: string;
8462
+ EXVDATATYPE?: string;
8463
+ EXVFLENGTH?: string;
8464
+ EXVDECIMALS?: string;
8462
8465
  }[] | undefined;
8463
8466
  getJoin(): {
8464
8467
  LTAB: string;
@@ -86,9 +86,19 @@ class View extends _abstract_object_1.AbstractObject {
86
86
  continue;
87
87
  }
88
88
  else if (this.parsedData.header.VIEWCLASS === ViewClass.ExternalView) {
89
+ // for external views TABNAME is the view itself, the types are given directly in the xml
90
+ let type = Types.VoidType.get("ExternalView");
91
+ if (field.EXVDATATYPE !== undefined) {
92
+ type = ddic.textToType({
93
+ text: field.EXVDATATYPE,
94
+ length: field.EXVFLENGTH,
95
+ decimals: field.EXVDECIMALS,
96
+ infoText: this.getName() + "-" + field.VIEWFIELD,
97
+ });
98
+ }
89
99
  components.push({
90
100
  name: field.VIEWFIELD,
91
- type: Types.VoidType.get("ExternalView")
101
+ type: type
92
102
  });
93
103
  continue;
94
104
  }
@@ -176,6 +186,9 @@ class View extends _abstract_object_1.AbstractObject {
176
186
  TABNAME: field.TABNAME,
177
187
  FIELDNAME: field.FIELDNAME,
178
188
  KEYFLAG: field.KEYFLAG,
189
+ EXVDATATYPE: typeof field.EXVDATATYPE === "string" && field.EXVDATATYPE !== "" ? field.EXVDATATYPE : undefined,
190
+ EXVFLENGTH: typeof field.EXVFLENGTH === "string" ? field.EXVFLENGTH : undefined,
191
+ EXVDECIMALS: typeof field.EXVDECIMALS === "string" ? field.EXVDECIMALS : undefined,
179
192
  });
180
193
  }
181
194
  const join = (_j = (_h = (_g = parsed === null || parsed === void 0 ? void 0 : parsed.abapGit) === null || _g === void 0 ? void 0 : _g["asx:abap"]) === null || _h === void 0 ? void 0 : _h["asx:values"]) === null || _j === void 0 ? void 0 : _j.DD28J_TABLE;
@@ -75,7 +75,7 @@ class Registry {
75
75
  }
76
76
  static abaplintVersion() {
77
77
  // magic, see build script "version.js"
78
- return "2.120.98";
78
+ return "2.120.99";
79
79
  }
80
80
  getDDICReferences() {
81
81
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.120.98",
3
+ "version": "2.120.99",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",