2006 Feb 14 6:12 PM
hi folks,
I am working on testing a program that uploads data from a flat file - .txt file and I am trying locate the file in the ftp server(I am in the right folder depending on the path given on the screen) and I did go and check there but I did not find that file. How to locate that file or how to go about with that?
Thanks
Vinu
hi folks,
I am working on testing a program that uploads data from a flat file - .txt file and I am trying locate the file in the ftp server(I am in the right folder depending on the path given on the screen) and I did go and check there but I did not find that file. How to locate that file or how to go about with that?
Thanks
Vinu
2006 Feb 14 6:21 PM
2006 Feb 14 6:30 PM
Hello Vinu,
If a legacy file is FTPed in to a folder, you will not be able to see that file in case if you are looking for that file in SAP.
A script should run in order to move those files from FTP directory to SAP directory.
If you have access to UNIX server and to that directory, then you should be able to see that file.
If you dont see that file means that file doesnt exist in that directory. As simple as that.
Thanks,
2006 Feb 15 12:40 AM
Can you post the code you are using? Is your ftp server on unix or a network drive? How are you doing this '<i>I did go and check there but I did not find that file</i>'?
Check if the names are case sensitive. Check if you have the right permissions to the directory. Check if the directory is accessable from SAP.
Srinivas
2006 Feb 15 10:23 AM
Hi!
Last few years I developed pgm to ftp data from flat file to unix. To ensure the data ftp-ed successfully, I checked via transaction <b>SM49</b>. Then scroll down to the last page. Select & execute command name <b>ZPG</b> or <b>ZPAGE</b>. Under 'Additional parameters', enter your pathname in full i.e including the file name(it's case sensitive) & execute. If you had successfully ftp-ed your flat file, you can see your file there.
Regards,
Aziah
2006 Feb 15 12:44 PM
Hi ,
check and test these fm's of func.group epsf
EPS_GET_DIRECTORY_LISTING
EPS_GET_FILE_ATTRIBUTES
Andreas
2006 Feb 15 2:22 PM
Thank you folks. I am sorry for posting the points late it helped and I was able to solve that on my own.
But I have rewarded for helpful answers.
Vinu
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |