on 08-13-2009 5:20 PM
Hi all,
My aim is to delete selected file(s) or image(s) from ABAP webdynpro view. However, i just found IF_MR_API~DELETE of CL_MIME_REPOSITORY_API and this class method is to delete all items of the folder. I just want to select which file or images to delete. Does it possible to do?
Thanks.
Best Regards,
Chee Boon
Are you sure about that. I believe this method will delete what object is specified via the I_URL parameter. If you specify a folder as the I_URL and choose X_DELETE_CHILDREN, then yes it will delete all files within that folder. If you want to control which files are deleted, loop through the file list and call the DELETE method for the URL of each item. You can get a File listing from the FILE_LIST method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.