@abaplint/core 2.90.7 → 2.90.9

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.
@@ -155,6 +155,27 @@ class Table extends _abstract_object_1.AbstractObject {
155
155
  type: new basic_1.GenericObjectReferenceType()
156
156
  });
157
157
  }
158
+ else if (field.REFTYPE === "S") {
159
+ const lookup = ddic.lookupTableOrView(field.ROLLNAME);
160
+ components.push({ name: field.FIELDNAME, type: new basic_1.DataReference(lookup.type) });
161
+ if (lookup.object) {
162
+ references.push({ object: lookup.object });
163
+ }
164
+ }
165
+ else if (field.REFTYPE === "L") {
166
+ const lookup = ddic.lookupTableType(field.ROLLNAME);
167
+ components.push({ name: field.FIELDNAME, type: new basic_1.DataReference(lookup.type) });
168
+ if (lookup.object) {
169
+ references.push({ object: lookup.object });
170
+ }
171
+ }
172
+ else if (field.REFTYPE === "E") {
173
+ const lookup = ddic.lookupDataElement(field.ROLLNAME);
174
+ components.push({ name: field.FIELDNAME, type: new basic_1.DataReference(lookup.type) });
175
+ if (lookup.object) {
176
+ references.push({ object: lookup.object });
177
+ }
178
+ }
158
179
  else {
159
180
  const lookup = ddic.lookupObject(field.ROLLNAME);
160
181
  components.push({ name: field.FIELDNAME, type: lookup.type });
@@ -245,6 +266,7 @@ class Table extends _abstract_object_1.AbstractObject {
245
266
  DECIMALS: field.DECIMALS,
246
267
  KEYFLAG: field.KEYFLAG,
247
268
  GROUPNAME: field.GROUPNAME,
269
+ REFTYPE: field.REFTYPE,
248
270
  });
249
271
  }
250
272
  }
@@ -68,7 +68,7 @@ class Registry {
68
68
  }
69
69
  static abaplintVersion() {
70
70
  // magic, see build script "version.sh"
71
- return "2.90.7";
71
+ return "2.90.9";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.90.7",
3
+ "version": "2.90.9",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",