Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Gerhard Lang on Jan 30 at 9:41 AM Hello Mario, To be correct: CL_GUI_FRONTEND_SERVICES=>GET_PLATFORM ... is no FM but a METHOD. Regards, Gerhard
| | | ---------------Original Message--------------- From: Mário Campos Sent: Friday, January 27, 2012 9:13 PM Subject: FM Gui_Download - Error Calling Data Provider Hello masters, I develop a program that catches a converted pdf file and then we can download. In windows everything is working but the client uses Linux and SAP Gui For Linux and when is making download of file, systems throws message FES011 - Error calling Data Provider. When I'm using windows the path is build correct way but when I'm using Linux the path isn't build correct, for example like this, /home/rui/desktop\dir_1000.pdf . in debug i changed \ to / but systems throws the same error message. Someone have some clue to solve this problem. CONCATENATE gv_dir '\DIR_' <fs_final_alv>-pernr '.pdf' INTO lv_fich. CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_fich filetype = 'BIN' TABLES data_tab = lt_pdf_output 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 OTHERS = 22. IF sy-subrc 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. Regards and thanks in advance. Mario | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |