@abaplint/runtime 2.6.11 → 2.6.13
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.
|
@@ -8,7 +8,12 @@ function concatenate(input) {
|
|
|
8
8
|
const tab = input.source[0];
|
|
9
9
|
if (tab instanceof types_1.Table) {
|
|
10
10
|
for (const l of tab.array()) {
|
|
11
|
-
|
|
11
|
+
if (input.respectingBlanks !== true) {
|
|
12
|
+
list.push(l.get().trimEnd());
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
list.push(l.get());
|
|
16
|
+
}
|
|
12
17
|
}
|
|
13
18
|
}
|
|
14
19
|
}
|
|
@@ -22,9 +27,11 @@ function concatenate(input) {
|
|
|
22
27
|
val = source.toString();
|
|
23
28
|
}
|
|
24
29
|
else if (source instanceof types_1.Character) {
|
|
25
|
-
val = source.get().toString();
|
|
26
30
|
if (input.respectingBlanks !== true) {
|
|
27
|
-
val =
|
|
31
|
+
val = source.getTrimEnd();
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
val = source.get();
|
|
28
35
|
}
|
|
29
36
|
}
|
|
30
37
|
else {
|
|
@@ -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
|