2008 Feb 15 5:18 AM
Hi Experts,
My requirement is to move text file from one folder to another folder.
Is there any posibility to use windows OS move command within ABAP program. (Thats a background job)
If anyone has experience with it, appreciate your help me to solve this issue.
Thanks ,
Lahiru
Hi Experts,
My requirement is to move text file from one folder to another folder.
Is there any posibility to use windows OS move command within ABAP program. (Thats a background job)
If anyone has experience with it, appreciate your help me to solve this issue.
Thanks ,
Lahiru
2008 Feb 15 5:26 AM
Hi
You can use CL_GUI_FRONTEND_SERVICES=>FILE_COPY.
after process use file_copy method of the above class.
2008 Feb 15 5:27 AM
Hi,
Check the class CL_GUI_FRONTEND_SERVICES.
It has a lot of methods like:
FILE_DELETE
FILE_COPY
etc. which can be used to play around with files on presentation server.
Cheers,
Aditya
2008 Feb 15 5:30 AM
Hi,
Thanks for your valuable answer
Can we use it in Background job, Its can only be used in client machine, Am i correct.
Rgds,
Lahiru.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |