@mcp-abap-adt/adt-clients 1.0.4 → 1.0.5
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.
|
@@ -52,8 +52,8 @@ async function create(connection, args) {
|
|
|
52
52
|
// When typeKind is 'domain', dataType should contain the domain name, and it goes to typeName in XML
|
|
53
53
|
let typeName = '';
|
|
54
54
|
if (typeKindXml === 'domain') {
|
|
55
|
-
// For domain type, typeName
|
|
56
|
-
typeName = (args.
|
|
55
|
+
// For domain type, typeName is the domain name (type_name), not the underlying data type
|
|
56
|
+
typeName = (args.type_name || args.data_type || '').toUpperCase();
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
59
|
// For other types, typeName comes from type_name parameter
|
|
@@ -105,8 +105,8 @@ async function updateDataElementInternal(connection, args, lockHandle, username,
|
|
|
105
105
|
// When typeKind is 'domain', dataType should contain the domain name, and it goes to typeName in XML
|
|
106
106
|
let typeName = '';
|
|
107
107
|
if (typeKind === 'domain') {
|
|
108
|
-
// For domain type, typeName
|
|
109
|
-
typeName = (args.
|
|
108
|
+
// For domain type, typeName is the domain name (type_name), not the underlying data type
|
|
109
|
+
typeName = (args.type_name || args.data_type || '').toUpperCase();
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
112
112
|
// For other types, typeName comes from type_name parameter
|