We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-dev] FM Gui_Download - Error Calling Data Provider

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from robphelan on Jan 29 at 12:24 AM
If you searched, you will see that you can ONLY use GUI_DOWNLOAD/GUI_UPLOAD when running in foreground (unless you're SAP instance is on NT). For *IX environments, if you run in the background you must write to the *IX filesytem using open dataset. I'll give you that starting point.

---------------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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
robphelan  
Lead SAP Specialist
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language