on 07-01-2011 11:43 AM
Hi ,
I am uploading the files from a folder to the SAP Directories.After successfull upload i want to remove the file from the folder and save it in some other folder .
Need help on how to change move a file from one folder to another using webdynpro abap .
thanks
Thanks Thomas Jung
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you talking about files/directories on the client side or on the ABAP application server filesystem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>
> If it is on the local PC, try with the class - CL_GUI_FRONTEND_SERVICES, this has methods that could help you achieve what you are looking for.
>
> Regards,
> Chen
Except this is very poor adivice when you are talking about Web Dynpro ABAP since this class only works within SAPGUI based applications.
You have to understand that there are certain limitations when working with a web browser. For security reasons web sites aren't allowed direct access to your frontend. You could imagine the nightmare if hackers had such access. Web Dynpro lives in the browser and is subject to its limitations.
There are the fileUpload and fileDownload UI elements. They use the HTML based mechanisms for upload and dowload of files. For security reasons there are no silent uploads or downloads and only one file at a time. Plus the user must manually select the file. No folder manipulation.
If you are on 7.01 or higher you could try the ACFUpDownload or ACFExecute UI elements. These use signed Java Applets to get around some restrictions. You cna do silnent multiple file operations. You could also use ACFExecute to run a batch script to manipulate folders on the client side.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.