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: 

FM to get the appserver files with date and time

Former Member
0 Kudos

Hi Experts,

Do anyone knows the FM to get all the Application server files with date and time from Application server when the Logical file name has given as a input parameters?

I need to sort the list of files with date and time and need to loop the logic accordingly.

Please help me in this regard.

With Regards,

Bala.

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

just search the forum once. the same thing discussed once. i am not sure of the thread. search here and General forum also.

Former Member
0 Kudos

Hi,

You can create your command in SM69 and then use SXPG_COMMAND_EXECUTE Function Module to execute the same command.

For example - you have unix operating system -

You defined ZLL command with OS command as ll.

Now when you call SXPG_COMMAND_EXECUTE FM in your program giving SAP command name as ZLL, it will return all the files listing.

Hope this helps.

Regards,

Bharati

Former Member
0 Kudos

Answered and working accordingly