GUI_DOWNLOAD to pdf works fine when smaller but when I attempt to download to PC a file that worked to network and gave size of 17,387 K it made the file on PC with no errors. However, when I attempt to open I get Adobe error saying the file is corrupt. This was done from SMARTFORM. Step 1. Used CONVERT_OTF Step 2, convert to binary for 1024 length Step 3. CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = FNAME FILETYPE = 'BIN' " BIN CODEPAGE = ZCODEPAGE " issue 12869 02/10/2009 - 4110 is RU IMPORTING FILELENGTH = LENGTH TABLES DATA_TAB = DATA_TAB_BIN EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!