report zunicode_035.
parameters p_buf1(100) type c.
data: begin of struc,
text(10) type c,
int type i,
end of struc.
data: buffer type xstring,
conv type ref to cl_abap_conv_in_ce,
view type ref to cl_abap_view_offlen.
buffer = p_buf1.
view = cl_abap_view_offlen=>create_legacy_view( struc ).
conv = cl_abap_conv_in_ce=>create(
encoding = '8500'
endian = 'B'
input = buffer
).
*TRY.
call method conv->convert_struc
exporting
input = buffer
view = view
importing
data = struc.
* input_too_short =
.
*
*CALL METHOD conv->read(
* EXPORTING n = l_len
* IMPORTING data = L_text
* ).
write : struc-text, struc-int.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
170 | REPORT Z15_022. | sapjoy | 2007.01.30 | 2494 |
169 | REPORT Z11_008 | sapjoy | 2006.12.22 | 2496 |
168 | REPORT z20_001 | sapjoy | 2007.04.12 | 2499 |
167 | REPORT ZDYNAMIC_ITAB_03 | sapjoy | 2009.02.16 | 2501 |
166 | REPORT Z15_005 | sapjoy | 2007.01.31 | 2503 |
165 | REPORT Z17_014. [1] | sapjoy | 2007.02.13 | 2503 |
164 | report zsalv_035 . | sapjoy | 2010.08.20 | 2505 |
163 | REPORT Z17_004. | sapjoy | 2007.02.11 | 2508 |
162 | REPORT Z15_028 | sapjoy | 2007.02.01 | 2509 |
161 | REPORT Z09_005 | sapjoy | 2006.12.18 | 2514 |
160 | REPORT z17_23 | sapjoy | 2012.08.01 | 2516 |
159 |
sap_debug.txt
![]() | sapjoy | 2009.02.20 | 2521 |
158 | REPORT Z09_010 | sapjoy | 2006.12.19 | 2523 |
157 | REPORT Z15_020 | sapjoy | 2007.01.29 | 2524 |
156 | REPORT Z07_010. | sapjoy | 2006.12.07 | 2527 |
155 | REPORT z18_031 | sapjoy | 2008.04.21 | 2527 |
154 | REPORT zbadi_001 | sapjoy | 2009.01.06 | 2527 |
153 | Include Z_SHARED_AREA | sapjoy | 2007.05.28 | 2528 |
152 | module f4_drum_S101 input. | sapjoy | 2006.12.26 | 2541 |
» | report zunicode_035. | sapjoy | 2008.11.21 | 2541 |