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

File_open_error with GUI_UPLOAD

Former Member
0 Likes
2,823

Hi All !

I would like to upload the file which is under the path /interfaces/DEC120/Synchrolink/in in our SAP server.

I use in the abap program :

fic1 = '/interfaces/DEC120/Synchrolink/In/mv_slr.asc'.

CALL FUNCTION 'GUI_UPLOAD'

EXPORTING

filename = fic1

filetype = 'ASC'

TABLES

data_tab = wt_zinvslr

EXCEPTIONS

...

but I have an error open file in return.

If I change the path by : fic1 = 'C:\mv_slr.asc'

it works...

I checked the autorisations and all seems be ok.

Anyone has an idea ?

Thanks in advance,

Sandrine

Edited by: CHRISTIAN MEYER on Jul 6, 2010 5:51 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,561

Search the forum!! GUI_UPLOAD = Desktop (as in GUI or presentation server) to SAP internal table. From server, you need open dataset....read....close dataset.

2 REPLIES 2
Read only

Former Member
0 Likes
1,562

Search the forum!! GUI_UPLOAD = Desktop (as in GUI or presentation server) to SAP internal table. From server, you need open dataset....read....close dataset.

Read only

0 Likes
1,561

Hi !

Thanks for your help ! I use open dataset ....

it works !!

best regards,

Sandrine