@abaplint/runtime 2.13.2 → 2.13.4
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.
|
@@ -111,11 +111,13 @@ function insertInternal(options) {
|
|
|
111
111
|
}
|
|
112
112
|
else if (options.table instanceof types_1.HashedTable && data) {
|
|
113
113
|
const { value: val, subrc: subrc } = options.table.insert(data);
|
|
114
|
-
if (
|
|
115
|
-
options.assigning
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
options.referenceInto
|
|
114
|
+
if (subrc === 0) {
|
|
115
|
+
if (options.assigning) {
|
|
116
|
+
options.assigning.assign(val);
|
|
117
|
+
}
|
|
118
|
+
if (options.referenceInto) {
|
|
119
|
+
options.referenceInto.assign(val);
|
|
120
|
+
}
|
|
119
121
|
}
|
|
120
122
|
abap.builtin.sy.get().subrc.set(subrc);
|
|
121
123
|
return;
|