@abaplint/runtime 2.7.124 → 2.7.126
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.
|
@@ -199,23 +199,27 @@ function readTable(table, options) {
|
|
|
199
199
|
abap.builtin.sy.get().subrc.set(subrc);
|
|
200
200
|
// @ts-ignore
|
|
201
201
|
abap.builtin.sy.get().tabix.set(foundIndex);
|
|
202
|
-
if (
|
|
203
|
-
if (options.into
|
|
204
|
-
options.into.
|
|
202
|
+
if (found) {
|
|
203
|
+
if (options.into) {
|
|
204
|
+
if (options.into instanceof types_1.DataReference) {
|
|
205
|
+
if (found instanceof types_1.DataReference) {
|
|
206
|
+
options.into.assign(found.getPointer());
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
options.into.assign(found);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
options.into.set(found);
|
|
214
|
+
}
|
|
205
215
|
}
|
|
206
|
-
else if (options.
|
|
207
|
-
options.
|
|
216
|
+
else if (options.referenceInto) {
|
|
217
|
+
options.referenceInto.assign(found);
|
|
208
218
|
}
|
|
209
|
-
else {
|
|
210
|
-
options.
|
|
219
|
+
else if (options.assigning) {
|
|
220
|
+
options.assigning.assign(found);
|
|
211
221
|
}
|
|
212
222
|
}
|
|
213
|
-
else if (options.referenceInto && found) {
|
|
214
|
-
options.referenceInto.assign(found);
|
|
215
|
-
}
|
|
216
|
-
else if (options.assigning && found) {
|
|
217
|
-
options.assigning.assign(found);
|
|
218
|
-
}
|
|
219
223
|
return { subrc, foundIndex };
|
|
220
224
|
}
|
|
221
225
|
exports.readTable = readTable;
|
package/build/src/types/hex.d.ts
CHANGED
|
@@ -6,9 +6,12 @@ import { INumeric } from "./_numeric";
|
|
|
6
6
|
export declare class Hex implements ICharacter {
|
|
7
7
|
private value;
|
|
8
8
|
private readonly length;
|
|
9
|
+
private readonly qualifiedName;
|
|
9
10
|
constructor(input?: {
|
|
10
11
|
length?: number;
|
|
12
|
+
qualifiedName?: string;
|
|
11
13
|
});
|
|
14
|
+
getQualifiedName(): string | undefined;
|
|
12
15
|
set(value: ICharacter | INumeric | string | number | Integer | Float): this;
|
|
13
16
|
getLength(): number;
|
|
14
17
|
clear(): void;
|
package/build/src/types/hex.js
CHANGED
|
@@ -8,8 +8,12 @@ const throw_error_1 = require("../throw_error");
|
|
|
8
8
|
class Hex {
|
|
9
9
|
constructor(input) {
|
|
10
10
|
this.length = (input === null || input === void 0 ? void 0 : input.length) ? input === null || input === void 0 ? void 0 : input.length : 1;
|
|
11
|
+
this.qualifiedName = input === null || input === void 0 ? void 0 : input.qualifiedName;
|
|
11
12
|
this.clear();
|
|
12
13
|
}
|
|
14
|
+
getQualifiedName() {
|
|
15
|
+
return this.qualifiedName;
|
|
16
|
+
}
|
|
13
17
|
set(value) {
|
|
14
18
|
if (typeof value === "string") {
|
|
15
19
|
this.value = value;
|