LDM 첨부파일을 Local 혹은 Client Server로 다운로드할경우 대상 서버에서 아래 Function을 호출해주게되면
해당 Originalpath경로로 첨부파일이 다운로드 되어집니다.
물론 파일정보는 Documentfiles에 담겨 Return 되어집니다.
Legacy에서 SAP LDM 파일을 다운로드할떄 유용하게 사용되어지는 Function입니다.
참조하세요.
** Document (Originals of application type WRD) check out for viewing
CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
EXPORTING
documenttype = drad-dokar
documentnumber = drad-doknr
documentpart = drad-doktl
documentversion = drad-dokvr
documentfile = ls_documentfile
getstructure = '1'
getheader = 'X'
originalpath = lv_originalpath
hostname = ' '
IMPORTING
return = ls_return
TABLES
documentfiles = lt_files.
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
102 | BAPI function List [3] | sapjoy | 2014.08.19 | 26799 |
101 | 유용한 날짜 펑션들....(펌) [17] | 하늘사랑 | 2007.07.04 | 16770 |
100 | 숫자 왼쪽의 0 없애기 [8] | ecbase | 2006.12.02 | 15255 |
99 | 환율관련 함수 [2] | 아밥뽀 | 2014.08.23 | 14602 |
98 | 반올림, 올림, 버림 Function [16] | SSong | 2007.11.20 | 11979 |
97 | 공휴일 체크 및 다음 휴일 구하기 [5] | ecbase | 2006.12.01 | 11131 |
96 | 문자인지 숫자인지 구분 [8] | ecbase | 2006.12.01 | 10702 |
95 | 현재 떠있는 화면에서 특정 필드의 값을 읽어오는 함수 및 방법 [8] | Delight | 2008.04.28 | 10064 |
94 | 유용한 Function 올려봅니다. [30] | 김지성 | 2007.04.17 | 9897 |
93 | 소수점 이하 체크 [5] | ecbase | 2006.12.02 | 9751 |
92 | Amount의 필드 값의 0을 삭제후 Char로 내보내기 [3] | 민버미꺼! | 2007.12.25 | 9622 |
91 | 프로그램실행시간 구하기 [16] | 쥬앙 | 2009.04.06 | 9384 |
90 | 이메일로 파일 보내는 함수 [3] | 열공아밥 | 2009.12.20 | 9286 |
89 | POPUP 함수(팝업) [11] | sapjoy | 2007.05.17 | 8795 |
» | LDM 파일을 다운로드 하는 Function [1] | 양키 | 2012.08.08 | 8510 |
87 | [Function]오늘은 몇요일일까요? [4] | 양키 | 2010.09.29 | 8455 |
86 | tcode 권한체크 t-code authority check | sapjoy | 2013.05.21 | 8257 |
85 | ALV BUFFER CLEAR [3] | ecbase | 2006.12.02 | 8024 |
84 | [Function] 메세지 박스를 뛰워보자 [10] | 양키 | 2010.09.29 | 7954 |
83 | function 모음입니다. [5] | 양파링 | 2007.11.02 | 7892 |
하나 다운로드 해 봤는데...잘 받아지네요.ㅎ
좋은 정보 감사합니다.