@abaplint/core 2.120.98 → 2.120.99
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.
- package/build/abaplint.d.ts +3 -0
- package/build/src/objects/view.js +14 -1
- package/build/src/registry.js +1 -1
- package/package.json +1 -1
package/build/abaplint.d.ts
CHANGED
|
@@ -8459,6 +8459,9 @@ declare class View extends AbstractObject {
|
|
|
8459
8459
|
TABNAME: string;
|
|
8460
8460
|
FIELDNAME: string;
|
|
8461
8461
|
KEYFLAG: string;
|
|
8462
|
+
EXVDATATYPE?: string;
|
|
8463
|
+
EXVFLENGTH?: string;
|
|
8464
|
+
EXVDECIMALS?: string;
|
|
8462
8465
|
}[] | undefined;
|
|
8463
8466
|
getJoin(): {
|
|
8464
8467
|
LTAB: string;
|
|
@@ -86,9 +86,19 @@ class View extends _abstract_object_1.AbstractObject {
|
|
|
86
86
|
continue;
|
|
87
87
|
}
|
|
88
88
|
else if (this.parsedData.header.VIEWCLASS === ViewClass.ExternalView) {
|
|
89
|
+
// for external views TABNAME is the view itself, the types are given directly in the xml
|
|
90
|
+
let type = Types.VoidType.get("ExternalView");
|
|
91
|
+
if (field.EXVDATATYPE !== undefined) {
|
|
92
|
+
type = ddic.textToType({
|
|
93
|
+
text: field.EXVDATATYPE,
|
|
94
|
+
length: field.EXVFLENGTH,
|
|
95
|
+
decimals: field.EXVDECIMALS,
|
|
96
|
+
infoText: this.getName() + "-" + field.VIEWFIELD,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
89
99
|
components.push({
|
|
90
100
|
name: field.VIEWFIELD,
|
|
91
|
-
type:
|
|
101
|
+
type: type
|
|
92
102
|
});
|
|
93
103
|
continue;
|
|
94
104
|
}
|
|
@@ -176,6 +186,9 @@ class View extends _abstract_object_1.AbstractObject {
|
|
|
176
186
|
TABNAME: field.TABNAME,
|
|
177
187
|
FIELDNAME: field.FIELDNAME,
|
|
178
188
|
KEYFLAG: field.KEYFLAG,
|
|
189
|
+
EXVDATATYPE: typeof field.EXVDATATYPE === "string" && field.EXVDATATYPE !== "" ? field.EXVDATATYPE : undefined,
|
|
190
|
+
EXVFLENGTH: typeof field.EXVFLENGTH === "string" ? field.EXVFLENGTH : undefined,
|
|
191
|
+
EXVDECIMALS: typeof field.EXVDECIMALS === "string" ? field.EXVDECIMALS : undefined,
|
|
179
192
|
});
|
|
180
193
|
}
|
|
181
194
|
const join = (_j = (_h = (_g = parsed === null || parsed === void 0 ? void 0 : parsed.abapGit) === null || _g === void 0 ? void 0 : _g["asx:abap"]) === null || _h === void 0 ? void 0 : _h["asx:values"]) === null || _j === void 0 ? void 0 : _j.DD28J_TABLE;
|
package/build/src/registry.js
CHANGED