on 09-27-2013 1:52 PM
Hello SAP Gurus,
is it possible to load a Image, without uploading the Image as a MIME Object, from the disk (i.e. C:\Images\test.jpg) in a WebDynpro?
Yes, can somebody refer me to a Tut or describe the steps here
Thank you
Best Regards
Toby
Hi Toby,
I'm not sure what your scenario is, but if you want the user to upload the image within the application, you can use a FileUpload element.
See also Handling Images and Web Icons.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Toby,
Yes, this is possible. Please see the discussion, . The solution provided by on August 3** enables you to upload an image with FileUpload, generate a URL string for the image using interface IF_HTTP_RESPONSE and class CL_HTTP_SERVER, then bind that image's generated URL string to the source property of an Image UI element.
**Note that a FIleDownload element is not needed for this solution-- just a FileUpload to load the image binary data, a Button to execute the custom code, and an Image element to display the image.
Cheers,
Amy
---- EDIT ----
Also take a look at the document for a working example of this approach.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.