on 02-02-2011 9:49 AM
Hi All,
We have a custom table in our backend system.This table contains n number of fields , primary field being "Customer id".
My requirement is for every record in this table user can upload documents of any format and these documents should be stored in database corresponding to the "Customer ID" so that at later stage user can again download the file and can view this document uploaded earlier.
We do not have any Text document server in our landscape. Are their any specific BAPI which can be called for uploading /downloading the file to our custom tables.
Regards,
Namrata Dixit
Hi Namrata,
You need to define the table field type as binary and develop and RFC with one i/p parameter of binary type.
UPload:
From front end you can browse and upload the file using file upload ui element then send the binary file to the RFC input.
Download:
Get the binary format file from rfc by passing ID as parameter and download it using IWDCachedWebResource.
Regards
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
We recently dveloped this feature using Custom BAPI not using any standard BAPI .
For ABAP Side , it shoudl accept the byte stream or file which i provided to ABAP and store it in the R/3
while down loading again i will convert the file to the format i required from Webdynpro.
use the below blog for ABAP FM:
[http://wiki.sdn.sap.com/wiki/display/ABAP/FunctionModuletoUploadandDownloadfilesfromandtoApplication+Server]
For the webdynpro side we used the below Blog :
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6603] [original link is broken] [original link is broken] [original link is broken];
Regards,
Govindu
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.