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

Fetch data from flat file

Former Member
0 Likes
449

Hi Gurus,

This seems to be a regular task, and I have recieved suggestions from my coleagues too.

I am not an ABAP consultant, so unable to decide all alone.

This is the sceanario,

I have a text file, which contains trace of application server. Data from this flat file must be fetched on a daily basis and should be updated in a custom table, so that I can generate some application displaying the trace info.

I was suggested to use OPEN_DATASET and CLOSE_DATASET, which requires file to be under application server's root.

I thought that is a easy and better way, but BASIS consultant is not willing. He has his own concers which are valid. If the trace files were not removed as soon as they are read, they are going to hand the server in cource of time.

Anyway, my plan is to have only one file there, but seems like convincing the BASIS is diffucult task. I am looking for alternates here.., and FTP came into my mind. But I have a doubt about using it in a background task, that is scheduled to run once a day..

And it will be greate if I can get some more suggestions...

Thanks and regards,

Chinnu

2 REPLIES 2
Read only

Former Member
0 Likes
384

Hi Chinnu,

See the given link, It may help you.

Regards,

Shamma

Read only

0 Likes
384

Dear Shamma Firdous,

Thank you verymuch, I got it done

Thanks and regards,

Chinnu