on 07-14-2008 10:27 AM
Hi to all,
I have a web dynpro that do a procedure which creates a file pdf in a temp folder on my local PC. I need to upload this file and send it to an RFC function module (R/3 4.6c) which saves it to DMS on r/3 system. Which java code I have to implement to handle this file? Which kind of data type I have to create on my Func module to storage the file? and how can I save it to DMS (I have to create a new document)?
I hope I was clear.
Thank you very much
Enrico
hi,
regarding Functional Module storage
from web dynpro side you can use upload UI element
regards,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
blog [Adobe & BAPI call|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7588] [original link is broken] [original link is broken] [original link is broken];
this blog may worth as reference [Adobe forms with Attachements|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8498] [original link is broken] [original link is broken] [original link is broken];
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Grimaldi,
You have to use Upload UI element and that must me bind with an attribute type of Resource. Once you upload a file, the contents will be available using this Resource element. Its possible that we can change the Resource to binary.
Make sure of any type that can store of data binary.
Regards
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
the following link would help you to work with uploading file in webdynpro for java.
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71]
as per ur query, since you have to upload it to a RFC, i guess there would be an attribute that would receive the uploaded file, because it should be uploaded in your r/3 system.
please check it out in the model context.
regards,
Murthy.
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.