‎2010 Jul 06 4:50 PM
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
‎2010 Jul 06 5:56 PM
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.
‎2010 Jul 06 5:56 PM
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.
‎2010 Jul 07 9:28 AM
Hi !
Thanks for your help ! I use open dataset ....
it works !!
best regards,
Sandrine