Commit 108a7e3
committed
refactor: replace handwritten converters in lcl_db with z2ui5_cl_util
The local json/xml/csv conversion and fieldlist helpers duplicated
functionality that z2ui5_cl_util already provides (json_parse,
json_stringify, xml_parse, xml_stringify, itab_get_csv_by_itab,
itab_get_itab_by_csv, rtti_get_t_attri_by_any).
This also removes the /ui2/cl_json dependency (not available in ABAP
Cloud), fixes the previously asymmetric xml roundtrip (export wrote a
VALUES root while import expected DATA) and replaces the broken csv
import that treated every semicolon-separated token as a full row.
https://claude.ai/code/session_0127DCoD9XFp43K91kPvmtJc1 parent ca78381 commit 108a7e3
1 file changed
Lines changed: 14 additions & 76 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 92 | + | |
| 93 | + | |
109 | 94 | | |
110 | 95 | | |
111 | 96 | | |
112 | 97 | | |
113 | 98 | | |
114 | 99 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 100 | + | |
| 101 | + | |
120 | 102 | | |
121 | 103 | | |
122 | 104 | | |
123 | 105 | | |
124 | 106 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 107 | + | |
128 | 108 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 109 | + | |
| 110 | + | |
140 | 111 | | |
141 | | - | |
| 112 | + | |
| 113 | + | |
142 | 114 | | |
143 | 115 | | |
144 | 116 | | |
| |||
163 | 135 | | |
164 | 136 | | |
165 | 137 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 138 | + | |
180 | 139 | | |
181 | 140 | | |
182 | 141 | | |
183 | 142 | | |
184 | 143 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 144 | + | |
202 | 145 | | |
203 | 146 | | |
204 | 147 | | |
205 | 148 | | |
206 | 149 | | |
207 | | - | |
| 150 | + | |
208 | 151 | | |
209 | 152 | | |
210 | 153 | | |
211 | 154 | | |
212 | 155 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 156 | + | |
| 157 | + | |
220 | 158 | | |
221 | 159 | | |
222 | 160 | | |
| |||
0 commit comments