report zunicode_025.
data: cp_tab type nls_langu_cp_tab,
l_wa type nls_langu_cp_line,
cc type ref to cl_nls_struc_container.
*
data: begin of downtab occurs 100,
content(500),
end of downtab.
data: begin of head occurs 100,
* header(1),
txjcd(6),
* aa(20),
end of head.
*head-header = '1'.
head-txjcd = '가나다라마'.
*head-aa = '아자차'.
append head.
* Non Unicode(한글 2바이트로 인식)
l_wa-langu = '3'.
l_wa-codepage = '8500'.
insert l_wa into table cp_tab.
cc = cl_nls_struc_container=>create( cp_tab = cp_tab ).
try.
call method cc->struc_to_cont
exporting
struc = head
langu = '3'
importing
cont = downtab-content.
catch cx_sy_conversion_codepage .
catch cx_parameter_invalid_range .
endtry.
append downtab.
loop at downtab.
write : /1(100) downtab-content.
endloop.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
290 | report zunicode_026. | sapjoy | 2008.11.21 | 2782 |
» | report zunicode_025. | sapjoy | 2008.11.21 | 2489 |
288 | report zunicode_022. | sapjoy | 2008.11.21 | 2611 |
287 | report zunicode_017. | sapjoy | 2008.11.21 | 2810 |
286 | report zunicode_019. | sapjoy | 2008.11.21 | 2323 |
285 | report zunicode_018. | sapjoy | 2008.11.21 | 2224 |
284 | report zunicode_016. | sapjoy | 2008.11.21 | 2301 |
283 | report zunicode_015. | sapjoy | 2008.11.21 | 2226 |
282 | report zunicode_014. | sapjoy | 2008.11.21 | 1735 |
281 | report zunicode_013. | sapjoy | 2008.11.21 | 2208 |
280 | report zunicode_012. | sapjoy | 2008.11.21 | 2217 |
279 | report zunicode_011. | sapjoy | 2008.11.21 | 2173 |
278 | report zunicode_010. | sapjoy | 2008.11.21 | 2281 |
277 | report zunicode_009. | sapjoy | 2008.11.21 | 2229 |
276 | report zunicode_008. | sapjoy | 2008.11.21 | 2465 |
275 | report zunicode_007 | sapjoy | 2008.11.21 | 2481 |
274 | report zunicode_006. | sapjoy | 2008.11.21 | 2317 |
273 | report zunicode_005. | sapjoy | 2008.11.21 | 2229 |
272 | report zunicode_004. | sapjoy | 2008.11.21 | 2410 |
271 | report zunicode_003. | sapjoy | 2008.11.21 | 2202 |