@abaplint/runtime 2.6.10 → 2.6.12

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.
@@ -14,11 +14,11 @@ function createData(target, options) {
14
14
  }
15
15
  if ((options === null || options === void 0 ? void 0 : options.name) && (options === null || options === void 0 ? void 0 : options.table)) {
16
16
  // @ts-ignore
17
- if (abap.DDIC[options.name] === undefined) {
17
+ if (abap.DDIC[options.name.trimEnd()] === undefined) {
18
18
  (0, throw_error_1.throwError)("CX_SY_CREATE_DATA_ERROR");
19
19
  }
20
20
  // @ts-ignore
21
- target.assign(new abap.types.Table(abap.DDIC[options.name].type));
21
+ target.assign(new abap.types.Table(abap.DDIC[options.name.trimEnd()].type));
22
22
  }
23
23
  else if (options === null || options === void 0 ? void 0 : options.name) {
24
24
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.6.10",
3
+ "version": "2.6.12",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",