Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Does Vista support SAP?

Former Member
0 Likes
1,113

Hi,

The function 'GUI_DOWNLOAD' doesn't work well on Vista ,no files have been downloaded to the local . But when i run the report on Windows XP, everything is well.

Anyone has meet this problem?

Expect your help. Thanks in advance.

qiuguo

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,088

Hi.

Please Pass Parameter "CODEPAGE"

Hi,

The function 'GUI_DOWNLOAD' doesn't work well on Vista ,no files have been downloaded to the local . But when i run the report on Windows XP, everything is well.

Anyone has meet this problem?

Expect your help. Thanks in advance.

qiuguo

8 REPLIES 8
Read only

Former Member
0 Likes
1,088

Hi,

Check the threads below which are discussing similar issues -

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/gui_download-r-language-issue-1600649#

Hope this helps.

ashish

Read only

0 Likes
1,088

Hi,

thanks for your reply.

But that issue doesn't give me some valid information.

Hope more suggestion.

qiuguo

Read only

Former Member
0 Likes
1,089

Hi.

Please Pass Parameter "CODEPAGE"

Read only

0 Likes
1,088

Hi,

I hava set the codepage. pls help me to check whether there is some error.

thanks very much.

the code is below:

call function 'GUI_DOWNLOAD'

exporting

  • BIN_FILESIZE =

filename = content_filename

filetype = 'ASC'

<b>CODEPAGE = '4310'</b>

  • APPEND = ' '

write_field_separator = 'X'

  • HEADER = '00'

  • TRUNC_TRAILING_BLANKS = ' '

write_lf = 'X'

tables

data_tab = t_dn_document

fieldnames = download_fieldnames

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 ne 0 .

message id 'HRPAYCN' type 'E' number '019'.

endif.

Read only

0 Likes
1,088

are you using SAP Logon710???

I have Vista on my machine and i tried to use 'GUI_DOWNLOAD' and it is working fine..

the file got downloaded into SapWorkDir which is in the User folder...

check same in your machine

Read only

0 Likes
1,088

Hi,

i set the path as the SAP WorkDir, it worked. but when i set path as others ,it didn't work.

Do i have to set the path as SAP WorkDir? Is there any solution? Hope your reply.

thanks very much.

qiuguo

Read only

0 Likes
1,088

no with the other path it is not working...

i tried doing that but the folder and file creation in vista needs lot of authorizations.. may be that is the reason it is not working...

i tried to create a file in c:\ProgramFiles.. it is not getting created there.. where as in my own folder i'm able to create a file...

Read only

Former Member
0 Likes
1,088

Hi,

i create the file under the path of SAP gui and it works. In other path the sap program doesn't have the authorization to access the file in VISTA.

Thanks all.

qiuguo