Skip to Content

cl_dms_thumbnail_display=>get_url

Hi Experts.

I'm trying to display picture inform like a catalog with materials and images which are in a Document Management System.

To do it, I use this method to get the URL to the image.

CALL METHOD cl_dms_thumbnail_display=>get_url

EXPORTING

i_doc = ls_doc

e_url = g_graphic_url.

After that I use on the url of the image

SAPR3://E36E071AB604CF1B9D7984BE1632B8C/image.jpg

on IFrame but i the picture is not display

Thanks

ami

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 30, 2013 at 01:33 PM

    Hi Ami,

    If you have a URL to the image, you can use cl_http_server=>server_cache_upload to upload the image to cache then set the Image UI element's data source to the contents of the cache.

    Upload and Display an Image at Runtime

    Another (less round-about) option is to get an XSTRING value of the image from DMS and bind the XSTRING to the Image's data source directly.

    Cheers,

    Amy

    Add comment
    10|10000 characters needed characters exceeded