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 location

Former Member
0 Likes
831

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

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
787

Do you want to search programmtically using ABAP?

REgards,

RIch HEilman

Read only

0 Likes
787

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,

Read only

Former Member
0 Likes
787

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

Read only

Former Member
0 Likes
787

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

Read only

andreas_mann3
Active Contributor
0 Likes
787

Hi ,

check and test these fm's of func.group epsf

EPS_GET_DIRECTORY_LISTING

EPS_GET_FILE_ATTRIBUTES

Andreas

Read only

0 Likes
787

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