Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

displaying the thumbnails of document

Former Member
0 Kudos

Hi Gurus,

I have a requirement as follows.

I need to display the thumb nails of documents dynamically in a custom containers.

those documents may be of MS word,Excel and PDF also.

according to the document type the thumbnail should be changed.

the documents were stored in the SAP repository.

by clicking the thumbnail the user has to get the display mode of the particular document.

Please suggest me some classes and methods which are going to be helpful on this .

thanks in advance.

1 REPLY 1

naimesh_patel
Active Contributor
0 Kudos

You can use ICONs as as Thumbnails. Like for PDF, the ICON name is ICON_PDF. You can use program SHOWICON to find the ICONS.You can also use MIME repository to store your custom images and display them on UI.

You can use either HTML Viewer CL_GUI_HTML_VIEWER or Picture Control CL_GUI_PICTURE to display this on the screen. Check program SAP_PICTURE_DEMO_ICON.

Regards,

Naimesh Patel