on 11-03-2010 7:55 AM
Hi All ,
I have the below requirement .
1. Upload the file (any file type) -- no problem done with FileUpload UI element.
2. Display the uploaded file as icon or link .
3. User should be able to delete the uploaded file using icon or link (depends upon step2 ).
I am struggling with step2 and 3 .
Please guide me
Regards,
Ravi
Hi,
You can use the file download UI element for your requirment. You will have the Resource type context that is used to bind the File upload UI element. bind the same context to the file download UI element. And hence without any extra coding your requirment is achieved.
For deleting the Uploaded file delete the context element of type reource.
For your reference refer to the following link
Regards,
Raju Bonagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
It all depends on which server your files are stored.
For example, if its R3, then you must use a function module which will take the document and also return the document to your WebDynpro Java application. The data type in backend should be "xstring" to which you have to pass your document. You should convert the document into xml format before setting the value to the R3 field. The logic of displaying an already stored document and deleting it from the server should be handled in the ABAP function module.
Regards
Kavitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.