2008 Aug 12 10:33 AM
Hi All,
Is it posible to use OPEN DATASET, READ DATASET, CLOSE DATASET to read a text file in a shared folder in a another PC (Not the Application server)
Pradeep
2008 Aug 12 10:36 AM
Hi,
It is not possible.
these are used to process the file in application server only.
if you want to process the file in your desktop or your shared folder you have to use GUI_DOWNLOAD FM.
Regards,
Boobalan S
2008 Aug 12 10:36 AM
Hi,
It is not possible.
these are used to process the file in application server only.
if you want to process the file in your desktop or your shared folder you have to use GUI_DOWNLOAD FM.
Regards,
Boobalan S
2008 Aug 12 10:39 AM
Hi pradeep,
1. Normally any PC is restricted by username and password,
and it may happen that folders / files are not shared on that machine.
2. So there are two approaches, if we want to use
OPEN DATASET commands to read file from other machine.
a) Basis team will MAP that computer and folder
on the application server
at the OS Level (Unix/AIX/Windows etc)
and that logical drive+path we can in our abap syntax
just like we use other normal path on application server.
This may also require the basis team to know
the username and password of other computer for mapping purpose.
b) Another approach is we use FTP_OPEN function modules
and other related FTP_* Fms.
But the pre-requisite for this is that the FTP server
should be running on the other computer.
Also we should know the ftp username and password for it.
regards,
amit m.
2008 Aug 12 10:52 AM
Hi,
If you are accessing file from shared folder on PC, you are reading file from presentation layer, hence you need to use FM GUI_UPLOAD.
Give path you use to access using run command.
See that you have Read access to folder and file you are reading.
Regards,
Mohaiyuddin
2008 Aug 12 10:56 AM
Pls use GUI_DOWNLOAD fm
Tks
Venkat
Ananth Technologies
Edited by: Venkata Reddy Avula on Aug 12, 2008 12:00 PM