on 08-10-2009 1:27 PM
Hi all,
In FileUploadUIElement, we need to bind a Resource to property of this element.
In WDA, we bind it to type XSTRING and in WDJ we bind it to type IResource.
Now I am developing a RFC which uploads a file on SAP Content Server using this FileUploadUIElement. I want use this RFC from both WDJ as well as from WDA.
I have posted this question on WDA forum and got a pretty promising reply that I should use XSTRING as import parameter.
Of course, we can convert Resource to InputStream using this code:-
InputStream stream = resource.read(true);
Can any WDJ expert comment on question that was put forward by Thomas in his last reply in above thread? About interfacing using InputStream at WDJ side and XSTRING at WDA side??
Thanks and regards,
Amey Mogare
As far as I know 'binary' data type should be used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.