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

Error FUNCTION ' GUI_DOWNLOAD' on OS win 7

Former Member
0 Likes
764

Hi experts

recently install OS windows 7, and the applications that they use

PARAMETERS P_FILE TYPE RLGRAP-FILENAME DEFAULT ' C 😕 ' OBLIGATORY.

compile but in time of execution not found as XP. Now it doesn't show de dialog box explorer.

Also gives me error when I execute applications with the function CALL FUNCTION ' GUI_DOWNLOAD' the error that recovers is UNKNOWN_DP_ERROR = 14

Somebody knows if I have to install some SP for found on OS win 7?

My Sap GUI is 710

GREETINGS

7 REPLIES 7
Read only

Former Member
0 Likes
727

What File type you are using , are u using 'ASC' ?

Read only

0 Likes
727

Yes is ASC.

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

FILENAME = 'c:\mg.xls'

filetype = 'ASC'

append = ' '

TABLES

DATA_TAB = FileOut

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.

Read only

0 Likes
727

Did you use as below:

parameters: p_file TYPE STRING.

Read only

0 Likes
727

Satya,

the modification doesn't compile data type STRING is not allowed.

tks.

Read only

Former Member
0 Likes
727

You should be looking for notes first.

Start with 1412821

Rob

Read only

0 Likes
727

Rob tks for answer,

I will revise the note .

Tks.

Read only

0 Likes
727

It would be best to look for notes before installing a new version of Windows. It looks as if SAP only provides limited support for it.

Rob