10-20-2008 4:38 PM
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.
10-20-2008 4:42 PM
just search the forum once. the same thing discussed once. i am not sure of the thread. search here and General forum also.
10-20-2008 5:12 PM
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
10-29-2008 7:53 AM