메뉴 건너뛰기

SAP 한국 커뮤니티

report zunicode_019.

sapjoy 2008.11.22 01:23 조회 수 : 2326

report  zunicode_019.


data : begin of wa,
       lang(2) type c,
       name(3) type c,
       juso(2)  type c,
       end of wa.


data : itab like table of wa.


data : line(1000) type c,
       disp_line(1000) type c.


data: offset_tab type abap_offset_tab.


wa-lang = 'KO'. wa-name = '홍길동'. wa-juso = '서울'.
append wa to itab.


wa-lang = 'EN'. wa-name = 'mic'. wa-juso = 'NY'.
append wa to itab.


wa-lang = 'KO'. wa-name = '임꺽정'.wa-juso = '수원'.
append wa to itab.


append 3 to offset_tab.
append 10  to offset_tab.


loop at itab into wa.
  write wa-lang to line(2).
  write wa-name to line+3(6).
  write wa-juso to line+10(4).


  call method cl_abap_list_utilities=>memory_to_display
    exporting
      memory_data  = line
      offset_tab   = offset_tab
    importing
      display_data = disp_line.


  write / disp_line.
endloop.

번호 제목 글쓴이 날짜 조회 수
291 report zunicode_027. [4] sapjoy 2008.11.22 6289
290 report zunicode_026. sapjoy 2008.11.22 2783
289 report zunicode_025. sapjoy 2008.11.22 2490
288 report zunicode_022. sapjoy 2008.11.22 2614
287 report zunicode_017. sapjoy 2008.11.22 2810
» report zunicode_019. sapjoy 2008.11.22 2326
285 report zunicode_018. sapjoy 2008.11.22 2229
284 report zunicode_016. sapjoy 2008.11.22 2301
283 report zunicode_015. sapjoy 2008.11.22 2226
282 report zunicode_014. sapjoy 2008.11.22 1735
281 report zunicode_013. sapjoy 2008.11.22 2209
280 report zunicode_012. sapjoy 2008.11.22 2217
279 report zunicode_011. sapjoy 2008.11.22 2173
278 report zunicode_010. sapjoy 2008.11.22 2281
277 report zunicode_009. sapjoy 2008.11.22 2229
276 report zunicode_008. sapjoy 2008.11.22 2465
275 report zunicode_007 sapjoy 2008.11.22 2483
274 report zunicode_006. sapjoy 2008.11.22 2317
273 report zunicode_005. sapjoy 2008.11.22 2229
272 report zunicode_004. sapjoy 2008.11.22 2410