report zunicode_022.
data: lv_path like rlgrap-filename,
lv_fname like rlgrap-filename,
l_idx type i.
data: ls_down(100) type n,
lt_down like table of ls_down.
do 100 times.
ls_down = sy-index.
l_idx = sy-index mod 10.
if l_idx = 0.
class cl_abap_char_utilities definition load.
concatenate ls_down cl_abap_char_utilities=>cr_lf into ls_down.
append ls_down to lt_down.
endif.
enddo.
lv_fname = 'C:ABAPDOWNLOADTEST.XLS' . "다운받을 파일 경로
call function 'GUI_CREATE_DIRECTORY' "디렉토리 생성하는 함수
exporting
dirname = lv_path
exceptions
failed = 1
others = 2.
call function 'DOWNLOAD'
exporting
filename = lv_fname
filetype = 'DAT'
item = 'X'
tables
data_tab = lt_down
exceptions
invalid_filesize = 1
others = 2.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
570 | REPORT Z03_010 [2] | sapjoy | 2007.05.14 | 2655 |
569 | REPORT Z05_013 [3] | sapjoy | 2008.04.14 | 2653 |
568 | REPORT ZRTTS_01 . | sapjoy | 2009.12.24 | 2651 |
567 | REPORT z16_002 | sapjoy | 2008.08.07 | 2649 |
566 | REPORT Z15_001 [2] | sapjoy | 2008.04.15 | 2647 |
565 | REPORT ZDYNAMIC_ITAB_12. | sapjoy | 2009.02.16 | 2643 |
564 | REPORT z18_038 [2] | sapjoy | 2008.04.21 | 2635 |
563 | report zunicode_032. | sapjoy | 2008.11.21 | 2634 |
562 | REPORT Z13_013 | sapjoy | 2007.01.08 | 2634 |
561 | REPORT Z07_026 [3] | sapjoy | 2006.12.08 | 2632 |
560 | REPORT z18_036 | sapjoy | 2007.03.13 | 2631 |
559 | REPORT z12_002 | sapjoy | 2006.12.28 | 2629 |
558 | FIELD_EXIT_GSBER_I | sapjoy | 2008.12.16 | 2625 |
557 | REPORT z15_014 | sapjoy | 2007.01.26 | 2625 |
556 | PUT_SPFLI PUT_SFLIGHT PUT_SBOOK | sapjoy | 2006.12.19 | 2614 |
» | report zunicode_022. | sapjoy | 2008.11.21 | 2611 |
554 | REPORT Z05_008 [2] | sapjoy | 2007.05.27 | 2611 |
553 | REPORT Z07_017 | sapjoy | 2006.12.08 | 2609 |
552 | report zsalv_040 . | sapjoy | 2010.08.20 | 2608 |
551 | REPORT Z03_018 [3] | sapjoy | 2006.12.02 | 2605 |