on 09-03-2008 2:04 PM
Hello,
I use the UI Element "FileUpload" to provide a "browser" functionality, to browse and enter the path to a file (e.g. word document).
I want to save the document in BDS.
How can I do this?
I found the method create_with_files of class cl_bds_document_set, but deep inside the method / class with function module SCMS_FE_START_REG_SERVER it is checked if it runs on the GUI and returns an error.
Can someone tell me a method or function module to save a file in BDS (class BUS7051 (notification) classtype BO) via Web Dynpro?
Thanks,
Josephine
I used FM BDS_BUSINESSDOCUMENT_CREA_TAB quite often in the past to upload documents in a content server. Make sure the business users have proper role authorization (auth.objects S_BDS_D, S_BDS_DS) to allow document upload.
In case where you have problem generating an ARFC model with data type "xstring", build a wrapper in the backend and send document content under BASE64 encoding. Decode in the backend before uploading with method cl_http_utility=>if_http_utility~decode_base64( ).
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.