Application Development 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: 

Get the creation date time of the file located in persentation server

0 Kudos

Hi Experts,

I have a requirement where i need to fetch the creation date time of a file.

ex. file path : C:\Documents and Settings\file.xml

I have the file path, i need to know when this file is created.

Is there any GUI services or FM to achieve this?

Your help in this regard is highly appreciated.

Kind Regards,

Vidya

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

Hi Vidya

did you check the class cl_gui_frontend_services

10 REPLIES 10

Former Member
0 Kudos

Maintain a log table. It will help you to know when the file was created...

0 Kudos

Hi Sandeep,

Thanks for your reply.

Can you please explain in detail the procedure to Maintain a log table & fetching the

creation date time of a file in persentation server.

The requirement is :

I have the directory path, which contains many xml files. ex : C:\Documents and Settings\Dir

I have to fetch files ,which has been created between the specified time stamp.

ex : October 24, 2008 to December 24, 2008

So i need to fetch all the files from the directory "Dir" which has been created between

October 24, 2008 to December 24, 2008.

Regards,

Vidya

Former Member
0 Kudos

HI.

Iam not sure about this one,But try to get records from AL11 (its SAP directories.).

Regards.

Jay

0 Kudos

Hi Jay,

Thanks for your reply.

But i need to know the creation date time of a file in persentation server.

AL11 is for application server.

Regards,

Vidya

former_member156446
Active Contributor
0 Kudos

Hi Vidya

did you check the class cl_gui_frontend_services

0 Kudos

Hi Jay,

Yep, i checked it.. But there is no method which will give the creation date time

Regards,

Vidya

0 Kudos

HI Vidya..check this FM

WS_QUERY

0 Kudos

Hi Jay,

FM : WS_QUERY

____________________________________________________

Short Text

OBSOLETE: Execute Query Functions on Presentation Server

This module is obsolete. Use the appropriate module from the function group SFES.

_____________________________________________________________

The FM is obsolete, i am not able to find any FM in the function group SFES.

using which i can fetch the files based on creation date time .

Edited by: Vidyashree Basavaraju on Jan 7, 2009 4:46 AM

0 Kudos

thanks

0 Kudos

Hi Vidyashree,

Did you find any solution for your req?

I'm also looking for FM to find the modified date for a file stored in the local drive.

Thanks

Thruna