on 01-07-2013 10:58 AM
Hi ppl,
I have developed an webdynpro application in which I have to upload a PDF file . This application will be integrated into portal later on . Now I would like to know for uploading PDF what I have to do . and what part will be taken care at the time of Portal integration. So Right now I am just developing the application in R3 so what I am suppose to do to upload PDF file.
Regards.
Kumar Saurabh
Hi kiran,
thanks for the reply, how ever I would like to know what I need to do with the path which I will get after file upload..how to use that path to save PDF file .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are FM that are used to read file based on path.
Some of FM's are
RZL_READ_FILE
RZL_READ_FILE_LOCAL
RZL_READ_FILE_REMOTE
RZL_READ_FILE_REMOTE_SH
or try using class
CL_GUI_FRONTEND_SERVICES
For uploading into system, check whether your going to use DMS concept or just upload the data into FTP path. This one will be based on your business requirement.
Hi saurabh,
1. create upload ui element in the view and bind with context elements for retrieve the file.
2. after the retrieve the file save some where( database) or application server.
3.create a application for above wd component
4. create a ivew for integrating above application in the portal.
5. test
regards,
Kishorekumar
Hi,
You want to save the uploaded file to data base.? If so, Create an attribute file_data of type XSTRING in the context and in the properties of file upload UI, bind the 'data' to the created attribute.
Now in the onAction of a button(or any) to save the file, read the attribute file_data and save to DB.
check this wiki for reference: http://wiki.sdn.sap.com/wiki/display/WDABAP/Upload+and+Download+files+in+Webdynpro+ABAP
note: To save to DB, you need to create a filed of type RAWSTRING.
hope this helps u.,
Regards,
Kiran
Thanks all...Issue resolved..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use fileUpload UI for uploading files. there is no special adding for portal integration, this will work well in portal as well.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.