2013 Jan 28 9:49 AM
Hi Experts,
I have a requirement in which i need to move files from a one folder to another(Archieve) . As I couldnt find the move functionality |am using copy and the delete sequence .
I was able to copy but while attempting on deletion Iam getting an exception "Access Denied".
The folder is available in Windows shared folder .
Iam able to delete files from the shared folder manually.
I tried the same logic in my personnal folder on my harddisc and it was successfull..
Kindly suggest ways to solve this..
Regards,
Karthi M
Hi Experts,
I have a requirement in which i need to move files from a one folder to another(Archieve) . As I couldnt find the move functionality |am using copy and the delete sequence .
I was able to copy but while attempting on deletion Iam getting an exception "Access Denied".
The folder is available in Windows shared folder .
Iam able to delete files from the shared folder manually.
I tried the same logic in my personnal folder on my harddisc and it was successfull..
Kindly suggest ways to solve this..
Regards,
Karthi M
2013 Jan 28 12:29 PM
Hi,
There are many thread on ur question.
search also.
try like this,
Get all files using function module,
EPS2_GET_DIRECTORY_LISTING.
and use also this ,
OPEN DATASET
TRANSFER
DELETE DATASET
CLOSE DATASET
For date pick date from FILE.
check this wiki link
http://wiki.sdn.sap.com/wiki/display/SI/Transfer+File+between+folder+on+Application+Server
For rest ,search for thread.
Hope it helps.
Thanks
Gourav.
2013 Jan 28 3:14 PM
HI Kumar,
Thanks for your reply. . But the shared folder is not on application server .
Thanks and Regards,
Karthi M